Ok, this might be silly question but I can't figure out how to fix my problem.
Let's assume we have 4 classes
- class A is a Base class
- class B is derived from A with new methods (no override)
- class C is derived from A
- class D is derived from B (and also from A for inheritance)
my question is: how do I use a method defined in B in D? If D inherit from B I get "error: member 'xxx' found in multiple base classes of different types" if D does not inherit from B I get "use of undeclared identifier"