[Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 4 16:25:00 GMT 2011


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



More information about the Gcc-bugs mailing list