From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12242 invoked by alias); 20 Mar 2003 02:09:19 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 12203 invoked by uid 48); 20 Mar 2003 02:09:19 -0000 Date: Thu, 20 Mar 2003 02:09:00 -0000 Message-ID: <20030320020919.12202.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, lalle@sics.se, nobody@gcc.gnu.org From: bangerth@dealii.org Reply-To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, lalle@sics.se, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/10147: [3.2/3.3/3.4 regression] Confusing error message for invalid template function argument X-SW-Source: 2003-03/txt/msg01316.txt.bz2 List-Id: Old Synopsis: Confusing error message for invalid template function argument New Synopsis: [3.2/3.3/3.4 regression] Confusing error message for invalid template function argument State-Changed-From-To: open->analyzed State-Changed-By: bangerth State-Changed-When: Thu Mar 20 02:09:19 2003 State-Changed-Why: Confirmed. I think this is a regression: 2.95 said on this code x.cc: In function `void N2::f(const N1::B &)': x.cc:32: conversion from `A' to non-scalar type `N2::A' requested x.cc:26: in passing argument 1 of `N2::tf(const N2::A &)' This is not entirely accurate, since A is actually N1::A, but the message was much clearer than what we get presently (in 3.2, 3.3 and mainline). W. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10147