[Bug c++/57854] Would like to have a warning for virtual overrides without C++11 "override" keyword
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 9 09:36:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57854
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Thiago Macieira from comment #0)
>
> It should be in -Weffc++.
Not unless a new C++11 edition of Effective C++ recommends using override on
all overriding functions, and not unless we update -Weffc++ to correspond to
something other than the first edition.
This seems like something that would fit better into a plugin than the core
compiler.
More information about the Gcc-bugs
mailing list