[Bug c++/85690] missing suggested header for std-qualified names
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 8 11:16:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85690
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-05-08
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #0)
> In addition, since the <cxxx> kind of C headers need not define symbols in
> the global namespace (and not implementations do define them there), for
> unqualified references to such symbols GCC should suggest the traditional
> <xxx.h> header, and the <cxxx> kind only for std-qualified references.
Very much confirmed.
We must not suggest <cxxx> headers for unqualified names, that's just wrong.
More information about the Gcc-bugs
mailing list