https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67016
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like this changed between c++11 and c++98. Note you are quoting c++11 but compiling with c++98. Also this is a big incompatibility with c99 and a surprising one too.