This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 4 Jun 2011 16:25:10 +0000
- Subject: [Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor
- Auto-submitted: auto-generated
- References: <bug-7302-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7302
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #29 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-04 16:24:50 UTC ---
For G++ 4.7 I've added -Wdelete-non-virtual-dtor, included in -Wall, to handle
the case in comment 25, so closing this as fixed now