https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77299
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Last reconfirmed| |2021-08-27 Ever confirmed|0 |1 Status|RESOLVED |NEW Resolution|DUPLICATE |--- --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is not a dup of bug 77297 but there might be another bug this is a dup of though. The problem here is the macros come from system headers. Using -Wsystem-headers allows for the warnings to get through.