http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32019
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|accepts-invalid |diagnostic Status|NEW |RESOLVED CC| |jason at gcc dot gnu.org Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org Target Milestone|--- |4.10.0 --- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> --- The type of "1" is not const char *, it is const char[2], and there is no conversion from C to that type. So the only issue here is that the diagnostic we give could be clearer that the problem is ambiguity. Fixed.