Fixed, maybe. Make sure HAVE_UNISTD_H isn't defined in your config.h...klax wrote:armagetronad\src\tron\gParser.cpp(15) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
wow... picky; try now, I changed the code style =pklax wrote:armagetronad\src\tron\gParser.cpp(109) : error C2057: expected constant expression
armagetronad\src\tron\gParser.cpp(109) : error C2466: cannot allocate an array of constant size 0
armagetronad\src\tron\gParser.cpp(109) : error C2133: 'axisDir' : unknown size
no mkdir?!?! WTF kind of "OS" is this?klax wrote:armagetronad\src\tron\gParser.cpp(329) : error C2065: 'mkdir' : undeclared identifier
stuck it in for now... we should move stuff like this to a header file someday...klax wrote:The strncasecmp is solved with this (can anyone commit this?):Code: Select all
#ifdef WIN32 #define strncasecmp strnicmp #endif