I have Class A extending Class B and implementing Interface C. B accesses a protected var x from A. But the compiler is telling me that x is not declared in this scope. The code looks like
class MyListener : public Sender, public Listener
Compiling MyListener.cpp causes a "'sock' was not declared in this scope" error.