http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56418

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-02-21 
20:26:24 UTC ---
Clang doesn't do much better:

test.cc:18:3: error: no matching function for call to 'foo'
  foo({ 1, 2.3, 123 }); // error -- argument mismatch [8]
  ^~~
test.cc:4:6: note: candidate function not viable: cannot convert initializer
list argument to 'const Foo'
void foo(const Foo &f);
     ^

but at least it doesn't print ‘<brace-enclosed initializer list>’.

Reply via email to