• 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: is this a bug in my code or Xcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: is this a bug in my code or Xcode?
      • From: "Sean McBride" <email@hidden>
References: 
 >is this a bug in my code or Xcode? (From: Roland Silver <email@hidden>)
 >Re: is this a bug in my code or Xcode? (From: "Glenn L. Austin" <email@hidden>)
 >Re: is this a bug in my code or Xcode? (From: Roland Silver <email@hidden>)
 >Re: is this a bug in my code or Xcode? (From: "Sherm Pendley" <email@hidden>)
 >Re: is this a bug in my code or Xcode? (From: Roland Silver <email@hidden>)

  • Prev by Date: Re: is this a bug in my code or Xcode?
  • Next by Date: Re: Xcode 3.0 help issues
  • Previous by thread: Re: is this a bug in my code or Xcode?
  • Next by thread: Re: is this a bug in my code or Xcode?
  • Index(es):
    • Date
    • Thread