Internal compiler error 373

Alexandre Oliva oliva@lsd.ic.unicamp.br
Tue Nov 30 23:39:00 GMT 1999


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



More information about the Gcc-bugs mailing list