------- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-03 04:36 ------- This is not a bug. You are allowed to call protected functions on this but nobody elses.
This has nothing to do with derived class or not. This is just how C++ works. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31454