This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3028: 3.0 Compiler complains about template that used to work under 2.95
On Jun 1, 2001, James L Peterson <peterson@austin.ibm.com> wrote:
> The argument for 3.0 being wrong is that IListNode is defined inside
> IListBase and so has to be effectively "templated" because IListBase
> is.
Indeed, it is templated. And its full name is
::IListBase<ALLOC>::IListNode. Note where the template argument
goes.
> If 3.0 is correct, from a language point of view, then this would be a
> candidate for the list of known bugs at
> http://gcc.gnu.org/bugs.html#known
I beg to differ. That page is for actual bugs, or for non-bugs that
lots of people perceive as bugs. The problem you report is neither.
--
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