[Bug c++/53206] overloaded virtual non const warning

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 3 10:54:00 GMT 2012


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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-05-03 10:54:09 UTC ---
I don't have a strong opinion.

In the large codebase I'm working on currently we use -Wall -Wextra but don't
use -Woverloaded-virtual (and we are aware of it, it's in a Makefile but
commented out) because it generates too much noise.  If it was in -Wall or
-Wextra we'd probably use -Wno-overloaded-virtual

But that's just one codebase and we could disable it or add using directives
everywhere if it was added to -Wextra



More information about the Gcc-bugs mailing list