Re: is this a bug in my code or Xcode?
Re: is this a bug in my code or Xcode?
- Subject: Re: is this a bug in my code or Xcode?
- From: "Sherm Pendley" <email@hidden>
- Date: Mon, 24 Mar 2008 11:02:05 -0400
On Mon, Mar 24, 2008 at 8:40 AM, Roland Silver <
email@hidden> wrote:
Sherm, you said:
> I always add "-Wall" to the compiler flags, which (as the name
> implies) enables all warnings, including those for missing prototypes.
In my Xcode project, how do I do that? I.e. where do I find the
computer flags?
In place of a "make" file there is in my project's Groups & Files,
under Targets, the name of my project ("AttonalComposer") as a target.
If I double-click on it I get a window labeled
Target "Attonal Composer" Info
Under that window's "Build" tab there are a large number of labeled
check boxes which apparently correspond to those computer flags.
Which one corresponds to "-Wall"?
None of them - one of the enduring mysteries of Xcode, I'm afraid. Which reminds me - I'll check if this is still missing in Xcode 3.0, and file a bug if so. There should not only be a check box for all warnings, IMHO it should be enabled by default.
What I do is add "-Wall" manually, by editing the value of the "Other Warning Flags" setting.
sherm--
_______________________________________________
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