--- Comment #3 from igodard at pacbell dot net 2005-10-31 22:48 ---
Ys of course; sorry :-(
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24592
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-31 15:32 ---
No, you cannot get around access checking like this.
b2 does not know anything about its super classes at all, and it should not
know anything about them.
Also the following applies:
b2 cannot access the stuff in a
--- Comment #1 from igodard at pacbell dot net 2005-10-31 10:32 ---
Sorry, screwed up the explanation. Should be:
The access to "inc" is "s->inc()". "s" is a "F*", which after parameter
substitution is a "G*". "b1" is a public base of G, which after
substitution means that "b1" is a p