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"
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...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91770
Nathan Sidwell changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|