http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52806
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-08-16 10:33:38 UTC --- (In reply to comment #4) > Unfortunately the user *will* have warnings if she passes the > warning flag but not -std=c++11. So don't use that warning flag. It's not included in -Wall for good reason.