On Mon, Dec 22, 2008 at 5:42 AM, Gerriet M. Denkmann <[email protected]> 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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
