Compilation fails on tools/quake2/qdata_heretic2/qcommon/reference.c
When running make DEPENDENCIES_CHECK=verbose
all required libs are found but I run into the following error:
cc tools/quake2/qdata_heretic2/qcommon/reference.c -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -g -O -fPIC -I/usr/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -DRADIANT_VERSION="\"1.5.0n-git-225d4bba\"" -DRADIANT_MAJOR_VERSION="\"1\"" -DRADIANT_MINOR_VERSION="\"5\"" -DRADIANT_PATCH_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"Custom build\"" -DQ3MAP_VERSION="\"2.5.17n-git-225d4bba\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -DGTK_TARGET=2 -c -o tools/quake2/qdata_heretic2/qcommon/reference.o
In file included from tools/quake2/qdata_heretic2/qcommon/reference.c:24:0:
tools/quake2/qdata_heretic2/qcommon/arrayedlist.h:36:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
static GDEF_ATTRIBUTE_INLINE int GetFreeNode( ArrayedListNode_t *nodeArray, int max ){
^~~
tools/quake2/qdata_heretic2/qcommon/arrayedlist.h:51:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
static GDEF_ATTRIBUTE_INLINE void FreeNode( ArrayedListNode_t *nodeArray, int index ){
^~~~
Makefile:483: recipe for target 'tools/quake2/qdata_heretic2/qcommon/reference.o' failed
make: *** [tools/quake2/qdata_heretic2/qcommon/reference.o] Error 1
I attached the full output. full.txtAny help would be much appreciated :)