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