This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22395] -Weffc++ shouldn't warn about non-virtual dtor of private subclasses
- From: "mutz at kde dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2005 19:16:13 -0000
- Subject: [Bug c++/22395] -Weffc++ shouldn't warn about non-virtual dtor of private subclasses
- References: <20050710185359.22395.mutz@kde.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mutz at kde dot org 2005-07-10 19:16 -------
Related it may be, but different it is. bug 16168 is about subclasses that
don't have virtual methods, but even in the case of the private inheritance
from a base class having virtual methods, the warning should not be triggered.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22395