------- Comment #1 from pinskia at gcc dot gnu dot org 2006-01-02 17:02 ------- This is how C++ works. You want to do one of the following to fix your code: change the call to: test.A::f();
or add in class B: using A::f; -- 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=25640