This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16577] no access for template member of base class
- From: "tfautre at pandora dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jul 2004 21:18:56 -0000
- Subject: [Bug c++/16577] no access for template member of base class
- References: <20040715211258.16577.pepster@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tfautre at pandora dot be 2004-07-15 21:18 -------
> void apply(Pixel *dest)
> {
> int count = width;
> }
try
int count = this->width;
"In a template definition, unqualified names will no longer find members of a
dependent base." (http://gcc.gnu.org/gcc-3.4/changes.html)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16577