I\'m getting these two warnings (with GCC 4.2 on MacOSX):
/Users/az/Programmierung/openlierox/build/Xcode/../../src/main.cpp:154:0 /Users/az/Programmierung/openliero
It's because you forgot to declare the inheritance as public.
struct MainLockDetector : public Action {
bool wait(Uint32 time) { /* ... */ }
int handle() { /* ... */ }
};
This causes the "Action" members to be private. But, you've just overridden an Action private member as public (public default in a struct), which could break encapsulation, hence the warning.