This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16190] make -Wnon-virtual-dtor more sophisticated
- From: "gdr at acm dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jun 2004 19:12:43 -0000
- Subject: [Bug c++/16190] make -Wnon-virtual-dtor more sophisticated
- References: <20040625022626.16190.ncm-nospam@cantrip.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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