https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71517
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Preprocessing loses macro invocation context information, so such differences are expected (use -Wsystem-headers if you want to see warnings regardless if something comes from system headers or not, or better preprocess just with -E -fdirectives-only so that such information is not lost).