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