This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20710] g++ should warn when hiding non-virtual method in base class


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)."

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]