On Sep 15, 2008, at 12:57 PM, Michael Ash wrote:

gcc allows you to disable individual warnings. So using "-Wall -Wextra
-Wno-unused-parameter" will give you all of the good warnings with
none of the annoying unused parameter ones. In practice, this single
warning is the only one I've found in the entire set of -Wall -Wextra
to do more harm than good. Every other warning they have has, in my
experience, been completely legitimate. And -Wextra adds so many more
useful warnings that I'd never consider leaving it out.

True enough - the -Wno-unused-parameter pretty much removes most of the annoying features of -Wextra.

Charles
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to