This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30657] template class derived from template class does not access base class' members
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jan 2007 18:16:12 -0000
- Subject: [Bug c++/30657] template class derived from template class does not access base class' members
- References: <bug-30657-14022@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-31 18:16 -------
And all the other compilers are incorrect as uu is not dependent so it is
looked up during parsing and not during instatintation.
The correct fix for this is to make it dependent like &(this->uu) instead.
Please read:
http://gcc.gnu.org/gcc-3.4/changes.html
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30657