Try adding -D_GLIBCPP_USE_C99=1
Does anyone know why isnan() wouldn't be found on 10.3, while it is
on 10.4 As far as I can tell, the declarations are in the same place
on both: /usr/include/architecture/ppc/c++config.h. Specifically,
this is affecting the C++ objects from creb: