c++/10016: g++ allows access to static private class members if initialized
bangerth@dealii.org
bangerth@dealii.org
Mon Mar 10 15:49:00 GMT 2003
Synopsis: g++ allows access to static private class members if initialized
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Mon Mar 10 15:49:42 2003
State-Changed-Why:
Confirmed. However, already fixed in 3.4:
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
x.cc: In member function `int B::MyFoo()':
x.cc:4: error: `int A::foo' is private
x.cc:10: error: within this context
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10016
More information about the Gcc-prs
mailing list