While compiling the EP2 code I get this error.
On the client
Compiling...
in_mouse.cpp
C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(944) :
error C2733: second C linkage of overloaded function
'_interlockedbittestandset' not allowed
C:\Program Files\Microsoft Visual Studio
8\VC\include\intrin.h(944) : see declaration of '_interlockedbittestandset'
C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(945) :
error C2733: second C linkage of overloaded function
'_interlockedbittestandreset' not allowed
C:\Program Files\Microsoft Visual Studio
8\VC\include\intrin.h(945) : see declaration of
'_interlockedbittestandreset'
hud_lcd.cpp
C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(944) :
error C2733: second C linkage of overloaded function
'_interlockedbittestandset' not allowed
C:\Program Files\Microsoft Visual Studio
8\VC\include\intrin.h(944) : see declaration of '_interlockedbittestandset'
C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(945) :
error C2733: second C linkage of overloaded function
'_interlockedbittestandreset' not allowed
C:\Program Files\Microsoft Visual Studio
8\VC\include\intrin.h(945) : see declaration of
'_interlockedbittestandreset'
On the server
editor_sendcommand.obj : error LNK2019: unresolved external symbol
[EMAIL PROTECTED] referenced in function "enum EditorSendResult_t
__cdecl Editor_SendCommand(char const *,bool)"
(?Editor_SendCommand@@YA?AW4EditorSendResult_t@@[EMAIL PROTECTED])
editor_sendcommand.obj : error LNK2019: unresolved external symbol
[EMAIL PROTECTED] referenced in function "enum EditorSendResult_t
__cdecl Editor_SendCommand(char const *,bool)"
(?Editor_SendCommand@@YA?AW4EditorSendResult_t@@[EMAIL PROTECTED])
editor_sendcommand.obj : error LNK2019: unresolved external symbol
[EMAIL PROTECTED] referenced in function "enum EditorSendResult_t
__cdecl Editor_SendCommand(char const *,bool)"
(?Editor_SendCommand@@YA?AW4EditorSendResult_t@@[EMAIL PROTECTED])
registry.obj : error LNK2019: unresolved external symbol __imp__wsprintfA
referenced in function "public: virtual bool __thiscall
CRegistry::DirectInit(char const *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
.\Release_hl2/Server.dll : fatal error LNK1120: 4 unresolved externals
No idea what's going on. I have user32.lib in the linker and the platform
SDK. The other code compiles fine.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders