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.
redi at gcc dot gnu.org via Gcc-bugs Tue, 03 May 2022 17:15:01 -0700
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.