This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10147: [3.2/3.3/3.4 regression] Confusing error message for invalid template function argument
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, lalle at sics dot se, nobody at gcc dot gnu dot org
- Date: 20 Mar 2003 02:09:19 -0000
- Subject: Re: c++/10147: [3.2/3.3/3.4 regression] Confusing error message for invalid template function argument
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, lalle at sics dot se, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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<N2::A>(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