[Insight-developers] Xcode 2.4 and isnan

William A. Hoffman billlist at nycap.rr.com
Tue Aug 29 13:11:38 EDT 2006


At 12:23 PM 8/29/2006, Michael Halle wrote:
>I found a fix for this problem.  In Xcode 2.4, isnan is now in the std namespace, so the quick hack is to
>
>#define isnan(x) std::isnan(x)
>
>in the __APPLE__ macro.  I haven't checked how far back in the Xcode release history this technique works....

Sounds like a perfect place for a TRY_COMPILE....

-Bill



More information about the Insight-developers mailing list