[Bug c++/20710] g++ should warn when hiding non-virtual method in base class
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 26 13:07:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Stephan Bergmann from comment #9)
> (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)."
Right.
More information about the Gcc-bugs
mailing list