This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A g++ template bug?
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: A g++ template bug?
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 26 Sep 1998 04:50:34 +-300
- Cc: egcs at cygnus dot com, egcs-bugs at cygnus dot com
- References: <m0zMaV7-000396C@ocean.lucon.org>
H J Lu <hjl@lucon.org> writes:
> As you you see, __doadv is not mangled as a template function.
Yup, it should have been rejected, because it was not declared when
you first referred to it as a template function. Please check the FAQ
http://egcs.cygnus.com/faq.html#friend
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil