Re: [XCode 2.2.1] Project settings issue
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