[Bug c++/16190] make -Wnon-virtual-dtor more sophisticated
gdr at acm dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 25 19:21:00 GMT 2004
------- Additional Comments From gdr at acm dot org 2004-06-25 19:16 -------
Subject: Re: spurious warning about non-virtual destructor
giovannibajo at libero dot it
> I meant: it is not necessary to move -Wno-virtual-dtor out of -Wall into -
> Weffc++ or similar. We can keep it within -Wall, but generate it using
> more
> smartness, for instance only on new expressions as suggested by Nathan.
Actually, it is necessary and sufficient to generate the warning
only for delete expressions or pseudo-destructror calls.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16190
More information about the Gcc-bugs
mailing list