I'm getting an error when trying to build with MinGW and MSYS (coreutils, curl, and unzip installed):
Code:
sh-3.1$ make standard
Building file: src/actionpt.c
gcc -I"sdl/include" -c -std=gnu11 -fmessage-length=0 -Wall -W -Wshadow -Wno-sign
-compare -Wno-unused-parameter -Wno-strict-aliasing -Wno-unknown-pragmas -Werror
=implicit -MMD -MP -MF"obj/std/actionpt.d" -MT"obj/std/actionpt.d" -march=i686 -
fno-omit-frame-pointer -O3 -DBFDEBUG_LEVEL=0 -o"obj/std/actionpt.o" "src/acti
onpt.c"
In file included from src/dungeon_data.h:26:0,
from src/game_legacy.h:27,
from src/actionpt.c:26:
src/thing_creature.h:72:15: error: expected declaration specifiers or '...' before 'sizeof'
static_assert(sizeof(struct CreatureStorage) == 2, "");
^~~~~~
src/thing_creature.h:72:52: error: expected declaration specifiers or '...' before string constant
static_assert(sizeof(struct CreatureStorage) == 2, "");
^~
make: *** [obj/std/actionpt.o] Error 1
This line is a recent change.
I can build an earlier branch (https://github.com/Loobinex/keeperfx...tree/zoomContd) without issue.