• 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: warning: unused parameter '_value'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warning: unused parameter '_value'


  • Subject: Re: warning: unused parameter '_value'
  • From: "Michael Ash" <email@hidden>
  • Date: Mon, 22 Dec 2008 08:50:36 -0500

On Mon, Dec 22, 2008 at 5:42 AM, Gerriet M. Denkmann
<email@hidden> wrote:
> When I use [GCC_WARN_UNUSED_PARAMETER, -Wunused-parameter]
>
> I get (in Release build, not in Development) for every @synthesize statement
> a warning:
> warning: unused parameter '_value'
> There is no "value" nor "_value" in the source to be found.
>
> What am I doing wrong?

Sounds like the only thing you're doing "wrong" is using that warning.
I would file a bug and then turn it back off. (I gave up on
-Wunused-parameter long ago; Cocoa apps have far too many legitimately
unused parameters to make it worthwhile. That said, this is no excuse
for the compiler generating such warnings in its own code!)

Mike
_______________________________________________

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

References: 
 >warning: unused parameter '_value' (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Reliable way to capitalize camel-case strings? [SOLVED]
  • Next by Date: Thread crashing problem
  • Previous by thread: warning: unused parameter '_value'
  • Next by thread: Re: warning: unused parameter '_value'
  • Index(es):
    • Date
    • Thread