https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86243
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Hannes Hauswedell from comment #0) > Note that I am not even setting -Wall or -Wextra. As documented, -Wattributes is enabled by default and you need to use -Wno-attributes to disable it.