David Luff schrieb:

Cygwin doesn't have HUGE, so change HUGE to HUGE_VAL and -HUGE to -HUGE_VAL
and I suspect this should compile.

Changing HUGE to HUGE_VAL in simple.cxx solved the problem!
Thank you, thank you :-) Have just made a testflight with the new FG version!

I guess that we could do something in compiler.h along the lines of

#ifdef __CYGWIN__
 #define HUGE HUGE_VAL
 #define -HUGE -HUGE_VAL
#endif

I tried this *before* I did the "huge-change". I put it between two other #ifdef .. (Microsoft and Borland, as far as I remember) but it caused some other strange errors. May be it was my fault to put it the wrong place or the wrong file (there are two compiler.h files in my Cygwin folder, I changed the one in the SimGear-0.3 .. folder.


BTW, Georg, CVS SimGear should compile on Cygwin 3.4.4 now, and CVS
FlightGear will probably compile on it if you add

#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

as the first include for every source (cxx or cpp) file where you get the
strange error message you reported a while ago.

Then send the output of "cvs diff -u" from the FlightGear directory to
Erik, and the 3.4.4 problem should be sorted :-)
Ok, this has to be done when I have a little more time than this evening, but I will go for it within the next days and report so that you have some feedback.
Thank you once again, David, your help saved the day for me!
Regards
Georg


_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to