c++/8672: Access to private bases denied
bangerth@dealii.org
bangerth@dealii.org
Thu Nov 21 10:56:00 GMT 2002
Synopsis: Access to private bases denied
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Thu Nov 21 09:26:18 2002
State-Changed-Why:
Not a bug. Name lookup of L in O2 goes through the class
hierarchy, and there it is inaccessible. You must use
::L to look it up from the outside where it is of course
accessible. Then your code also compiles.
Regards
Wolfgang
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8672
More information about the Gcc-bugs
mailing list