• 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: [XCode 2.2.1] Project settings issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XCode 2.2.1] Project settings issue


  • Subject: Re: [XCode 2.2.1] Project settings issue
  • From: Chris Espinosa <email@hidden>
  • Date: Sun, 12 Mar 2006 09:12:33 -0800


On Mar 12, 2006, at 4:37 AM, Patrick Perroud wrote:

My project is a Universal Binaries Carbon loadable Bundle, and during compilation I am getting a strange warning that says:

"-Wuninitialized is not supported without -O"

It must have some meaning - so I did check my project settings carefully for -Wuninitialized, but couldn't figure out what it was about.

Therefore, any advice or direction that would help me to solve this one would be very much appreciated indeed.


If you choose Edit Current Target from the Project menu and go to Build settings, choose All Collections and type "-wuninitialized" into the search field, you'll see that this refers to the Warn on Uninitialized Variables compiler setting. The descriptive text there notes that the compiler can't generate these warnings unless optimization ("-O") is enabled.


So either uncheck this compiler warning flag, or set optimization to - O1 or higher.

What's best is to leave this flag unchecked in your Debug configuration, with optimization off, and check it only in your Release configuration, with optimization on.

Chris
_______________________________________________
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


References: 
 >How to change an application's name? (From: Robert Purves <email@hidden>)
 >[XCode 2.2.1] Project settings issue (From: Patrick Perroud <email@hidden>)

  • Prev by Date: Is it possible to break lines in the .xcconfig file?
  • Next by Date: "Open Quickly" help!
  • Previous by thread: [XCode 2.2.1] Project settings issue
  • Next by thread: Re: How to change an application's name?
  • Index(es):
    • Date
    • Thread