• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GCC 4 and strict aliasing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: GCC 4 and strict aliasing
      • From: Eric Albert <email@hidden>
References: 
 >Re: GCC 4 and strict aliasing (From: email@hidden (Stefan Haller))

  • Prev by Date: Re: GCC 4 and strict aliasing
  • Next by Date: Re: Why won't Xcode find my framework?
  • Previous by thread: Re: GCC 4 and strict aliasing
  • Next by thread: Re: GCC 4 and strict aliasing
  • Index(es):
    • Date
    • Thread