------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for worldofpadman-1.2.20080621_15: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/worldofpadman XDG_CONFIG_HOME=/construction/games/worldofpadman XDG_CACHE_HOME=/construction/games/worldofpadman/.cache HOME=/construction/games/worldofpadman TMPDIR="/tmp" PATH=/construction/games/worldofpadman/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/worldofpadman/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 XDG_CACHE_HOME=/construction/games/worldofpadman/.cache HOME=/construction/games/worldofpadman TMPDIR="/tmp" PATH=/construction/games/worldofpadman/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/worldofpadman/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/games/worldofpadman/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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=6.5 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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/expat-2.5.0.pkg Installing /packages/All/liblz4-1.9.4,1.pkg Installing /packages/All/zstd-1.5.5.pkg Installing /packages/All/openssl-1.1.1u,1.pkg Installing /packages/All/libarchive-3.6.2,1.pkg Installing /packages/All/unmakeself-1.1_1.pkg Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/gmake-4.3_2.pkg Installing /packages/All/ncurses-6.4.pkg ===== Message from ncurses-6.4: -- To get the terminfo database please install the terminfo-db package: pkg install terminfo-db Installing /packages/All/aalib-1.4.r5_13.pkg ===== 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://docs.freebsd.org/en/articles/contributing/#ports-contributing Installing /packages/All/libXau-1.0.9.pkg Installing /packages/All/xorgproto-2022.1_1.pkg Installing /packages/All/libXdmcp-1.1.3.pkg Installing /packages/All/libxcb-1.15_1.pkg Installing /packages/All/libX11-1.8.6,1.pkg Installing /packages/All/libXext-1.3.4,1.pkg Installing /packages/All/libglvnd-1.6.0.pkg Installing /packages/All/libGLU-9.0.2_2.pkg Installing /packages/All/libXrender-0.9.10_2.pkg Installing /packages/All/libXrandr-1.5.2.pkg Installing /packages/All/sdl-1.2.15_15,2.pkg ===== Message from sdl-1.2.15_15,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/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. Installing /packages/All/libnghttp2-1.53.0.pkg Installing /packages/All/libssh2-1.11.0,3.pkg Installing /packages/All/libunistring-1.1.pkg Installing /packages/All/libidn2-2.3.4.pkg Installing /packages/All/libpsl-0.21.2_3.pkg Installing /packages/All/ca_root_nss-3.89.1.pkg ===== Message from ca_root_nss-3.89.1: -- 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 Installing /packages/All/curl-8.1.2.pkg Installing /packages/All/libogg-1.3.5,4.pkg Installing /packages/All/libvorbis-1.3.7_2,3.pkg SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- 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://docs.freebsd.org/en/articles/contributing/#ports-contributing SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_15 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> worldofpadman-1.2.20080621_15 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by worldofpadman-1.2.20080621_15 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> worldofpadman-1.2.20080621_15 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by worldofpadman-1.2.20080621_15 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. SUCCEEDED 00:00:20 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_15 depends on file: /usr/local/bin/unmakeself - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> worldofpadman-1.2.20080621_15 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by worldofpadman-1.2.20080621_15 for building ===> Extracting for worldofpadman-1.2.20080621_15 ===> 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> worldofpadman-1.2.20080621_15 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by worldofpadman-1.2.20080621_15 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. ===> worldofpadman-1.2.20080621_15 depends on file: /usr/local/bin/unmakeself - found Extracted Memory Use: 1220.84M SUCCEEDED 00:00:26 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for worldofpadman-1.2.20080621_15 ===> Applying ports patches for worldofpadman-1.2.20080621_15 from /xports/games/worldofpadman/files ===> Applying dragonfly patches for worldofpadman-1.2.20080621_15 from /xports/games/worldofpadman/dragonfly /usr/bin/env WRKSRC=/construction/games/worldofpadman/worldofpadman-1.2.20080621 REWARNFILE=/construction/games/worldofpadman/reinplace_warnings.txt /bin/sh /xports/Mk/Scripts/sed_checked.sh -e 's@freebsd@dragonfly@gi' /construction/games/worldofpadman/worldofpadman-1.2.20080621/Makefile SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_15 depends on package: gmake>=4.3 - found ===> worldofpadman-1.2.20080621_15 depends on file: /usr/local/bin/sdl-config - found ===> worldofpadman-1.2.20080621_15 depends on package: xorgproto>=0 - found ===> worldofpadman-1.2.20080621_15 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_15 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> worldofpadman-1.2.20080621_15 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) ===> worldofpadman-1.2.20080621_15 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> worldofpadman-1.2.20080621_15 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_15 depends on package: gmake>=4.3 - found ===> worldofpadman-1.2.20080621_15 depends on file: /usr/local/bin/sdl-config - found ===> worldofpadman-1.2.20080621_15 depends on package: xorgproto>=0 - found ===> worldofpadman-1.2.20080621_15 depends on file: /usr/local/bin/ccache - found ===> worldofpadman-1.2.20080621_15 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> worldofpadman-1.2.20080621_15 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) ===> worldofpadman-1.2.20080621_15 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> worldofpadman-1.2.20080621_15 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> Configuring for worldofpadman-1.2.20080621_15 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for worldofpadman-1.2.20080621_15 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_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_client.c DED_CC code/server/sv_world.c DED_CC code/qcommon/cm_load.c DED_CC code/qcommon/cm_patch.c DED_CC code/server/sv_ccmds.c DED_CC code/server/sv_init.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; ^~~~~ 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; ^~~~~~~~~~ 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 DED_CC code/qcommon/common.c DED_CC code/qcommon/cvar.c DED_CC code/qcommon/files.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; ^~~ 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/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; ^~~ DED_CC code/qcommon/md4.c DED_CC code/qcommon/msg.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; ^ DED_CC code/qcommon/huffman.c DED_CC code/qcommon/net_ip.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; ^~~ 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/net_chan.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; ^~~~~~ 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/q_shared.c DED_CC code/qcommon/unzip.c DED_CC code/qcommon/q_math.c DED_CC code/qcommon/vm.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 ) ); ^ 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 DED_CC code/qcommon/vm_interpreted.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 BOT_CC code/botlib/be_aas_reach.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_route.c BOT_CC code/botlib/be_aas_sample.c BOT_CC code/botlib/be_aas_routealt.c 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_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_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_ai_char.c BOT_CC code/botlib/be_ai_chat.c BOT_CC code/botlib/be_ai_weap.c BOT_CC code/botlib/be_ai_weight.c BOT_CC code/botlib/be_ea.c BOT_CC code/botlib/be_ai_move.c BOT_CC code/botlib/be_interface.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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; ^~ 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_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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_crc.c BOT_CC code/botlib/l_libvar.c BOT_CC code/botlib/l_log.c BOT_CC code/botlib/l_memory.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; ^~~~~ BOT_CC code/botlib/be_ai_goal.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_precomp.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_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]--; ~~~~~~~~~~~~~~~~~~~^~~ BOT_CC code/botlib/l_struct.c BOT_CC code/botlib/l_script.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, crDED_CC code/null/null_client.c ouch, event, jump_frame, areanum; ^~ DED_CC code/null/null_input.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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DED_CC code/null/null_snddma.c BOT_CC code/botlib/be_ai_gen.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; ^~~~~~~~~ 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_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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; ^~~~~~ DED_CC code/sys/con_log.c DED_CC code/sys/sys_main.c 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 CC code/client/cl_keys.c CC code/client/cl_main.c CC code/client/cl_input.c CC code/client/cl_net_chan.c CC code/client/cl_parse.c CC code/client/cl_scrn.c CC code/client/cl_ui.c 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/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_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 CC code/qcommon/cmd.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/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/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; ^~~~~~~~~ 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 CC code/qcommon/md4.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; ^~~~~ 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/md5.c CC code/qcommon/msg.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_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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/qcommon/net_ip.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/huffman.c CC code/qcommon/net_chan.c 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/client/snd_adpcm.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; ^~~~~ CC code/client/snd_dma.c CC code/client/snd_mem.c CC code/client/snd_mix.c CC code/client/snd_wavelet.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/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/client/snd_main.c CC code/client/snd_codec_wav.c CC code/client/snd_codec.c CC code/client/snd_codec_ogg.c CC code/client/snd_codec_mp3.c CC code/client/qal.c 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; ^~~ 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/server/sv_client.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; ^~~~~~~ CC code/server/sv_game.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 [-Wstricode/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; ^~~~~ ngop-truncation] strncpy(fn, filename, sizeof(fn)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/server/sv_init.c CC code/server/sv_main.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; ^~~ CC code/server/sv_net_chan.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; ^~~~~~~~~~~~~~~~~~~ CC code/server/sv_snapshot.c CC code/server/sv_world.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; ^~~~~~~~~~ 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 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_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; ^~~~~~~~~ CC code/qcommon/vm.c CC code/qcommon/vm_interpreted.c BOT_CC code/botlib/be_aas_bspq3.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_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 BOT_CC code/botlib/be_aas_reach.c BOT_CC code/botlib/be_aas_route.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_sample.c BOT_CC code/botlib/be_aas_routealt.c BOT_CC code/botlib/be_ai_chat.c 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_ai_gen.c BOT_CC code/botlib/be_ai_goal.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; ^~ 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_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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/be_ai_char.c BOT_CC code/botlib/be_ai_move.c BOT_CC code/botlib/be_ai_weap.c BOT_CC code/botlib/be_ai_weight.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_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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; ^~~~~~ 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_ea.c BOT_CC code/botlib/be_interface.c BOT_CC code/botlib/l_crc.c BOT_CC code/botlib/l_libvar.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_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_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_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]--; ~~~~~~~~~~~~~~~~~~~^~~ BOT_CC code/botlib/l_memory.c BOT_CC code/botlib/l_precomp.c BOT_CC code/botlib/l_script.c BOT_CC code/botlib/l_log.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 = { ^~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_struct.c CC code/jpeg-6/jcapimin.c CC code/jpeg-6/jcapistd.c CC code/jpeg-6/jchuff.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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; ^~~~~~~~~ CC code/jpeg-6/jcinit.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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/jpeg-6/jccoefct.c CC code/jpeg-6/jfdctflt.c CC code/jpeg-6/jcdctmgr.c CC code/jpeg-6/jcmainct.c CC code/jpeg-6/jcphuff.c CC code/jpeg-6/jccolor.c CC code/jpeg-6/jcmarker.c CC code/jpeg-6/jcomapi.c CC code/jpeg-6/jcmaster.c CC code/jpeg-6/jcprepct.c CC code/jpeg-6/jcparam.c CC code/jpeg-6/jcsample.c CC code/jpeg-6/jdapimin.c CC code/jpeg-6/jdapistd.c CC code/jpeg-6/jdatasrc.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 fCC code/jpeg-6/jdcoefct.c unction '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/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 CC code/jpeg-6/jdmarker.c CC code/jpeg-6/jdmaster.c CC code/jpeg-6/jdsample.c CC code/jpeg-6/jdpostct.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_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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/jerror.c CC code/jpeg-6/jmemmgr.c CC code/jpeg-6/jmemnobs.c CC code/jpeg-6/jdtrans.c CC code/jpeg-6/jidctflt.c CC code/jpeg-6/jutils.c CC code/renderer/tr_animation.c In file included from code/jpeg-6/../renderer/qgl.h:32, from code/jpeg-6/../renderer/tr_local.h:31, from code/jpeg-6/jerror.c:16: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/jpeg-6/../renderer/qgl.h:32, from code/jpeg-6/../renderer/tr_local.h:31, from code/jpeg-6/jerror.c:16: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from code/jpeg-6/../renderer/qgl.h:32, from code/jpeg-6/../renderer/tr_local.h:31, from code/jpeg-6/jmemnobs.c:18: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/jpeg-6/../renderer/qgl.h:32, from code/jpeg-6/../renderer/tr_local.h:31, from code/jpeg-6/jmemnobs.c:18: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/renderer/tr_backend.c CC code/renderer/tr_curve.c CC code/renderer/tr_bsp.c CC code/renderer/tr_cmds.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_animation.c:23: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_animation.c:23: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/renderer/tr_font.c CC code/renderer/tr_image.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_backend.c:22: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_backend.c:22: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_font.c:73: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_font.c:73: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/renderer/tr_flares.c CC code/renderer/tr_image_png.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_image.c:23: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_image.c:23: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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_jpg.c CC code/renderer/tr_image_bmp.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_curve.c:23: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_curve.c:23: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_bsp.c:24: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_bsp.c:24: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_cmds.c:22: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_cmds.c:22: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_flares.c:24: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_flares.c:24: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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; ^~~~~~ CC code/renderer/tr_init.c CC code/renderer/tr_main.c CC code/renderer/tr_image_pcx.c CC code/renderer/tr_light.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_image_bmp.c:23: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_image_bmp.c:23: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/renderer/tr_marks.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_image_jpg.c:23: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_image_jpg.c:23: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_init.c:24: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_init.c:24: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/renderer/tr_model.c CC code/renderer/tr_noise.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_main.c:24: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_main.c:24: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/renderer/tr_scene.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_image_pcx.c:24: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_image_pcx.c:24: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/renderer/tr_mesh.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_light.c:24: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_light.c:24: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/renderer/tr_image_tga.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_model.c:24: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_model.c:24: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_noise.c:23: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_noise.c:23: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_marks.c:24: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_marks.c:24: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_scene.c:23: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_scene.c:23: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/renderer/tr_shade_calc.c CC code/renderer/tr_shader.c CC code/renderer/tr_shadows.c CC code/renderer/tr_shade.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_shader.c:22: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_shader.c:22: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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 In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_shadows.c:22: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_shadows.c:22: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/renderer/tr_surface.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_shade_calc.c:24: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_shade_calc.c:24: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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; ^ In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_sky.c:23: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_sky.c:23: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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 In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_surface.c:23: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_surface.c:23: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/sdl/sdl_input.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_world.c:22: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_world.c:22: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/sdl/sdl_snd.c In file included from code/sdl/../renderer/qgl.h:32, from code/sdl/../renderer/tr_local.h:31, from code/sdl/sdl_gamma.c:29: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/sdl/../renderer/qgl.h:32, from code/sdl/../renderer/tr_local.h:31, from code/sdl/sdl_gamma.c:29: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/sys/con_passive.c CC code/sys/con_log.c CC code/sys/sys_main.c 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; ^~~~~~ CC code/sdl/sdl_glimp.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_mesh.c:24: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_mesh.c:24: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CGAME_CC code/cgame/cg_main.c CGAME_CC code/game/bg_misc.c CGAME_CC code/game/bg_pmove.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_image_tga.c:23: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_image_tga.c:23: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_shade.c:24: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_shade.c:24: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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; ^~~~~~ CGAME_CC code/game/bg_slidemove.c CGAME_CC code/game/bg_lib.c CGAME_CC code/cgame/cg_consolecmds.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/cgame/cg_draw.c CGAME_CC code/cgame/cg_drawtools.c SMP_CC code/sdl/sdl_glimp.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_effects.c 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 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_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; ^~~~~~ CGAME_CC code/cgame/cg_scoreboard.c CGAME_CC code/cgame/cg_servercmds.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_snapshot.c CGAME_CC code/cgame/cg_view.c CGAME_CC code/cgame/cg_weapons.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_math.c In file included from code/sdl/../renderer/qgl.h:32, from code/sdl/../renderer/tr_local.h:31, from code/sdl/sdl_input.c:33: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/sdl/../renderer/qgl.h:32, from code/sdl/../renderer/tr_local.h:31, from code/sdl/sdl_input.c:33: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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/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; ^~~ GAME_CC code/game/ai_dmnet.c GAME_CC code/game/ai_dmq3.c GAME_CC code/game/ai_main.c In file included from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_image_png.c:22: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/renderer/qgl.h:32, from code/renderer/tr_local.h:31, from code/renderer/tr_image_png.c:22: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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_team.c GAME_CC code/game/ai_vcmd.c GAME_CC code/game/bg_misc.c GAME_CC code/game/bg_pmove.c GAME_CC code/game/bg_slidemove.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; ^~~~~~~~~ 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) ^~~~~~~~~~~~~~~~~~ ( ) In file included from code/sdl/../renderer/qgl.h:32, from code/sdl/../renderer/tr_local.h:31, from code/sdl/sdl_glimp.c:49: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/sdl/../renderer/qgl.h:32, from code/sdl/../renderer/tr_local.h:31, from code/sdl/sdl_glimp.c:49: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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) ^~~~~~~~~~~~~~~~~~ ( ) GAME_CC code/game/bg_lib.c GAME_CC code/game/g_arenas.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/g_bot.c GAME_CC code/game/g_client.c GAME_CC code/game/g_cmds.c In file included from code/sdl/../renderer/qgl.h:32, from code/sdl/../renderer/tr_local.h:31, from code/sdl/sdl_glimp.c:49: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from code/sdl/../renderer/qgl.h:32, from code/sdl/../renderer/tr_local.h:31, from code/sdl/sdl_glimp.c:49: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 GAME_CC code/game/g_combat.c GAME_CC code/game/g_active.c GAME_CC code/game/g_items.c GAME_CC code/game/g_misc.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_mem.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_missile.c GAME_CC code/game/g_mover.c GAME_CC code/game/g_session.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_spawn.c GAME_CC code/game/g_trigger.c GAME_CC code/game/g_utils.c GAME_CC code/game/g_weapon.c GAME_CC code/game/g_syscalls.c UI_CC code/q3_ui/ui_main.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; ^~~~~~~~ UI_CC code/game/bg_misc.c UI_CC code/q3_ui/ui_addbots.c UI_CC code/game/bg_lib.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_Frame': code/qcommon/common.c:2812:6: warning: variable 'key' set but not used [-Wunused-but-set-variable] int key; ^~~ 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_gameinfo.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_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 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_display.c UI_CC code/q3_ui/ui_mods.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/baseq3/cgame.so UI_CC code/q3_ui/ui_network.c LD build/release/baseq3/ui.so 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/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++ ) { ^~~ 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] LD build/release/baseq3/qagame.so 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; ^~~ LD build/release/wop-smp LD build/release/wop 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' SUCCEEDED 00:00:11 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for worldofpadman-1.2.20080621_15 ===> 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/libglvnd 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 Warning: Possible REINPLACE_CMD issues: - - REINPLACE_CMD ran, but did not modify file contents: Makefile SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for worldofpadman-1.2.20080621_15 file sizes/checksums [92]: 0% file sizes/checksums [92]: 100% Service unavailablepacking files [92]: 0% packing files [92]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:02:04 TOTAL TIME 00:03:18