[Insight-developers] Xcode 2.4 and isnan

Karthik Krishnan Karthik.Krishnan at kitware.com
Tue Aug 29 15:23:16 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....
>  
>
This was added a few days ago in CVS :  There are Xcode builds on the 
dashboard 2.4, 2.2 .

I wasn't sure how far back in the release history the C99 std::isnan's 
existed, which is why there's a TRY_COMPILE ..

>-Bill
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers at itk.org
>http://www.itk.org/mailman/listinfo/insight-developers
>
>  
>


More information about the Insight-developers mailing list