• 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: Showing more warnings possible in Xcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Showing more warnings possible in Xcode?


  • Subject: Re: Showing more warnings possible in Xcode?
  • From: George Warner <email@hidden>
  • Date: Sat, 30 May 2009 21:07:21 -0700

On Sat, 30 May 2009 20:31:36 -0400, Eric Hermanson <email@hidden> wrote:
> Thanks for that list.


> Regarding your choice of

> 	GCC_WARN_UNUSED_PARAMETER = YES

> How do you get around the fact that you often get warnings for
> delegate methods you are forced to implement where you don't ever use
> given parameter(s)? Do you use a "#pragma GCC diagnostic ignored ..."
> to skip that warning for the given file, or do you reference all
> parameters in some bogus way to avoid the warning, or...?


#pragma unused (param1, param2)


-- Enjoy, George Warner, Schizophrenic Optimization Scientist Apple Developer Technical Support (DTS)

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: How to draw background image in my app window
  • Next by Date: Re: Several Questions
  • Previous by thread: Re: Showing more warnings possible in Xcode?
  • Next by thread: Custom view resizing
  • Index(es):
    • Date
    • Thread