On 20/10/2005 at 10:50 Erik Hofman wrote:

>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.
>

Fair point.  Do you know if HUGE is part of a standard anywhere that
definately should be supplied by Cygwin, or is it simply available from
everyone else by unwritten convention?

Cheers - Dave


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


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

Reply via email to