From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15557 invoked by alias); 9 Oct 2012 18:48:11 -0000 Received: (qmail 14620 invoked by uid 48); 9 Oct 2012 18:47:41 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99] Bug in template type in error message. Date: Tue, 09 Oct 2012 18:48: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: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: 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: 2012-10/txt/msg00868.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99 --- Comment #19 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez 2012-10-09 18:47:33 UTC --- Reconfirmed with revision 192154: pr99.cc:6:30: error: call of overloaded =E2=80=98f(X, X)=E2=80=99= is ambiguous return f(X(), X()); ^ pr99.cc:6:30: note: candidates are: pr99.cc:2:26: note: int f(X, X) [with Q =3D int] template int f(X, X); ^ pr99.cc:3:26: note: int f(X, X) [with B =3D int] template int f(X, X); ^