On 30-May-09, at 5:31 PM, Eric Hermanson 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...?

- Eric

Reference. Specifically,

(void)parameter;

That works in every C-based compiler on every platform, and doesn't muck up block quoting/unquoting, which makes it the one true correct way far as I'm concerned.

--
Alex Curylo -- a...@alexcurylo.com -- http://www.alexcurylo.com/

"I suddenly found myself writing, from scratch, an ATM
 back-end that's used by a growing number of banks...
 now I get nervous using ATMs." -- Greg Weston



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to