_Compare, _Alloc>::_M_t’, which is of non-class type ‘const int’ 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: In member function ‘const KeyboardSetup::Keyfunction& KeyboardSetup::GetKeyFunction(int, unsigned int) const’: unix/x11.cpp:1297: error: base operand of ‘->’ is not a pointer unix/x11.cpp:1298: error: base operand of ‘->’ is not a pointer unix/x11.cpp:1299: error: base operand of ‘->’ is not a pointer unix/x11.cpp:1300: error: base operand of ‘->’ is not a pointer /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_map.h: In constructor ‘std::map<_Key, _Tp, _Compare, _Alloc>::map() [with _Key = int, _Tp = KeyboardSetup::Keydata, _Compare = std::less, _Alloc = std::allocator >]’: unix/x11.cpp:1171: instantiated from here /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_map.h:157: error: member initializer expression list treated as compound expression /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_map.h:157: error: cannot convert ‘std::allocator >’ to ‘int’ in initialization make: *** [unix/x11.o] Error 1