From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22787 invoked by alias); 21 Feb 2013 20:26:48 -0000 Received: (qmail 22649 invoked by uid 48); 21 Feb 2013 20:26:25 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/56418] errors do not show the types (makes it hard to debug) Date: Thu, 21 Feb 2013 20:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-02/txt/msg02184.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56418 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #1 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez 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 =E2=80=98=E2= =80=99.