[Bug c++/91770] warn on #includes inside extern C regions

2024-07-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91770 --- Comment #3 from Jonathan Wakely --- N.B. the C++ standard says it's undefined to do this for any standard header: [using.headers] in the standard says "A translation unit shall include a header only outside of any declaration or definition"

[Bug c++/91770] warn on #includes inside extern C regions

2019-12-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91770 --- Comment #2 from Eric Gallager --- I wonder how hard it would be to get the interaction with -Wsystem-headers right here, given how many other issues with -Wsystem-headers there are...

[Bug c++/91770] warn on #includes inside extern C regions

2019-09-14 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91770 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|