This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
c++/331: Re: curried template arg bug
- To: gcc-patches at gcc dot gnu dot org
- Subject: c++/331: Re: curried template arg bug
- From: Larry Evans <jcampbell3 at prodigy dot net>
- Date: Mon, 19 Jun 2000 21:34:02 -0500
The following may be a solution to this problem. I've tested it on the
code included in my post in the gcc-bugs May01 archive and in my post
in the gcc-bugsMay31 archive.
The solution involves the lookup_template_class function defined in
pt.c.
The problem is that the argument to push_decl_namespace is not a
NAMESPACE_DECL.
The solution involves testing for this condition, and if false, to
execute:
template=lookup_field(context,d1,0,0);
instead.