------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.2.txz Installing /packages/All/gmake-4.3.txz Installing /packages/All/pkgconf-1.6.3,1.txz Installing /packages/All/ncurses-6.1.20190525.txz Installing /packages/All/aalib-1.4.r5_13.txz ===== Message from aalib-1.4.r5_13: -- ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Installing /packages/All/expat-2.2.8.txz Installing /packages/All/libffi-3.2.1_3.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/wayland-1.16.0.txz Installing /packages/All/pciids-20200421.txz Installing /packages/All/libpciaccess-0.16.txz Installing /packages/All/libdrm-2.4.101.txz Installing /packages/All/libelf-0.8.13_3.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2020.1.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.9_1,1.txz Installing /packages/All/libXfixes-5.0.3_2.txz Installing /packages/All/libXdamage-1.1.5.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libXrender-0.9.10_2.txz Installing /packages/All/libXrandr-1.5.2.txz Installing /packages/All/libxshmfence-1.3.txz Installing /packages/All/libXxf86vm-1.1.4_3.txz Installing /packages/All/mesa-libs-19.0.8.txz ===== Message from mesa-libs-19.0.8: -- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Uses Python 2.7 which is EOLed upstream. It is scheduled to be removed on or after 2020-12-31. Installing /packages/All/libGLU-9.0.1.txz Installing /packages/All/sdl-1.2.15_14,2.txz ===== Message from sdl-1.2.15_14,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". Installing /packages/All/png-1.6.37.txz Installing /packages/All/libogg-1.3.4,4.txz Installing /packages/All/libvorbis-1.3.6,3.txz Installing /packages/All/sdl_gfx-2.0.26.txz SUCCEEDED 00:00:06 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> openbor3711-3711_2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> openbor3711-3711_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openbor3711-3711_2 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> openbor3711-3711_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openbor3711-3711_2 for building => SHA256 Checksum OK for DCurrent-openbor-3711-6ec17fa_GH0.tar.gz. => SHA256 Checksum OK for 794ba23189a3.patch. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> openbor3711-3711_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openbor3711-3711_2 for building ===> Extracting for openbor3711-3711_2 => SHA256 Checksum OK for DCurrent-openbor-3711-6ec17fa_GH0.tar.gz. => SHA256 Checksum OK for 794ba23189a3.patch. Extracted Memory Use: 9.55M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for openbor3711-3711_2 ===> Applying distribution patches for openbor3711-3711_2 ===> Applying ports patches for openbor3711-3711_2 ===> Cleanly applied ports patch(es) patch-openbor.c patch-sdl_menu.c patch-sdl_sdlport.c patch-source_gamelib_packfile.c patch-source_gamelib_packfile.h patch-source_ramlib_ram.c SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> openbor3711-3711_2 depends on package: gmake>=4.3 - found ===> openbor3711-3711_2 depends on package: pkgconf>=1.3.0_1 - found ===> openbor3711-3711_2 depends on file: /usr/local/bin/sdl-config - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> openbor3711-3711_2 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> openbor3711-3711_2 depends on shared library: libvorbisfile.so - found (/usr/local/lib/libvorbisfile.so) ===> openbor3711-3711_2 depends on shared library: libSDL_gfx.so - found (/usr/local/lib/libSDL_gfx.so) ===> openbor3711-3711_2 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> openbor3711-3711_2 depends on package: gmake>=4.3 - found ===> openbor3711-3711_2 depends on package: pkgconf>=1.3.0_1 - found ===> openbor3711-3711_2 depends on file: /usr/local/bin/sdl-config - found ===> openbor3711-3711_2 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> openbor3711-3711_2 depends on shared library: libvorbisfile.so - found (/usr/local/lib/libvorbisfile.so) ===> openbor3711-3711_2 depends on shared library: libSDL_gfx.so - found (/usr/local/lib/libSDL_gfx.so) ===> openbor3711-3711_2 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> Configuring for openbor3711-3711_2 (cd /construction/games/openbor3711/openbor-6ec17fa/engine && VERSION_BUILD=3711 VERSION_COMMIT=6ec17fa /bin/sh ./version.sh) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for openbor3711-3711_2 gmake[1]: Entering directory '/construction/games/openbor3711/openbor-6ec17fa/engine' Compiling LINUX Port: openbor.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c openbor.c -o openbor.o Compiling LINUX Port: openborscript.c... Compiling LINUX Port: sdl/joysticks.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/joysticks.c -o sdl/joysticks.o cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c openborscript.c -o openborscript.o Compiling LINUX Port: sdl/control.c... Compiling LINUX Port: sdl/sblaster.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/control.c -o sdl/control.o Compiling LINUX Port: sdl/timer.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/sblaster.c -o sdl/sblaster.o cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/timer.c -o sdl/timer.o Compiling LINUX Port: sdl/sdlport.c... Compiling LINUX Port: sdl/video.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/sdlport.c -o sdl/sdlport.o Compiling LINUX Port: sdl/menu.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/video.c -o sdl/video.o Compiling LINUX Port: sdl/opengl.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/menu.c -o sdl/menu.o cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/opengl.c -o sdl/opengl.o Compiling LINUX Port: sdl/loadgl.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/loadgl.c -o sdl/loadgl.o Compiling LINUX Port: source/adpcmlib/adpcm.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/adpcmlib/adpcm.c -o source/adpcmlib/adpcm.o Compiling LINUX Port: source/gfxlib/2xSaI.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/2xSaI.c -o source/gfxlib/2xSaI.o Compiling LINUX Port: source/gfxlib/bilinear.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/bilinear.c -o source/gfxlib/bilinear.o sdl/loadgl.c: In function 'LoadGLFunctions': sdl/loadgl.c:142:34: warning: macro expands to multiple statements [-Wmultistatement-macros] LOADFUNC("glActiveTextureARB", ptr_glActiveTexture); ^~~~~~~~~~~~~~~~~~~ sdl/loadgl.c:92:23: note: in definition of macro 'LOADFUNC' #define LOADFUNC(X,Y) Y = GetProcAddress(X); if(!Y) { printf("Failed to load OpenGL function " X "..."); return 0; } ^ sdl/loadgl.c:141:2: note: some parts of macro expansion are not guarded by this 'if' clause if(!ptr_glActiveTexture) ^~ sdl/loadgl.c:146:36: warning: macro expands to multiple statements [-Wmultistatement-macros] LOADFUNC("glMultiTexCoord2fARB", ptr_glMultiTexCoord2f); ^~~~~~~~~~~~~~~~~~~~~ sdl/loadgl.c:92:23: note: in definition of macro 'LOADFUNC' #define LOADFUNC(X,Y) Y = GetProcAddress(X); if(!Y) { printf("Failed to load OpenGL function " X "..."); return 0; } ^ sdl/loadgl.c:145:2: note: some parts of macro expansion are not guarded by this 'if' clause if(!ptr_glMultiTexCoord2f) ^~ sdl/menu.c: In function 'findPaks': sdl/menu.c:197:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(filelist[i].filename, ds->d_name, strlen(ds->d_name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling LINUX Port: source/gfxlib/dotmatrix.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/dotmatrix.c -o source/gfxlib/dotmatrix.o Compiling LINUX Port: source/gfxlib/gfx.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/gfx.c -o source/gfxlib/gfx.o Compiling LINUX Port: source/gfxlib/hq2x.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/hq2x.c -o source/gfxlib/hq2x.o Compiling LINUX Port: source/gfxlib/motionblur.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/motionblur.c -o source/gfxlib/motionblur.o Compiling LINUX Port: source/gfxlib/scale2x.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/scale2x.c -o source/gfxlib/scale2x.o Compiling LINUX Port: source/gfxlib/scanline.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/scanline.c -o source/gfxlib/scanline.o sdl/menu.c: In function 'drawMenu': sdl/menu.c:634:5: warning: 'strncpy' output may be truncated copying between 0 and 123 bytes from a string of length 127 [-Wstringop-truncation] strncpy(listing, filelist[list+dListScrollPosition].filename, strlen(filelist[list+dListScrollPosition].filename)-4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openborscript.c: In function 'openbor_closefilestream': openborscript.c:7883:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ^ openborscript.c:7887:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' filestreams[filestreamindex].buf = NULL; ^~ Compiling LINUX Port: source/gfxlib/simple2x.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/simple2x.c -o source/gfxlib/simple2x.o sdl/menu.c: In function 'drawBGMPlayer': sdl/menu.c:711:5: warning: 'strncpy' output may be truncated copying between 0 and 123 bytes from a string of length 127 [-Wstringop-truncation] strncpy(listing, filelist[list+dListScrollPosition].filename, strlen(filelist[list+dListScrollPosition].filename)-4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/menu.c:734:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(bgmListing, filelist[bgmCurrent].filename, strlen(filelist[bgmCurrent].filename)-4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/menu.c:733:5: note: length computed here if(strlen(filelist[bgmCurrent].filename)-4 < 24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/menu.c:736:3: warning: 'strncpy' output may be truncated copying 24 bytes from a string of length 127 [-Wstringop-truncation] strncpy(bgmListing, filelist[bgmCurrent].filename, 24); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/menu.c:743:12: warning: 'strncpy' output may be truncated copying 25 bytes from a string of length 63 [-Wstringop-truncation] if(t1[0]) strncpy(t2, t1, 25); ^~~~~~~~~~~~~~~~~~~ sdl/menu.c:744:12: warning: 'strncpy' output may be truncated copying 25 bytes from a string of length 63 [-Wstringop-truncation] if(a1[0]) strncpy(a2, a1, 25); ^~~~~~~~~~~~~~~~~~~ Compiling LINUX Port: source/gfxlib/tv2x.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/tv2x.c -o source/gfxlib/tv2x.o Compiling LINUX Port: source/gamelib/draw.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/draw.c -o source/gamelib/draw.o openborscript.c: In function 'openbor_gettextobjproperty': openborscript.c:9393:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ^ openborscript.c:9397:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' printf("Function's 1st argument must be a numeric value: gettextproperty(int index, \"property\")\n"); ^~ openborscript.c: In function 'openbor_changetextobjproperty': openborscript.c:9509:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ^ openborscript.c:9513:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' printf("Function's 1st argument must be a numeric value: changetextobjproperty(int index, \"property\", value)\n"); ^~ openborscript.c: In function 'openbor_cleartextobj': openborscript.c:9693:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ^ openborscript.c:9697:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' printf("Function's 1st argument must be a numeric value: cleartextobj(int index)\n"); ^~ Compiling LINUX Port: source/gamelib/draw16.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/draw16.c -o source/gamelib/draw16.o Compiling LINUX Port: source/gamelib/draw32.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/draw32.c -o source/gamelib/draw32.o Compiling LINUX Port: source/gamelib/font.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/font.c -o source/gamelib/font.o Compiling LINUX Port: source/gamelib/anigif.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/anigif.c -o source/gamelib/anigif.o openborscript.c: In function 'openbor_allocscreen': openborscript.c:10588:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ^ openborscript.c:10592:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(screen) clearscreen(screen); ^~~~~~~~~~~~~~~~~~~~~~~~ Compiling LINUX Port: source/gamelib/bitmap.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/bitmap.c -o source/gamelib/bitmap.o Compiling LINUX Port: source/gamelib/screen.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/screen.c -o source/gamelib/screen.o Compiling LINUX Port: source/gamelib/screen16.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/screen16.c -o source/gamelib/screen16.o Compiling LINUX Port: source/gamelib/screen32.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/screen32.c -o source/gamelib/screen32.o Compiling LINUX Port: source/gamelib/loadimg.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/loadimg.c -o source/gamelib/loadimg.o Compiling LINUX Port: source/gamelib/palette.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/palette.c -o source/gamelib/palette.o Compiling LINUX Port: source/gamelib/packfile.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/packfile.c -o source/gamelib/packfile.o Compiling LINUX Port: source/gamelib/filecache.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/filecache.c -o source/gamelib/filecache.o source/gamelib/packfile.c: In function 'getFreeHandle': source/gamelib/packfile.c:268:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(h=0; h-1; h++); // Find free handle ^~~ source/gamelib/packfile.c:269:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(h>=MAXPACKHANDLES) { ^~ Compiling LINUX Port: source/gamelib/pixelformat.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/pixelformat.c -o source/gamelib/pixelformat.o Compiling LINUX Port: source/gamelib/soundmix.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/soundmix.c -o source/gamelib/soundmix.o source/gamelib/packfile.c: In function 'casesearch': source/gamelib/packfile.c:254:27: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(fullpath, "%s/%s", dir, entry->d_name); ^ source/gamelib/packfile.c:254:3: note: 'sprintf' output 2 or more bytes (assuming 257) into a destination of size 256 sprintf(fullpath, "%s/%s", dir, entry->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling LINUX Port: source/gamelib/spriteq.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/spriteq.c -o source/gamelib/spriteq.o Compiling LINUX Port: source/gamelib/sprite.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/sprite.c -o source/gamelib/sprite.o source/gamelib/packfile.c: In function 'makefilenamecache': source/gamelib/packfile.c:519:3: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(target, (char*)pak_header + hpos + 12, 256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'openreadaheadpackfile.part.3', inlined from 'openreadaheadpackfile' at source/gamelib/packfile.c:557:5: source/gamelib/packfile.c:579:2: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(target, filename, 256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling LINUX Port: source/gamelib/spritex8p16.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/spritex8p16.c -o source/gamelib/spritex8p16.o Compiling LINUX Port: source/gamelib/spritex8p32.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/spritex8p32.c -o source/gamelib/spritex8p32.o Compiling LINUX Port: source/gamelib/commands.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/commands.c -o source/gamelib/commands.o Compiling LINUX Port: source/gamelib/models.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/models.c -o source/gamelib/models.o Compiling LINUX Port: source/gamelib/transform.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/transform.c -o source/gamelib/transform.o source/gamelib/transform.c: In function 'gfx_draw_rotate': source/gamelib/transform.c:619:29: warning: right-hand operand of comma expression has no effect [-Wunused-value] srcx0_f= cx+ymin*bx+xmin*ax, srcx_f; ^ source/gamelib/transform.c:620:32: warning: right-hand operand of comma expression has no effect [-Wunused-value] srcy0_f= cy+ymin*by+xmin*ay, srcy_f; ^ In file included from openbor.c:14: openbor.c: In function 'set_death': openbor.h:577:3: warning: macro expands to multiple statements [-Wmultistatement-macros] ent_set_colourmap(e, e->map);\ ^~~~~~~~~~~~~~~~~ openbor.c:13555:19: note: in expansion of macro 'unfrozen' if(iDie->frozen) unfrozen(iDie); ^~~~~~~~ openbor.c:13555:2: note: some parts of macro expansion are not guarded by this 'if' clause if(iDie->frozen) unfrozen(iDie); ^~ In file included from openbor.c:14: openbor.c: In function 'set_fall': openbor.h:577:3: warning: macro expands to multiple statements [-Wmultistatement-macros] ent_set_colourmap(e, e->map);\ ^~~~~~~~~~~~~~~~~ openbor.c:13575:20: note: in expansion of macro 'unfrozen' if(iFall->frozen) unfrozen(iFall); ^~~~~~~~ openbor.c:13575:2: note: some parts of macro expansion are not guarded by this 'if' clause if(iFall->frozen) unfrozen(iFall); ^~ Compiling LINUX Port: source/gamelib/triangle.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/triangle.c -o source/gamelib/triangle.o Compiling LINUX Port: source/gamelib/filters.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/filters.c -o source/gamelib/filters.o In file included from openbor.c:14: openbor.c: In function 'set_pain': openbor.h:577:3: warning: macro expands to multiple statements [-Wmultistatement-macros] ent_set_colourmap(e, e->map);\ ^~~~~~~~~~~~~~~~~ openbor.c:13653:20: note: in expansion of macro 'unfrozen' if(iPain->frozen) unfrozen(iPain); ^~~~~~~~ openbor.c:13653:2: note: some parts of macro expansion are not guarded by this 'if' clause if(iPain->frozen) unfrozen(iPain); ^~ Compiling LINUX Port: source/stringptr.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/stringptr.c -o source/stringptr.o Compiling LINUX Port: source/utils.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/utils.c -o source/utils.o Compiling LINUX Port: source/stristr.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/stristr.c -o source/stristr.o Compiling LINUX Port: source/scriptlib/StackedSymbolTable.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/StackedSymbolTable.c -o source/scriptlib/StackedSymbolTable.o Compiling LINUX Port: source/scriptlib/ScriptVariant.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/ScriptVariant.c -o source/scriptlib/ScriptVariant.o Compiling LINUX Port: source/scriptlib/SymbolTable.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/SymbolTable.c -o source/scriptlib/SymbolTable.o source/utils.c: In function 'getBasePath': source/utils.c:94:35: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] #define COPY_ROOT_PATH(buf, name) strncpy(buf, "./", 2); strncat(buf, name, strlen(name)); strncat(buf, "/", 1); ^~~~~~~~~~~~~~~~~~~~~ source/utils.c:138:4: note: in expansion of macro 'COPY_ROOT_PATH' COPY_ROOT_PATH(buf, name); ^~~~~~~~~~~~~~ source/utils.c:94:92: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] #define COPY_ROOT_PATH(buf, name) strncpy(buf, "./", 2); strncat(buf, name, strlen(name)); strncat(buf, "/", 1); ^~~~~~~~~~~~~~~~~~~~ source/utils.c:138:4: note: in expansion of macro 'COPY_ROOT_PATH' COPY_ROOT_PATH(buf, name); ^~~~~~~~~~~~~~ source/utils.c:95:35: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] #define COPY_PAKS_PATH(buf, name) strncpy(buf, "./Paks/", 7); strncat(buf, name, strlen(name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ source/utils.c:141:4: note: in expansion of macro 'COPY_PAKS_PATH' COPY_PAKS_PATH(buf, name); ^~~~~~~~~~~~~~ source/utils.c: In function 'getPakName': source/utils.c:266:4: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] strncat(mod,".sav",4); ^~~~~~~~~~~~~~~~~~~~~ source/utils.c:269:4: warning: 'strncat' specified bound 3 equals source length [-Wstringop-overflow=] strncat(mod,".hi",3); ^~~~~~~~~~~~~~~~~~~~ source/utils.c:272:4: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] strncat(mod,".scr",4); ^~~~~~~~~~~~~~~~~~~~~ source/utils.c:275:4: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] strncat(mod,".inp",4); ^~~~~~~~~~~~~~~~~~~~~ source/utils.c:278:4: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] strncat(mod,".cfg",4); ^~~~~~~~~~~~~~~~~~~~~ Compiling LINUX Port: source/scriptlib/Instruction.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/Instruction.c -o source/scriptlib/Instruction.o source/utils.c: In function 'getBasePath': source/utils.c:95:63: warning: 'strncat' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] #define COPY_PAKS_PATH(buf, name) strncpy(buf, "./Paks/", 7); strncat(buf, name, strlen(name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/utils.c:141:4: note: in expansion of macro 'COPY_PAKS_PATH' COPY_PAKS_PATH(buf, name); ^~~~~~~~~~~~~~ source/utils.c:94:58: warning: 'strncat' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] #define COPY_ROOT_PATH(buf, name) strncpy(buf, "./", 2); strncat(buf, name, strlen(name)); strncat(buf, "/", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/utils.c:138:4: note: in expansion of macro 'COPY_ROOT_PATH' COPY_ROOT_PATH(buf, name); ^~~~~~~~~~~~~~ Compiling LINUX Port: source/scriptlib/Interpreter.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/Interpreter.c -o source/scriptlib/Interpreter.o Compiling LINUX Port: source/scriptlib/ImportCache.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/ImportCache.c -o source/scriptlib/ImportCache.o source/utils.c: In function 'dirExists': source/utils.c:162:2: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(realName, dname, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/utils.c: In function 'getPakName': source/utils.c:262:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(mod,packfile,strlen(packfile)-4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/utils.c:262:23: note: length computed here strncpy(mod,packfile,strlen(packfile)-4); ^~~~~~~~~~~~~~~~ source/utils.c: In function 'screenshot': source/utils.c:327:37: warning: '%s' directive writing up to 127 bytes into a region of size 114 [-Wformat-overflow=] sprintf(shotname, "./ScreenShots/%s - %04u.png", modname,shotnum); ^~ ~~~~~~~ source/utils.c:327:22: note: directive argument in the range [0, 9999] sprintf(shotname, "./ScreenShots/%s - %04u.png", modname,shotnum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/utils.c:327:4: note: 'sprintf' output between 26 and 153 bytes into a destination of size 128 sprintf(shotname, "./ScreenShots/%s - %04u.png", modname,shotnum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling LINUX Port: source/scriptlib/ParserSet.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/ParserSet.c -o source/scriptlib/ParserSet.o openbor.c: In function 'astar': openbor.c:15998:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(came_from) free(came_from); came_from = NULL; ^~ openbor.c:15998:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(came_from) free(came_from); came_from = NULL; ^~~~~~~~~ openbor.c:15999:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(closed) free(closed); closed = NULL; ^~ openbor.c:15999:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(closed) free(closed); closed = NULL; ^~~~~~ Compiling LINUX Port: source/scriptlib/Parser.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/Parser.c -o source/scriptlib/Parser.o openbor.c:16000:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(openset) free(openset); openset = NULL; ^~ openbor.c:16000:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(openset) free(openset); openset = NULL; ^~~~~~~ openbor.c:16001:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(gscore) free(gscore); gscore = NULL; ^~ openbor.c:16001:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(gscore) free(gscore); gscore = NULL; ^~~~~~ openbor.c:16002:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(hscore) free(hscore); hscore = NULL; ^~ openbor.c:16002:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(hscore) free(hscore); hscore = NULL; ^~~~~~ openbor.c:16003:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(fscore) free(fscore); fscore = NULL; ^~ openbor.c:16003:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(fscore) free(fscore); fscore = NULL; ^~~~~~ Compiling LINUX Port: source/scriptlib/Lexer.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/Lexer.c -o source/scriptlib/Lexer.o source/scriptlib/Lexer.c: In function 'Token_InitFromPreprocessor': source/scriptlib/Lexer.c:28:2: warning: 'strncpy' output may be truncated copying 128 bytes from a string of length 128 [-Wstringop-truncation] strncpy(ptoken->theSource, ppToken->theSource, MAX_TOKEN_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling LINUX Port: source/scriptlib/Stack.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/Stack.c -o source/scriptlib/Stack.o Compiling LINUX Port: source/scriptlib/List.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/List.c -o source/scriptlib/List.o Compiling LINUX Port: source/preprocessorlib/pp_lexer.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/preprocessorlib/pp_lexer.c -o source/preprocessorlib/pp_lexer.o source/scriptlib/Parser.c: In function 'Parser_CreateLabel': source/scriptlib/Parser.c:205:31: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf((CHAR*)theLabel, "L%d", pparser->LabelCount); ^ source/scriptlib/Parser.c:205:2: note: 'sprintf' output between 3 and 13 bytes into a destination of size 12 sprintf((CHAR*)theLabel, "L%d", pparser->LabelCount); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'didfind_item': openbor.c:17642:41: warning: self-comparison always evaluates to false [-Wtautological-compare] if(self->weapent->modeldata.shootnum > self->weapent->modeldata.shootnum) self->weapent->modeldata.shootnum = self->weapent->modeldata.shootnum; ^ Compiling LINUX Port: source/preprocessorlib/pp_parser.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/preprocessorlib/pp_parser.c -o source/preprocessorlib/pp_parser.o source/preprocessorlib/pp_parser.c: In function 'pp_parser_stringify': source/preprocessorlib/pp_parser.c:536:5: warning: 'strncat' specified bound 2 equals source length [-Wstringop-overflow=] strncat(self->token.theSource, "\\\"", 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/preprocessorlib/pp_parser.c:540:5: warning: 'strncat' specified bound 2 equals source length [-Wstringop-overflow=] strncat(self->token.theSource, "\\\\", 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/preprocessorlib/pp_parser.c:551:2: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] strncat(self->token.theSource, "\"", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'player_jump_check': openbor.c:18075:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else if((player[self->playerindex].keys & FLAG_MOVERIGHT)) self->direction = 1; ^~~~ openbor.c:18077:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if(((player[self->playerindex].keys & FLAG_MOVEUP)&&self->zdir>0) || ^~ Compiling LINUX Port: source/ramlib/ram.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/ramlib/ram.c -o source/ramlib/ram.o openborscript.c: In function 'openbor_fademusic': openborscript.c:9101:3: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] if(FAILED(ScriptVariant_IntegerValue(varlist[3], &values[1]))) goto fademusic_error; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling LINUX Port: source/randlib/rand32.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/randlib/rand32.c -o source/randlib/rand32.o Compiling LINUX Port: source/pnglib/pngdec.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/pnglib/pngdec.c -o source/pnglib/pngdec.o Compiling LINUX Port: source/pnglib/savepng.c... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/pnglib/savepng.c -o source/pnglib/savepng.o openbor.c: In function 'term_videomodes': openbor.c:22562:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(custScenes != NULL) free(custScenes); custScenes = NULL; ^~ openbor.c:22562:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(custScenes != NULL) free(custScenes); custScenes = NULL; ^~~~~~~~~~ openbor.c:22563:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(custBkgrds != NULL) free(custBkgrds); custBkgrds = NULL; ^~ openbor.c:22563:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(custBkgrds != NULL) free(custBkgrds); custBkgrds = NULL; ^~~~~~~~~~ openbor.c:22564:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(custLevels != NULL) free(custLevels); custLevels = NULL; ^~ openbor.c:22564:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(custLevels != NULL) free(custLevels); custLevels = NULL; ^~~~~~~~~~ openbor.c:22565:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(custModels != NULL) free(custModels); custModels = NULL; ^~ openbor.c:22565:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(custModels != NULL) free(custModels); custModels = NULL; ^~~~~~~~~~ openbor.c: In function 'saveasdefault': openbor.c:2292:2: warning: 'strncat' specified bound 128 equals destination size [-Wstringop-overflow=] strncat(path, "default.cfg", 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'loadfromdefault': openbor.c:2330:2: warning: 'strncat' specified bound 128 equals destination size [-Wstringop-overflow=] strncat(path, "default.cfg", 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'load_models': openbor.c:7579:4: warning: 'strncat' specified bound 7 equals source length [-Wstringop-overflow=] strncat(tmpBuff,"loading", 7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'gameover': openbor.c:21500:3: warning: 'strncat' specified bound 12 equals source length [-Wstringop-overflow=] strncat(tmpBuff,"gameover.txt", 12); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'hallfame': openbor.c:21547:4: warning: 'strncat' specified bound 7 equals source length [-Wstringop-overflow=] strncat(tmpBuff,"hiscore", 7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'showcomplete': openbor.c:21625:4: warning: 'strncat' specified bound 8 equals source length [-Wstringop-overflow=] strncat(tmpBuff,"complete", 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'selectplayer': openbor.c:21948:5: warning: 'strncat' specified bound 8 equals source length [-Wstringop-overflow=] strncat(string, "unlockbg", 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:21959:5: warning: 'strncat' specified bound 6 equals source length [-Wstringop-overflow=] strncat(string, "select", 6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'openborMain': openbor.c:24194:4: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] strncat(tmpBuff,"logo", 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:24210:4: warning: 'strncat' specified bound 8 equals source length [-Wstringop-overflow=] strncat(tmpBuff,"logo.txt", 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:24227:6: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] strncat(tmpBuff,"intro.txt", 9); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:24307:7: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] strncat(tmpBuff,"howto.txt", 9); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:24336:6: warning: 'strncat' specified bound 6 equals source length [-Wstringop-overflow=] strncat(tmpBuff,"titleb", 6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:24348:6: warning: 'strncat' specified bound 5 equals source length [-Wstringop-overflow=] strncat(tmpBuff,"title", 5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'load_levelorder': openbor.c:8520:5: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] strncpy(rush_names[1], GET_ARG(6), MAX_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'load_level': openbor.c:8979:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(string, value, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'smartspawn': openbor.c:19688:22: warning: 'strncpy' output may be truncated copying 40 bytes from a string of length 40 [-Wstringop-truncation] if(props->alias[0]) strncpy(e->name, props->alias, MAX_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:19690:26: warning: 'strncpy' output may be truncated copying 40 bytes from a string of length 40 [-Wstringop-truncation] if(props->itemalias[0]) strncpy(e->itemalias, props->itemalias, MAX_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'update_scroller': openbor.c:19913:6: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(musicname, level->spawnpoints[current_spawn].music, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'selectplayer': openbor.c:21958:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(string, custBkgrds, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'choose_difficulty': openbor.c:22358:5: warning: 'strncpy' specified bound 41 equals destination size [-Wstringop-truncation] strncpy(savelevel[saveslot].dName, levelsets[saveslot].name, MAX_NAME_LEN+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:22385:5: warning: 'strncpy' specified bound 41 equals destination size [-Wstringop-truncation] strncpy(savelevel[saveslot].dName, levelsets[saveslot].name, MAX_NAME_LEN+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'keyboard_setup': openbor.c:22940:7: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(buttonnames[11], GET_ARG(2), 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'openborMain': openbor.c:24209:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(tmpBuff,custScenes, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:24302:6: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] strncpy(previousMusic, currentmusic, sizeof(previousMusic)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:24306:7: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(tmpBuff,custScenes, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:24226:6: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(tmpBuff,custScenes, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:24347:6: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(tmpBuff,custBkgrds, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:24335:6: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(tmpBuff,custBkgrds, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking LINUX Port: OpenBOR.elf... cc -pipe -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -o OpenBOR.elf openbor.o openborscript.o sdl/joysticks.o sdl/control.o sdl/sblaster.o sdl/timer.o sdl/sdlport.o sdl/video.o sdl/menu.o sdl/opengl.o sdl/loadgl.o source/adpcmlib/adpcm.o source/gfxlib/2xSaI.o source/gfxlib/bilinear.o source/gfxlib/dotmatrix.o source/gfxlib/gfx.o source/gfxlib/hq2x.o source/gfxlib/motionblur.o source/gfxlib/scale2x.o source/gfxlib/scanline.o source/gfxlib/simple2x.o source/gfxlib/tv2x.o source/gamelib/draw.o source/gamelib/draw16.o source/gamelib/draw32.o source/gamelib/font.o source/gamelib/anigif.o source/gamelib/bitmap.o source/gamelib/screen.o source/gamelib/screen16.o source/gamelib/screen32.o source/gamelib/loadimg.o source/gamelib/palette.o source/gamelib/packfile.o source/gamelib/filecache.o source/gamelib/pixelformat.o source/gamelib/soundmix.o source/gamelib/spriteq.o source/gamelib/sprite.o source/gamelib/spritex8p16.o source/gamelib/spritex8p32.o source/gamelib/commands.o source/gamelib/models.o source/gamelib/transform.o source/gamelib/triangle.o source/gamelib/filters.o source/stringptr.o source/utils.o source/stristr.o source/scriptlib/StackedSymbolTable.o source/scriptlib/ScriptVariant.o source/scriptlib/SymbolTable.o source/scriptlib/Instruction.o source/scriptlib/Interpreter.o source/scriptlib/ImportCache.o source/scriptlib/ParserSet.o source/scriptlib/Parser.o source/scriptlib/Lexer.o source/scriptlib/Stack.o source/scriptlib/List.o source/preprocessorlib/pp_lexer.o source/preprocessorlib/pp_parser.o source/ramlib/ram.o source/randlib/rand32.o source/pnglib/pngdec.o source/pnglib/savepng.o -Wl,--as-needed -L"/usr/local/lib" -lSDL -lSDL_gfx -lpthread -lvorbisfile -lvorbis -logg -lpng -lz -lm gmake[1]: Leaving directory '/construction/games/openbor3711/openbor-6ec17fa/engine' SUCCEEDED 00:00:33 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for openbor3711-3711_2 ===> Generating temporary packing list install -s -m 555 /construction/games/openbor3711/openbor-6ec17fa/engine/OpenBOR.elf /construction/games/openbor3711/stage/usr/local/bin/openbor3711 install -m 0644 /construction/games/openbor3711/openbor-6ec17fa/engine/resources/OpenBOR_Icon_128x128.png /construction/games/openbor3711/stage/usr/local/share/pixmaps/openbor3711.png (cd /construction/games/openbor3711/openbor-6ec17fa/engine && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "README" /construction/games/openbor3711/stage/usr/local/share/doc/openbor3711) ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for openbor3711-3711_2 file sizes/checksums [4]: 0% file sizes/checksums [4]: 100% packing files [4]: 0% packing files [4]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:43