From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13835 invoked by alias); 17 Jul 2009 22:09:13 -0000 Received: (qmail 13801 invoked by uid 48); 17 Jul 2009 22:09:02 -0000 Date: Fri, 17 Jul 2009 22:09:00 -0000 Subject: [Bug c++/40793] New: "Error: no matching function for call to XYZ" doesn't display function-template-arguments X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jonathan dot sd24 at yahoo dot de" 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: 2009-07/txt/msg01465.txt.bz2 When a function-templates gets wrong arguments there's an error "no matching function for call to result fun(args)". But the template-arguments aren't displayed. So it takes hours to search the reason for this error in some cases. The output should look like: "no matching function for call to result fun(args) [with templatearg1 = x, templatearg2 = y]" It's not version-specific (tested with 4.3 and 4.5) -- Summary: "Error: no matching function for call to XYZ" doesn't display function-template-arguments Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jonathan dot sd24 at yahoo dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40793