RE: Terra - HUGE problem
"Norman Vine" <[email protected]>
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <[email protected]> |
Candidate() { import = -MAXFLOAT; }
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Kai Struck
> Sent: Friday, September 03, 2004 8:16 AM
> To: [email protected]
> Subject: [Terragear-devel] Terra - HUGE problem
>
>
> Hallo!
>
> After a long odyssey to get Terragear working I'm now stuck in Terra.
>
> To my surprise (I'm a newbie) it seems that all the other stuff is good
> working.
>
> But now when I want to "make" Terra I get this message:
>
> GreedyInsert.h: In constructor 'Candidate::Candidate()':
> 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
>
> Ciao
> Kai
> --
>
>
> _______________________________________________
> Terragear-devel mailing list
> [email protected]
> http://mail.flightgear.org/mailman/listinfo/terragear-devel
> 2f585eeea02e2c79d7b1d8c4963bae2d
>
_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d