This change allows gcc to clean compile with Wall, pedantic and -Werror. Meson in particular toggles -pedantic in warning_level=3 which causes GCC compilation to fail.
The error, while technically not incorrect, it has been discussed since 2017 and it is unlikely to be fixed/changed on GCC's side https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83584
This change allows gcc to clean compile with Wall, pedantic and -Werror. Meson in particular toggles -pedantic in warning_level=3 which causes GCC compilation to fail. The error, while technically not incorrect, it has been discussed since 2017 and it is unlikely to be fixed/changed on GCC's side https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83584