This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Templates and scope (gcc 3.4.0)
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: br at systematic dot dk (Bjørn Reese)
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 9 Jun 2004 11:50:40 -0400 (EDT)
- Subject: Re: Templates and scope (gcc 3.4.0)
>
> Description: gcc 3.4.0 cannot see inherited member variable for templates. It works fine when compiled with gcc 3.3.1.
>
It looks like you did not read the changes page for 3.4.0 (http//gcc.gnu.org/gcc-3.4/changes.html).
In a template definition, unqualified names will no longer find members of a dependent base.
Thanks,
Andrew Pinski