This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8931: g++ 3.2 fails to enforce access rules
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, sebor at roguewave dot com
- Date: 13 Dec 2002 20:49:14 -0000
- Subject: Re: c++/8931: g++ 3.2 fails to enforce access rules
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, sebor at roguewave dot com, gcc-gnats at gcc dot gnu dot org
Synopsis: g++ 3.2 fails to enforce access rules
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Fri Dec 13 12:49:13 2002
State-Changed-Why:
Present mainline gives
tmp/g> /home/bangerth/bin/gcc-3.3-pre/bin/c++ -c x.cc
x.cc: In instantiation of `S<C<int> >':
x.cc:14: instantiated from here
x.cc:10: error: `typedef int C<int>::Private' is private
x.cc:4: error: within this context
Since it is not a regression, it is not going to be fixed
in any 3.2.* and there is no value in keeping this report
open.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8931