This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/8672: Access to private bases denied


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]