• 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: Nathan Vander Wilt <email@hidden>
  • Date: Mon, 22 Dec 2008 11:32:34 -0600

On Dec 22, 2008, at 4:42 AM, Gerriet M. Denkmann 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?

Xcode Version 3.1.1; gcc 4.0; 10.5.6

This was a bug in the compiler until gcc 4.2: http://lists.apple.com/archives/objc-language/2008/jul/msg00043.html

If you're able change your compiler setting at this point in development, that's the easiest fix.

-nvw


_______________________________________________

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: Managed Object won't dealloc even after Hit with Kitchen Sink
  • Next by Date: Re: NSCalendar/NSDate - generating all months/days in a year [SOLVED]
  • Previous by thread: Re: warning: unused parameter '_value'
  • Next by thread: Re: warning: unused parameter '_value'
  • Index(es):
    • Date
    • Thread