scons: Reading SConscript files ... Checking to see if compiler flag -Wno-pointer-sign works ... yes Checking to see if compiler flag -O2 works ... yes Checking to see if compiler flag -g works ... yes Checking to see if linker flag -g works ... yes Checking to see if compiler flag -Wall works ... yes Checking to see if compiler flag -Wsign-compare works ... yes Checking to see if compiler flag -W works ... yes Checking to see if compiler flag -pipe works ... yes Checking to see if compiler flag -finline works ... yes Checking for sdl-config ... (cached) [1, 2, 10] Checking for C header file SDL.h... yes Checking for C function strlcat()... no Checking for C function strlcpy()... no Checking for C function snprintf()... yes Checking for C function _snprintf()... no Checking for C function vsnprintf()... yes Checking for C function _vsnprintf()... no Checking for C function strcasecmp()... yes Checking for C function _stricmp()... no Checking for C function strncasecmp()... yes Checking for C function _strnicmp()... no Checking for C function _mkdir()... no Checking for C function SDL_LoadObject()... yes Checking for C function dlopen()... yes Checking to see if compiler flag -Werror works ... yes Checking for argument flag "__attribute__((unused))" ... yes Checking for function flag "inline __attribute__((always_inline))" ... yes Writing config.h Project DarkWar v0.0 configuration: Build platform : posix SDL version : [1, 2, 10] Compiler : gcc Compiler flags : -Wno-pointer-sign -O2 -g -Wall -Wsign-compare -W -pipe -finline -D_GNU_SOURCE=1 -D_REENTRANT -Werror Link flags : $__RPATH -g Libraries : SDL pthread Lib path : /usr/lib Default OpenGL library : libGL.so.1 scons: done reading SConscript files. scons: Building targets ... gcc -o collision.o -c -Wno-pointer-sign -O2 -g -Wall -Wsign-compare -W -pipe -finline -D_GNU_SOURCE=1 -D_REENTRANT -Werror -DHAVE_CONFIG_H -I/usr/include/SDL -I. collision.c cc1: warnings being treated as errors collision.c: In function 'Collision_Brush_FreeBrushesForTriangleMesh': collision.c:111: warning: unused parameter 'numtriangles' scons: *** [collision.o] Error 1 scons: building terminated because of errors.