Re: GCC 4 and strict aliasing
Re: GCC 4 and strict aliasing
- Subject: Re: GCC 4 and strict aliasing
- From: "Frederik Slijkerman (FabFilter)" <email@hidden>
- Date: Fri, 17 Mar 2006 18:54:25 +0100
Hi Stefan,
Yes, I've added -fno-strict-aliasing to the 'Other C++ Flags' setting in
Xcode but it seems to be ignored, even though it does appear in the command
line. One thing that might matter is that it is added after all other
options. Here is part of the command line:
/usr/bin/gcc-4.0 -x c++ -arch
ppc -pipe -Wno-trigraphs -fpascal-strings -faltivec -fasm-blocks -O3 -Wreturn-type
-Wformat -Wmissing-braces -Wparentheses -Wunused-function -Wunused-label -Wunused-variable
-Wunused-value -Wsign-compare -DMACOSX -DAUDIOUNITS -fmessage-length=0 -funroll-loops
-ffast-math -mtune=G4 -ftree-vectorize -fvisibility-inlines-hidden -Wno-invalid-offsetof
-mmacosx-version-min=10.3
<includes skipped>
-DNDEBUG -fno-strict-aliasing -falign-loops=16 -isysroot
/Developer/SDKs/MacOSX10.3.9.sdk -include
/Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/pch-fjwtzxtrfzovnrcfiacmnnqisrwj/pch.h
<paths skipped>
Best regards,
Frederik Slijkerman
----- Original Message -----
From: "Stefan Haller" <email@hidden>
To: "Frederik Slijkerman (FabFilter)" <email@hidden>;
<email@hidden>
Sent: Friday, 17 March 2006 18:25
Subject: Re: GCC 4 and strict aliasing
Frederik Slijkerman (FabFilter) <email@hidden> wrote:
Please, please, can someone tell me how I can turn off strict aliasing
while
still being able to compile at the -O3 level? Thanks!
Did you try -O3 -fno-strict-aliasing?
--
Stefan Haller
Ableton
http://www.ableton.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden