Compile Error
Hi Guys,
I try to compile one archive "
GameServer" and when y try with the command:
g++ GameServer.cpp -o GameServer_d
I recive this error:
[IMG]
http://puu.sh/eFnPl/a1de7b664b.png[/IMG]
1 2 3
|
GameServer.cpp: In function ‘int main(int, char**, char**)’:
GameServer.cpp:146:63: error: expected primary-expression before ‘,’ token
ServerAuthentication::instance()->setServerInfo(LC_LOCAL_CODE, (const char *)gserver->m_serverAddr, gserver->m_serverPort);
|
I think the files with error is
GameServer.cpp or
ServerAuthentication.cpp
Here ur can look the source code for this files.
GameServer.cpp http://5.134.117.165/GameServer.cpp
ServerAuthentication.cpp http://5.134.117.165/ServerAuthentication.cpp
Regards :)
¿what is LC_LOCAL_CODE?
Topic archived. No new replies allowed.