Nested Derived Classes


I am attempting to access a member from a base class as follows:

class A { public: int base_member() {....does stuff }; }

class B: public A { }

class C: public B { public : int doThing() { int rc=base_member();) }

Each of the classes are kept in separate libraries. The compiler has -I directives for each directory containing class A, B, C.

I am unable to complete the compile as the doThing() member is not able to see base_member().

I am able to do this with a standard GNU compiler. Is there a restriction/Limitation with the avr_g++?



Problem found:

in CPP extension didn’t use >::method convention.