https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83305
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |WONTFIX --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Preprocessing discards information, so obviously lots of warnings are affected, by not being able to track the preprocessor macros, by seeing the tokens coming from different locations, or by comments used e.g. for -Wimplicit-fallthrough being discarded. You can use -fdirectives-only -E preprocessing instead, which keeps macros as is.