Giles Robertson wrote:

> This was sorted out by uncommenting lines 28&29 of cloud.cxx:
> 
> // #if defined (__APPLE__) 
> // // any C++ header file undefines isinf and isnan
> // // so this should be included before <iostream>
> inline int (isinf)(double r) { return isinf(r); } //See below
> inline int (isnan)(double r) { return isnan(r); } //HACK to make MingW
> MsyS build work. Find better solution ASAP. May well break other
> systems.
> // #endif
> 
> (I added the end of line comments)
> SimGear now compiles, but this is hardly a good solution. Does anybody
> know what's going on here? Why is isnan() being undefined?
> 
> I have a feeling this may have come up before, but I can't find it in
> the archives, or remember the solution.

Should be fixed now.

-Fred



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

Reply via email to