This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9558: subclass cannot find parent members without explicit "this->" in some cases
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, ryan at epicgames dot com
- Date: 3 Feb 2003 23:45:09 -0000
- Subject: Re: c++/9558: subclass cannot find parent members without explicit "this->" in some cases
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, ryan at epicgames dot com, gcc-gnats at gcc dot gnu dot org
Synopsis: subclass cannot find parent members without explicit "this->" in some cases
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Mon Feb 3 23:45:09 2003
State-Changed-Why:
That's how C++ works -- it's a feature, not a bug, and
it's called two-stage (or dependent) name lookup.
We really need to get an entry into the non-bugs page about
this, we are getting far too many reports about this...
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9558