Guy Roussin wrote: > .plugin.cpp: In member function 'virtual eOSState GameStart::ProcessKey(eKeys)':plugin.cpp:111: error: invalid lvalue in assignment > make[2]: *** [plugin.o] Erreur 1 > > 111: if (r) (int)k &= 0x7fff; GCC 4 is very strict on enforcing ISO C++ rules. In this case, its no longer allowed to assign to a type casted variable. Try this variant: if (r) k = (eKeys)((int)k & 0x7fff); This is un-tested, dont blame me if it doesnt work. Cheers, Udo