Re: [Flightgear-devel] nojoy for simgear on amd64

2005-08-13 Thread Harald JOHNSEN
Mathias Fröhlich wrote: On Donnerstag 11 August 2005 10:20, Erik Hofman wrote: Andy Ross wrote: There is a similar spot in FlightGear where something wants to use a pointer as an integer ID. I haven't checked these in as this is not really a good solution -- the ID needs to be

Re: [Flightgear-devel] nojoy for simgear on amd64

2005-08-13 Thread Mathias Fröhlich
On Samstag 13 August 2005 10:50, Harald JOHNSEN wrote: Using strings add too much overhead for a general solution, void * could be better except that those pointers can not really be compared (if you want to use your id in a map you must have a operator that does not exist here). But those

Re: [Flightgear-devel] nojoy for simgear on amd64

2005-08-13 Thread Andy Ross
Mathias Fröhlich wrote: Erik Hofman wrote: I just noticed there is even an id_t in sys/types.h on IRIX, is this common? I don't think so. The only type I know that is guaranteed to be capable of storing the whole pointer is a void*. But void* is menat to be not that pure address number

Re: [Flightgear-devel] nojoy for simgear on amd64

2005-08-11 Thread Erik Hofman
Andy Ross wrote: There is a similar spot in FlightGear where something wants to use a pointer as an integer ID. I haven't checked these in as this is not really a good solution -- the ID needs to be guaranteed-unique. I think you would be able to use the time_t type for ID's as a hack,

Re: [Flightgear-devel] nojoy for simgear on amd64

2005-08-11 Thread Erik Hofman
Andy Ross wrote: There is a similar spot in FlightGear where something wants to use a pointer as an integer ID. I haven't checked these in as this is not really a good solution -- the ID needs to be guaranteed-unique. I just noticed there is even an id_t in sys/types.h on IRIX, is this

[Flightgear-devel] nojoy for simgear on amd64

2005-08-10 Thread Wendell Turner
Today's cvs of simgear doesn't compile on an amd64 machine. make[4]: Entering directory `/home/wendell/flightgear/FlightGear-0.9/simgear/source/simgear/scene/sky' if g++ -DHAVE_CONFIG_H -I. -I. -I../../../simgear -I../../.. -I/usr/X11R6/include -g -O2 -D_REENTRANT -MT newcloud.o -MD -MP -MF