This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/10147: [3.2/3.3/3.4 regression] Confusing error message for invalid template function argument


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]