This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Another template template argument bug.
- To: Kriang Lerdsuwanakij <lerdsuwa at scf-fs dot usc dot edu>
- Subject: Another template template argument bug.
- From: Jose Gomes <Jose dot Gomes at sophia dot inria dot fr>
- Date: Fri, 18 Feb 2000 15:09:41 +0000
- CC: gcc-bugs at gcc dot gnu dot org
- References: <Pine.LNX.4.10.10002122231400.4376-100000@localhost.localdomain>
Kriang Lerdsuwanakij wrote:
>
> Thanks for the bug report. There are patches available to fix these bugs
> in case you need it. The first bug should be fixed by the patch at
> http://gcc.gnu.org/ml/gcc-patches/1999-09/msg00608.html
> while the patches
> http://gcc.gnu.org/ml/gcc-patches/1999-09/msg00607.html
> and
> http://gcc.gnu.org/ml/gcc-patches/1999-09/msg00606.html
> should fix your second test case.
>
> --Kriang
Thank you very much for your 3 patches which fixed indeed my 2 bugs.
(I had to pass them by hand since the program "patch" failed.
The reason is that my up to date sources are very different from the
ones
of 1999-09, when the "cvs diff" was made. Is it possible to make
available to other
users up to date diff's, please ?)
Now, I submit a (possibly different) third bug which is not fixed by the
patches.
CODE
atlantis-518% cat TemplateTemplateArgumentBug3.C
template <template <class T> class base>
struct A : public base<float> {};
template <class T>
class B
{
template <class type>
struct C {};
};
template <class T>
struct D : public A<B<T>::C> {};
COMPILER
atlantis-515% /net/home/robotvis/gnu/egcs/bin/g++ -v
Reading specs from
/net/home/robotvis/gnu/egcs/lib/gcc-lib/sparc-sun-solaris2.6/2.96/specs
gcc version 2.96 20000214 (experimental)
(corrected width the 3 previous patches)
SYSTEM
atlantis-517% uname -a
SunOS atlantis 5.6 Generic_105181-15 sun4u sparc SUNW,Ultra-60
I hope this will help,
Best regards,
Jose Gomes
--
Jose.Gomes@sophia.inria.fr Tel. +33 4 92 38 76 48
http://www.inria.fr/robotvis/personnel/jgomes
Projet RobotVis, INRIA, 2004, route des Lucioles - B.P. 93
F-06902 Sophia Antipolis Cedex, FRANCE