https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85269
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85269
--- Comment #4 from Martin Sebor ---
Your example in comment #2 should not warn. Projects often have their own
"base" header that includes a a bunch of standard headers and that by
convention is included in each of the project's source files so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85269
--- Comment #3 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #2)
> Also, we'd need to be careful so that we don't warn about referring to
> std::ostream without , because exists specifically to make
> that possible.
Also,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85269
--- Comment #2 from Jonathan Wakely ---
Could you clarify the suggestion? Should your first example warn because
std::locale is only declared not defined? What if we later modify so
it does include the whole of , would that stop the warning? The
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85269
--- Comment #1 from Martin Sebor ---
LWG issues 343 has some bakckground into this problem:
http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#343
It was resolved via LWG #1178 without solving the portability problem:
http://www.open-s