http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57241
--- Comment #3 from etherice <scottbaldwin at gmail dot com> --- (In reply to Andrew Pinski from comment #2) > (In reply to Paolo Carlini from comment #1) > > In general, it's safe to say that #pragma diagnostic ignored is very buggy > > (in C++ at least), we have got many long standing PRs. > > Well the whole token ahead of time for C++ front-end causes this and another > issue with respect of #pragma's. Fixing it would certainly help those of us using -Wall and -Werror and wanting fine-grained control of when to allow specific cases (such as -Wmultichar when defining a boost::mpl::string, or making a signed/unsigned comparison, etc.).