David Luff wrote:

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

Ok, I've committed a fix.

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

or something like that.  Erik?  There is already an instance of this
problem in TerraGear.

Maybe someone has to convince the Cygwin developers to add it to the appropriate header files instead? I've seen several projects that have to make special cases just for this. It's better fixed at the root of the problem.

Erik

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

Reply via email to