c++/3538: g++ should not allow friend to inaccessible members.

nathan@gcc.gnu.org nathan@gcc.gnu.org
Sun Jul 8 09:21:00 GMT 2001


Synopsis: g++ should not allow friend to inaccessible members.

State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Sun Jul  8 09:21:36 2001
State-Changed-Why:
    You are correct in reading the standard, and that friend
    access should be checked. You are also correct in asserting
    it to be a bad rule. So bad in fact that C++ defect report
    209 changed it. g++ uses 209's (proposed?) resolution.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3538&database=gcc



More information about the Gcc-bugs mailing list