This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20710] g++ should warn when hiding non-virtual method in base class
- 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: Mon, 1 Nov 2010 13:01:46 +0000
- Subject: [Bug c++/20710] g++ should warn when hiding non-virtual method in base class
- Auto-submitted: auto-generated
- References: <bug-20710-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-11-01 13:01:43 UTC ---
Yup, that's why I haven't closed this as a duplicate.
The C++0x override control works for virtual and non-virtual names, so is
relevant to this PR *and* the others. Noting and linking to similar PRs helps
people looking at this in future.