accessing private filds in 3.3.x

Jim Wilson wilson@specifixinc.com
Fri Feb 20 02:50:00 GMT 2004


john gladkih wrote:
> I found one stupid problem after migrating to gcc 3.3 - it does allow to
> access private fields in classes. Please, look here:

I forgot to do some trivial checking.  I reproduced the problem with 
3.3, but I got the expected result with 3.2 and pre-3.4.  Thus it 
appears that this problem has already been fixed in the development 
sources, and it will be fixed when gcc-3.4 comes out.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc-bugs mailing list