[Bug c++/16190] make -Wnon-virtual-dtor more sophisticated

gdr at acm dot org gcc-bugzilla@gcc.gnu.org
Fri Jun 25 19:12:00 GMT 2004


------- Additional Comments From gdr at acm dot org  2004-06-25 19:12 -------
Subject: Re:  spurious warning about non-virtual destructor

You Wrote

> I would claim that in most cases the compiler warning is actually
> justified.

No, it is not.  Which is the whole point of the issue.

> The question what we put into -Wall is always a judgment call, so

The point is not whether the warning is in -Wall, but whether
it makes sense most of the time.  The answer is no, it does
not.

The PR should be reopen.



-- 


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



More information about the Gcc-bugs mailing list