[Bug c++/10437] "using namespace" at global scope creates incorrect code
richard-gccbugzilla at metafoo dot co.uk
gcc-bugzilla@gcc.gnu.org
Mon May 12 23:52:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10437
Richard Smith <richard-gccbugzilla at metafoo dot co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |richard-gccbugzilla@metafoo
| |.co.uk
--- Comment #11 from Richard Smith <richard-gccbugzilla at metafoo dot co.uk> ---
(In reply to Nathan Sidwell from comment #9)
> Now the second point. This a case of SFINAE failure, no diagnostic should
> be issued.
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.
More information about the Gcc-bugs
mailing list