Here is the output when I try to comipile on linux using gcc 4.3.3
Code:
ccache gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -march=native -O2 -pthread -pipe -I../common/SocketLib -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DEQDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -DIRC -Di386 -DAPP_OPCODE_SIZE=2 -DEQBOTS -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i686-linux/CORE client.cpp -o client.o
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
client.cpp: In member function 'bool Client::HandlePacket(const EQApplicationPacket*)':
client.cpp:578: error: 'INT_MAX' was not declared in this scope
client.cpp: In function 'bool CheckCharCreateInfo(CharCreate_Struct*)':
client.cpp:1271: warning: comparison between signed and unsigned integer expressions
client.cpp:1271: warning: comparison between signed and unsigned integer expressions
client.cpp:1276: warning: comparison between signed and unsigned integer expressions
client.cpp:1276: warning: comparison between signed and unsigned integer expressions
client.cpp:1281: warning: comparison between signed and unsigned integer expressions
client.cpp:1281: warning: comparison between signed and unsigned integer expressions
client.cpp:1286: warning: comparison between signed and unsigned integer expressions
client.cpp:1286: warning: comparison between signed and unsigned integer expressions
client.cpp:1291: warning: comparison between signed and unsigned integer expressions
client.cpp:1291: warning: comparison between signed and unsigned integer expressions
client.cpp:1296: warning: comparison between signed and unsigned integer expressions
client.cpp:1296: warning: comparison between signed and unsigned integer expressions
client.cpp:1301: warning: comparison between signed and unsigned integer expressions
client.cpp:1301: warning: comparison between signed and unsigned integer expressions
make[1]: *** [client.o] Error 1
make[1]: Leaving directory `/usr/src/eqemu/core/trunk/EQEmuServer/world'
make: *** [all] Error 2
This is SVN rev 483, this comipled fine on my other server with gcc 3.4.6
See this thread for more info:
http://www.eqemulator.net/forums/showthread.php?t=28138