[Bug c++/10437] "using namespace" at global scope creates incorrect code

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 13 08:28:00 GMT 2014


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

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Richard Smith from comment #11)
> I disagree. The failure is not in the immediate context of the substitution,
> so this is a hard error. GCC seems to be doing the right thing in all cases
> here.

Agreed. I think GCC has been fixed in both respects since this was active and
this can be closed (maybe after adding the examples to the test suite, but I
think we have equivalents already).



More information about the Gcc-bugs mailing list