This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: internal error: template member template
- To: Markus Werle <markus at lufmech dot rwth-aachen dot de>
- Subject: Re: internal error: template member template
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 13 Jul 1999 07:21:05 -0300
- Cc: egcs-bugs at egcs dot cygnus dot com
- References: <378339A2.1B9B35E3@lufmech.rwth-aachen.de>
On Jul 7, 1999, Markus Werle <markus@lufmech.rwth-aachen.de> wrote:
> LoopOverTemplateFunction.2.C:17: Internal compiler error 354.
> template <int i, int j, bool b=(i<=j)> class LoopFromTo { public:
> template<template<> class f> void Exec() {
Thanks for your bug report. The problem appears to be fixed in the
upcoming gcc 2.95. It says:
LoopOverTemplateFunction.2.C: At top level:
LoopOverTemplateFunction.2.C:14: explicit specialization in non-namespace scope `LoopFromTo<i,j,b>'
LoopOverTemplateFunction.2.C:14: enclosing class templates are not explicitly specialized
Which is an awkward error message, but not an ICE.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,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