Hello Bill,

> > Or this might be better
> >         inline bool isNaN(float v) { return ::isnan(v); }
> >         inline bool isNaN(double v) { return ::isnan(v); }
> >
> > Norman
>
> Sorry, but this didn't work for me. I even went back to the 1.1 release tar
> ball and tried to compile that, with and without these changes. Nothing I
> did seem to make any different.
>
> If anyone figures this out, please drop me a line.

Just a suggestion, you might try to grep for 'isnan' in your /usr/include or
/usr/local/include directories... I've seen some compilers/platforms call them
'_isnan' or '__isnan' (one or two underscores) instead.

Just a thought. That function is part of the standard C library I believe, so
any recent compiler should have it. Only the name might change.

Oh, perhaps it isn't in <cmath> or <math.h> but in <float.h> on some platforms?
That would probably warrant an #ifdef CYGWIN or something, if it's the case. I
don't have a Cygwin environment here to test.

J-S
--
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to