Re: [Flightgear-devel] Problems compiling latest CVS snapshot (2005-10-11)

2005-10-15 Thread Erik Hofman
Andy Ross wrote: This fix can't be checked in though, because it isn't correct*. The generated ID is not guaranteed to be unique. The right solution would be to either change the type of the ID to a "long long" or "uint64_t", or generate an identifier from something other than the pointer valu

Re: [Flightgear-devel] Problems compiling latest CVS snapshot (2005-10-11)

2005-10-14 Thread matthias-boerner
Hi Andy, thanks for the hint and "patch". I should have searched in the mail archive. With the "patch" it compiles fine. Thanks Matthias > This is a known bug when compiling on a 64 bit system. I fix it in my > tree by double casting: > > --- AIBase.cxx 5 Sep 2005 13:25:09 - 1.4

Re: [Flightgear-devel] Problems compiling latest CVS snapshot (2005-10-11)

2005-10-10 Thread Andy Ross
Matthias Boerner wrote: > I tried to compile a new CVS snapshot of FlightGear. I got following > error message: > AIBase.cxx: In member function ‘int FGAIBase::_getID() const’: > AIBase.cxx:401: error: cast from ‘const FGAIBase*’ to ‘int’ loses precision This is a known bug when compiling on a 64

[Flightgear-devel] Problems compiling latest CVS snapshot (2005-10-11)

2005-10-10 Thread Matthias Boerner
Hi all, I tried to compile a new CVS snapshot of FlightGear. I got following error message: Making all in AIModel make[2]: Entering directory `/home/boerner/scr/cvs/FlightGear/FlightGear-0.9/source/src/AIModel' if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/opt/Flig