Thanks! That got me 2.1.7 compiled with MSYS (however weird errors without, but I can live with using MSYS).
But in ZDoom SVN, I got another error. I added
Code: Select all
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
to limits.h as suggested
here and was able to compile further until I struck another error:
Code: Select all
make[1]: Entering directory `/c/programming/zdoomsrc/wadsrc'
make[1]: `zdoom.pk3' is up to date.
make[1]: Leaving directory `/c/programming/zdoomsrc/wadsrc'
make -C flac -f Makefile.mgw
make[1]: Entering directory `/c/programming/zdoomsrc/flac'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/programming/zdoomsrc/flac'
make -C jpeg-6b -f Makefile.mgw
make[1]: Entering directory `/c/programming/zdoomsrc/jpeg-6b'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/programming/zdoomsrc/jpeg-6b'
make[1]: Entering directory `/c/programming/zdoomsrc'
'svnversion' is not recognized as an internal or external command,
operable program or batch file.
Compiling g_game.cpp: [ERROR]
g++ -fno-strict-aliasing -DWIN32 -D_WIN32 -D_WINDOWS -DHAVE_STRUPR -DHAVE_FILELENGTH -DI_DO_NOT_LIKE_BIG_DOWNLOADS -D__forceinline=inline -MMD -Izlib -IFLAC -Ijpeg-6b -Isrc -Isrc/win32 -Isrc/g_doom -Isrc/g_heretic -Isrc/g_hexen -Isrc/g_raven -Isrc/g_strife -Isrc/g_shared -Isrc/oplsynth -Isrc/sound -Isrc/textures -Isrc/thingdef -Ic:/MinGW/api/inc -DNDEBUG -march=pentium -mtune=i686 -Wall -Wno-unused -O2 -fomit-frame-pointer -pipe -ffunction-sections -fno-rtti -DUSEASM=1 -o releaseobj/g_game.o -c src/g_game.cpp
================================================================================
src/g_game.cpp: In function `void G_DoLoadGame()':
src/g_game.cpp:1736: error: invalid token
src/g_game.cpp:1736: error: expected `)' before numeric constant
src/g_game.cpp: In function `void G_DoSaveGame(bool)':
src/g_game.cpp:2002: error: invalid token
src/g_game.cpp:2002: error: expected `)' before numeric constant
make[1]: *** [releaseobj/g_game.o] Error 1
make[1]: Leaving directory `/c/programming/zdoomsrc'
make: *** [game] Error 2
Any idea how to get rid of this?