• 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: Troy Dawson <email@hidden>
  • Date: Sun, 23 Nov 2003 05:16:02 -0800

On Nov 23, 2003, at 5:02 AM, Thomas Lachand-Robert wrote:

So if anyone has an idea to get rid of this warning, I'm interested. Thanks,

don't reuse instance variable names in your methods. I preface my instance variables with a '_ 'as habit.


also, your original issue:

id session = [self session];

will not produce an warning -- method names do not collide with C variable names.
_______________________________________________
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: Alastair Houghton <email@hidden>
    • 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: Thomas Lachand-Robert <email@hidden>)

  • Prev by Date: Re: Turning off spurious C warning in XCode ?
  • Next by Date: GDB Crashing Reproducably
  • 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