Page 1 of 1

Compilation error rev 63

Posted: Tue Jan 29, 2008 5:46 pm
by alfa
There is an error on compilation on linux with rev 63
(working fine with rev 62)

Code: Select all

zoneserver.cpp:290: erreur: 'stricmp' was not declared in this scope
zoneserver.cpp: In member function 'void ZoneServer::HandleChatMessage(Client*,char*, int16, char*, float, char*)':

Posted: Tue Jan 29, 2008 10:11 pm
by John Adams
I got it to compile on Linux FC5 by changing stricmp to strcmp, but that's probably totally not the right thing to do. :D
Plus, on Linux, should our output binary be named "World.exe"? I thought *nix were too uber for extensions?

Posted: Wed Feb 06, 2008 8:17 am
by Vaniel
But we're all guilty of a .sh here or there :)

Posted: Wed Feb 06, 2008 10:48 am
by link2009
stricmp does not exist in Linux. It only exists in Windows, so just do what John Adams said.