https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90005
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Because GCC allows passing non pods via varargs now. This is an explicit change due to newer c++ changes. You could do -Werror=format to get only the format warnings changed to errors.