g++ 2.95.2 fails to enforce access rules

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri Dec 31 20:54:00 GMT 1999


> the program below compiles with g++ 2.95.2 despite the fact that
> C<>::Private is inaccessible.

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

Regards,
Martin



More information about the Gcc-bugs mailing list