------------------------------------------------------------------------------- -- 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 ioquake3-1.36_17: CURL=on: Data transfer support via cURL DEBUG=off: Build with debugging support DOCS=on: Build and/or install documentation GAMELIBS=on: Build game libraries MUMBLE=on: Enable Mumble support (no dependencies) OPENAL=on: Audio support via OpenAL SERVER=on: Install dedicated server TOOLS=on: Enable modding tools VORBIS=on: Ogg Vorbis audio codec support ===> Use 'make config' to modify these settings SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- PKG_CONFIG=pkgconf MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/ioquake3 XDG_CONFIG_HOME=/construction/games/ioquake3 XDG_CACHE_HOME=/construction/games/ioquake3/.cache HOME=/construction/games/ioquake3 TMPDIR="/tmp" PATH=/construction/games/ioquake3/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/ioquake3/.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 ------------------------------------------------------------------------------- Q3DIR="/usr/local/share/quake3" SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/ioquake3 XDG_CONFIG_HOME=/construction/games/ioquake3 XDG_CACHE_HOME=/construction/games/ioquake3/.cache HOME=/construction/games/ioquake3 TMPDIR="/tmp" PATH=/construction/games/ioquake3/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/ioquake3/.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 ------------------------------------------------------------------------------- DEFAULT_BASEDIR="/usr/local/share/quake3" DEFAULT_LIBDIR="/usr/local/lib/ioquake3" HOMEPATH="/.ioquake3" VERSION="1.36" ARCH="x86_64" TOOLS_CC="cc" USE_LOCAL_HEADERS=0 COMPILE_PLATFORM=freebsd USE_CURL=1 USE_CURL_DLOPEN=0 BUILD_GAME_SO=1 USE_MUMBLE=1 USE_OPENAL=1 USE_OPENAL_DLOPEN=0 USE_CODEC_VORBIS=1 BUILD_CLIENT=1 BUILD_SERVER=0 USE_INTERNAL_OGG=0 DESTDIR=/construction/games/ioquake3/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- Q3DIR="share/quake3" PORTDOCS="" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/ioquake3" EXAMPLESDIR="share/examples/ioquake3" DATADIR="share/ioquake3" WWWDIR="www/ioquake3" ETCDIR="etc/ioquake3" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- Q3DIR="/usr/local/share/quake3" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ioquake3 DOCSDIR=share/doc/ioquake3 EXAMPLESDIR=/usr/local/share/examples/ioquake3 WWWDIR=/usr/local/www/ioquake3 ETCDIR=/usr/local/etc/ioquake3 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/pkgconf-1.8.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/openssl-1.1.1u,1.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 Installing /packages/All/libmysofa-1.3.1.pkg Installing /packages/All/openal-soft-1.21.1_3.pkg Installing /packages/All/quake3-data-1.32.b.3_2.pkg ===== Message from quake3-data-1.32.b.3_2: -- To complete the installation of this port you need to copy the file "baseq3/pak0.pk3" from the original Quake III Arena distribution to /usr/local/share/quake3/baseq3. If you have the expansion pack then you have to copy the file "missionpack/pak0.pk3" from the original Quake III Team Arena distribution to /usr/local/share/quake3/missionpack. -- ===> NOTICE: The quake3-data 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/ioquake3-server-1.36_17.pkg ===== Message from ioquake3-server-1.36_17: -- Should the game freeze when entering a match, try to change the value of com_zoneMegs (e.g. to 48). The configuration files are saved to ~/.ioquake3 instead of ~/.q3a because they have additional variables which would be removed if other engines overwrite them. But you can safely copy the original directory to the new one for the first time. -- ===> NOTICE: The ioquake3-server 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:09 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: The ioquake3 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 ------------------------------------------------------------------------------- ===> ioquake3-1.36_17 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: The ioquake3 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 ===> ioquake3-1.36_17 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ioquake3-1.36_17 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: The ioquake3 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 ===> ioquake3-1.36_17 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ioquake3-1.36_17 for building => SHA256 Checksum OK for ioquake3-1.36.zip. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: The ioquake3 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 ===> ioquake3-1.36_17 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ioquake3-1.36_17 for building ===> Extracting for ioquake3-1.36_17 ===> NOTICE: The ioquake3 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 ===> ioquake3-1.36_17 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ioquake3-1.36_17 for building => SHA256 Checksum OK for ioquake3-1.36.zip. Extracted Memory Use: 17.20M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for ioquake3-1.36_17 ===> Applying ports patches for ioquake3-1.36_17 from /xports/games/ioquake3/files ===> Applying dragonfly patches for ioquake3-1.36_17 from /xports/games/ioquake3/dragonfly /usr/bin/env WRKSRC=/construction/games/ioquake3/ioquake3-1.36 REWARNFILE=/construction/games/ioquake3/reinplace_warnings.txt /bin/sh /xports/Mk/Scripts/sed_checked.sh -e 's@#ifndef MACOS_X@#if \!defined(MACOS_X) || \!defined(__DragonFly__)@g' /construction/games/ioquake3/ioquake3-1.36/code/tools/lcc/cpp/unix.c /usr/bin/env WRKSRC=/construction/games/ioquake3/ioquake3-1.36 REWARNFILE=/construction/games/ioquake3/reinplace_warnings.txt /bin/sh /xports/Mk/Scripts/sed_checked.sh -e 's/-DMAP_ANONYMOUS=MAP_ANON//g' -e 's/-O2/-O1/g' /construction/games/ioquake3/ioquake3-1.36/Makefile SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> ioquake3-1.36_17 depends on package: pkgconf>=1.3.0_1 - found ===> ioquake3-1.36_17 depends on package: gmake>=4.3 - found ===> ioquake3-1.36_17 depends on file: /usr/local/bin/sdl-config - found ===> ioquake3-1.36_17 depends on package: xorgproto>=0 - found ===> ioquake3-1.36_17 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> ioquake3-1.36_17 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> ioquake3-1.36_17 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) ===> ioquake3-1.36_17 depends on shared library: libogg.so - found (/usr/local/lib/libogg.so) ===> ioquake3-1.36_17 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> ioquake3-1.36_17 depends on shared library: libopenal.so.1 - found (/usr/local/lib/libopenal.so.1) ===> ioquake3-1.36_17 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> ioquake3-1.36_17 depends on package: pkgconf>=1.3.0_1 - found ===> ioquake3-1.36_17 depends on package: gmake>=4.3 - found ===> ioquake3-1.36_17 depends on file: /usr/local/bin/sdl-config - found ===> ioquake3-1.36_17 depends on package: xorgproto>=0 - found ===> ioquake3-1.36_17 depends on file: /usr/local/bin/ccache - found ===> ioquake3-1.36_17 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> ioquake3-1.36_17 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) ===> ioquake3-1.36_17 depends on shared library: libogg.so - found (/usr/local/lib/libogg.so) ===> ioquake3-1.36_17 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> ioquake3-1.36_17 depends on shared library: libopenal.so.1 - found (/usr/local/lib/libopenal.so.1) ===> ioquake3-1.36_17 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> Configuring for ioquake3-1.36_17 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for ioquake3-1.36_17 gmake[2]: Entering directory '/construction/games/ioquake3/ioquake3-1.36' gmake[3]: Entering directory '/construction/games/ioquake3/ioquake3-1.36' make[3]: illegal argument to -j -- must be positive integer! Building ioquake3 in build/release-freebsd-x86_64: PLATFORM: freebsd ARCH: x86_64 VERSION: 1.36 COMPILE_PLATFORM: freebsd COMPILE_ARCH: x86_64 CC: cc CFLAGS: -pipe -O2 -fno-strict-aliasing -MMD -Icode/libspeex/include -DFLOATING_POINT -DUSE_ALLOCA -pipe -O2 -fno-strict-aliasing -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -DHOMEPATH="/.ioquake3" -DDEFAULT_LIBDIR="/usr/local/lib/ioquake3" -DUSE_ICON -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_OPENAL -I/usr/local/include -I/usr/local/include/AL -DUSE_CURL -I/usr/local/include -DUSE_CODEC_VORBIS -I/usr/local/include -DUSE_MUMBLE -DUSE_VOIP -DDEFAULT_BASEDIR="/usr/local/share/quake3" -DPRODUCT_VERSION="1.36" LDFLAGS: LIBS: -lm Output: build/release-freebsd-x86_64/ioquake3.x86_64 build/release-freebsd-x86_64/baseq3/cgamex86_64.so build/release-freebsd-x86_64/baseq3/qagamex86_64.so build/release-freebsd-x86_64/baseq3/uix86_64.so build/release-freebsd-x86_64/missionpack/cgamex86_64.so build/release-freebsd-x86_64/missionpack/qagamex86_64.so build/release-freebsd-x86_64/missionpack/uix86_64.so build/release-freebsd-x86_64/baseq3/vm/cgame.qvm build/release-freebsd-x86_64/baseq3/vm/qagame.qvm build/release-freebsd-x86_64/baseq3/vm/ui.qvm build/release-freebsd-x86_64/missionpack/vm/qagame.qvm build/release-freebsd-x86_64/missionpack/vm/cgame.qvm build/release-freebsd-x86_64/missionpack/vm/ui.qvm gmake[4]: Entering directory '/construction/games/ioquake3/ioquake3-1.36' make[4]: illegal argument to -j -- must be positive integer! CC code/client/cl_cgame.c CC code/client/cl_cin.c CC code/client/cl_console.c CC code/client/cl_input.c CC code/client/cl_keys.c CC code/client/cl_main.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 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:735: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:823:8: warning: variable 'a' set but not used [-Wunused-but-set-variable] float a, b, c, d, sqrtd; ^ CC code/qcommon/common.c code/client/cl_input.c: In function 'CL_JoystickMove': code/client/cl_input.c:402: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:599: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:463: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:3428:18: warning: variable 'serverStatus' set but not used [-Wunused-but-set-variable] serverStatus_t *serverStatus; ^~~~~~~~~~~~ CC code/qcommon/cvar.c code/qcommon/cvar.c: In function 'Cvar_Restart_f': code/qcommon/cvar.c:925:30: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] Com_Memset( var, 0, sizeof( var ) ); ^ CC code/qcommon/files.c code/client/cl_cin.c: In function 'yuv_to_rgb': code/client/cl_cin.c:582: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:582: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:583: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:583: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:603: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:603: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:604: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:604: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:1595:11: warning: variable 'holdatend' set but not used [-Wunused-but-set-variable] qboolean holdatend; ^~~~~~~~~ code/client/cl_scrn.c: In function 'SCR_DrawDebugGraph': code/client/cl_scrn.c:428:7: warning: variable 'color' set but not used [-Wunused-but-set-variable] int color; ^~~~~ 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/md4.c CC code/qcommon/md5.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/msg.c CC code/qcommon/net_chan.c CC code/qcommon/net_ip.c CC code/client/snd_dma.c CC code/client/snd_mem.c CC code/qcommon/huffman.c CC code/client/snd_mix.c CC code/client/snd_adpcm.c code/qcommon/net_ip.c: In function 'NET_OpenSocks': code/qcommon/net_ip.c:1045:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err; ^~~ CC code/client/snd_main.c CC code/client/snd_codec.c CC code/client/snd_wavelet.c CC code/client/snd_codec_wav.c code/client/snd_codec_wav.c: In function 'S_ReadRIFFHeader': code/client/snd_codec_wav.c:134:6: warning: variable 'wav_format' set but not used [-Wunused-but-set-variable] int wav_format; ^~~~~~~~~~ CC code/client/snd_codec_ogg.c CC code/client/qal.c CC code/client/snd_openal.c code/client/snd_openal.c: In function 'S_AL_ScaleGain': code/client/snd_openal.c:549:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(chksrc->scaleGain != scaleFactor); ^~ code/client/snd_openal.c:550:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' { ^ In function 'S_AL_StartBackgroundTrack.part.14', inlined from 'S_AL_StartBackgroundTrack' at code/client/snd_openal.c:1599:6: code/client/snd_openal.c:1626:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( s_backgroundLoop, loop, sizeof( s_backgroundLoop ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/client/snd_openal.c:1626:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] code/client/snd_openal.c:1626:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] In file included from code/client/snd_codec_ogg.c:34: /usr/local/include/vorbis/vorbisfile.h:95:21: warning: 'OV_CALLBACKS_STREAMONLY_NOCLOSE' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_STREAMONLY_NOCLOSE = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/vorbis/vorbisfile.h:88:21: warning: 'OV_CALLBACKS_STREAMONLY' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_STREAMONLY = { ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/vorbis/vorbisfile.h:81:21: warning: 'OV_CALLBACKS_NOCLOSE' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_NOCLOSE = { ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/vorbis/vorbisfile.h:74:21: warning: 'OV_CALLBACKS_DEFAULT' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_DEFAULT = { ^~~~~~~~~~~~~~~~~~~~ CC code/client/cl_curl.c CC code/server/sv_bot.c CC code/server/sv_ccmds.c code/qcommon/cmd.c: In function 'Cmd_Exec_f': code/qcommon/cmd.c:246:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ CC code/server/sv_client.c CC code/server/sv_game.c 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; ^~~~~ 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 code/server/sv_snapshot.c: In function 'SV_AddEntitiesVisibleFromPoint': code/server/sv_snapshot.c:301:7: warning: variable 'c_fullsend' set but not used [-Wunused-but-set-variable] int c_fullsend; ^~~~~~~~~~ CC code/server/sv_world.c code/server/sv_world.c: In function 'SV_AreaEntities_r': code/server/sv_world.c:385:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count; ^~~~~ code/server/sv_world.c: In function 'SV_PointContents': code/server/sv_world.c:663:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] float *angles; ^~~~~~ CC code/qcommon/q_math.c CC code/qcommon/q_shared.c code/qcommon/q_shared.c: In function 'Q_isanumber': code/qcommon/q_shared.c:713:9: warning: variable 'd' set but not used [-Wunused-but-set-variable] double d; ^ CC code/qcommon/unzip.c code/qcommon/unzip.c: In function 'unzlocal_getShort': code/qcommon/unzip.c:1112:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] size_t size; ^~~~ code/qcommon/unzip.c: In function 'unzlocal_getLong': code/qcommon/unzip.c:1142:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] size_t size; ^~~~ code/qcommon/unzip.c: In function 'unzClose': code/qcommon/unzip.c:1418:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s->pfile_in_zip_read!=NULL) ^~ code/qcommon/unzip.c:1421: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:1743:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP) ^~ code/qcommon/unzip.c:1746: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:1818: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:1822: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:1882:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s->pfile_in_zip_read != NULL) ^~ code/qcommon/unzip.c:1885: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:2048:16: warning: variable 'bufBefore' set but not used [-Wunused-but-set-variable] const Byte *bufBefore; ^~~~~~~~~ CC code/qcommon/puff.c In file included from code/client/cl_curl.h:44, from code/client/client.h:34, from code/client/cl_curl.c:24: code/client/cl_curl.c: In function 'CL_cURL_BeginDownload': /usr/local/include/curl/typecheck-gcc.h:92:15: warning: call to '_curl_easy_setopt_err_cb_data' declared with attribute warning: curl_easy_setopt expects a private data pointer as argument for this option _curl_easy_setopt_err_cb_data(); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/curl/curl.h:50:49: note: in definition of macro 'CURL_IGNORE_DEPRECATION' #define CURL_IGNORE_DEPRECATION(statements) statements ^~~~~~~~~~ code/client/cl_curl.h:79:27: note: in expansion of macro 'curl_easy_setopt' #define qcurl_easy_setopt curl_easy_setopt ^~~~~~~~~~~~~~~~ code/client/cl_curl.c:263:2: note: in expansion of macro 'qcurl_easy_setopt' qcurl_easy_setopt(clc.downloadCURL, CURLOPT_WRITEDATA, clc.download); ^~~~~~~~~~~~~~~~~ CC code/qcommon/vm.c CC code/qcommon/vm_interpreted.c BOT_CC code/botlib/be_aas_bspq3.c BOT_CC code/botlib/be_aas_cluster.c BOT_CC code/botlib/be_aas_debug.c code/client/snd_codec.c: In function 'S_CodecLoad': code/client/snd_codec.c:151: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:174:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(fn, filename, sizeof(fn)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 code/botlib/be_aas_move.c: In function 'AAS_AirControl': code/botlib/be_aas_move.c:392: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:521: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_optimize.c BOT_CC code/botlib/be_aas_reach.c BOT_CC code/botlib/be_aas_route.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:890:12: warning: variable 't' set but not used [-Wunused-but-set-variable] int i, j, t; ^ BOT_CC code/botlib/be_aas_routealt.c BOT_CC code/botlib/be_aas_sample.c BOT_CC code/botlib/be_ai_char.c BOT_CC code/botlib/be_ai_chat.c code/botlib/be_ai_chat.c: In function 'BotFreeChatState': code/botlib/be_ai_chat.c:2942:19: warning: variable 'cs' set but not used [-Wunused-but-set-variable] bot_chatstate_t *cs; ^~ 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_gen.c BOT_CC code/botlib/be_ai_goal.c code/botlib/be_ai_gen.c: In function 'GeneticSelection': code/botlib/be_ai_gen.c:54:13: warning: variable 'select' set but not used [-Wunused-but-set-variable] float sum, select; ^~~~~~ BOT_CC code/botlib/be_ai_move.c code/botlib/be_ai_move.c: In function 'BotFinishTravel_BarrierJump': code/botlib/be_ai_move.c:1483: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:1570: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:2870: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:3512: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/be_ai_weap.c code/botlib/be_ai_weap.c: In function 'LoadWeaponConfig': code/botlib/be_ai_weap.c:222:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(path, filename, MAX_PATH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/be_ai_weight.c BOT_CC code/botlib/be_ea.c BOT_CC code/botlib/be_interface.c BOT_CC code/botlib/l_crc.c code/botlib/be_ai_goal.c: In function 'BotSaveGoalFuzzyLogic': code/botlib/be_ai_goal.c:241:19: warning: variable 'gs' set but not used [-Wunused-but-set-variable] bot_goalstate_t *gs; ^~ code/botlib/be_ai_goal.c: In function 'LoadItemConfig': code/botlib/be_ai_goal.c:284:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( path, filename, MAX_PATH ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/be_ai_goal.c:317:4: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 1023 [-Wstringop-truncation] strncpy(ii->classname, token.string, sizeof(ii->classname)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_log.c BOT_CC code/botlib/l_libvar.c BOT_CC code/botlib/l_memory.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:367:10: warning: variable 'length' set but not used [-Wunused-but-set-variable] int length; ^~~~~~ BOT_CC code/botlib/l_precomp.c BOT_CC code/botlib/l_script.c BOT_CC code/botlib/l_struct.c CC code/jpeg-6b/jcapimin.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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/jpeg-6b/jcapistd.c CC code/jpeg-6b/jccoefct.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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/jpeg-6b/jccolor.c CC code/jpeg-6b/jcdctmgr.c CC code/jpeg-6b/jchuff.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_StringizeTokens': code/botlib/l_precomp.c:472:3: warning: 'strncat' output may be truncated copying between 0 and 1023 bytes from a string of length 1023 [-Wstringop-truncation] strncat(token->string, t->string, MAX_TOKEN - strlen(token->string) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/l_precomp.c: In function 'PC_Directive_include.part.3': code/botlib/l_precomp.c:1015:4: warning: 'strncat' output may be truncated copying 63 bytes from a string of length 1023 [-Wstringop-truncation] strncat(path, token.string, MAX_PATH - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/jpeg-6b/jcinit.c CC code/jpeg-6b/jcmainct.c CC code/jpeg-6b/jcmarker.c CC code/jpeg-6b/jcmaster.c CC code/jpeg-6b/jcomapi.c CC code/jpeg-6b/jcparam.c CC code/jpeg-6b/jcphuff.c CC code/jpeg-6b/jcsample.c CC code/jpeg-6b/jcprepct.c CC code/jpeg-6b/jdapistd.c CC code/jpeg-6b/jdatasrc.c CC code/jpeg-6b/jdapimin.c CC code/jpeg-6b/jdcoefct.c CC code/jpeg-6b/jdcolor.c CC code/jpeg-6b/jddctmgr.c CC code/jpeg-6b/jdhuff.c CC code/jpeg-6b/jdinput.c CC code/jpeg-6b/jdmarker.c CC code/jpeg-6b/jdmainct.c CC code/jpeg-6b/jdmaster.c CC code/jpeg-6b/jdpostct.c CC code/jpeg-6b/jdsample.c CC code/jpeg-6b/jdtrans.c CC code/jpeg-6b/jerror.c CC code/jpeg-6b/jfdctflt.c In file included from code/jpeg-6b/../renderer/qgl.h:32, from code/jpeg-6b/../renderer/tr_local.h:31, from code/jpeg-6b/jerror.c:21: /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-6b/../renderer/qgl.h:32, from code/jpeg-6b/../renderer/tr_local.h:31, from code/jpeg-6b/jerror.c:21: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 CC code/jpeg-6b/jidctflt.c CC code/jpeg-6b/jmemmgr.c CC code/jpeg-6b/jmemnobs.c In file included from code/jpeg-6b/../renderer/qgl.h:32, from code/jpeg-6b/../renderer/tr_local.h:31, from code/jpeg-6b/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-6b/../renderer/qgl.h:32, from code/jpeg-6b/../renderer/tr_local.h:31, from code/jpeg-6b/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/jpeg-6b/jutils.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/renderer/tr_animation.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_backend.c CC code/renderer/tr_bsp.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 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_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 CC code/renderer/tr_flares.c CC code/renderer/tr_curve.c 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_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_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_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_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_image_png.c 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_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/renderer/tr_image_png.c: In function 'R_LoadPNG': code/renderer/tr_image_png.c:2280:27: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] if(!ChunkHeaderLength == 2) ^~ code/renderer/tr_image_png.c:2280:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] code/renderer/tr_image_png.c:2280:8: note: add parentheses around left hand side expression to silence this warning if(!ChunkHeaderLength == 2) ^~~~~~~~~~~~~~~~~~ ( ) code/renderer/tr_image_png.c:2302:27: warning: comparison of constant '6' with boolean expression is always false [-Wbool-compare] if(!ChunkHeaderLength == 6) ^~ code/renderer/tr_image_png.c:2302:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] code/renderer/tr_image_png.c:2302:8: note: add parentheses around left hand side expression to silence this warning if(!ChunkHeaderLength == 6) ^~~~~~~~~~~~~~~~~~ ( ) 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_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:1075:8: warning: variable 'g' set but not used [-Wunused-but-set-variable] float g; ^ 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 CC code/renderer/tr_init.c CC code/renderer/tr_light.c CC code/renderer/tr_image_pcx.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 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_main.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_marks.c CC code/renderer/tr_mesh.c CC code/renderer/tr_model.c 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_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 CC code/renderer/tr_noise.c 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_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_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 CC code/renderer/tr_shade.c CC code/renderer/tr_shade_calc.c 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_shader.c CC code/renderer/tr_shadows.c 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:1262:13: warning: variable 'shader' set but not used [-Wunused-but-set-variable] shader_t *shader; ^~~~~~ 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_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 CC code/renderer/tr_world.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:1827:26: warning: comparison between 'alphaGen_t' {aka 'enum '} and 'enum ' [-Wenum-compare] if ( stages[0].alphaGen == CGEN_WAVEFORM ) ^~ 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_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/sdl/sdl_input.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/sdl/sdl_snd.c CC code/sys/con_passive.c CC code/sys/con_log.c CC code/sys/sys_main.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; ^ CC code/libspeex/bits.c CC code/libspeex/buffer.c CC code/libspeex/cb_search.c code/libspeex/cb_search.c: In function 'split_cb_shape_sign_unquant': code/libspeex/cb_search.c:527:8: warning: variable 'shape_cb_size' set but not used [-Wunused-but-set-variable] int shape_cb_size, subvect_size, nb_subvect; ^~~~~~~~~~~~~ CC code/libspeex/exc_10_16_table.c code/server/sv_client.c: In function 'SV_IsBanned': code/server/sv_client.c:237:13: warning: variable 'addrlen' set but not used [-Wunused-but-set-variable] int index, addrlen, curbyte, netmask, cmpmask; ^~~~~~~ CC code/libspeex/exc_10_32_table.c CC code/libspeex/exc_20_32_table.c CC code/libspeex/exc_5_256_table.c CC code/libspeex/exc_5_64_table.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 CC code/libspeex/exc_8_128_table.c CC code/libspeex/fftwrap.c CC code/libspeex/filterbank.c CC code/libspeex/filters.c CC code/libspeex/gain_table.c CC code/libspeex/gain_table_lbr.c CC code/libspeex/hexc_10_32_table.c CC code/libspeex/hexc_table.c CC code/libspeex/high_lsp_tables.c CC code/libspeex/jitter.c CC code/libspeex/kiss_fft.c CC code/libspeex/kiss_fftr.c CC code/libspeex/lpc.c code/libspeex/jitter.c: In function 'jitter_buffer_get': code/libspeex/jitter.c:466:8: warning: variable 'incomplete' set but not used [-Wunused-but-set-variable] int incomplete = 0; ^~~~~~~~~~ CC code/libspeex/lsp.c CC code/libspeex/lsp_tables_nb.c CC code/libspeex/ltp.c CC code/libspeex/mdf.c CC code/libspeex/modes.c CC code/libspeex/modes_wb.c CC code/libspeex/nb_celp.c code/libspeex/nb_celp.c: In function 'nb_decode': code/libspeex/nb_celp.c:1303:21: warning: variable 'sp' set but not used [-Wunused-but-set-variable] spx_word16_t *sp; ^~ code/libspeex/nb_celp.c:1505:21: warning: variable 'exc' set but not used [-Wunused-but-set-variable] spx_word16_t *exc; ^~~ CC code/libspeex/preprocess.c CC code/libspeex/quant_lsp.c CC code/libspeex/resample.c CC code/libspeex/sb_celp.c CC code/libspeex/smallft.c CC code/libspeex/speex.c CC code/libspeex/speex_callbacks.c CC code/libspeex/speex_header.c CC code/libspeex/stereo.c CC code/libspeex/vbr.c code/libspeex/vbr.c: In function 'vbr_analysis': code/libspeex/vbr.c:129:8: warning: variable 'va' set but not used [-Wunused-but-set-variable] int va; ^~ CC code/libspeex/vq.c CC code/libspeex/window.c CC code/qcommon/vm_x86_64.c code/qcommon/vm_x86_64.c: In function 'VM_CallCompiled': code/qcommon/vm_x86_64.c:1062:7: warning: variable 'programCounter' set but not used [-Wunused-but-set-variable] int programCounter; ^~~~~~~~~~~~~~ CC code/qcommon/vm_x86_64_assembler.c code/qcommon/vm_x86_64_assembler.c: In function 'emit_mov': code/qcommon/vm_x86_64_assembler.c:596:11: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] else if(!arg2.v.reg & R_64) ^~~~~~~~~~~ CC code/sys/sys_unix.c code/sys/sys_unix.c: In function 'Sys_ListFiles': code/sys/sys_unix.c:329:16: warning: variable 'extLen' set but not used [-Wunused-but-set-variable] int extLen; ^~~~~~ CC code/client/libmumblelink.c CGAME_CC code/cgame/cg_main.c CC code/sdl/sdl_glimp.c code/client/libmumblelink.c: In function 'mumble_update_coordinates': code/client/libmumblelink.c:110:41: warning: 'sizeof' on array function parameter 'fPosition' will return size of 'float *' [-Wsizeof-array-argument] memcpy(lm->fPosition, fPosition, sizeof(fPosition)); ^ code/client/libmumblelink.c:105:38: note: declared here void mumble_update_coordinates(float fPosition[3], float fFront[3], float fTop[3]) ~~~~~~^~~~~~~~~~~~ code/client/libmumblelink.c:110:41: warning: argument to 'sizeof' in 'memcpy' call is the same pointer type 'float *' as the destination; expected 'float' or an explicit length [-Wsizeof-pointer-memaccess] memcpy(lm->fPosition, fPosition, sizeof(fPosition)); ^ code/client/libmumblelink.c:111:35: warning: 'sizeof' on array function parameter 'fFront' will return size of 'float *' [-Wsizeof-array-argument] memcpy(lm->fFront, fFront, sizeof(fFront)); ^ code/client/libmumblelink.c:105:58: note: declared here void mumble_update_coordinates(float fPosition[3], float fFront[3], float fTop[3]) ~~~~~~^~~~~~~~~ code/client/libmumblelink.c:111:35: warning: argument to 'sizeof' in 'memcpy' call is the same pointer type 'float *' as the destination; expected 'float' or an explicit length [-Wsizeof-pointer-memaccess] memcpy(lm->fFront, fFront, sizeof(fFront)); ^ code/client/libmumblelink.c:112:31: warning: 'sizeof' on array function parameter 'fTop' will return size of 'float *' [-Wsizeof-array-argument] memcpy(lm->fTop, fTop, sizeof(fTop)); ^ code/client/libmumblelink.c:105:75: note: declared here void mumble_update_coordinates(float fPosition[3], float fFront[3], float fTop[3]) ~~~~~~^~~~~~~ code/client/libmumblelink.c:112:31: warning: argument to 'sizeof' in 'memcpy' call is the same pointer type 'float *' as the destination; expected 'float' or an explicit length [-Wsizeof-pointer-memaccess] memcpy(lm->fTop, fTop, sizeof(fTop)); ^ CGAME_CC code/game/bg_misc.c CGAME_CC code/game/bg_pmove.c CGAME_CC code/game/bg_lib.c CGAME_CC code/game/bg_slidemove.c CGAME_CC code/cgame/cg_consolecmds.c code/qcommon/common.c: In function 'Z_TagMalloc': code/qcommon/common.c:925: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:2820:6: warning: variable 'key' set but not used [-Wunused-but-set-variable] int key; ^~~ 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 CGAME_CC code/cgame/cg_draw.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; ^~~~~~ 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_drawtools.c CGAME_CC code/cgame/cg_effects.c CGAME_CC code/cgame/cg_ents.c CGAME_CC code/cgame/cg_event.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; ^~~~~~~~~~~ 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_info.c 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 CGAME_CC code/cgame/cg_scoreboard.c CGAME_CC code/cgame/cg_servercmds.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 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_view.c CGAME_CC code/cgame/cg_snapshot.c code/cgame/cg_servercmds.c:47:18: warning: 'numValidOrders' defined but not used [-Wunused-const-variable=] static const int numValidOrders = sizeof(validOrders) / sizeof(orderTask_t); ^~~~~~~~~~~~~~ CGAME_CC code/cgame/cg_weapons.c SHLIB_CC code/qcommon/q_math.c SHLIB_CC code/qcommon/q_shared.c CGAME_CC code/cgame/cg_syscalls.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; ^ GAME_CC code/game/g_main.c GAME_CC code/game/ai_chat.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_cmd.c code/qcommon/files.c: In function 'FS_ComparePaks': code/qcommon/files.c:2563:20: warning: variable 'badchecksum' set but not used [-Wunused-but-set-variable] qboolean havepak, badchecksum; ^~~~~~~~~~~ GAME_CC code/game/ai_dmnet.c GAME_CC code/game/ai_dmq3.c code/qcommon/q_shared.c: In function 'Q_isanumber': code/qcommon/q_shared.c:713:9: warning: variable 'd' set but not used [-Wunused-but-set-variable] double d; ^ GAME_CC code/game/ai_main.c GAME_CC code/game/ai_team.c GAME_CC code/game/ai_vcmd.c code/game/ai_vcmd.c: In function 'BotVoiceChatCommand': code/game/ai_vcmd.c:516:31: warning: variable 'color' set but not used [-Wunused-but-set-variable] int i, voiceOnly, clientNum, color; ^~~~~ code/game/ai_vcmd.c:516:9: warning: variable 'voiceOnly' set but not used [-Wunused-but-set-variable] int i, voiceOnly, clientNum, color; ^~~~~~~~~ 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 GAME_CC code/game/bg_misc.c GAME_CC code/game/bg_pmove.c GAME_CC code/game/bg_slidemove.c code/game/bg_slidemove.c: In function 'PM_StepSlideMove': code/game/bg_slidemove.c:235:18: warning: variable 'down_v' set but not used [-Wunused-but-set-variable] vec3_t down_o, down_v; ^~~~~~ code/game/bg_slidemove.c:235:10: warning: variable 'down_o' set but not used [-Wunused-but-set-variable] vec3_t down_o, down_v; ^~~~~~ GAME_CC code/game/bg_lib.c GAME_CC code/game/g_active.c code/game/g_active.c: In function 'ClientEvents': code/game/g_active.c:542:9: warning: variable 'dir' set but not used [-Wunused-but-set-variable] vec3_t dir; ^~~ code/game/g_active.c: In function 'ClientEndFrame': code/game/g_active.c:1109:22: warning: variable 'pers' set but not used [-Wunused-but-set-variable] clientPersistant_t *pers; ^~~~ GAME_CC code/game/g_arenas.c GAME_CC code/game/g_bot.c GAME_CC code/game/g_client.c GAME_CC code/game/g_cmds.c GAME_CC code/game/g_combat.c GAME_CC code/game/g_items.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 GAME_CC code/game/g_misc.c GAME_CC code/game/g_missile.c GAME_CC code/game/g_mover.c GAME_CC code/game/g_session.c GAME_CC code/game/g_spawn.c GAME_CC code/game/g_svcmds.c GAME_CC code/game/g_target.c GAME_CC code/game/g_team.c GAME_CC code/game/g_trigger.c GAME_CC code/game/g_utils.c GAME_CC code/game/g_weapon.c code/game/g_weapon.c: In function 'ShotgunPattern': code/game/g_weapon.c:327:8: warning: variable 'oldScore' set but not used [-Wunused-but-set-variable] int oldScore; ^~~~~~~~ GAME_CC code/game/g_syscalls.c UI_CC code/q3_ui/ui_main.c UI_CC code/game/bg_misc.c 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 UI_CC code/game/bg_lib.c UI_CC code/q3_ui/ui_addbots.c UI_CC code/q3_ui/ui_atoms.c UI_CC code/q3_ui/ui_cdkey.c UI_CC code/q3_ui/ui_cinematics.c UI_CC code/q3_ui/ui_confirm.c UI_CC code/q3_ui/ui_connect.c UI_CC code/q3_ui/ui_controls2.c UI_CC code/q3_ui/ui_credits.c UI_CC code/q3_ui/ui_demo2.c UI_CC code/q3_ui/ui_display.c code/q3_ui/ui_demo2.c: In function 'UI_DemosMenu_Key': code/q3_ui/ui_demo2.c:119:16: warning: variable 'item' set but not used [-Wunused-but-set-variable] menucommon_s *item; ^~~~ UI_CC code/q3_ui/ui_gameinfo.c UI_CC code/q3_ui/ui_ingame.c UI_CC code/q3_ui/ui_loadconfig.c UI_CC code/q3_ui/ui_menu.c UI_CC code/q3_ui/ui_mfield.c UI_CC code/q3_ui/ui_mods.c UI_CC code/q3_ui/ui_network.c UI_CC code/q3_ui/ui_options.c UI_CC code/q3_ui/ui_playermodel.c UI_CC code/q3_ui/ui_players.c UI_CC code/q3_ui/ui_playersettings.c UI_CC code/q3_ui/ui_preferences.c 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_qmenu.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 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 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 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_video.c UI_CC_MISSIONPACK code/ui/ui_syscalls.c CGAME_CC_MISSIONPACK code/cgame/cg_main.c CGAME_CC_MISSIONPACK code/game/bg_misc.c CGAME_CC_MISSIONPACK code/game/bg_pmove.c CGAME_CC_MISSIONPACK code/game/bg_slidemove.c code/game/bg_pmove.c: In function 'PM_Weapon': code/game/bg_pmove.c:1699:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ code/game/bg_pmove.c:1705:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' pm->ps->weaponTime += addTime; ^~ 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_MISSIONPACK code/cgame/cg_consolecmds.c CGAME_CC_MISSIONPACK code/game/bg_lib.c CGAME_CC_MISSIONPACK code/cgame/cg_newdraw.c CGAME_CC_MISSIONPACK code/cgame/cg_draw.c code/cgame/cg_newdraw.c: In function 'CG_DrawPlayerArmorIcon': code/cgame/cg_newdraw.c:164:17: warning: variable 'ps' set but not used [-Wunused-but-set-variable] playerState_t *ps; ^~ code/cgame/cg_newdraw.c:163:13: warning: variable 'cent' set but not used [-Wunused-but-set-variable] centity_t *cent; ^~~~ code/cgame/cg_newdraw.c: In function 'CG_DrawPlayerArmorValue': code/cgame/cg_newdraw.c:192:13: warning: variable 'cent' set but not used [-Wunused-but-set-variable] centity_t *cent; ^~~~ code/cgame/cg_newdraw.c: In function 'CG_DrawPlayerAmmoIcon': code/cgame/cg_newdraw.c:223:17: warning: variable 'ps' set but not used [-Wunused-but-set-variable] playerState_t *ps; ^~ code/cgame/cg_draw.c: In function 'CG_DrawScoreboard': code/cgame/cg_draw.c:2167:8: warning: variable 'fade' set but not used [-Wunused-but-set-variable] float fade, *fadeColor; ^~~~ code/cgame/cg_draw.c: In function 'CG_DrawWarmup': code/cgame/cg_draw.c:2366:8: warning: variable 'cw' set but not used [-Wunused-but-set-variable] int cw; ^~ CGAME_CC_MISSIONPACK code/cgame/cg_drawtools.c CGAME_CC_MISSIONPACK code/cgame/cg_effects.c CGAME_CC_MISSIONPACK code/cgame/cg_ents.c CGAME_CC_MISSIONPACK code/cgame/cg_event.c CGAME_CC_MISSIONPACK 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_MISSIONPACK code/cgame/cg_localents.c CGAME_CC_MISSIONPACK 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_MISSIONPACK code/cgame/cg_players.c code/cgame/cg_players.c: In function 'CG_DustTrail': code/cgame/cg_players.c:1568:17: warning: variable 'dust' set but not used [-Wunused-but-set-variable] localEntity_t *dust; ^~~~ CGAME_CC_MISSIONPACK code/cgame/cg_playerstate.c CGAME_CC_MISSIONPACK code/cgame/cg_predict.c CGAME_CC_MISSIONPACK code/cgame/cg_scoreboard.c CGAME_CC_MISSIONPACK code/cgame/cg_servercmds.c CGAME_CC_MISSIONPACK code/cgame/cg_snapshot.c CGAME_CC_MISSIONPACK code/cgame/cg_view.c CGAME_CC_MISSIONPACK code/cgame/cg_weapons.c UI_CC_MISSIONPACK code/ui/ui_shared.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_MISSIONPACK code/qcommon/q_math.c SHLIB_CC_MISSIONPACK code/qcommon/q_shared.c code/game/g_main.c: In function 'G_RunFrame': code/game/g_main.c:1730:12: warning: variable 'end' set but not used [-Wunused-but-set-variable] int start, end; ^~~ code/game/g_main.c:1730:5: warning: variable 'start' set but not used [-Wunused-but-set-variable] int start, end; ^~~~~ code/game/g_main.c:1729:8: warning: variable 'msec' set but not used [-Wunused-but-set-variable] int msec; ^~~~ code/game/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] CGAME_CC_MISSIONPACK code/cgame/cg_syscalls.c GAME_CC_MISSIONPACK code/game/g_main.c GAME_CC_MISSIONPACK code/game/ai_chat.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_MISSIONPACK code/game/ai_cmd.c GAME_CC_MISSIONPACK code/game/ai_dmnet.c GAME_CC_MISSIONPACK code/game/ai_dmq3.c GAME_CC_MISSIONPACK code/game/ai_main.c GAME_CC_MISSIONPACK code/game/ai_team.c GAME_CC_MISSIONPACK code/game/ai_vcmd.c GAME_CC_MISSIONPACK code/game/bg_misc.c GAME_CC_MISSIONPACK code/game/bg_pmove.c code/game/bg_pmove.c: In function 'PM_Weapon': code/game/bg_pmove.c:1699:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ code/game/bg_pmove.c:1705:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' pm->ps->weaponTime += addTime; ^~ 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_MISSIONPACK code/game/bg_slidemove.c code/game/bg_slidemove.c: In function 'PM_StepSlideMove': code/game/bg_slidemove.c:235:18: warning: variable 'down_v' set but not used [-Wunused-but-set-variable] vec3_t down_o, down_v; ^~~~~~ code/game/bg_slidemove.c:235:10: warning: variable 'down_o' set but not used [-Wunused-but-set-variable] vec3_t down_o, down_v; ^~~~~~ GAME_CC_MISSIONPACK code/game/bg_lib.c GAME_CC_MISSIONPACK code/game/g_active.c code/game/ai_vcmd.c: In function 'BotVoiceChatCommand': code/game/ai_vcmd.c:516:31: warning: variable 'color' set but not used [-Wunused-but-set-variable] int i, voiceOnly, clientNum, color; ^~~~~ code/game/ai_vcmd.c:516:9: warning: variable 'voiceOnly' set but not used [-Wunused-but-set-variable] int i, voiceOnly, clientNum, color; ^~~~~~~~~ GAME_CC_MISSIONPACK code/game/g_arenas.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; ^~~~~~~~~~~ GAME_CC_MISSIONPACK code/game/g_bot.c GAME_CC_MISSIONPACK code/game/g_client.c GAME_CC_MISSIONPACK code/game/g_cmds.c GAME_CC_MISSIONPACK code/game/g_combat.c GAME_CC_MISSIONPACK code/game/g_items.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_MISSIONPACK code/game/g_mem.c GAME_CC_MISSIONPACK code/game/g_misc.c GAME_CC_MISSIONPACK code/game/g_missile.c GAME_CC_MISSIONPACK code/game/g_mover.c GAME_CC_MISSIONPACK code/game/g_session.c GAME_CC_MISSIONPACK code/game/g_spawn.c GAME_CC_MISSIONPACK code/game/g_svcmds.c GAME_CC_MISSIONPACK code/game/g_target.c GAME_CC_MISSIONPACK code/game/g_team.c GAME_CC_MISSIONPACK code/game/g_trigger.c GAME_CC_MISSIONPACK code/game/g_utils.c GAME_CC_MISSIONPACK code/game/g_weapon.c GAME_CC_MISSIONPACK code/game/g_syscalls.c UI_CC_MISSIONPACK code/ui/ui_atoms.c UI_CC_MISSIONPACK code/ui/ui_main.c UI_CC_MISSIONPACK code/game/bg_misc.c UI_CC_MISSIONPACK code/ui/ui_players.c UI_CC_MISSIONPACK code/ui/ui_gameinfo.c UI_CC_MISSIONPACK code/game/bg_lib.c code/ui/ui_main.c: In function '_UI_Init': code/ui/ui_main.c:5021:6: warning: variable 'start' set but not used [-Wunused-but-set-variable] int start; ^~~~~ At top level: code/ui/ui_main.c:114:18: warning: 'numSortKeys' defined but not used [-Wunused-const-variable=] static const int numSortKeys = sizeof(sortKeys) / sizeof(const char*); ^~~~~~~~~~~ code/ui/ui_main.c:102:18: warning: 'numTeamArenaGameNames' defined but not used [-Wunused-const-variable=] static int const numTeamArenaGameNames = sizeof(teamArenaGameNames) / sizeof(const char*); ^~~~~~~~~~~~~~~~~~~~~ TOOLS_CC code/tools/lcc/etc/lcc.c code/tools/lcc/etc/lcc.c: In function 'stringf': code/tools/lcc/etc/lcc.c:760:6: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n; ^ TOOLS_CC code/tools/lcc/etc/bytecode.c TOOLS_CC code/tools/lcc/src/alloc.c TOOLS_CC code/tools/lcc/src/bind.c TOOLS_CC code/tools/lcc/src/bytecode.c TOOLS_CC code/tools/lcc/src/dag.c TOOLS_CC code/tools/lcc/lburg/lburg.c TOOLS_CC code/tools/lcc/lburg/gram.c code/tools/lcc/src/bytecode.c: In function 'LoadSourceFile': code/tools/lcc/src/bytecode.c:264:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] size_t size; ^~~~ code/tools/lcc/src/dag.c: In function 'emitcode': code/tools/lcc/src/dag.c:521:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] case Label: if (cp->u.forest) ^~ code/tools/lcc/src/dag.c:522:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' (*IR->emit)(cp->u.forest); break; ^~~~~ TOOLS_CC code/tools/lcc/src/enode.c TOOLS_CC code/tools/lcc/src/error.c TOOLS_CC code/tools/lcc/src/decl.c TOOLS_CC code/tools/lcc/src/event.c TOOLS_CC code/tools/lcc/src/expr.c code/tools/lcc/src/expr.c: In function 'unary': code/tools/lcc/src/expr.c:161:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ code/tools/lcc/src/expr.c:162:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' typeerror(ADD, p, NULL); break; ^~~~~ code/tools/lcc/src/expr.c:172:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ code/tools/lcc/src/expr.c:173:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' typeerror(SUB, p, NULL); break; ^~~~~ code/tools/lcc/src/expr.c:178:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ code/tools/lcc/src/expr.c:179:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' typeerror(BCOM, p, NULL); break; ^~~~~ code/tools/lcc/src/expr.c:183:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ code/tools/lcc/src/expr.c:184:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' typeerror(NOT, p, NULL); break; ^~~~~ code/tools/lcc/src/expr.c: In function 'postfix': code/tools/lcc/src/expr.c:320:10: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ code/tools/lcc/src/expr.c:321:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' error("field name expected\n"); break; ^~~~~ code/tools/lcc/src/expr.c:333:10: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ code/tools/lcc/src/expr.c:334:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' error("field name expected\n"); break; ^~~~~ TOOLS_CC code/tools/lcc/src/init.c TOOLS_CC code/tools/lcc/src/gen.c TOOLS_CC code/tools/lcc/src/input.c TOOLS_CC code/tools/lcc/src/inits.c TOOLS_CC code/tools/lcc/src/lex.c TOOLS_CC code/tools/lcc/src/list.c TOOLS_CC code/tools/lcc/src/main.c TOOLS_CC code/tools/lcc/src/null.c TOOLS_CC code/tools/lcc/src/output.c TOOLS_CC code/tools/lcc/src/prof.c TOOLS_CC code/tools/lcc/src/profio.c TOOLS_CC code/tools/lcc/src/simp.c TOOLS_CC code/tools/lcc/src/stmt.c TOOLS_CC code/tools/lcc/src/string.c TOOLS_CC code/tools/lcc/src/sym.c code/tools/lcc/src/stmt.c: In function 'statement': code/tools/lcc/src/stmt.c:186:12: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ code/tools/lcc/src/stmt.c:187:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' error("missing label in goto\n"); expect(';'); ^~~~~~ code/tools/lcc/lburg/gram.c:15:21: warning: 'yysccsid' defined but not used [-Wunused-const-variable=] YYCONST static char yysccsid[] = "@(#)yaccpar 1.8 (Berkeley +Cygnus.28) 01/20/91"; ^~~~~~~~ TOOLS_CC code/tools/lcc/src/symbolic.c TOOLS_CC code/tools/lcc/src/trace.c TOOLS_CC code/tools/lcc/src/tree.c TOOLS_CC code/tools/lcc/src/types.c TOOLS_CC code/tools/lcc/cpp/cpp.c TOOLS_CC code/tools/lcc/cpp/lex.c TOOLS_CC code/tools/lcc/cpp/nlist.c TOOLS_CC code/tools/lcc/cpp/tokens.c TOOLS_CC code/tools/lcc/cpp/macro.c code/tools/lcc/cpp/tokens.c: In function 'peektokens': code/tools/lcc/cpp/tokens.c:270:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(stderr, "(tp offset %d) ", tp-trp->bp); ~^ ~~~~~~~~~~ %ld TOOLS_CC code/tools/lcc/cpp/eval.c TOOLS_CC code/tools/lcc/cpp/include.c TOOLS_CC code/tools/lcc/cpp/hideset.c TOOLS_CC code/tools/lcc/cpp/unix.c TOOLS_CC code/tools/lcc/cpp/getopt.c TOOLS_CC code/tools/asm/q3asm.c code/tools/asm/q3asm.c: In function 'TryAssembleENDPROC': code/tools/asm/q3asm.c:949:10: warning: variable 'v2' set but not used [-Wunused-but-set-variable] int v, v2; ^~ code/tools/asm/q3asm.c:949:7: warning: variable 'v' set but not used [-Wunused-but-set-variable] int v, v2; ^ code/tools/asm/q3asm.c: In function 'ParseExpression': code/tools/asm/q3asm.c:603:26: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( expanded, "%s_%i", sym, currentFileIndex ); ^~ code/tools/asm/q3asm.c:603:3: note: 'sprintf' output between 3 and 1036 bytes into a destination of size 1024 sprintf( expanded, "%s_%i", sym, currentFileIndex ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TOOLS_CC code/tools/asm/cmdlib.c code/tools/asm/cmdlib.c: In function 'ExpandPathAndArchive': code/tools/asm/cmdlib.c:347:31: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf (archivename, "%s/%s", archivedir, path); ^ code/tools/asm/cmdlib.c:347:3: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf (archivename, "%s/%s", archivedir, path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LD build/release-freebsd-x86_64/baseq3/cgamex86_64.so LD build/release-freebsd-x86_64/baseq3/uix86_64.so LD build/release-freebsd-x86_64/tools/lburg/lburg LD build/release-freebsd-x86_64/tools/q3asm LBURG code/tools/lcc/src/dagcheck.md TOOLS_CC_DAGCHECK build/release-freebsd-x86_64/tools/rcc/dagcheck.c LD build/release-freebsd-x86_64/tools/q3cpp LD build/release-freebsd-x86_64/tools/q3rcc code/qcommon/q_shared.c: In function 'Q_isanumber': code/qcommon/q_shared.c:713:9: warning: variable 'd' set but not used [-Wunused-but-set-variable] double d; ^ LD build/release-freebsd-x86_64/tools/q3lcc CGAME_Q3LCC code/cgame/cg_main.c CGAME_Q3LCC code/game/bg_misc.c CGAME_Q3LCC code/game/bg_pmove.c CGAME_Q3LCC code/game/bg_slidemove.c CGAME_Q3LCC code/cgame/cg_draw.c CGAME_Q3LCC code/game/bg_lib.c CGAME_Q3LCC code/cgame/cg_consolecmds.c CGAME_Q3LCC code/cgame/cg_drawtools.c CGAME_Q3LCC code/cgame/cg_effects.c CGAME_Q3LCC code/cgame/cg_ents.c CGAME_Q3LCC code/cgame/cg_info.c CGAME_Q3LCC code/cgame/cg_event.c CGAME_Q3LCC code/cgame/cg_localents.c CGAME_Q3LCC code/cgame/cg_marks.c CGAME_Q3LCC code/cgame/cg_players.c CGAME_Q3LCC code/cgame/cg_playerstate.c CGAME_Q3LCC code/cgame/cg_predict.c CGAME_Q3LCC code/cgame/cg_scoreboard.c CGAME_Q3LCC code/cgame/cg_servercmds.c CGAME_Q3LCC code/cgame/cg_snapshot.c CGAME_Q3LCC code/cgame/cg_view.c CGAME_Q3LCC code/cgame/cg_weapons.c Q3LCC code/qcommon/q_math.c Q3LCC code/qcommon/q_shared.c GAME_Q3LCC code/game/g_main.c GAME_Q3LCC code/game/ai_chat.c GAME_Q3LCC code/game/ai_cmd.c GAME_Q3LCC code/game/ai_dmnet.c GAME_Q3LCC code/game/ai_dmq3.c GAME_Q3LCC code/game/ai_main.c GAME_Q3LCC code/game/ai_team.c GAME_Q3LCC code/game/ai_vcmd.c GAME_Q3LCC code/game/bg_misc.c GAME_Q3LCC code/game/bg_pmove.c GAME_Q3LCC code/game/bg_slidemove.c GAME_Q3LCC code/game/g_active.c GAME_Q3LCC code/game/g_arenas.c GAME_Q3LCC code/game/g_bot.c GAME_Q3LCC code/game/bg_lib.c GAME_Q3LCC code/game/g_client.c GAME_Q3LCC code/game/g_cmds.c GAME_Q3LCC code/game/g_combat.c GAME_Q3LCC code/game/g_items.c GAME_Q3LCC code/game/g_mem.c GAME_Q3LCC code/game/g_misc.c GAME_Q3LCC code/game/g_missile.c GAME_Q3LCC code/game/g_mover.c GAME_Q3LCC code/game/g_session.c GAME_Q3LCC code/game/g_spawn.c GAME_Q3LCC code/game/g_svcmds.c GAME_Q3LCC code/game/g_target.c GAME_Q3LCC code/game/g_team.c GAME_Q3LCC code/game/g_trigger.c GAME_Q3LCC code/game/g_utils.c GAME_Q3LCC code/game/g_weapon.c UI_Q3LCC code/q3_ui/ui_main.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; ^~~~ UI_Q3LCC code/game/bg_misc.c UI_Q3LCC code/game/bg_lib.c UI_Q3LCC code/q3_ui/ui_addbots.c UI_Q3LCC code/q3_ui/ui_atoms.c UI_Q3LCC code/q3_ui/ui_cdkey.c UI_Q3LCC code/q3_ui/ui_cinematics.c UI_Q3LCC code/q3_ui/ui_confirm.c UI_Q3LCC code/q3_ui/ui_connect.c UI_Q3LCC code/q3_ui/ui_controls2.c UI_Q3LCC code/q3_ui/ui_credits.c UI_Q3LCC code/q3_ui/ui_demo2.c UI_Q3LCC code/q3_ui/ui_display.c code/q3_ui/ui_controls2.c:573: warning: overflow in converting constant expressioUI_Q3LCC code/q3_ui/ui_gameinfo.c n from `int' to `unsigned int' code/q3_ui/ui_controls2.cUI_Q3LCC code/q3_ui/ui_ingame.c :594:UI_Q3LCC code/q3_ui/ui_loadconfig.c warning: overflow in converting constant expression code/q3_ui/ui_atoms.cf:914: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_atoms.c:927: warning: overflow in converting constant expression from `int' to `unsigned int' UI_Q3LCC code/q3_ui/ui_menu.c UI_Q3LCC code/q3_ui/ui_mfield.c rom `inUI_Q3LCC code/q3_ui/ui_mods.c t' to `unsigned int' UI_Q3LCC code/q3_ui/ui_network.c code/q3_ui/ui_controls2.c:597: warning: overflow in converting constant expreUI_Q3LCC code/q3_ui/ui_options.c ssion from `int' to `unsigned int' code/q3_ui/ui_controls2.c:604: warning: overflow in converting constant expresUI_Q3LCC code/q3_ui/ui_playermodel.c sion from `int' to `unsigned int' code/q3_ui/ui_controls2.c:608: waUI_Q3LCC code/q3_ui/ui_players.c rning: overflow in converting constant expressiUI_Q3LCC code/q3_ui/ui_playersettings.c on from `int' to `unsigned int' code/q3_ui/ui_playermodel.c:124: warning: overflowcode/q3_ui/ui_controls2.c :i609n: cowarning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_controls2.c:610: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_controls2.c:611: warning: oUI_Q3LCC code/q3_ui/ui_qmenu.c UI_Q3LCC code/q3_ui/ui_removebots.c UI_Q3LCC code/q3_ui/ui_preferences.c nverting constant expression from `int' to `unsigned int' code/q3_ui/ui_playermodel.c:133: warning: overflUI_Q3LCC code/q3_ui/ui_saveconfig.c verflow in converting constant expression from `int' to `unsigned int' UI_Q3LCC code/q3_ui/ui_serverinfo.c code/q3_ui/ui_controls2.c:621: UI_Q3LCC code/q3_ui/ui_servers2.c warning: overflow in conUI_Q3LCC code/q3_ui/ui_setup.c verting constant expression from `int' toUI_Q3LCC code/q3_ui/ui_sound.c `unsigned int' code/q3_ui/ui_controls2.c:626: warning: overflow in converting constant eUI_Q3LCC code/q3_ui/ui_sparena.c xpression from `int' to `code/q3_ui/ui_servers2.c:400: warning: overflow in converting constant UI_Q3LCC code/q3_ui/ui_specifyserver.c expression from `int' to `unsigned int' code/q3_ui/ui_servers2.c:401: warning: overflow in converting constant expression from `intUI_Q3LCC code/q3_ui/ui_splevel.c ' to `unsiUI_Q3LCC code/q3_ui/ui_sppostgame.c gned int' code/q3_ui/ui_servers2.c:402: warning: overflow in converting constant exprcode/q3_ui/ui_qmenu.c:ession from `i1275n:t 'w atrnoi n`gu:n soivgenrefdl oiwn ti'n converting conscode/q3_ui/ui_servers2.ct:a403n:tcode/q3_ui/ui_splevel.c :e243xp:r ewsasrinoinn gf:r o mo v`weiarrfnlionwg :i no vcerfloonwv eirtn incgont' t o c`nveurntoinngs tcaonnts teaxnptr eesxspiroens sfiroonm f`roim `nit's itnogtn'e dt oint' `unsigned int' code/q3_ui/ui_servers2.c:404: warning: overflow in converting consUI_Q3LCC code/q3_ui/ui_spskill.c code/q3_ui/ui_sppostgame.c:t370a:nt expression from `int' to `unsigned int' code/q3_ui/ui_servers2.c:405: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_servers2.c:406uUI_Q3LCC code/q3_ui/ui_startserver.c :n swiagrnneidn ign:t 'o verflow in converting constant exprecode/q3_ui/ui_controls2.cs:sion from `int' to631 `: warningu: nosviegrnfeldo int' w in UI_Q3LCC code/q3_ui/ui_team.c code/q3_ui/ui_servers2.cc:o407nv:e rwtairnngi constant ng: overfloew in converting constaxncode/q3_ui/ui_startserver.ctp: 180ex: pwraersnsiinognressio:n forvoemr f`loiwn ti'n tcoo n`vuenrstiignnge dc oinnstt'a nt exp refsrsoimo n` ifnrto'm t`oi n`tu'ncode/q3_ui/ui_controls2.cs:i636g:n ewda rinnitn'g : overflow itno c`ounnvcode/q3_ui/ui_servers2.ce:r408t:i nwga rcnoinnsgt:a notv eerxfplroews siino nc ofnrvoemr t`iinngt 'c otnos t`aunnts iegxnperde sisnito'n frsoimg n`eidn ti'n tt'o `unsigned int' code/q3_ui/ui_startserver.c:186: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_startserver.c:191: warning: overflow in convcode/q3_ui/ui_servers2.ce:r454t:i nwga rcnoinnsgt:a notv eerxfplroews siino nc ofnrvoemr t`iinngt 'c otnos t`aunnts iegxnperde sisnito'n from `int' to `uncode/q3_ui/ui_startserver.cs:i196g:n ewda rinnitn'g : overcode/q3_ui/ui_servers2.cf:l455o:w wianr ncionngv:e rotvienrgf lcoonws tiann tc oenxvperretsisnigo nc ofnrsotma n`ti netx'p rteos s`iuonns ifgrnoemd `iinntt'' to `unsigned int' code/q3_ui/ui_servers2.c:456: warning: overflow in convertincode/q3_ui/ui_startserver.cg: 210c:o nwsatrannitn ge:x porveesrsfiloonw firno mc o`nivnetr't itnog `cuonnssitgannetd eixnptr'e ssioncode/q3_ui/ui_servers2.c :f457r:o mw a`rinnitn'g :t oo v`eurnfsliogwn eidn icnotn'v erting constant expression from `code/q3_ui/ui_startserver.ci:n215t:' wtaor n`iunngs:i gonveedr filnotw' in convercode/q3_ui/ui_servers2.ct:i458n:g wcaornnsitnagn: to veexrpfrleosws iionn cfornovme r`tiinntg' ctoon s`tUI_Q3LCC code/q3_ui/ui_teamorders.c uannsti genxepdr eisnsti'o n from `int' to `unsigned int' code/q3_ui/ui_servers2.c:460: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_servers2.c:462: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_startserver.c:896: warning: overflow code/q3_ui/ui_servers2.cUI_Q3LCC code/q3_ui/ui_video.c in c:o1142n:v warneinrg: toing cvonstant expression from `int' to `unsigned int' code/q3_ui/ui_startserver.c:906: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_startserver.c:922: warning: overflow in converting ecGAME_Q3LCC_MISSIONPACK code/game/g_main.c onstant expression from `int' to `urnsigned int' code/q3_ui/ui_startserver.c:1651: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_startserver.c:1660: warning: overflow in converting constant expressGAME_Q3LCC_MISSIONPACK code/game/ai_chat.c ion from `int' to `unsigned int' code/q3_ui/ui_startserver.c:1668: warning: overflow in converting constant expression from `int' to `unsigned int' flcode/q3_ui/ui_startserver.co:w1672 :i nw acronnivnegr:t ionvge rcfolnoswt anti ne xcpornevsesritoinn gf rcoomn s`tant expressiniont 'f rtom `int' GAME_Q3LCC_MISSIONPACK code/game/ai_cmd.c to `unosi g`nuend isnitg'ned int' code/q3_ui/ui_startserver.c:1679: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_startserver.c:1777: warning: overflow in GAME_Q3LCC_MISSIONPACK code/game/ai_dmnet.c cwonverGAME_Q3LCC_MISSIONPACK code/game/ai_dmq3.c ting constant`u nesxipgrneesds iionnt 'f rom `int' to `unsicode/q3_ui/ui_splevel.cg:n246e:d wianrtn'i ng:code/q3_ui/ui_startserver.c :o1784v:e rwfalronwi nign: coovnevrefrltoiwn gi nc ocnosntvaenrtt ienxgp cronstant expresession frosimo n` ifnrto'm t `oi n`tu'n stiog n`eudn siingtn'e d int' code/q3_ui/ui_splevel.c:GAME_Q3LCC_MISSIONPACK code/game/ai_main.c 333: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_splevel.c:340: warning: overflow in converting constant expression from `int' to `unsigned int' GAME_Q3LCC_MISSIONPACK code/game/ai_team.c GAME_Q3LCC_MISSIONPACK code/game/ai_vcmd.c code/q3_ui/ui_video.c:463: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_video.c:473: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_video.c:488: warning: overflow in converting constant expression from `int' to `aurning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_sppostgame.c:371: warning: overflow in converting constant expression from `iGAME_Q3LCC_MISSIONPACK code/game/bg_misc.c nt' toGAME_Q3LCC_MISSIONPACK code/game/bg_pmove.c `unsigned int' ncode/q3_ui/ui_sppostgame.c:372: warning:ow in co novveerrtfilnogw cionn sctoannvte retxipnrge scsoinosnt afnrto me x`prienstsio'n from `int' to `unsigned intto' `unsigned int' signecode/q3_ui/ui_playermodel.c:144: warning: overflow in converting consGAME_Q3LCC_MISSIONPACK code/game/bg_slidemove.c tant expression from `int' to `unsigned int' code/q3_ui/ui_playermodel.c:150: warning: overflow in convertinGAME_Q3LCC_MISSIONPACK code/game/bg_lib.c g constant expression from `int' toGAME_Q3LCC_MISSIONPACK code/game/g_arenas.c `unsigned inGAME_Q3LCC_MISSIONPACK code/game/g_active.c t' GAME_Q3LCC_MISSIONPACK code/game/g_client.c code/q3_ui/ui_playermodel.c:155: warning: overflow in converting constant expression from `int' to `unsigned int' GAME_Q3LCC_MISSIONPACK code/game/g_bot.c d int' code/q3_ui/ui_playermodel.c:323: warning: oGAME_Q3LCC_MISSIONPACK code/game/g_cmds.c verflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_video.c:code/q3_ui/ui_playermodel.c:330: warning:GAME_Q3LCC_MISSIONPACK code/game/g_combat.c overflow in converting constant expression from `int' to `unsigned int' 492: warning: overflow in converting constant expression from `int' to `unsiGAME_Q3LCC_MISSIONPACK code/game/g_mem.c gGAME_Q3LCC_MISSIONPACK code/game/g_misc.c ned int' code/q3_ui/ui_video.c:496: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_video.c:500: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_video.c:504: warning: oGAME_Q3LCC_MISSIONPACK code/game/g_missile.c verflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_video.c:508: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_video.c:512: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_video.c:516: warning: overflow in converting conGAME_Q3LCC_MISSIONPACK code/game/g_mover.c stant expression from `int' to `unsigned int' code/q3_ui/ui_video.c:520: warning: overflow in converting constant expression from `int' to `unsigned int' code/q3_ui/ui_video.c:524: warning: overflow in converting constant expression from `int' to `unsGAME_Q3LCC_MISSIONPACK code/game/g_session.c igned int' GAME_Q3LCC_MISSIONPACK code/game/g_svcmds.c GAME_Q3LCC_MISSIONPACK code/game/g_spawn.c GAME_Q3LCC_MISSIONPACK code/game/g_items.c GAME_Q3LCC_MISSIONPACK code/game/g_target.c GAME_Q3LCC_MISSIONPACK code/game/g_team.c GAME_Q3LCC_MISSIONPACK code/game/g_trigger.c GAME_Q3LCC_MISSIONPACK code/game/g_utils.c GAME_Q3LCC_MISSIONPACK code/game/g_weapon.c Q3LCC_MISSIONPACK code/qcommon/q_math.c Q3LCC_MISSIONPACK code/qcommon/q_shared.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_main.c CGAME_Q3LCC_MISSIONPACK code/game/bg_misc.c CGAME_Q3LCC_MISSIONPACK code/game/bg_pmove.c CGAME_Q3LCC_MISSIONPACK code/game/bg_lib.c CGAME_Q3LCC_MISSIONPACK code/game/bg_slidemove.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 'AASCGAME_Q3LCC_MISSIONPACK code/cgame/cg_consolecmds.c _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; ^~~~~~~ CGAME_Q3LCC_MISSIONPACK code/cgame/cg_newdraw.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_draw.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_drawtools.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_effects.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_ents.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_event.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_info.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_localents.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_marks.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_players.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_playerstate.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_predict.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_scoreboard.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_snapshot.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_servercmds.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_view.c CGAME_Q3LCC_MISSIONPACK code/cgame/cg_weapons.c UI_Q3LCC_MISSIONPACK code/ui/ui_main.c UI_Q3LCC_MISSIONPACK code/ui/ui_atoms.c UI_Q3LCC_MISSIONPACK code/ui/ui_gameinfo.c UI_Q3LCC_MISSIONPACK code/ui/ui_shared.c UI_Q3LCC_MISSIONPACK code/ui/ui_players.c UI_Q3LCC_MISSIONPACK code/game/bg_misc.c UI_Q3LCC_MISSIONPACK code/game/bg_lib.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; ^~~~~~~~ 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-freebsd-x86_64/ioquake3.x86_64 LD build/release-freebsd-x86_64/missionpack/qagamex86_64.so Q3ASM build/release-freebsd-x86_64/baseq3/vm/cgame.qvm Q3ASM build/release-freebsd-x86_64/baseq3/vm/qagame.qvm Q3ASM build/release-freebsd-x86_64/baseq3/vm/ui.qvm Q3ASM build/release-freebsd-x86_64/missionpack/vm/qagame.qvm Q3ASM build/release-freebsd-x86_64/missionpack/vm/ui.qvm Q3ASM build/release-freebsd-x86_64/missionpack/vm/cgame.qvm 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}; ^~~ LD build/release-freebsd-x86_64/baseq3/qagamex86_64.so code/ui/ui_shared.c: In function 'Item_ListBox_OverLB': code/ui/ui_shared.c:1533:6: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count; ^~~~~ code/ui/ui_shared.c:1531:16: warning: variable 'listPtr' set but not used [-Wunused-but-set-variable] listBoxDef_t *listPtr; ^~~~~~~ code/ui/ui_shared.c: In function 'Item_Slider_Paint': code/ui/ui_shared.c:3381:14: warning: variable 'value' set but not used [-Wunused-but-set-variable] float x, y, value; ^~~~~ code/ui/ui_shared.c: In function 'Item_OwnerDraw_Paint': code/ui/ui_shared.c:3803:14: warning: variable 'parent' set but not used [-Wunused-but-set-variable] menuDef_t *parent; ^~~~~~ LD build/release-freebsd-x86_64/missionpack/cgamex86_64.so LD build/release-freebsd-x86_64/missionpack/uix86_64.so gmake[4]: Leaving directory '/construction/games/ioquake3/ioquake3-1.36' gmake[3]: Leaving directory '/construction/games/ioquake3/ioquake3-1.36' gmake[2]: Leaving directory '/construction/games/ioquake3/ioquake3-1.36' SUCCEEDED 00:00:19 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> ioquake3-1.36_17 depends on file: /usr/local/share/quake3/baseq3/pak1.pk3 - found ===> ioquake3-1.36_17 depends on executable: ioq3ded - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for ioquake3-1.36_17 ===> ioquake3-1.36_17 depends on file: /usr/local/share/quake3/baseq3/pak1.pk3 - found ===> ioquake3-1.36_17 depends on executable: ioq3ded - found ===> Generating temporary packing list /bin/mkdir -p /construction/games/ioquake3/stage/usr/local/lib/ioquake3/baseq3 /bin/mkdir -p /construction/games/ioquake3/stage/usr/local/lib/ioquake3/missionpack /bin/mkdir -p /construction/games/ioquake3/stage/usr/local/lib/ioquake3 /bin/mkdir -p /construction/games/ioquake3/stage/usr/local/share/doc/ioquake3 install -s -m 555 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/ioquake3.x86_64 /construction/games/ioquake3/stage/usr/local/bin/ioquake3 install -s -m 555 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/tools/q3asm /construction/games/ioquake3/stage/usr/local/bin/q3asm install -s -m 555 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/tools/q3cpp /construction/games/ioquake3/stage/usr/local/bin/q3cpp install -s -m 555 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/tools/q3lcc /construction/games/ioquake3/stage/usr/local/bin/q3lcc install -s -m 555 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/tools/q3rcc /construction/games/ioquake3/stage/usr/local/bin/q3rcc install -s -m 0644 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/baseq3/cgamex86_64.so /construction/games/ioquake3/stage/usr/local/lib/ioquake3/baseq3/cgamex86_64.so install -s -m 0644 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/baseq3/qagamex86_64.so /construction/games/ioquake3/stage/usr/local/lib/ioquake3/baseq3/qagamex86_64.so install -s -m 0644 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/baseq3/uix86_64.so /construction/games/ioquake3/stage/usr/local/lib/ioquake3/baseq3/uix86_64.so install -s -m 0644 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/missionpack/cgamex86_64.so /construction/games/ioquake3/stage/usr/local/lib/ioquake3/missionpack/cgamex86_64.so install -s -m 0644 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/missionpack/qagamex86_64.so /construction/games/ioquake3/stage/usr/local/lib/ioquake3/missionpack/qagamex86_64.so install -s -m 0644 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/missionpack/uix86_64.so /construction/games/ioquake3/stage/usr/local/lib/ioquake3/missionpack/uix86_64.so install -m 0644 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/../../README /construction/games/ioquake3/stage/usr/local/share/doc/ioquake3/README install -m 0644 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/../../id-readme.txt /construction/games/ioquake3/stage/usr/local/share/doc/ioquake3/id-readme.txt install -m 0644 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/../../md4-readme.txt /construction/games/ioquake3/stage/usr/local/share/doc/ioquake3/md4-readme.txt install -m 0644 /construction/games/ioquake3/ioquake3-1.36/build/release-freebsd-x86_64/../../voip-readme.txt /construction/games/ioquake3/stage/usr/local/share/doc/ioquake3/voip-readme.txt ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: 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 ioquake3-1.36_17 file sizes/checksums [16]: 0% file sizes/checksums [16]: 100% Service unavailablepacking files [16]: 0% packing files [16]: 100% packing directories [4]: 0% packing directories [4]: 100% SUCCEEDED 00:00:02 TOTAL TIME 00:00:35