Debian stable uses GCC 4.4.o11c wrote:I would also like feedback regarding which version of gcc or clang you are using - particularly, whether anyone other than Frost is still using gcc 4.4
Cygwin includes gcc 4.5.3, but fails to compile. Tested on 32-bit WinXP.
$ make
GNUmakefile:78: deps.make: No such file or directory
bison -d -o src/map/magic-interpreter-parser.cpp src/map/magic-interpreter-parser.ypp
flex -o src/map/magic-interpreter-lexer.cpp src/map/magic-interpreter-lexer.lpp
for F in `find src/ -name '*.cpp'`; do \
g++ -m32 -std=c++0x -MM "$F" -MT "$(sed 's/src/${BUILD_DIR}/;s/\.cpp/.o/' <<< "$F")"; \
done > deps.make
mkdir -p obj/login/
g++ -m32 -std=c++0x -pipe -g -O2 -fstack-protector -fno-strict-aliasing -c -o obj/login/login.o src/login/login.cpp
In file included from src/login/login.cpp:27:0:
src/login/../common/db.hpp: In constructor ‘db_key_t::db_key_t(numdb_key_t)’:
src/login/../common/db.hpp:26:34: warning: ‘db_key_t::ms’ is deprecated (declared at src/login/../common/db.hpp:22)
src/login/../common/db.hpp: In constructor ‘db_key_t::db_key_t(const char*)’:
src/login/../common/db.hpp:27:35: warning: ‘db_key_t::ms’ is deprecated (declared at src/login/../common/db.hpp:22)
src/login/login.cpp: In function ‘int search_account_index(char*)’:
src/login/login.cpp:430:57: error: ‘strcasecmp’ was not declared in this scope
src/login/login.cpp: In function ‘void parse_fromchar(int)’:
src/login/login.cpp:1721:62: error: ‘strcasecmp’ was not declared in this scope
src/login/login.cpp: In function ‘void parse_login(int)’:
src/login/login.cpp:3850:68: error: ‘strcasecmp’ was not declared in this scope
src/login/login.cpp: In function ‘int login_lan_config_read(const char*)’:
src/login/login.cpp:4143:42: error: ‘strcasecmp’ was not declared in this scope
src/login/login.cpp: In function ‘int login_config_read(const char*)’:
src/login/login.cpp:4262:46: error: ‘strcasecmp’ was not declared in this scope
GNUmakefile:28: recipe for target `obj/login/login.o' failed
make: *** [obj/login/login.o] Error 1