------- Comment #2 from pinskia at gcc dot gnu dot org 2007-12-04 22:04 ------- The error is correct. The count without any arguments hide the one with (the other way is true too). You need to add using A::count in the class C and using C::count in class D.
-- 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=34338