[Bug preprocessor/94127] #pragma system_header marks unrelated files as system headers

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 10 18:05:39 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94127

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think it's intended.

You should put the pragma after including other headers if you don't want them
to be affected.


More information about the Gcc-bugs mailing list