Re: [Flightgear-devel] Compiler Warnings => Merge Request

2010-09-28 Thread ThorstenB
Hi, On 2010-09-28, at 01:11, Csaba Halász wrote: > > I fixed the strict-aliasing issues reported by GCC 4.4.1. Affects the > > generic.cxx and multiplaymgr.cxx modules. > > Unfortunately the trick with the union in multiplaymgr.cxx is not > standard C, as far as I know. well, unions are ANSI C. I

Re: [Flightgear-devel] Compiler Warnings => Merge Request

2010-09-27 Thread Csaba Halász
On Tue, Sep 28, 2010 at 12:21 AM, ThorstenB wrote: > Hi, > > I fixed the strict-aliasing issues reported by GCC 4.4.1. Affects the > generic.cxx and multiplaymgr.cxx modules. Unfortunately the trick with the union in multiplaymgr.cxx is not standard C, as far as I know. -- Csaba/Jester ---

Re: [Flightgear-devel] Compiler Warnings => Merge Request

2010-09-27 Thread ThorstenB
Hi, I fixed the strict-aliasing issues reported by GCC 4.4.1. Affects the generic.cxx and multiplaymgr.cxx modules. I created a merge request (let me know if you preferred patches): http://gitorious.org/fg/flightgear/merge_requests/7 cheers, Thorsten -

Re: [Flightgear-devel] Compiler Warnings

2010-09-27 Thread ThorstenB
On 2010-09-27, at 17:25, James Turner wrote: >>> The SSE math flags are a no-brainer where supported - the >>> -march-native and -sse flags are all Apple defaults in Xcode. >> BTW, as far as I remember the -sse and -sse2 are on by default for GCC >> on AMD64 (alias x86_64). > It would be good if so

Re: [Flightgear-devel] Compiler Warnings

2010-09-27 Thread James Turner
On 27 Sep 2010, at 17:48, Martin Spott wrote: >> >> The SSE math flags are a no-brainer where supported - the >> -march-native and -sse flags are all Apple defaults in Xcode. > > BTW, as far as I remember the -sse and -sse2 are on by default for GCC > on AMD64 (alias x86_64). It would be good

Re: [Flightgear-devel] Compiler Warnings

2010-09-27 Thread Martin Spott
James Turner wrote: > The SSE math flags are a no-brainer where supported - the > -march-native and -sse flags are all Apple defaults in Xcode. BTW, as far as I remember the -sse and -sse2 are on by default for GCC on AMD64 (alias x86_64). Cheers, Martin. -- Unix _IS_ user friendly - i

Re: [Flightgear-devel] Compiler Warnings

2010-09-27 Thread Durk Talsma
For your information, I just committed a bunch of fixes so that the AIModels subdirectory now compiles without warnings using -Wall, using gcc 4.3.2 Cheers, Durk -- Start uncovering the many advantages of virtual applian

Re: [Flightgear-devel] Compiler Warnings

2010-09-27 Thread Durk Talsma
Hi all, As a general head-up. I'm trying to fix a couple of these warnings in the AI code right now. Most of it is just boring stuff. Ideal to fill a couple of hours on a rainy monday afternoon. Cheers, Durk On Mon, Sep 27, 2010 at 9:47 AM, James Turner wrote: > > On 26 Sep 2010, at 22:09, Tho

Re: [Flightgear-devel] Compiler Warnings

2010-09-27 Thread James Turner
On 26 Sep 2010, at 22:09, ThorstenB wrote: > Hi, > there is a forum topic discussing compiler optimization to improve > frame rate ( http://www.flightgear.org/forums/viewtopic.php?f=45&p=96830 > ). > I have also tried this (and successfully improved mine... :-) ). > > However, I also compiled wi

[Flightgear-devel] Compiler Warnings

2010-09-26 Thread ThorstenB
Hi, there is a forum topic discussing compiler optimization to improve frame rate ( http://www.flightgear.org/forums/viewtopic.php?f=45&p=96830 ). I have also tried this (and successfully improved mine... :-) ). However, I also compiled with "-Wall" and this shows several issues with the FlightGea

[Flightgear-devel] Compiler warnings

2006-03-05 Thread James Turner
I've recently spent some time getting my XCode projects for flightgear running to my satisfaction; as a result I'm now able to use FG after a lapse of several months (my fault, nothing to do with the codebase). However, two issues which have always troubled me have again raised their head; the firs