This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/43820] [4.4/4.5/4.6 Regression] auto_ptr used with incomplete type no longer triggers warning
- From: "redi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Apr 2010 18:22:46 -0000
- Subject: [Bug libstdc++/43820] [4.4/4.5/4.6 Regression] auto_ptr used with incomplete type no longer triggers warning
- References: <bug-43820-17848@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from redi at gcc dot gnu dot org 2010-04-20 18:22 -------
sure, it's deprecated in C++0x mode, but it's a pretty bad regression that it
no longer warns in C++03 mode
Chris is right, -Wsystem-headers restores the warning
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43820