This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53206] overloaded virtual non const warning
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 03 May 2012 10:54:09 +0000
- Subject: [Bug c++/53206] overloaded virtual non const warning
- Auto-submitted: auto-generated
- References: <bug-53206-4@http.gcc.gnu.org/bugzilla/>
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