[Insight-developers] Xcode 2.4 and isnan

Brad King brad.king at kitware.com
Tue Aug 29 13:18:50 EDT 2006


William A. Hoffman wrote:
> 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....

Karthik already fixed this in CVS ITK last week with a TRY_COMPILE.  The
fixes have also already been merged to upstream vxl.

-Brad


More information about the Insight-developers mailing list