"Curtis L. Olson" wrote:

> Ok, this sounds reasonable.  I assume this means that the isnan() 
> problems are fixed in newer versions of FreeBSD?

To be honest: I don't know if the current handling in FreeBSD-5.3 is
_correct_, I just can state that the clause you introduced at this
place annoyed the compiler  :-)

I got this error:

g++ -march=pentiumpro -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..   
-I/usr/local/include -I/opt/FlightGear/include -I/usr/X11R6/include  -O3 
-D_REENTRANT -c -o soundmgr_openal.o soundmgr_openal.cxx
In file included from /usr/include/c++/3.4/cmath:52,
                 from ../../simgear/math/point3d.hxx:48,
                 from ../../simgear/math/sg_types.hxx:42,
                 from ../../simgear/misc/sg_path.hxx:36,
                 from soundmgr_openal.cxx:60:
soundmgr_openal.cxx:52: error: previous declaration of `int isnan(double)' with 
C++ linkage
/usr/include/math.h:266: error: conflicts with new declaration with C linkage
*** Error code 1


BTW: The workaround wasn't my own idea, I borrowed it from the folks
who patched PLIB for the FreeBSD "port"  ;-)

Thanks,
        Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to