You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling the current main branch I get this error with scons target="q3map2":
scons: done reading SConscript files.
scons: Building targets ...
gcc -o build/release/q3map2/tools/quake3/common/cmdlib.o -c -O2 -g -fno-strict-aliasing -pipe -Wall -fmessage-length=0 -fvisibility=hidden -I/usr/include/libxml2 -DQ_NO_STLPORT -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Ibuild/release/q3map2/include -Iinclude -Ibuild/release/q3map2/libs -Ilibs tools/quake3/common/cmdlib.c
gcc -o build/release/q3map2/tools/quake3/common/imagelib.o -c -O2 -g -fno-strict-aliasing -pipe -Wall -fmessage-length=0 -fvisibility=hidden -I/usr/include/libxml2 -DQ_NO_STLPORT -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Ibuild/release/q3map2/include -Iinclude -Ibuild/release/q3map2/libs -Ilibs tools/quake3/common/imagelib.c
In file included from /usr/include/unicode/umachine.h:52,
from /usr/include/unicode/utypes.h:38,
from /usr/include/unicode/ucnv_err.h:88,
from /usr/include/unicode/ucnv.h:51,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:812,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /usr/include/libxml2/libxml/tree.h:1307,
from tools/quake3/common/inout.h:30,
from tools/quake3/common/imagelib.c:24:
libs/bytebool.h:37:18: error: two or more data types in declaration specifiers
37 | typedef qboolean bool; // some code uses bool directly ..
| ^~~~
In file included from libs/mathlib.h:29,
from tools/quake3/common/inout.h:31:
libs/bytebool.h:37:1: warning: useless type name in empty declaration
37 | typedef qboolean bool; // some code uses bool directly ..
| ^~~~~~~
tools/quake3/common/imagelib.c: In function ‘WriteTGAGray’:
tools/quake3/common/imagelib.c:1175:13: warning: unused variable ‘c’ [-Wunused-variable]
1175 | int c;
| ^
tools/quake3/common/imagelib.c:1174:13: warning: unused variable ‘i’ [-Wunused-variable]
1174 | int i;
| ^
scons: *** [build/release/q3map2/tools/quake3/common/imagelib.o] Error 1
scons: building terminated because of errors.
Compiling on Debian Linux x86_64.
The text was updated successfully, but these errors were encountered:
When compiling the current main branch I get this error with
scons target="q3map2"
:Compiling on Debian Linux x86_64.
The text was updated successfully, but these errors were encountered: