https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105470 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- It looks more like you're using -Werror and a new warning in the new GCC is being turned into an error, because you asked for it.