GCC does not enforce access restrictions to typedefs.

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Tue Aug 31 22:45:00 GMT 1999


> The problem is that GCC does allow the user of a class to access any
> typedefs that it has, even if they are protected or private.

Thanks for your bug report. This is a known bug, please see
http://egcs.cygnus.com/bugs.html

Regards,
Martin



More information about the Gcc-bugs mailing list