• 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: James Mastro <email@hidden>
  • Date: Sat, 22 Nov 2003 12:47:04 -0500

On Nov 22, 2003, at 12:13 PM, Thomas Lachand-Robert wrote:

There is a checkbox about "hidden local variables" in the build settings, but it doesn't work for this.
I think the gcc option is -Wshadow, but again I don't know how to turn it off in XCode.

Under the Build tab in the Target info, there's an OTHER_CFLAGS line. Put "-Wshadow" on it. (Assuming shadow is the correct compiler flag for this. It sounds like it.)


-jim
_______________________________________________
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>)

  • Prev by Date: Turning off spurious C warning in XCode ?
  • Next by Date: Re: Groups, shell scripts, yacc
  • Previous by thread: Turning off spurious C warning in XCode ?
  • Next by thread: Re: Turning off spurious C warning in XCode ?
  • Index(es):
    • Date
    • Thread