This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15214] Warning non-virtual-dtor too strict
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2004 18:53:03 -0000
- Subject: [Bug c++/15214] Warning non-virtual-dtor too strict
- References: <20040430001804.15214.tmarshall@real.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-05-11 18:53 -------
I don't quite understand the usefulness of the construct you want the
compiler to accept: if the destructor can't be called from a derived
class, then you can derive from this class. Why would you want to have
virtual functions then?
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15214