------- Comment #3 from redi at gcc dot gnu dot org  2010-08-26 10:14 -------
You didn't say which version of GCC you're using, but it doesn't really matter
because these options have been in place for many years.

(In reply to comment #0)
> (5) I'm lazy and don't want to locate the applicable man page

Here it is:
http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

> (9) no easy way to control 'unused warning' spew is one of the biggest
> complaints on the crypto++ mailing list when building for *nix

This gives neither "unused variable" not "unused parameter" warnings:
void f(int) {
  int j = 0;
  (void)j;
}
But if that's not easy enough, just use relevant -Wno-... option.


-- 

redi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45411

Reply via email to