math.h
Yaakov (Cygwin/X)
yselkowitz@users.sourceforge.net
Mon Feb 1 00:08:00 GMT 2010
On 31/01/2010 16:31, Søren Holm wrote:
> I have just compile newlib 1.18 and I'm wondering why isnanf suddenly is not
> declared anymore. I end up figuring out that the patch attached to this email
> fixes the problem. Is this an error in newlib?
Careful; <ieeefp.h> disables the isnan and isinf macros (which are
required by POSIX) and declares them as functions instead. So <math.h>
cannot #include <ieeefp.h> in this way. If you really need these
functions, I think you'll need to #include <ieeefp.h> in your code directly.
Yaakov
Cygwin/X
More information about the Newlib
mailing list