unix/x11.cpp: At global scope: unix/x11.cpp:1065: error: expected primary-expression before ‘void’ unix/x11.cpp:1065: error: ISO C++ forbids declaration of ‘c_private’ with no type unix/x11.cpp:1065: error: expected ‘;’ before ‘void’ unix/x11.cpp:1099: error: expected primary-expression before ‘enum’ unix/x11.cpp:1099: error: ISO C++ forbids declaration of ‘c_private’ with no type unix/x11.cpp:1099: error: expected ‘;’ before ‘enum’ unix/x11.cpp:1102: error: ‘masktype’ has not been declared unix/x11.cpp:1145: error: expected primary-expression before ‘struct’ unix/x11.cpp:1145: error: ISO C++ forbids declaration of ‘c_private’ with no type unix/x11.cpp:1145: error: expected ‘;’ before ‘struct’ unix/x11.cpp:3270: error: expected `;' at end of input unix/x11.cpp:3270: error: expected `}' at end of input unix/x11.cpp: In member function ‘void KeyboardSetup::Define(int, int, KeyboardSetup::functiontype, unsigned int)’: unix/x11.cpp:1109: error: ‘MaskCtrl’ was not declared in this scope unix/x11.cpp:1110: error: ‘MaskShift’ was not declared in this scope unix/x11.cpp:1111: error: ‘MaskAlt’ was not declared in this scope unix/x11.cpp:1112: error: ‘MaskNone’ was not declared in this scope unix/x11.cpp: In member function ‘void KeyboardSetup::VerifySetup()’: unix/x11.cpp:1132: error: base operand of ‘->’ is not a pointer unix/x11.cpp:1133: error: base operand of ‘->’ is not a pointer unix/x11.cpp:1134: error: base operand of ‘->’ is not a pointer unix/x11.cpp:1135: error: base operand of ‘->’ is not a pointer unix/x11.cpp: At global scope: unix/x11.cpp:1143: error: expected unqualified-id at end of input unix/x11.cpp:913: warning: ‘bool8 CheckForPendingXEvents(Display*)’ defined but not used unix/x11.cpp:926: warning: ‘const char* S9xChooseMovieFilename(bool8)’ defined but not used unix/x11.cpp:945: warning: ‘void S9xInfoMessage(const char*)’ defined but not used unix/x11.cpp:955: warning: ‘unsigned int GetSpeedPercentage()’ defined but not used unix/x11.cpp:960: warning: ‘void SetSpeedPercentage(unsigned int)’ defined but not used make: *** [unix/x11.o] Error 1