http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40942
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #7 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-03-29 19:58:34 UTC --- Clang prints: /tmp/webcompile/_25725_0.cc:15:5: error: call to constructor of 'S' is ambiguous S s1 ("test"); ^ ~~~~~~ /tmp/webcompile/_25725_0.cc:4:3: note: candidate constructor [with T = char] S (T const *) ^ /tmp/webcompile/_25725_0.cc:8:3: note: candidate constructor [with N = 5] S (char const (&)[N]) ^ /tmp/webcompile/_25725_0.cc:1:8: note: candidate is the implicit copy constructor struct S ^ 1 error generated.