[Bug c++/50477] -Wunused-parameter should not warn about virtual method declarations with bodies
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 23 09:00:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50477
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-09-23 08:27:09 UTC ---
So just use -Wno-unused-parameter if you want to give the arguments names,
don't use them and don't like unused attribute. I don't see why inline
methods, virtual or non-virtual, should be any different in this regard from
any other functions.
More information about the Gcc-bugs
mailing list