Re: warning: unused parameter '_value'
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