This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53596] g++-4.7 -Wall shouldn't complain for non-virtual 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: Wed, 06 Jun 2012 22:45:00 +0000
- Subject: [Bug c++/53596] g++-4.7 -Wall shouldn't complain for non-virtual protected dtor
- Auto-submitted: auto-generated
- References: <bug-53596-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53596
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-06 22:45:00 UTC ---
The reason previous versions of GCC do not warn is because GCC has been
improved and now issues a warning for unsafe code that it didn't diagnose
before. This is a good thing.