Re: Terra - HUGE problem

"David Luff" <[email protected]>
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>

On 9/3/04 at 2:15 PM Kai Struck wrote:

>GreedyInsert.h:36: error: 'HUGE' undeclared (first use this function)
>GreedyInsert.h:36: error: (Each undeclared...
>
>There it is in GreedyInsert.h:
>
>class Candidate
>{
>public:
>
>     int x, y;
>     real import;
>
>     Candidate() { import = -HUGE; }
>
>     void consider(int sx, int sy, real i)
>     {
>	if( i > import )
>	{
>	    x = sx;
>	    y = sy;
>	    import = i;
>	}
>     }
>};
>
>How can I get rid of this problem? HUGE isn't known in my manpages.
>I'm on Cygwin, GCC 3.3.3

Hi Kai,

I changed HUGE to HUGE_VAL on Cygwin and that worked OK.

Cheers - Dave


This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.