------- Comment #10 from manu at gcc dot gnu dot org 2007-06-15 14:07 ------- (In reply to comment #7) > Not really because this is a standard GCC option and having it different > between java and other languages is wrong. > > http://gcc.gnu.org/onlinedocs/gcc-4.2.0/gcc/Warning-Options.html > > Please read the documentation before really filing a bug, really an unused > parameter is wrong because it usually means either you have conditional code > (which case you). >
Actually neither -Wunused nor -Wall should enable -Wunused-parameter according to the documentation. -Wunused-parameter is only enabled by: 1) -Wunused-parameter [+ anything] 2) -Wall -Wextra 3) -Wunused -Wextra So either Java is doing something wrong or the documentation does not reflect the actual behaviour (very likely as well). -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32247