This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10521: possible access to private elements
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, lauterba at web dot de, nobody at gcc dot gnu dot org
- Date: 28 Apr 2003 14:49:16 -0000
- Subject: Re: c++/10521: possible access to private elements
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, lauterba at web dot de, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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