• 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: Turning off spurious C warning in XCode ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Turning off spurious C warning in XCode ?


  • Subject: Re: Turning off spurious C warning in XCode ?
  • From: Graeme Mathieson <email@hidden>
  • Date: Sun, 23 Nov 2003 05:24:32 +0000

On 22 Nov 2003, at 22:54, Thomas Lachand-Robert wrote:

Sorry for the vague statement: -Wshadow is the correct flag, I think, to turn the warning ON. I don't think there is a flag to turn it OFF, but probably XCode does turn it on some other way (by -Wall or something). Anyway, I tried, with no success :-(

If -Wshadow turns the warning no, -Wno-shadow will probably (and in a quick test here, did) turn it off. So, if it's implicitly enabled with -Wall (or, as the defaults were in the new project I created, -Wmost), find where it is being specified and tacked -Wno-shadow on the end.
--
Mail, MSN Messenger & Jabber: mathie [at] endless [dot] org [dot] uk
AIM: MathieEndless, Blog: http://www.endless.org.uk/blog/
OpenPGP Fingerprint: 0F38 5000 999F 0644 76D6 968D A945 916E AD30 4A1A
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Turning off spurious C warning in XCode ?
      • From: Thomas Lachand-Robert <email@hidden>
References: 
 >Turning off spurious C warning in XCode ? (From: Thomas Lachand-Robert <email@hidden>)
 >Re: Turning off spurious C warning in XCode ? (From: James Mastro <email@hidden>)
 >Re: Turning off spurious C warning in XCode ? (From: Thomas Lachand-Robert <email@hidden>)

  • Prev by Date: Re: Turning off spurious C warning in XCode ?
  • Next by Date: Re: Plug-in API for Xcode . . .
  • Previous by thread: Re: Turning off spurious C warning in XCode ?
  • Next by thread: Re: Turning off spurious C warning in XCode ?
  • Index(es):
    • Date
    • Thread