Re: cc1obj: warning: -Wuninitialized is not supported without -O <--- huh?
Re: cc1obj: warning: -Wuninitialized is not supported without -O <--- huh?
- Subject: Re: cc1obj: warning: -Wuninitialized is not supported without -O <--- huh?
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 21 Jul 2005 09:47:10 -0600
On Jul 21, 2005, at 09:41 AM, Frederick C. Lee wrote:
cc1obj: warning: -Wuninitialized is not supported without -O
The sample code was written by an Apple staffer in 2004 and
contains some deprecated code (in Tiger's eyes).
What does this warning mean, and how do I correct it?
It means that the -Winitialized GCC flag, which turns on the
"variable might be used uninitialized" warnings, doesn't work unless
optimization is turned on (the -O option). You should probably turn
that warning off in the target settings for debug builds or other
builds with zero optimization.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden