[Bug c++/16190] spurious warning about non-virtual destructor

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Fri Jun 25 14:22:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-06-25 14:17 -------
(In reply to comment #6)

> it is not necessary to move the warning: 
> it could be the warning which is moved, so that it is only generated on new 
> expressions involving those types.

?SYNTAX ERROR?

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.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16190



More information about the Gcc-bugs mailing list