c++/10521: possible access to private elements

bangerth@dealii.org bangerth@dealii.org
Mon Apr 28 14:49:00 GMT 2003


Synopsis: possible access to private elements

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Mon Apr 28 14:49:16 2003
State-Changed-Why:
    Fixed in 3.3 and 3.4:
    
    g/x> /home/bangerth/bin/gcc-3.2.3-pre/bin/c++ -c x.cc
    g/x>
    g/x>
    g/x> /home/bangerth/bin/gcc-3.3-pre/bin/c++ -c x.cc
    x.cc: In function `int main()':
    x.cc:3: error: `class A::type' is private
    x.cc:13: error: within this context
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
    x.cc: In function `int main()':
    x.cc:3: error: `class A::type' is private
    x.cc:13: error: within this context

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10521



More information about the Gcc-prs mailing list