------- 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