This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12962] g++ fails to match template function
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Nov 2003 20:06:41 -0000
- Subject: [Bug c++/12962] g++ fails to match template function
- References: <20031108122926.12962.smelkov@mph1.phys.spbu.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at physics dot uc dot edu 2003-11-09 20:06 -------
Subject: Re: g++ fails to match template function
There is already another bug for the error message, see PR 2112.
Thanks,
Andrew Pinski
On Nov 9, 2003, at 01:55, smelkov at mph1 dot phys dot spbu dot ru
wrote:
>
> ------- Additional Comments From smelkov at mph1 dot phys dot spbu dot
> ru 2003-11-09 09:55 -------
> OK,
> Then is it at least possible to be more correct with error reporting?
> i.e. something like this
>
> error: no matching function for call to `B::xxx(X<B>)' or
> `B::xxx(const X<B>&)'
> instead of
> error: no matching function for call to `B::xxx(X<B>)'
>
> since it searches for xxx with const reference.
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12962
>
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12962