[Bug c++/20710] g++ should warn when hiding non-virtual method in base class
sbergman at redhat dot com
gcc-bugzilla@gcc.gnu.org
Wed Oct 26 12:31:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710
Stephan Bergmann <sbergman at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sbergman at redhat dot com
--- Comment #9 from Stephan Bergmann <sbergman at redhat dot com> ---
(In reply to Jonathan Wakely from comment #7)
> The C++0x override control works for virtual and non-virtual names
That's not true for what then became the C++11 standard, right? "A
virt-specifier-seq shall appear only in the declaration of a virtual member
function (10.3)."
More information about the Gcc-bugs
mailing list