Re: [Flightgear-devel] Re: Another gcc 4.0.2/SUSE 10.0 problem: engine sounds

2005-12-03 Thread Andy Ross
Melchior FRANZ wrote: Now the question is: should fgfs work around a broken gcc release, when there's hope that the next version will be fixed? Or is it not a bug, Strictly, it's not a bug. Within a single function, it is not legal to have two pointers of different types pointing to the same

Re: [Flightgear-devel] Re: Another gcc 4.0.2/SUSE 10.0 problem: engine sounds

2005-12-03 Thread Andy Ross
Melchior FRANZ wrote: Umm ... but is sizeof(float)==sizeof(int) on all supported platforms? It's not on Atari ST, for example (IIRC). :-/ Really? I honestly thought all 68k platforms used a 32 bit int to match the register width. Certainly all 68k gcc variants do (gcc can't support a 16 bit

Re: [Flightgear-devel] Re: Another gcc 4.0.2/SUSE 10.0 problem: engine sounds

2005-12-03 Thread Mathias Fröhlich
On Samstag 03 Dezember 2005 16:45, Melchior FRANZ wrote: It turned indeed out to be yet another one of these ugly aliasing bugs with gcc 4.0.2 ([1] *AND* [2]!). In fastmath.hxx apparently reinterpret_cast doesn't work appropriately. Could explain why Alex' clean patch didn't work. Now the

Re: [Flightgear-devel] Re: Another gcc 4.0.2/SUSE 10.0 problem: engine sounds

2005-12-03 Thread Mathias Fröhlich
On Samstag 03 Dezember 2005 17:17, Mathias Fröhlich wrote: You are citing the standard yourselves often enough that I believe that you can read that. Sorry, Melchior. I sometimes do not see that I might be insulting. That was not my intention! Greetings Mathias -- Mathias Fröhlich,