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 18:54:50 -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 18:54 -------
> class Bar : public Foo {};
Of course, that should read:
class Bar : private Foo {};
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22395