This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error 373
- To: "Chris McClelland" <chris at firstbass dot freeserve dot co dot uk>
- Subject: Re: Internal compiler error 373
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 30 Nov 1999 19:50:08 -0200
- Cc: <gcc-bugs at gcc dot gnu dot org>
- References: <00e001bf3b2a$f7c60c00$a819cac2@derwent.co.uk>
On Nov 30, 1999, "Chris McClelland" <chris@firstbass.freeserve.co.uk> wrote:
> I found the following bug when trying use the scope resolution
> operator on a template function in another namespace. Explicitly
> doing "using namespace NPoolVector" works, but
> "NPoolVector::Output<int>" causes the compiler to abort:
Even though the ICE indicates there's a bug in gcc, your program is
also in error. ``using'' applies to names, not to template
instantiations. Try `using NPoolVector::Output;'.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them