This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Template bug in gcc-2.95-2 on i386-redhat-linux
- To: Oskar Enoksson <osken393 at student dot liu dot se>
- Subject: Re: Template bug in gcc-2.95-2 on i386-redhat-linux
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 12 Sep 2000 00:57:58 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <39BD2B8C.5F30D456@student.liu.se>
On Sep 11, 2000, Oskar Enoksson <osken393@student.liu.se> wrote:
> I would be grateful for any hints to get around it, I have tried
> using parentheses around the foo.Bar<float>(3) function call but
> without success.
This should probably be listed as one of the well-known bugs of GCC.
The suggested work-around is to add the `template' keyword after `.'.
GCC shouldn't require it, but it currently does.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me