[Bug c++/38560] New: [4.2/4.3/4.4 Regression] -Wall option no longer warns about `class XXX' has virtual functions but non-virtual destructor
arthur dot loiret at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Dec 18 00:13:00 GMT 2008
from Debian bug : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502283
$ cat test.c
class XXX {
virtual void foo() = 0;
};
int main ()
{
}
$ g++-4.1 -Wall test.c
test.c:1: warning: Âclass XXXÂ has virtual functions but non-virtual destructor
starting at g++-4.2, there is no warning anymore
--
Summary: [4.2/4.3/4.4 Regression] -Wall option no longer warns
about `class XXX' has virtual functions but non-virtual
destructor
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: arthur dot loiret at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38560
More information about the Gcc-bugs
mailing list