[Bug c++/60829] Illegal access to private base of public base granted.
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 14 14:56:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60829
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
EDG also rejects the code:
test.ii(17): error #308: member "A::a" (declared at line 4) is inaccessible
D () { B::a = 0; }
^
More information about the Gcc-bugs
mailing list