[Bug c++/16190] spurious warning about non-virtual destructor
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 25 05:34:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-25 05:02 -------
Huh this is already a seperate warning that can be turned on and off:
-Wnon-virtual-dtor (C++ only)
Warn when a class appears to be polymorphic, thereby requiring a virtual destructor, yet it declares a
non-virtual one. This warning is enabled by -Wall.
It is very hard to dect if the class is created by new. so this is a not to be fixed bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16190
More information about the Gcc-bugs
mailing list