=> Building games/worldofpadman Started : Saturday, 15 FEB 2020 at 20:20:34 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for worldofpadman-1.2.20080621_13: CURL=on: Data transfer support via cURL CURL_DLOPEN=on: Enable dynamic loading of cURL DOCS=on: Build and/or install documentation GAMELIBS=off: Force building game libraries MP3=off: MP3 audio format support OPENAL=off: Audio support via OpenAL OPENAL_DLOPEN=off: Enable dynamic loading of OpenAL OPTIMIZED_CFLAGS=on: Use extra compiler optimizations VORBIS=on: Ogg Vorbis audio codec support ====> Clients and servers: you have to choose at least one of them CLIENT=on: Build client SERVER=on: Build dedicated server SMP_CLIENT=on: Build SMP (threaded) client ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/worldofpadman XDG_CONFIG_HOME=/construction/games/worldofpadman HOME=/construction/games/worldofpadman TMPDIR="/tmp" PATH=/construction/games/worldofpadman/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- DEFAULT_BASEDIR="/usr/local/share/worldofpadman" PTHREAD_LIBS="-lpthread" USE_CURL=1 USE_CURL_DLOPEN=1 USE_CODEC_VORBIS=1 BUILD_CLIENT=1 BUILD_SERVER=1 BUILD_GAME_SO=1 USE_OPTIMIZED_CFLAGS=1 BUILD_CLIENT_SMP=1 SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/worldofpadman XDG_CONFIG_HOME=/construction/games/worldofpadman HOME=/construction/games/worldofpadman TMPDIR="/tmp" PATH=/construction/games/worldofpadman/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/games/worldofpadman/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" CLIENT="" NO_CLIENT="@comment " CURL="" NO_CURL="@comment " CURL_DLOPEN="" NO_CURL_DLOPEN="@comment " DOCS="" NO_DOCS="@comment " GAMELIBS="@comment " NO_GAMELIBS="" MP3="@comment " NO_MP3="" OPENAL="@comment " NO_OPENAL="" OPENAL_DLOPEN="@comment " NO_OPENAL_DLOPEN="" OPTIMIZED_CFLAGS="" NO_OPTIMIZED_CFLAGS="@comment " SERVER="" NO_SERVER="@comment " SMP_CLIENT="" NO_SMP_CLIENT="@comment " VORBIS="" NO_VORBIS="@comment " OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/worldofpadman" EXAMPLESDIR="share/examples/worldofpadman" DATADIR="share/worldofpadman" WWWDIR="www/worldofpadman" ETCDIR="etc/worldofpadman" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- CLIENT="" NO_CLIENT="@comment " CURL="" NO_CURL="@comment " CURL_DLOPEN="" NO_CURL_DLOPEN="@comment " DOCS="" NO_DOCS="@comment " GAMELIBS="@comment " NO_GAMELIBS="" MP3="@comment " NO_MP3="" OPENAL="@comment " NO_OPENAL="" OPENAL_DLOPEN="@comment " NO_OPENAL_DLOPEN="" OPTIMIZED_CFLAGS="" NO_OPTIMIZED_CFLAGS="@comment " SERVER="" NO_SERVER="@comment " SMP_CLIENT="" NO_SMP_CLIENT="@comment " VORBIS="" NO_VORBIS="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/worldofpadman DOCSDIR=/usr/local/share/doc/worldofpadman EXAMPLESDIR=/usr/local/share/examples/worldofpadman WWWDIR=/usr/local/www/worldofpadman ETCDIR=/usr/local/etc/worldofpadman -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The worldofpadman 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 -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of worldofpadman-1.2.20080621_13 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The worldofpadman 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 => worldofpadman.run doesn't seem to exist in /distfiles/. => Attempting to fetch ftp://ftp.snt.utwente.nl/pub/games/worldofpadman/linux/worldofpadman.run worldofpadman.run 550 MB 378 kBps 24m48s => wop_patch_1_2.run doesn't seem to exist in /distfiles/. => Attempting to fetch ftp://ftp.snt.utwente.nl/pub/games/worldofpadman/linux/wop_patch_1_2.run wop_patch_1_2.run 68 MB 371 kBps 03m10s => worldofpadman-1.2.20080621.tar.bz2 doesn't seem to exist in /distfiles/. => Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/alepulver/worldofpadman-1.2.20080621.tar.bz2 worldofpadman-1.2.20080621.tar.bz2 3117 kB 1194 kBps 03s ===> Fetching all distfiles required by worldofpadman-1.2.20080621_13 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The worldofpadman 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 ===> Fetching all distfiles required by worldofpadman-1.2.20080621_13 for building => SHA256 Checksum OK for worldofpadman.run. => SHA256 Checksum OK for wop_patch_1_2.run. => SHA256 Checksum OK for worldofpadman-1.2.20080621.tar.bz2. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/bin/unmakeself - not found ===> Installing existing package /packages/All/unmakeself-1.1_1.txz Installing unmakeself-1.1_1... `-- Installing libarchive-3.4.0,1... | `-- Installing expat-2.2.8... | `-- Extracting expat-2.2.8: .......... done | `-- Installing liblz4-1.9.2_1,1... | `-- Extracting liblz4-1.9.2_1,1: .......... done | `-- Installing lzo2-2.10_1... | `-- Extracting lzo2-2.10_1: .......... done | `-- Installing openssl-1.1.1d,1... | `-- Extracting openssl-1.1.1d,1: .......... done `-- Extracting libarchive-3.4.0,1: .......... done Extracting unmakeself-1.1_1: . done ===== Message from unmakeself-1.1_1: -- ===> NOTICE: The unmakeself 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 ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/bin/unmakeself - found ===> Returning to build of worldofpadman-1.2.20080621_13 -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The worldofpadman 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 ===> Fetching all distfiles required by worldofpadman-1.2.20080621_13 for building ===> Extracting for worldofpadman-1.2.20080621_13 ===> NOTICE: The worldofpadman 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 ===> Fetching all distfiles required by worldofpadman-1.2.20080621_13 for building => SHA256 Checksum OK for worldofpadman.run. => SHA256 Checksum OK for wop_patch_1_2.run. => SHA256 Checksum OK for worldofpadman-1.2.20080621.tar.bz2. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for worldofpadman-1.2.20080621_13 ===> Applying ports patches for worldofpadman-1.2.20080621_13 ===> Applying dragonfly patches for worldofpadman-1.2.20080621_13 /usr/bin/env WRKSRC=/construction/games/worldofpadman/worldofpadman-1.2.20080621 REWARNFILE=/construction/games/worldofpadman/reinplace_warnings.txt /xports/Tools/scripts/sed_checked.sh -e 's@freebsd@dragonfly@gi' /construction/games/worldofpadman/worldofpadman-1.2.20080621/Makefile -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_13 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.20.1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: . done `-- Extracting gettext-runtime-0.20.1: .......... done Extracting gmake-4.2.1_3: .......... done ===> worldofpadman-1.2.20080621_13 depends on executable: gmake - found ===> Returning to build of worldofpadman-1.2.20080621_13 ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_14,2.txz Installing sdl-1.2.15_14,2... `-- Installing aalib-1.4.r5_13... | `-- Installing ncurses-6.1.20190525... | `-- Extracting ncurses-6.1.20190525: .......... done `-- Extracting aalib-1.4.r5_13: .......... done `-- Installing libGLU-9.0.1... | `-- Installing mesa-libs-18.3.2_3... | | `-- Installing libX11-1.6.9,1... | | `-- Installing libXau-1.0.9... | | `-- Extracting libXau-1.0.9: .......... done | | `-- Installing libXdmcp-1.1.3... | | | `-- Installing xorgproto-2019.2... | | | `-- Extracting xorgproto-2019.2: .......... done | | `-- Extracting libXdmcp-1.1.3: ...... done | | `-- Installing libxcb-1.13.1... | | | `-- Installing libpthread-stubs-0.4... | | | `-- Extracting libpthread-stubs-0.4: .... done | | | `-- Installing libxml2-2.9.10... | | | `-- Extracting libxml2-2.9.10: .......... done | | `-- Extracting libxcb-1.13.1: .......... done | | `-- Extracting libX11-1.6.9,1: .......... done | | `-- Installing libXdamage-1.1.5... | | `-- Installing libXfixes-5.0.3_2... | | `-- Extracting libXfixes-5.0.3_2: ....... done | | `-- Extracting libXdamage-1.1.5: ...... done | | `-- Installing libXext-1.3.4,1... | | `-- Extracting libXext-1.3.4,1: .......... done | | `-- Installing libXrandr-1.5.2... | | `-- Installing libXrender-0.9.10_2... | | `-- Extracting libXrender-0.9.10_2: ....... done | | `-- Extracting libXrandr-1.5.2: .......... done | | `-- Installing libXxf86vm-1.1.4_3... | | `-- Extracting libXxf86vm-1.1.4_3: .......... done | | `-- Installing libdrm-2.4.100... | | `-- Installing libpciaccess-0.16... | | | `-- Installing pciids-20200125... | | | `-- Extracting pciids-20200125: ..... done | | `-- Extracting libpciaccess-0.16: ...... done | | `-- Extracting libdrm-2.4.100: .......... done | | `-- Installing libelf-0.8.13_3... | | `-- Extracting libelf-0.8.13_3: .......... done | | `-- Installing libxshmfence-1.3... | | `-- Extracting libxshmfence-1.3: ...... done | | `-- Installing wayland-1.16.0... | | `-- Installing libffi-3.2.1_3... | | `-- Extracting libffi-3.2.1_3: .......... done | | `-- Extracting wayland-1.16.0: .......... done | `-- Extracting mesa-libs-18.3.2_3: .......... done `-- Extracting libGLU-9.0.1: ...... done Extracting sdl-1.2.15_14,2: .......... done ===== 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 ===== 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". ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of worldofpadman-1.2.20080621_13 ===> worldofpadman-1.2.20080621_13 depends on package: xorgproto>=0 - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_13 depends on shared library: libcurl.so - not found ===> Installing existing package /packages/All/curl-7.68.0.txz Installing curl-7.68.0... `-- Installing ca_root_nss-3.50... `-- Extracting ca_root_nss-3.50: ..... done `-- Installing libnghttp2-1.40.0... `-- Extracting libnghttp2-1.40.0: ....... done Extracting curl-7.68.0: .......... done ===== Message from ca_root_nss-3.50: -- FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem ===> worldofpadman-1.2.20080621_13 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> Returning to build of worldofpadman-1.2.20080621_13 ===> worldofpadman-1.2.20080621_13 depends on shared library: libvorbis.so - not found ===> Installing existing package /packages/All/libvorbis-1.3.6,3.txz Installing libvorbis-1.3.6,3... `-- Installing libogg-1.3.4,4... `-- Extracting libogg-1.3.4,4: .......... done Extracting libvorbis-1.3.6,3: .......... done ===> worldofpadman-1.2.20080621_13 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) ===> Returning to build of worldofpadman-1.2.20080621_13 ===> worldofpadman-1.2.20080621_13 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> worldofpadman-1.2.20080621_13 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for worldofpadman-1.2.20080621_13 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for worldofpadman-1.2.20080621_13 gmake[2]: Entering directory '/construction/games/worldofpadman/worldofpadman-1.2.20080621' gmake[3]: Entering directory '/construction/games/worldofpadman/worldofpadman-1.2.20080621' Building ioquake3 in build/release: PLATFORM: dragonfly ARCH: x86_64 VERSION: 1.35 COMPILE_PLATFORM: dragonfly COMPILE_ARCH: x86_64 CC: cc CFLAGS: -pipe -O2 -fno-strict-aliasing -MMD -DARCH="x86_64" -I/usr/local/include -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -DUSE_ICON -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_CODEC_VORBIS -DNO_VM_COMPILED -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DDEFAULT_BASEDIR="/usr/local/share/worldofpadman" -DSTANDALONE -DPRODUCT_VERSION="1.35" -DNDEBUG -pipe -O3 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations LDFLAGS: -lm Output: build/release/wopded build/release/wop build/release/wop-smp build/release/baseq3/cgame.so build/release/baseq3/qagame.so build/release/baseq3/ui.so gmake[4]: Entering directory '/construction/games/worldofpadman/worldofpadman-1.2.20080621' DED_CC code/server/sv_bot.c DED_CC code/server/sv_client.c DED_CC code/server/sv_ccmds.c DED_CC code/server/sv_game.c DED_CC code/server/sv_main.c DED_CC code/server/sv_net_chan.c DED_CC code/server/sv_snapshot.c DED_CC code/server/sv_world.c DED_CC code/server/sv_init.c DED_CC code/qcommon/cm_load.c DED_CC code/qcommon/cm_patch.c DED_CC code/qcommon/cm_polylib.c DED_CC code/qcommon/cm_test.c DED_CC code/qcommon/cm_trace.c DED_CC code/qcommon/cmd.c code/server/sv_net_chan.c: In function 'SV_Netchan_Encode': code/server/sv_net_chan.c:37:7: warning: variable 'reliableAcknowledge' set but not used [-Wunused-but-set-variable] long reliableAcknowledge, i, index; ^~~~~~~~~~~~~~~~~~~ code/server/sv_snapshot.c: In function 'SV_AddEntitiesVisibleFromPoint': code/server/sv_snapshot.c:301:7: warning: variable 'c_fullsend' set but not used [-Wunused-but-set-variable] int c_fullsend; ^~~~~~~~~~ code/server/sv_world.c: In function 'SV_AreaEntities_r': code/server/sv_world.c:385:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count; ^~~~~ code/server/sv_world.c: In function 'SV_PointContents': code/server/sv_world.c:663:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] float *angles; ^~~~~~ code/qcommon/cm_trace.c: In function 'CM_TraceThroughSphere': code/qcommon/cm_trace.c:738:8: warning: variable 'a' set but not used [-Wunused-but-set-variable] float a, b, c, d, sqrtd; ^ code/qcommon/cm_trace.c: In function 'CM_TraceThroughVerticalCylinder': code/qcommon/cm_trace.c:826:8: warning: variable 'a' set but not used [-Wunused-but-set-variable] float a, b, c, d, sqrtd; ^ code/server/sv_init.c: In function 'SV_SetConfigstring': code/server/sv_init.c:107:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len, i; ^~~ code/server/sv_game.c: In function 'SV_inPVSIgnorePortals': code/server/sv_game.c:188:14: warning: variable 'area2' set but not used [-Wunused-but-set-variable] int area1, area2; ^~~~~ code/server/sv_game.c:188:7: warning: variable 'area1' set but not used [-Wunused-but-set-variable] int area1, area2; ^~~~~ DED_CC code/qcommon/common.c code/server/sv_client.c: In function 'SV_IsBanned': code/server/sv_client.c:244:13: warning: variable 'addrlen' set but not used [-Wunused-but-set-variable] int index, addrlen, curbyte, netmask, cmpmask; ^~~~~~~ code/qcommon/common.c: In function 'Z_TagMalloc': code/qcommon/common.c:921:14: warning: variable 'allocSize' set but not used [-Wunused-but-set-variable] int extra, allocSize; ^~~~~~~~~ code/qcommon/common.c: In function 'Com_Frame': code/qcommon/common.c:2812:6: warning: variable 'key' set but not used [-Wunused-but-set-variable] int key; ^~~ code/qcommon/cmd.c: In function 'Cmd_Exec_f': code/qcommon/cmd.c:258:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ DED_CC code/qcommon/cvar.c code/qcommon/cvar.c: In function 'Cvar_Restart_f': code/qcommon/cvar.c:817:30: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] Com_Memset( var, 0, sizeof( var ) ); ^ code/server/sv_ccmds.c: In function 'checkMapRedirect': code/server/sv_ccmds.c:149:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ DED_CC code/qcommon/files.c code/qcommon/files.c: In function 'FS_ComparePaks': code/qcommon/files.c:2522:20: warning: variable 'badchecksum' set but not used [-Wunused-but-set-variable] qboolean havepak, badchecksum; ^~~~~~~~~~~ At top level: code/qcommon/files.c:178:23: warning: 'pak_checksums' defined but not used [-Wunused-const-variable=] static const unsigned pak_checksums[] = { ^~~~~~~~~~~~~ DED_CC code/qcommon/md4.c DED_CC code/qcommon/msg.c DED_CC code/qcommon/net_chan.c DED_CC code/qcommon/net_ip.c code/qcommon/net_chan.c: In function 'Netchan_Process': code/qcommon/net_chan.c:306:8: warning: variable 'qport' set but not used [-Wunused-but-set-variable] int qport; ^~~~~ code/qcommon/net_ip.c: In function 'NET_OpenSocks': code/qcommon/net_ip.c:1019:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err; ^~~ DED_CC code/qcommon/huffman.c DED_CC code/qcommon/q_math.c DED_CC code/qcommon/q_shared.c DED_CC code/qcommon/unzip.c code/qcommon/unzip.c: In function 'unzClose': code/qcommon/unzip.c:1415:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s->pfile_in_zip_read!=NULL) ^~ code/qcommon/unzip.c:1418:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fclose(s->file); ^~~~~~ code/qcommon/unzip.c: In function 'unzLocateFile': code/qcommon/unzip.c:1740:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP) ^~ code/qcommon/unzip.c:1743:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' s=(unz_s*)file; ^ code/qcommon/unzip.c: In function 'unzlocal_CheckCurrentFileCoherencyHeader': code/qcommon/unzip.c:1815:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) && ^~ code/qcommon/unzip.c:1819:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (unzlocal_getLong(s->file,&uData) != UNZ_OK) /* date/time */ ^~ code/qcommon/unzip.c: In function 'unzOpenCurrentFile': code/qcommon/unzip.c:1879:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s->pfile_in_zip_read != NULL) ^~ code/qcommon/unzip.c:1882:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (unzlocal_CheckCurrentFileCoherencyHeader(s,&iSizeVar, ^~ code/qcommon/unzip.c: In function 'unzReadCurrentFile': code/qcommon/unzip.c:2045:16: warning: variable 'bufBefore' set but not used [-Wunused-but-set-variable] const Byte *bufBefore; ^~~~~~~~~ DED_CC code/qcommon/vm.c code/qcommon/vm.c: In function 'VM_LoadSymbols': code/qcommon/vm.c:220:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ code/qcommon/vm.c: In function 'VM_LoadQVM': code/qcommon/vm.c:363:10: warning: variable 'length' set but not used [-Wunused-but-set-variable] int length; ^~~~~~ DED_CC code/qcommon/vm_interpreted.c BOT_CC code/botlib/be_aas_bspq3.c BOT_CC code/botlib/be_aas_cluster.c BOT_CC code/botlib/be_aas_debug.c BOT_CC code/botlib/be_aas_entity.c BOT_CC code/botlib/be_aas_file.c BOT_CC code/botlib/be_aas_main.c BOT_CC code/botlib/be_aas_move.c BOT_CC code/botlib/be_aas_optimize.c code/botlib/be_aas_move.c: In function 'AAS_AirControl': code/botlib/be_aas_move.c:391:9: warning: variable 'dir' set but not used [-Wunused-but-set-variable] vec3_t dir; ^~~ code/botlib/be_aas_move.c: In function 'AAS_ClientMovementPrediction': code/botlib/be_aas_move.c:520:35: warning: variable 'ax' set but not used [-Wunused-but-set-variable] int n, i, j, pc, step, swimming, ax, crouch, event, jump_frame, areanum; ^~ BOT_CC code/botlib/be_aas_reach.c code/botlib/be_aas_reach.c: In function 'AAS_BestReachableFromJumpPadArea': code/botlib/be_aas_reach.c:292:6: warning: variable 'area2num' set but not used [-Wunused-but-set-variable] int area2num, ent, bot_visualizejumppads, bestareanum; ^~~~~~~~ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_Swim': code/botlib/be_aas_reach.c:840:22: warning: variable 'areasettings' set but not used [-Wunused-but-set-variable] aas_areasettings_t *areasettings; ^~~~~~~~~~~~ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_Step_Barrier_WaterJump_WalkOffLedge': code/botlib/be_aas_reach.c:1076:61: warning: variable 'water_bestface1' set but not used [-Wunused-but-set-variable] aas_face_t *groundface1, *groundface2, *ground_bestface1, *water_bestface1; ^~~~~~~~~~~~~~~ code/botlib/be_aas_reach.c:1076:42: warning: variable 'ground_bestface1' set but not used [-Wunused-but-set-variable] aas_face_t *groundface1, *groundface2, *ground_bestface1, *water_bestface1; ^~~~~~~~~~~~~~~~ code/botlib/be_aas_reach.c:1065:34: warning: variable 'invgravitydot' set but not used [-Wunused-but-set-variable] float dist, dist1, dist2, diff, invgravitydot, ortdot; ^~~~~~~~~~~~~ BOT_CC code/botlib/be_aas_route.c code/botlib/be_aas_reach.c: In function 'AAS_Reachability_JumpPad': code/botlib/be_aas_reach.c:3495:21: warning: variable 'hordist' set but not used [-Wunused-but-set-variable] float speed, zvel, hordist; ^~~~~~~ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_WeaponJump': code/botlib/be_aas_reach.c:4000:21: warning: variable 'hordist' set but not used [-Wunused-but-set-variable] float speed, zvel, hordist; ^~~~~~~ code/botlib/be_aas_route.c: In function 'AAS_CalculateAreaTravelTimes': code/botlib/be_aas_route.c:509:6: warning: variable 'starttime' set but not used [-Wunused-but-set-variable] int starttime; ^~~~~~~~~ code/botlib/be_aas_route.c: In function 'AAS_CreateAllRoutingCache': code/botlib/be_aas_route.c:894:12: warning: variable 't' set but not used [-Wunused-but-set-variable] int i, j, t; ^ BOT_CC code/botlib/be_aas_routealt.c BOT_CC code/botlib/be_aas_sample.c BOT_CC code/botlib/be_ai_char.c BOT_CC code/botlib/be_ai_chat.c code/botlib/be_ai_chat.c: In function 'BotFreeChatState': code/botlib/be_ai_chat.c:2942:19: warning: variable 'cs' set but not used [-Wunused-but-set-variable] bot_chatstate_t *cs; ^~ BOT_CC code/botlib/be_ai_gen.c code/botlib/be_ai_gen.c: In function 'GeneticSelection': code/botlib/be_ai_gen.c:54:13: warning: variable 'select' set but not used [-Wunused-but-set-variable] float sum, select; ^~~~~~ BOT_CC code/botlib/be_ai_goal.c code/botlib/be_ai_chat.c: In function 'BotQueueConsoleMessage': code/botlib/be_ai_chat.c:345:2: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(m->message, message, MAX_MESSAGE_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/be_ai_goal.c: In function 'BotSaveGoalFuzzyLogic': code/botlib/be_ai_goal.c:279:19: warning: variable 'gs' set but not used [-Wunused-but-set-variable] bot_goalstate_t *gs; ^~ code/botlib/be_ai_goal.c: In function 'BotChooseLTGItem': code/botlib/be_ai_goal.c:1337:8: warning: variable 'fuzzweight' set but not used [-Wunused-but-set-variable] float fuzzweight; // weight without distance scaling ^~~~~~~~~~ BOT_CC code/botlib/be_ai_move.c code/botlib/be_ai_move.c: In function 'BotFinishTravel_BarrierJump': code/botlib/be_ai_move.c:1482:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist; ^~~~ code/botlib/be_ai_move.c: In function 'BotFinishTravel_WaterJump': code/botlib/be_ai_move.c:1569:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist; ^~~~ code/botlib/be_ai_move.c: In function 'BotTravel_JumpPad': code/botlib/be_ai_move.c:3001:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist, speed; ^~~~ code/botlib/be_ai_goal.c: In function 'LoadItemConfig': code/botlib/be_ai_goal.c:322:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( path, filename, MAX_PATH ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/be_ai_goal.c:355:4: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 1023 [-Wstringop-truncation] strncpy(ii->classname, token.string, sizeof(ii->classname)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/be_ai_weap.c BOT_CC code/botlib/be_ai_weight.c BOT_CC code/botlib/be_ea.c code/botlib/be_ai_weap.c: In function 'LoadWeaponConfig': code/botlib/be_ai_weap.c:222:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(path, filename, MAX_PATH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/be_interface.c BOT_CC code/botlib/l_crc.c In function 'BotGoalName.constprop', inlined from 'BotDumpAvoidGoals' at code/botlib/be_ai_goal.c:768:4: code/botlib/be_ai_goal.c:727:4: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 79 [-Wstringop-truncation] strncpy(name, itemconfig->iteminfo[li->iteminfo].name, size-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_libvar.c BOT_CC code/botlib/l_log.c code/botlib/l_log.c: In function 'Log_Open': code/botlib/l_log.c:77:2: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(logfile.filename, filename, MAX_LOGFILENAMESIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_memory.c code/botlib/be_ai_chat.c: In function 'BotFindMatch': code/botlib/be_ai_chat.c:1461:2: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(match->string, str, MAX_MESSAGE_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_precomp.c BOT_CC code/botlib/l_script.c BOT_CC code/botlib/l_struct.c DED_CC code/null/null_client.c DED_CC code/null/null_input.c DED_CC code/null/null_snddma.c DED_CC code/sys/con_log.c DED_CC code/sys/sys_main.c code/botlib/l_precomp.c: In function 'PC_EvaluateTokens': code/botlib/l_precomp.c:1701:6: warning: variable 'lastoperatortype' set but not used [-Wunused-but-set-variable] int lastoperatortype = 0; ^~~~~~~~~~~~~~~~ DED_CC code/sys/sys_unix.c code/sys/sys_unix.c: In function 'Sys_ListFiles': code/sys/sys_unix.c:323:16: warning: variable 'extLen' set but not used [-Wunused-but-set-variable] int extLen; ^~~~~~ DED_CC code/sys/con_tty.c CC code/client/cl_cgame.c CC code/client/cl_cin.c CC code/client/cl_console.c code/client/cl_cin.c: In function 'yuv_to_rgb': code/client/cl_cin.c:585:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (r<0) r = 0; if (g<0) g = 0; if (b<0) b = 0; ^~ code/client/cl_cin.c:585:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (r<0) r = 0; if (g<0) g = 0; if (b<0) b = 0; ^~ code/client/cl_cin.c:586:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (r > 31) r = 31; if (g > 63) g = 63; if (b > 31) b = 31; ^~ code/client/cl_cin.c:586:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (r > 31) r = 31; if (g > 63) g = 63; if (b > 31) b = 31; ^~ code/client/cl_cin.c: In function 'yuv_to_rgb24': code/client/cl_cin.c:606:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (r<0) r = 0; if (g<0) g = 0; if (b<0) b = 0; ^~ code/client/cl_cin.c:606:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (r<0) r = 0; if (g<0) g = 0; if (b<0) b = 0; ^~ code/client/cl_cin.c:607:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (r > 255) r = 255; if (g > 255) g = 255; if (b > 255) b = 255; ^~ code/client/cl_cin.c:607:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (r > 255) r = 255; if (g > 255) g = 255; if (b > 255) b = 255; ^~ code/client/cl_cgame.c: In function 'CL_AdjustTimeDelta': code/client/cl_cgame.c:827:7: warning: variable 'resetTime' set but not used [-Wunused-but-set-variable] int resetTime; ^~~~~~~~~ code/client/cl_cin.c: In function 'CL_PlayCinematic_f': code/client/cl_cin.c:1589:11: warning: variable 'holdatend' set but not used [-Wunused-but-set-variable] qboolean holdatend; ^~~~~~~~~ In function 'BotGoalName.constprop', inlined from 'BotDumpGoalStack' at code/botlib/be_ai_goal.c:1230:3: code/botlib/be_ai_goal.c:727:4: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 79 [-Wstringop-truncation] strncpy(name, itemconfig->iteminfo[li->iteminfo].name, size-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/client/cl_input.c code/botlib/l_precomp.c: In function 'PC_Directive_include.part.3': code/botlib/l_precomp.c:1015:4: warning: 'strncat' output may be truncated copying 63 bytes from a string of length 1023 [-Wstringop-truncation] strncat(path, token.string, MAX_PATH - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/l_precomp.c: In function 'PC_StringizeTokens': code/botlib/l_precomp.c:472:3: warning: 'strncat' output may be truncated copying between 0 and 1023 bytes from a string of length 1023 [-Wstringop-truncation] strncat(token->string, t->string, MAX_TOKEN - strlen(token->string) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/client/cl_input.c: In function 'CL_JoystickMove': code/client/cl_input.c:384:7: warning: variable 'movespeed' set but not used [-Wunused-but-set-variable] int movespeed; ^~~~~~~~~ code/client/cl_input.c: In function 'CL_CreateNewCommands': code/client/cl_input.c:582:13: warning: variable 'cmd' set but not used [-Wunused-but-set-variable] usercmd_t *cmd; ^~~ code/botlib/l_struct.c: In function 'ReadString': code/botlib/l_struct.c:224:2: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 1023 [-Wstringop-truncation] strncpy((char *) p, token.string, MAX_STRINGFIELD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'ReadString.constprop', inlined from 'ReadStructure' at code/botlib/l_struct.c:294:11: code/botlib/l_struct.c:224:2: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 1023 [-Wstringop-truncation] strncpy((char *) p, token.string, MAX_STRINGFIELD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/be_ai_chat.c: In function 'BotLoadInitialChat': code/botlib/be_ai_chat.c:2120:8: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 1023 [-Wstringop-truncation] strncpy(chattype->name, token.string, MAX_CHATTYPE_NAME); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/client/cl_keys.c CC code/client/cl_main.c code/client/cl_main.c: In function 'CL_ChangeReliableCommand': code/client/cl_main.c:160:6: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r, index, l; ^ code/client/cl_main.c: In function 'CL_GetServerStatus': code/client/cl_main.c:3009:18: warning: variable 'serverStatus' set but not used [-Wunused-but-set-variable] serverStatus_t *serverStatus; ^~~~~~~~~~~~ CC code/client/cl_net_chan.c In function 'PC_StringizeTokens', inlined from 'PC_ExpandDefine' at code/botlib/l_precomp.c:849:11: code/botlib/l_precomp.c:472:3: warning: 'strncat' output may be truncated copying between 0 and 1023 bytes from a string of length 1023 [-Wstringop-truncation] strncat(token->string, t->string, MAX_TOKEN - strlen(token->string) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/client/cl_parse.c CC code/client/cl_scrn.c CC code/client/cl_ui.c code/client/cl_scrn.c: In function 'SCR_DrawDebugGraph': code/client/cl_scrn.c:384:7: warning: variable 'color' set but not used [-Wunused-but-set-variable] int color; ^~~~~ CC code/client/cl_avi.c CC code/qcommon/cm_load.c CC code/qcommon/cm_patch.c CC code/qcommon/cm_polylib.c CC code/qcommon/cm_test.c CC code/qcommon/cm_trace.c code/qcommon/cm_trace.c: In function 'CM_TraceThroughSphere': code/qcommon/cm_trace.c:738:8: warning: variable 'a' set but not used [-Wunused-but-set-variable] float a, b, c, d, sqrtd; ^ code/qcommon/cm_trace.c: In function 'CM_TraceThroughVerticalCylinder': code/qcommon/cm_trace.c:826:8: warning: variable 'a' set but not used [-Wunused-but-set-variable] float a, b, c, d, sqrtd; ^ code/botlib/be_ai_move.c: In function 'BotResetLastAvoidReach': code/botlib/be_ai_move.c:3713:26: warning: array subscript 1 is above array bounds of 'int[1]' [-Warray-bounds] if (ms->avoidreachtries[i] > 0) ms->avoidreachtries[latest]--; ~~~~~~~~~~~~~~~~~~~^~~ CC code/qcommon/cmd.c code/qcommon/cmd.c: In function 'Cmd_Exec_f': code/qcommon/cmd.c:258:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ CC code/qcommon/common.c code/qcommon/common.c: In function 'Z_TagMalloc': code/qcommon/common.c:921:14: warning: variable 'allocSize' set but not used [-Wunused-but-set-variable] int extra, allocSize; ^~~~~~~~~ code/qcommon/common.c: In function 'Com_WriteConfiguration': code/qcommon/common.c:2699:10: warning: variable 'fs' set but not used [-Wunused-but-set-variable] cvar_t *fs; ^~ code/qcommon/common.c: In function 'Com_Frame': code/qcommon/common.c:2812:6: warning: variable 'key' set but not used [-Wunused-but-set-variable] int key; ^~~ CC code/qcommon/cvar.c code/qcommon/cvar.c: In function 'Cvar_Restart_f': code/qcommon/cvar.c:817:30: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] Com_Memset( var, 0, sizeof( var ) ); ^ CC code/qcommon/files.c code/qcommon/files.c: In function 'FS_ComparePaks': code/qcommon/files.c:2522:20: warning: variable 'badchecksum' set but not used [-Wunused-but-set-variable] qboolean havepak, badchecksum; ^~~~~~~~~~~ At top level: code/qcommon/files.c:178:23: warning: 'pak_checksums' defined but not used [-Wunused-const-variable=] static const unsigned pak_checksums[] = { ^~~~~~~~~~~~~ CC code/qcommon/md4.c CC code/qcommon/md5.c CC code/qcommon/msg.c code/qcommon/md5.c: In function 'MD5Final': code/qcommon/md5.c:256:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ CC code/qcommon/net_chan.c CC code/qcommon/net_ip.c code/qcommon/net_chan.c: In function 'Netchan_Process': code/qcommon/net_chan.c:306:8: warning: variable 'qport' set but not used [-Wunused-but-set-variable] int qport; ^~~~~ code/qcommon/net_ip.c: In function 'NET_OpenSocks': code/qcommon/net_ip.c:1019:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err; ^~~ CC code/qcommon/huffman.c CC code/client/snd_adpcm.c CC code/client/snd_dma.c CC code/client/snd_mem.c CC code/client/snd_mix.c CC code/client/snd_wavelet.c CC code/client/snd_main.c CC code/client/snd_codec.c code/client/snd_codec.c: In function 'S_CodecLoad': code/client/snd_codec.c:154:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(fn, filename, sizeof(fn)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/client/snd_codec.c: In function 'S_CodecOpenStream': code/client/snd_codec.c:184:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(fn, filename, sizeof(fn)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/client/snd_codec_wav.c code/client/snd_codec_wav.c: In function 'S_ReadRIFFHeader': code/client/snd_codec_wav.c:134:6: warning: variable 'wav_format' set but not used [-Wunused-but-set-variable] int wav_format; ^~~~~~~~~~ CC code/client/snd_codec_ogg.c CC code/client/snd_codec_mp3.c CC code/client/qal.c In file included from code/client/snd_codec_ogg.c:34: /usr/local/include/vorbis/vorbisfile.h:95:21: warning: 'OV_CALLBACKS_STREAMONLY_NOCLOSE' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_STREAMONLY_NOCLOSE = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/vorbis/vorbisfile.h:88:21: warning: 'OV_CALLBACKS_STREAMONLY' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_STREAMONLY = { ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/vorbis/vorbisfile.h:81:21: warning: 'OV_CALLBACKS_NOCLOSE' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_NOCLOSE = { ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/vorbis/vorbisfile.h:74:21: warning: 'OV_CALLBACKS_DEFAULT' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_DEFAULT = { ^~~~~~~~~~~~~~~~~~~~ CC code/client/snd_openal.c CC code/client/cl_curl.c CC code/server/sv_bot.c CC code/server/sv_ccmds.c code/server/sv_ccmds.c: In function 'checkMapRedirect': code/server/sv_ccmds.c:149:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ CC code/server/sv_client.c code/client/snd_wavelet.c: In function 'encodeWavelet': code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] float *a=b-1; // numerical recipies so a[1] = b[0] ^ code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/server/sv_client.c: In function 'SV_IsBanned': code/server/sv_client.c:244:13: warning: variable 'addrlen' set but not used [-Wunused-but-set-variable] int index, addrlen, curbyte, netmask, cmpmask; ^~~~~~~ CC code/server/sv_game.c code/server/sv_game.c: In function 'SV_inPVSIgnorePortals': code/server/sv_game.c:188:14: warning: variable 'area2' set but not used [-Wunused-but-set-variable] int area1, area2; ^~~~~ code/server/sv_game.c:188:7: warning: variable 'area1' set but not used [-Wunused-but-set-variable] int area1, area2; ^~~~~ CC code/server/sv_init.c CC code/server/sv_main.c code/client/snd_wavelet.c: In function 'decodeWavelet': code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] float *a=b-1; // numerical recipies so a[1] = b[0] ^ code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] CC code/server/sv_net_chan.c code/server/sv_init.c: In function 'SV_SetConfigstring': code/server/sv_init.c:107:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len, i; ^~~ code/server/sv_net_chan.c: In function 'SV_Netchan_Encode': code/server/sv_net_chan.c:37:7: warning: variable 'reliableAcknowledge' set but not used [-Wunused-but-set-variable] long reliableAcknowledge, i, index; ^~~~~~~~~~~~~~~~~~~ CC code/server/sv_snapshot.c code/server/sv_snapshot.c: In function 'SV_AddEntitiesVisibleFromPoint': code/server/sv_snapshot.c:301:7: warning: variable 'c_fullsend' set but not used [-Wunused-but-set-variable] int c_fullsend; ^~~~~~~~~~ CC code/server/sv_world.c code/server/sv_world.c: In function 'SV_AreaEntities_r': code/server/sv_world.c:385:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count; ^~~~~ code/server/sv_world.c: In function 'SV_PointContents': code/server/sv_world.c:663:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] float *angles; ^~~~~~ CC code/qcommon/q_math.c CC code/qcommon/q_shared.c CC code/qcommon/unzip.c CC code/qcommon/puff.c CC code/qcommon/vm.c CC code/qcommon/vm_interpreted.c BOT_CC code/botlib/be_aas_bspq3.c BOT_CC code/botlib/be_aas_cluster.c code/qcommon/vm.c: In function 'VM_LoadSymbols': code/qcommon/vm.c:220:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ code/qcommon/vm.c: In function 'VM_LoadQVM': code/qcommon/vm.c:363:10: warning: variable 'length' set but not used [-Wunused-but-set-variable] int length; ^~~~~~ BOT_CC code/botlib/be_aas_debug.c code/qcommon/unzip.c: In function 'unzClose': code/qcommon/unzip.c:1415:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s->pfile_in_zip_read!=NULL) ^~ code/qcommon/unzip.c:1418:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fclose(s->file); ^~~~~~ code/qcommon/unzip.c: In function 'unzLocateFile': code/qcommon/unzip.c:1740:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP) ^~ code/qcommon/unzip.c:1743:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' s=(unz_s*)file; ^ code/qcommon/unzip.c: In function 'unzlocal_CheckCurrentFileCoherencyHeader': code/qcommon/unzip.c:1815:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) && ^~ code/qcommon/unzip.c:1819:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (unzlocal_getLong(s->file,&uData) != UNZ_OK) /* date/time */ ^~ code/qcommon/unzip.c: In function 'unzOpenCurrentFile': code/qcommon/unzip.c:1879:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s->pfile_in_zip_read != NULL) ^~ code/qcommon/unzip.c:1882:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (unzlocal_CheckCurrentFileCoherencyHeader(s,&iSizeVar, ^~ code/qcommon/unzip.c: In function 'unzReadCurrentFile': code/qcommon/unzip.c:2045:16: warning: variable 'bufBefore' set but not used [-Wunused-but-set-variable] const Byte *bufBefore; ^~~~~~~~~ BOT_CC code/botlib/be_aas_entity.c BOT_CC code/botlib/be_aas_file.c BOT_CC code/botlib/be_aas_main.c BOT_CC code/botlib/be_aas_move.c BOT_CC code/botlib/be_aas_optimize.c code/botlib/be_aas_move.c: In function 'AAS_AirControl': code/botlib/be_aas_move.c:391:9: warning: variable 'dir' set but not used [-Wunused-but-set-variable] vec3_t dir; ^~~ code/botlib/be_aas_move.c: In function 'AAS_ClientMovementPrediction': code/botlib/be_aas_move.c:520:35: warning: variable 'ax' set but not used [-Wunused-but-set-variable] int n, i, j, pc, step, swimming, ax, crouch, event, jump_frame, areanum; ^~ BOT_CC code/botlib/be_aas_reach.c BOT_CC code/botlib/be_aas_route.c code/botlib/be_aas_reach.c: In function 'AAS_BestReachableFromJumpPadArea': code/botlib/be_aas_reach.c:292:6: warning: variable 'area2num' set but not used [-Wunused-but-set-variable] int area2num, ent, bot_visualizejumppads, bestareanum; ^~~~~~~~ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_Swim': code/botlib/be_aas_reach.c:840:22: warning: variable 'areasettings' set but not used [-Wunused-but-set-variable] aas_areasettings_t *areasettings; ^~~~~~~~~~~~ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_Step_Barrier_WaterJump_WalkOffLedge': code/botlib/be_aas_reach.c:1076:61: warning: variable 'water_bestface1' set but not used [-Wunused-but-set-variable] aas_face_t *groundface1, *groundface2, *ground_bestface1, *water_bestface1; ^~~~~~~~~~~~~~~ code/botlib/be_aas_reach.c:1076:42: warning: variable 'ground_bestface1' set but not used [-Wunused-but-set-variable] aas_face_t *groundface1, *groundface2, *ground_bestface1, *water_bestface1; ^~~~~~~~~~~~~~~~ code/botlib/be_aas_reach.c:1065:34: warning: variable 'invgravitydot' set but not used [-Wunused-but-set-variable] float dist, dist1, dist2, diff, invgravitydot, ortdot; ^~~~~~~~~~~~~ code/botlib/be_aas_route.c: In function 'AAS_CalculateAreaTravelTimes': code/botlib/be_aas_route.c:509:6: warning: variable 'starttime' set but not used [-Wunused-but-set-variable] int starttime; ^~~~~~~~~ code/botlib/be_aas_route.c: In function 'AAS_CreateAllRoutingCache': code/botlib/be_aas_route.c:894:12: warning: variable 't' set but not used [-Wunused-but-set-variable] int i, j, t; ^ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_JumpPad': code/botlib/be_aas_reach.c:3495:21: warning: variable 'hordist' set but not used [-Wunused-but-set-variable] float speed, zvel, hordist; ^~~~~~~ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_WeaponJump': code/botlib/be_aas_reach.c:4000:21: warning: variable 'hordist' set but not used [-Wunused-but-set-variable] float speed, zvel, hordist; ^~~~~~~ BOT_CC code/botlib/be_aas_routealt.c BOT_CC code/botlib/be_aas_sample.c BOT_CC code/botlib/be_ai_char.c BOT_CC code/botlib/be_ai_chat.c code/botlib/be_ai_chat.c: In function 'BotFreeChatState': code/botlib/be_ai_chat.c:2942:19: warning: variable 'cs' set but not used [-Wunused-but-set-variable] bot_chatstate_t *cs; ^~ BOT_CC code/botlib/be_ai_gen.c code/botlib/be_ai_gen.c: In function 'GeneticSelection': code/botlib/be_ai_gen.c:54:13: warning: variable 'select' set but not used [-Wunused-but-set-variable] float sum, select; ^~~~~~ BOT_CC code/botlib/be_ai_goal.c BOT_CC code/botlib/be_ai_move.c code/botlib/be_ai_goal.c: In function 'BotSaveGoalFuzzyLogic': code/botlib/be_ai_goal.c:279:19: warning: variable 'gs' set but not used [-Wunused-but-set-variable] bot_goalstate_t *gs; ^~ code/botlib/be_ai_goal.c: In function 'BotChooseLTGItem': code/botlib/be_ai_goal.c:1337:8: warning: variable 'fuzzweight' set but not used [-Wunused-but-set-variable] float fuzzweight; // weight without distance scaling ^~~~~~~~~~ code/botlib/be_ai_move.c: In function 'BotFinishTravel_BarrierJump': code/botlib/be_ai_move.c:1482:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist; ^~~~ code/botlib/be_ai_move.c: In function 'BotFinishTravel_WaterJump': code/botlib/be_ai_move.c:1569:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist; ^~~~ code/botlib/be_ai_move.c: In function 'BotTravel_JumpPad': code/botlib/be_ai_move.c:3001:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist, speed; ^~~~ BOT_CC code/botlib/be_ai_weap.c code/botlib/be_ai_goal.c: In function 'LoadItemConfig': code/botlib/be_ai_goal.c:322:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( path, filename, MAX_PATH ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/be_ai_goal.c:355:4: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 1023 [-Wstringop-truncation] strncpy(ii->classname, token.string, sizeof(ii->classname)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/be_ai_weap.c: In function 'LoadWeaponConfig': code/botlib/be_ai_weap.c:222:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(path, filename, MAX_PATH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/be_ai_chat.c: In function 'BotQueueConsoleMessage': code/botlib/be_ai_chat.c:345:2: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(m->message, message, MAX_MESSAGE_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/be_ai_weight.c BOT_CC code/botlib/be_ea.c BOT_CC code/botlib/be_interface.c In function 'BotGoalName.constprop', inlined from 'BotDumpAvoidGoals' at code/botlib/be_ai_goal.c:768:4: code/botlib/be_ai_goal.c:727:4: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 79 [-Wstringop-truncation] strncpy(name, itemconfig->iteminfo[li->iteminfo].name, size-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_crc.c BOT_CC code/botlib/l_libvar.c In function 'BotGoalName.constprop', inlined from 'BotDumpGoalStack' at code/botlib/be_ai_goal.c:1230:3: code/botlib/be_ai_goal.c:727:4: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 79 [-Wstringop-truncation] strncpy(name, itemconfig->iteminfo[li->iteminfo].name, size-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_log.c BOT_CC code/botlib/l_memory.c BOT_CC code/botlib/l_precomp.c code/botlib/l_precomp.c: In function 'PC_EvaluateTokens': code/botlib/l_precomp.c:1701:6: warning: variable 'lastoperatortype' set but not used [-Wunused-but-set-variable] int lastoperatortype = 0; ^~~~~~~~~~~~~~~~ code/botlib/l_log.c: In function 'Log_Open': code/botlib/l_log.c:77:2: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(logfile.filename, filename, MAX_LOGFILENAMESIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_script.c BOT_CC code/botlib/l_struct.c code/botlib/l_precomp.c: In function 'PC_Directive_include.part.3': code/botlib/l_precomp.c:1015:4: warning: 'strncat' output may be truncated copying 63 bytes from a string of length 1023 [-Wstringop-truncation] strncat(path, token.string, MAX_PATH - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/jpeg-6/jcapimin.c CC code/jpeg-6/jcapistd.c CC code/jpeg-6/jchuff.c CC code/jpeg-6/jcinit.c code/botlib/l_precomp.c: In function 'PC_StringizeTokens': code/botlib/l_precomp.c:472:3: warning: 'strncat' output may be truncated copying between 0 and 1023 bytes from a string of length 1023 [-Wstringop-truncation] strncat(token->string, t->string, MAX_TOKEN - strlen(token->string) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/jpeg-6/jccoefct.c CC code/jpeg-6/jccolor.c In function 'PC_StringizeTokens', inlined from 'PC_ExpandDefine' at code/botlib/l_precomp.c:849:11: code/botlib/l_precomp.c:472:3: warning: 'strncat' output may be truncated copying between 0 and 1023 bytes from a string of length 1023 [-Wstringop-truncation] strncat(token->string, t->string, MAX_TOKEN - strlen(token->string) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/jpeg-6/jfdctflt.c CC code/jpeg-6/jcdctmgr.c code/botlib/be_ai_chat.c: In function 'BotFindMatch': code/botlib/be_ai_chat.c:1461:2: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(match->string, str, MAX_MESSAGE_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/jpeg-6/jcphuff.c CC code/jpeg-6/jcmainct.c CC code/jpeg-6/jcmarker.c code/botlib/l_struct.c: In function 'ReadString': code/botlib/l_struct.c:224:2: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 1023 [-Wstringop-truncation] strncpy((char *) p, token.string, MAX_STRINGFIELD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'ReadString.constprop', inlined from 'ReadStructure' at code/botlib/l_struct.c:294:11: code/botlib/l_struct.c:224:2: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 1023 [-Wstringop-truncation] strncpy((char *) p, token.string, MAX_STRINGFIELD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/be_ai_chat.c: In function 'BotLoadInitialChat': code/botlib/be_ai_chat.c:2120:8: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 1023 [-Wstringop-truncation] strncpy(chattype->name, token.string, MAX_CHATTYPE_NAME); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/jpeg-6/jcmaster.c CC code/jpeg-6/jcomapi.c CC code/jpeg-6/jcparam.c CC code/jpeg-6/jcprepct.c In file included from code/jpeg-6/jcparam.c:14: In function 'add_huff_table', inlined from 'std_huff_tables' at code/jpeg-6/jcparam.c:228:3, inlined from 'jpeg_set_defaults' at code/jpeg-6/jcparam.c:273:3: code/jpeg-6/jinclude.h:93:32: warning: 'memcpy' forming offset [13, 256] is out of the bounds [0, 12] of object 'val_dc_luminance' with type 'const UINT8[12]' {aka 'const unsigned char[12]'} [-Warray-bounds] #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/jpeg-6/jcparam.c:156:3: note: in expansion of macro 'MEMCOPY' MEMCOPY((*htblptr)->huffval, val, SIZEOF((*htblptr)->huffval)); ^~~~~~~ code/jpeg-6/jcparam.c: In function 'jpeg_set_defaults': code/jpeg-6/jcparam.c:170:22: note: 'val_dc_luminance' declared here static const UINT8 val_dc_luminance[] = ^~~~~~~~~~~~~~~~ In file included from code/jpeg-6/jcparam.c:14: In function 'add_huff_table', inlined from 'std_huff_tables' at code/jpeg-6/jcparam.c:230:3, inlined from 'jpeg_set_defaults' at code/jpeg-6/jcparam.c:273:3: code/jpeg-6/jinclude.h:93:32: warning: 'memcpy' forming offset [163, 256] is out of the bounds [0, 162] of object 'val_ac_luminance' with type 'const UINT8[162]' {aka 'const unsigned char[162]'} [-Warray-bounds] #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/jpeg-6/jcparam.c:156:3: note: in expansion of macro 'MEMCOPY' MEMCOPY((*htblptr)->huffval, val, SIZEOF((*htblptr)->huffval)); ^~~~~~~ code/jpeg-6/jcparam.c: In function 'jpeg_set_defaults': code/jpeg-6/jcparam.c:180:22: note: 'val_ac_luminance' declared here static const UINT8 val_ac_luminance[] = ^~~~~~~~~~~~~~~~ In file included from code/jpeg-6/jcparam.c:14: In function 'add_huff_table', inlined from 'std_huff_tables' at code/jpeg-6/jcparam.c:232:3, inlined from 'jpeg_set_defaults' at code/jpeg-6/jcparam.c:273:3: code/jpeg-6/jinclude.h:93:32: warning: 'memcpy' forming offset [13, 256] is out of the bounds [0, 12] of object 'val_dc_chrominance' with type 'const UINT8[12]' {aka 'const unsigned char[12]'} [-Warray-bounds] #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/jpeg-6/jcparam.c:156:3: note: in expansion of macro 'MEMCOPY' MEMCOPY((*htblptr)->huffval, val, SIZEOF((*htblptr)->huffval)); ^~~~~~~ code/jpeg-6/jcparam.c: In function 'jpeg_set_defaults': code/jpeg-6/jcparam.c:175:22: note: 'val_dc_chrominance' declared here static const UINT8 val_dc_chrominance[] = ^~~~~~~~~~~~~~~~~~ In file included from code/jpeg-6/jcparam.c:14: In function 'add_huff_table', inlined from 'std_huff_tables' at code/jpeg-6/jcparam.c:234:3, inlined from 'jpeg_set_defaults' at code/jpeg-6/jcparam.c:273:3: code/jpeg-6/jinclude.h:93:32: warning: 'memcpy' forming offset [163, 256] is out of the bounds [0, 162] of object 'val_ac_chrominance' with type 'const UINT8[162]' {aka 'const unsigned char[162]'} [-Warray-bounds] #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/jpeg-6/jcparam.c:156:3: note: in expansion of macro 'MEMCOPY' MEMCOPY((*htblptr)->huffval, val, SIZEOF((*htblptr)->huffval)); ^~~~~~~ code/jpeg-6/jcparam.c: In function 'jpeg_set_defaults': code/jpeg-6/jcparam.c:205:22: note: 'val_ac_chrominance' declared here static const UINT8 val_ac_chrominance[] = ^~~~~~~~~~~~~~~~~~ CC code/jpeg-6/jcsample.c CC code/jpeg-6/jdapimin.c CC code/jpeg-6/jdapistd.c CC code/jpeg-6/jdatasrc.c CC code/jpeg-6/jdcoefct.c CC code/jpeg-6/jdcolor.c CC code/jpeg-6/jddctmgr.c CC code/jpeg-6/jdhuff.c CC code/jpeg-6/jdinput.c CC code/jpeg-6/jdmainct.c code/botlib/be_ai_move.c: In function 'BotResetLastAvoidReach': code/botlib/be_ai_move.c:3713:26: warning: array subscript 1 is above array bounds of 'int[1]' [-Warray-bounds] if (ms->avoidreachtries[i] > 0) ms->avoidreachtries[latest]--; ~~~~~~~~~~~~~~~~~~~^~~ CC code/jpeg-6/jdmarker.c CC code/jpeg-6/jdmaster.c CC code/jpeg-6/jdpostct.c CC code/jpeg-6/jdsample.c CC code/jpeg-6/jdtrans.c CC code/jpeg-6/jerror.c CC code/jpeg-6/jidctflt.c CC code/jpeg-6/jmemmgr.c CC code/jpeg-6/jmemnobs.c CC code/jpeg-6/jutils.c CC code/renderer/tr_animation.c CC code/renderer/tr_backend.c CC code/renderer/tr_bsp.c CC code/renderer/tr_cmds.c CC code/renderer/tr_curve.c CC code/renderer/tr_flares.c CC code/renderer/tr_font.c CC code/renderer/tr_image.c CC code/renderer/tr_image_png.c CC code/renderer/tr_image_jpg.c code/renderer/tr_flares.c: In function 'RB_AddFlare': code/renderer/tr_flares.c:117:17: warning: variable 'oldest' set but not used [-Wunused-but-set-variable] flare_t *f, *oldest; ^~~~~~ code/renderer/tr_image_png.c: In function 'R_LoadPNG': code/renderer/tr_image_png.c:2275:27: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] if(!ChunkHeaderLength == 2) ^~ code/renderer/tr_image_png.c:2275:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] code/renderer/tr_image_png.c:2275:8: note: add parentheses around left hand side expression to silence this warning if(!ChunkHeaderLength == 2) ^~~~~~~~~~~~~~~~~~ ( ) code/renderer/tr_image_png.c:2297:27: warning: comparison of constant '6' with boolean expression is always false [-Wbool-compare] if(!ChunkHeaderLength == 6) ^~ code/renderer/tr_image_png.c:2297:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] code/renderer/tr_image_png.c:2297:8: note: add parentheses around left hand side expression to silence this warning if(!ChunkHeaderLength == 6) ^~~~~~~~~~~~~~~~~~ ( ) code/renderer/tr_image.c: In function 'R_CreateFogImage': code/renderer/tr_image.c:1070:8: warning: variable 'g' set but not used [-Wunused-but-set-variable] float g; ^ CC code/renderer/tr_image_bmp.c CC code/renderer/tr_image_tga.c CC code/renderer/tr_image_pcx.c CC code/renderer/tr_init.c CC code/renderer/tr_light.c CC code/renderer/tr_main.c CC code/renderer/tr_marks.c CC code/renderer/tr_mesh.c CC code/renderer/tr_model.c CC code/renderer/tr_noise.c CC code/renderer/tr_scene.c CC code/renderer/tr_shade.c code/renderer/tr_shade.c: In function 'RB_StageIteratorVertexLitTexture': code/renderer/tr_shade.c:1274:13: warning: variable 'shader' set but not used [-Wunused-but-set-variable] shader_t *shader; ^~~~~~ CC code/renderer/tr_shade_calc.c CC code/renderer/tr_shader.c code/renderer/tr_shade_calc.c: In function 'RB_CalcColorFromOneMinusEntity': code/renderer/tr_shade_calc.c:623:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] int c; ^ CC code/renderer/tr_shadows.c code/renderer/tr_shader.c: In function 'ParseStage': code/renderer/tr_shader.c:1037:23: warning: comparison between 'alphaGen_t' {aka 'enum '} and 'enum ' [-Wenum-compare] if ( stage->alphaGen == CGEN_IDENTITY ) { ^~ code/renderer/tr_shader.c: In function 'CollapseMultitexture': code/renderer/tr_shader.c:1831:26: warning: comparison between 'alphaGen_t' {aka 'enum '} and 'enum ' [-Wenum-compare] if ( stages[0].alphaGen == CGEN_WAVEFORM ) ^~ CC code/renderer/tr_sky.c CC code/renderer/tr_surface.c code/renderer/tr_sky.c: In function 'R_BuildCloudData': code/renderer/tr_sky.c:608:12: warning: variable 'shader' set but not used [-Wunused-but-set-variable] shader_t *shader; ^~~~~~ CC code/renderer/tr_world.c CC code/sdl/sdl_gamma.c CC code/sdl/sdl_input.c CC code/sdl/sdl_snd.c CC code/sys/con_passive.c CC code/sys/con_log.c CC code/sys/sys_main.c CC code/sys/sys_unix.c CC code/sdl/sdl_glimp.c code/sys/sys_unix.c: In function 'Sys_ListFiles': code/sys/sys_unix.c:323:16: warning: variable 'extLen' set but not used [-Wunused-but-set-variable] int extLen; ^~~~~~ SMP_CC code/sdl/sdl_glimp.c CGAME_CC code/cgame/cg_main.c CGAME_CC code/game/bg_misc.c CGAME_CC code/game/bg_pmove.c CGAME_CC code/game/bg_slidemove.c code/game/bg_slidemove.c: In function 'PM_StepSlideMove': code/game/bg_slidemove.c:235:18: warning: variable 'down_v' set but not used [-Wunused-but-set-variable] vec3_t down_o, down_v; ^~~~~~ code/game/bg_slidemove.c:235:10: warning: variable 'down_o' set but not used [-Wunused-but-set-variable] vec3_t down_o, down_v; ^~~~~~ CGAME_CC code/game/bg_lib.c CGAME_CC code/cgame/cg_consolecmds.c CGAME_CC code/cgame/cg_draw.c CGAME_CC code/cgame/cg_drawtools.c CGAME_CC code/cgame/cg_effects.c code/cgame/cg_draw.c: In function 'CG_DrawWarmup': code/cgame/cg_draw.c:2364:8: warning: variable 'scale' set but not used [-Wunused-but-set-variable] float scale; ^~~~~ CGAME_CC code/cgame/cg_ents.c code/cgame/cg_ents.c: In function 'CG_AdjustPositionForMover': code/cgame/cg_ents.c:668:28: warning: variable 'deltaAngles' set but not used [-Wunused-but-set-variable] vec3_t oldAngles, angles, deltaAngles; ^~~~~~~~~~~ CGAME_CC code/cgame/cg_event.c CGAME_CC code/cgame/cg_info.c code/cgame/cg_event.c: In function 'CG_EntityEvent': code/cgame/cg_event.c:602:19: warning: variable 'smoke' set but not used [-Wunused-but-set-variable] localEntity_t *smoke; ^~~~~ CGAME_CC code/cgame/cg_localents.c CGAME_CC code/cgame/cg_marks.c CGAME_CC code/cgame/cg_players.c CGAME_CC code/cgame/cg_playerstate.c CGAME_CC code/cgame/cg_predict.c code/cgame/cg_playerstate.c: In function 'CG_CheckLocalSounds': code/cgame/cg_playerstate.c:298:27: warning: variable 'armor' set but not used [-Wunused-but-set-variable] int highScore, health, armor, reward; ^~~~~ code/cgame/cg_playerstate.c:298:19: warning: variable 'health' set but not used [-Wunused-but-set-variable] int highScore, health, armor, reward; ^~~~~~ code/cgame/cg_marks.c: In function 'CG_AddParticles': code/cgame/cg_marks.c:1093:9: warning: variable 'type' set but not used [-Wunused-but-set-variable] int type; ^~~~ code/cgame/cg_marks.c:1091:9: warning: variable 'color' set but not used [-Wunused-but-set-variable] int color; ^~~~~ CGAME_CC code/cgame/cg_scoreboard.c CGAME_CC code/cgame/cg_servercmds.c CGAME_CC code/cgame/cg_snapshot.c code/cgame/cg_servercmds.c:47:18: warning: 'numValidOrders' defined but not used [-Wunused-const-variable=] static const int numValidOrders = sizeof(validOrders) / sizeof(orderTask_t); ^~~~~~~~~~~~~~ CGAME_CC code/cgame/cg_view.c CGAME_CC code/cgame/cg_weapons.c SHLIB_CC code/qcommon/q_math.c code/cgame/cg_weapons.c: In function 'CG_RailTrail': code/cgame/cg_weapons.c:216:32: warning: variable 'next_move' set but not used [-Wunused-but-set-variable] vec3_t axis[36], move, move2, next_move, vec, temp; ^~~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_PlasmaTrail': code/cgame/cg_weapons.c:468:9: warning: variable 't' set but not used [-Wunused-but-set-variable] int t, startTime, step; ^ SHLIB_CC code/qcommon/q_shared.c CGAME_CC code/cgame/cg_syscalls.c GAME_CC code/game/g_main.c GAME_CC code/game/ai_chat.c GAME_CC code/game/ai_cmd.c code/game/g_main.c: In function 'G_RunFrame': code/game/g_main.c:1730:12: warning: variable 'end' set but not used [-Wunused-but-set-variable] int start, end; ^~~ code/game/g_main.c:1730:5: warning: variable 'start' set but not used [-Wunused-but-set-variable] int start, end; ^~~~~ code/game/g_main.c:1729:8: warning: variable 'msec' set but not used [-Wunused-but-set-variable] int msec; ^~~~ code/game/ai_chat.c: In function 'BotChatTime': code/game/ai_chat.c:962:6: warning: variable 'cpm' set but not used [-Wunused-but-set-variable] int cpm; ^~~ code/game/g_main.c: In function 'CalculateRanks': code/game/g_main.c:769:33: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] level.numteamVotingClients[i] = 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ code/game/g_main.c:768:2: note: within this loop for ( i = 0; i < TEAM_NUM_TEAMS; i++ ) { ^~~ GAME_CC code/game/ai_dmnet.c GAME_CC code/game/ai_dmq3.c GAME_CC code/game/ai_main.c GAME_CC code/game/ai_team.c code/game/ai_dmq3.c: In function 'BotAIBlocked': code/game/ai_dmq3.c:4431:35: warning: variable 'maxs' set but not used [-Wunused-but-set-variable] vec3_t hordir, start, end, mins, maxs, sideward, angles, up = {0, 0, 1}; ^~~~ code/game/ai_dmq3.c:4431:29: warning: variable 'mins' set but not used [-Wunused-but-set-variable] vec3_t hordir, start, end, mins, maxs, sideward, angles, up = {0, 0, 1}; ^~~~ code/game/ai_dmq3.c:4431:24: warning: variable 'end' set but not used [-Wunused-but-set-variable] vec3_t hordir, start, end, mins, maxs, sideward, angles, up = {0, 0, 1}; ^~~ GAME_CC code/game/ai_vcmd.c code/game/ai_vcmd.c: In function 'BotVoiceChatCommand': code/game/ai_vcmd.c:516:31: warning: variable 'color' set but not used [-Wunused-but-set-variable] int i, voiceOnly, clientNum, color; ^~~~~ code/game/ai_vcmd.c:516:9: warning: variable 'voiceOnly' set but not used [-Wunused-but-set-variable] int i, voiceOnly, clientNum, color; ^~~~~~~~~ GAME_CC code/game/bg_misc.c GAME_CC code/game/bg_pmove.c GAME_CC code/game/bg_slidemove.c code/game/bg_slidemove.c: In function 'PM_StepSlideMove': code/game/bg_slidemove.c:235:18: warning: variable 'down_v' set but not used [-Wunused-but-set-variable] vec3_t down_o, down_v; ^~~~~~ code/game/bg_slidemove.c:235:10: warning: variable 'down_o' set but not used [-Wunused-but-set-variable] vec3_t down_o, down_v; ^~~~~~ GAME_CC code/game/bg_lib.c GAME_CC code/game/g_active.c code/game/g_active.c: In function 'ClientEvents': code/game/g_active.c:542:9: warning: variable 'dir' set but not used [-Wunused-but-set-variable] vec3_t dir; ^~~ code/game/g_active.c: In function 'ClientEndFrame': code/game/g_active.c:1109:22: warning: variable 'pers' set but not used [-Wunused-but-set-variable] clientPersistant_t *pers; ^~~~ GAME_CC code/game/g_arenas.c GAME_CC code/game/g_bot.c code/game/g_main.c:769:29: warning: array subscript 2 is above array bounds of 'int[2]' [-Warray-bounds] level.numteamVotingClients[i] = 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ code/game/g_main.c:769:29: warning: array subscript 3 is above array bounds of 'int[2]' [-Warray-bounds] GAME_CC code/game/g_client.c GAME_CC code/game/g_cmds.c GAME_CC code/game/g_combat.c code/game/g_combat.c: In function 'LookAtKiller': code/game/g_combat.c:219:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] vec3_t angles; ^~~~~~ code/game/g_combat.c: In function 'G_Damage': code/game/g_combat.c:825:8: warning: variable 'save' set but not used [-Wunused-but-set-variable] int save; ^~~~ GAME_CC code/game/g_items.c GAME_CC code/game/g_mem.c GAME_CC code/game/g_misc.c GAME_CC code/game/g_missile.c GAME_CC code/game/g_mover.c GAME_CC code/game/g_session.c GAME_CC code/game/g_spawn.c GAME_CC code/game/g_svcmds.c GAME_CC code/game/g_target.c GAME_CC code/game/g_team.c GAME_CC code/game/g_trigger.c GAME_CC code/game/g_utils.c GAME_CC code/game/g_weapon.c code/game/g_weapon.c: In function 'ShotgunPattern': code/game/g_weapon.c:327:8: warning: variable 'oldScore' set but not used [-Wunused-but-set-variable] int oldScore; ^~~~~~~~ GAME_CC code/game/g_syscalls.c UI_CC code/q3_ui/ui_main.c UI_CC code/game/bg_misc.c UI_CC code/game/bg_lib.c UI_CC code/q3_ui/ui_addbots.c UI_CC code/q3_ui/ui_atoms.c UI_CC code/q3_ui/ui_cdkey.c UI_CC code/q3_ui/ui_cinematics.c UI_CC code/q3_ui/ui_confirm.c UI_CC code/q3_ui/ui_connect.c UI_CC code/q3_ui/ui_controls2.c UI_CC code/q3_ui/ui_credits.c UI_CC code/q3_ui/ui_demo2.c UI_CC code/q3_ui/ui_display.c code/q3_ui/ui_demo2.c: In function 'UI_DemosMenu_Key': code/q3_ui/ui_demo2.c:119:16: warning: variable 'item' set but not used [-Wunused-but-set-variable] menucommon_s *item; ^~~~ UI_CC code/q3_ui/ui_gameinfo.c UI_CC code/q3_ui/ui_ingame.c UI_CC code/q3_ui/ui_loadconfig.c UI_CC code/q3_ui/ui_menu.c UI_CC code/q3_ui/ui_mfield.c UI_CC code/q3_ui/ui_mods.c code/q3_ui/ui_mfield.c: In function 'MenuField_Draw': code/q3_ui/ui_mfield.c:337:7: warning: variable 'h' set but not used [-Wunused-but-set-variable] int h; ^ UI_CC code/q3_ui/ui_network.c UI_CC code/q3_ui/ui_options.c UI_CC code/q3_ui/ui_playermodel.c UI_CC code/q3_ui/ui_players.c UI_CC code/q3_ui/ui_playersettings.c UI_CC code/q3_ui/ui_preferences.c UI_CC code/q3_ui/ui_qmenu.c UI_CC code/q3_ui/ui_removebots.c UI_CC code/q3_ui/ui_saveconfig.c UI_CC code/q3_ui/ui_serverinfo.c UI_CC code/q3_ui/ui_servers2.c UI_CC code/q3_ui/ui_setup.c code/q3_ui/ui_servers2.c: In function 'ArenaServers_LoadFavorites': code/q3_ui/ui_servers2.c:739:9: warning: variable 'emptyinfo' set but not used [-Wunused-but-set-variable] char emptyinfo[MAX_INFO_STRING]; ^~~~~~~~~ UI_CC code/q3_ui/ui_sound.c UI_CC code/q3_ui/ui_sparena.c UI_CC code/q3_ui/ui_specifyserver.c UI_CC code/q3_ui/ui_splevel.c UI_CC code/q3_ui/ui_sppostgame.c UI_CC code/q3_ui/ui_spskill.c UI_CC code/q3_ui/ui_startserver.c UI_CC code/q3_ui/ui_team.c UI_CC code/q3_ui/ui_teamorders.c UI_CC code/q3_ui/ui_video.c UI_CC_MISSIONPACK code/ui/ui_syscalls.c LD build/release/wopded LD build/release/wop LD build/release/wop-smp LD build/release/baseq3/cgame.so LD build/release/baseq3/qagame.so LD build/release/baseq3/ui.so gmake[4]: Leaving directory '/construction/games/worldofpadman/worldofpadman-1.2.20080621' gmake[3]: Leaving directory '/construction/games/worldofpadman/worldofpadman-1.2.20080621' gmake[2]: Leaving directory '/construction/games/worldofpadman/worldofpadman-1.2.20080621' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for worldofpadman-1.2.20080621_13 ===> Generating temporary packing list /bin/cp -a /construction/games/worldofpadman/wop/* /construction/games/worldofpadman/stage/usr/local/share/worldofpadman/wop install -m 0644 /construction/games/worldofpadman/wop.png /construction/games/worldofpadman/stage/usr/local/share/pixmaps/worldofpadman.png install -s -m 555 /construction/games/worldofpadman/worldofpadman-1.2.20080621/build/release/wop /construction/games/worldofpadman/stage/usr/local/bin/worldofpadman install -s -m 555 /construction/games/worldofpadman/worldofpadman-1.2.20080621/build/release/wopded /construction/games/worldofpadman/stage/usr/local/bin/worldofpadmanded install -s -m 555 /construction/games/worldofpadman/worldofpadman-1.2.20080621/build/release/wop-smp /construction/games/worldofpadman/stage/usr/local/bin/worldofpadman-smp install -s -m 555 /construction/games/worldofpadman/worldofpadman-1.2.20080621/build/release/baseq3/*.so /construction/games/worldofpadman/stage/usr/local/share/worldofpadman/wop /bin/cp -a /construction/games/worldofpadman/readme/* /construction/games/worldofpadman/stage/usr/local/share/doc/worldofpadman ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Error: /usr/local/bin/worldofpadman is linked to /usr/local/lib/libGL.so.1 from graphics/mesa-libs but it is not declared as a dependency Warning: you need USE_GL+=gl Error: /usr/local/bin/worldofpadman is linked to /usr/local/lib/libogg.so.0 from audio/libogg but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libogg.so:audio/libogg Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for worldofpadman-1.2.20080621_13 file sizes/checksums [92]: . done packing files [92]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 15 FEB 2020 at 21:09:31 UTC Duration: 00:48:56