[Bug c++/16190] make -Wnon-virtual-dtor more sophisticated
gdr at acm dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 25 19:27:00 GMT 2004
------- Additional Comments From gdr at acm dot org 2004-06-25 19:21 -------
Subject: Re: make -Wnon-virtual-dtor more sophisticated
You Wrote
> Besides: why -Weff-c++ at all?
If it were up to me, I remove it out of the picture.
> -Wall means "all warnings", that's why that name was chosen. Now, it is
Yes, but the current warning is more annyoing than useful and it
does not even qualify for -Wall by the most genereous measurements.
I thik the right action is to fix the warning to be
generated only if we have delete expression or a class
to destructor.
And by the way, Nathan kindly took on filling this PR
after I made a suggestion and we discussed the issue on V3
list.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16190
More information about the Gcc-bugs
mailing list