This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug c++/16190] 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