Slipped Posted January 18, 2006 Report Posted January 18, 2006 I'm pretty new at programming, so I don't know much about this. Anyway, when I'm trying to compile a plugin, it gives me these errors: \spawn.h(13) : error C2011: 'Ship_Types' : 'enum' type redefinition\clientprot.h(142) : see declaration of 'Ship_Types'\spawn.h(26) : error C2011: 'Chat_SoundBytes' : 'enum' type redefinition\clientprot.h(422) : see declaration of 'Chat_SoundBytes'\spawn.h(62) : error C2011: 'Chat_Modes' : 'enum' type redefinition\clientprot.h(223) : see declaration of 'Chat_Modes'\spawn.h(76) : error C2011: 'ConnectType' : 'enum' type redefinition\clientprot.h(405) : see declaration of 'ConnectType'command.cpp\spawn.h(13) : error C2011: 'Ship_Types' : 'enum' type redefinition\clientprot.h(142) : see declaration of 'Ship_Types'\spawn.h(26) : error C2011: 'Chat_SoundBytes' : 'enum' type redefinition\clientprot.h(422) : see declaration of 'Chat_SoundBytes'\spawn.h(62) : error C2011: 'Chat_Modes' : 'enum' type redefinition\clientprot.h(223) : see declaration of 'Chat_Modes'c:\Do!@#$%^&*ents and Settings\Jason.MONTCOMP\My Do!@#$%^&*ents\Merv\SOS\MervBot\alias\spawn.h(76) : error C2011: 'ConnectType' : 'enum' type redefinition\clientprot.h(405) : see declaration of 'ConnectType' I'd greatly appreciate any help you could give.
»SOS Posted January 19, 2006 Report Posted January 19, 2006 Yeah... I'm not sure whether it's from my modifications or the plugins themselves were done badly (more likely the former). Anyway, just remove all those mentioned enums (Chat_Modes, Ship_Types, ...) from spawn.h and it should work.
Slipped Posted January 19, 2006 Author Report Posted January 19, 2006 Ah, thanks alot. That worked for me.
Recommended Posts