[Insight-developers] Xcode 2.4 and isnan

Michael Halle mhalle at bwh.harvard.edu
Tue Aug 29 12:23:43 EDT 2006


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....

--Mike


More information about the Insight-developers mailing list