Hi,
I had to format my computer. I lost everything áfter I tried to burn it on CD. Now i am rebuilding my adminmod, but after a try of compile I get these errors:
Code:
--------------------Configuration: serverplugin_empty - Win32 Release--------------------
Compiling...
serverplugin_empty.cpp
..\..\public\vgui/MessageMap.h(64) : error C2485: 'align' : unrecognized extended attribute
..\..\public\vgui/MessageMap.h(64) : error C2059: syntax error : '('
..\..\public\vector4d.h(144) : error C2485: 'align' : unrecognized extended attribute
..\..\public\vector4d.h(144) : error C2059: syntax error : '('
E:\TestMod\serverplugin_empty.cpp(175) : error C2371: 'gameeventmanager' : redefinition; different basic types
..\..\dlls\enginecallback.h(41) : see declaration of 'gameeventmanager'
E:\TestMod\serverplugin_empty.cpp(364) : error C2440: '=' : cannot convert from 'class IGameEventManager *' to 'class IGameEventManager2 *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\TestMod\serverplugin_empty.cpp(403) : error C2664: 'RemoveListener' : cannot convert parameter 1 from 'class CEmptyServerPlugin *const ' to 'class IGameEventListener2 *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\TestMod\serverplugin_empty.cpp(484) : error C2660: 'AddListener' : function does not take 2 parameters
E:\TestMod\serverplugin_empty.cpp(1269) : error C2664: 'RemoveListener' : cannot convert parameter 1 from 'class CEmptyServerPlugin *const ' to 'class IGameEventListener2 *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\TestMod\serverplugin_empty.cpp(11138) : warning C4309: '=' : truncation of constant value
Error executing cl.exe.
serverplugin_empty.dll - 9 error(s), 1 warning(s)
After a while with beginning over and over *again* I have these 2:
Code:
..\..\public\vgui/MessageMap.h(64) : error C2485: 'align' : unrecognized extended attribute
..\..\public\vgui/MessageMap.h(64) : error C2059: syntax error : '('
Weird, because I never had this error before.
I need good help
Thnx,
Frank Weima