------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/expat-2.2.8.txz Installing /packages/All/liblz4-1.9.2_1,1.txz Installing /packages/All/lzo2-2.10_1.txz Installing /packages/All/openssl-1.1.1d,1.txz Installing /packages/All/libarchive-3.4.2,1.txz Installing /packages/All/unmakeself-1.1_1.txz ===== Message from unmakeself-1.1_1: -- ===> NOTICE: The unmakeself port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.1.txz Installing /packages/All/gmake-4.2.1_3.txz Installing /packages/All/ncurses-6.1.20190525.txz Installing /packages/All/aalib-1.4.r5_13.txz ===== Message from aalib-1.4.r5_13: -- ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Installing /packages/All/libffi-3.2.1_3.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/wayland-1.16.0.txz Installing /packages/All/pciids-20200222.txz Installing /packages/All/libpciaccess-0.16.txz Installing /packages/All/libdrm-2.4.100.txz Installing /packages/All/libelf-0.8.13_3.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2019.2.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.9,1.txz Installing /packages/All/libXfixes-5.0.3_2.txz Installing /packages/All/libXdamage-1.1.5.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libXrender-0.9.10_2.txz Installing /packages/All/libXrandr-1.5.2.txz Installing /packages/All/libxshmfence-1.3.txz Installing /packages/All/libXxf86vm-1.1.4_3.txz Installing /packages/All/mesa-libs-18.3.2_4.txz Installing /packages/All/libGLU-9.0.1.txz Installing /packages/All/sdl-1.2.15_14,2.txz ===== Message from sdl-1.2.15_14,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". Installing /packages/All/libnghttp2-1.40.0.txz Installing /packages/All/ca_root_nss-3.51.txz ===== Message from ca_root_nss-3.51: -- 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-7.68.0.txz Installing /packages/All/libogg-1.3.4,4.txz Installing /packages/All/libvorbis-1.3.6,3.txz SUCCEEDED 00:00:09 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: The worldofpadman port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: The worldofpadman port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by worldofpadman-1.2.20080621_13 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: The worldofpadman port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by worldofpadman-1.2.20080621_13 for building => SHA256 Checksum OK for worldofpadman.run. => SHA256 Checksum OK for wop_patch_1_2.run. => SHA256 Checksum OK for worldofpadman-1.2.20080621.tar.bz2. SUCCEEDED 00:00:16 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/bin/unmakeself - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: The worldofpadman port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by worldofpadman-1.2.20080621_13 for building ===> Extracting for worldofpadman-1.2.20080621_13 ===> NOTICE: The worldofpadman port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by worldofpadman-1.2.20080621_13 for building => SHA256 Checksum OK for worldofpadman.run. => SHA256 Checksum OK for wop_patch_1_2.run. => SHA256 Checksum OK for worldofpadman-1.2.20080621.tar.bz2. ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/bin/unmakeself - found Extracted Memory Use: 1220.84M SUCCEEDED 00:00:25 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for worldofpadman-1.2.20080621_13 ===> Applying ports patches for worldofpadman-1.2.20080621_13 ===> Applying dragonfly patches for worldofpadman-1.2.20080621_13 /usr/bin/env WRKSRC=/construction/games/worldofpadman/worldofpadman-1.2.20080621 REWARNFILE=/construction/games/worldofpadman/reinplace_warnings.txt /xports/Tools/scripts/sed_checked.sh -e 's@freebsd@dragonfly@gi' /construction/games/worldofpadman/worldofpadman-1.2.20080621/Makefile SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_13 depends on executable: gmake - found ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/bin/sdl-config - found ===> worldofpadman-1.2.20080621_13 depends on package: xorgproto>=0 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_13 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> worldofpadman-1.2.20080621_13 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) ===> worldofpadman-1.2.20080621_13 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> worldofpadman-1.2.20080621_13 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> worldofpadman-1.2.20080621_13 depends on executable: gmake - found ===> worldofpadman-1.2.20080621_13 depends on file: /usr/local/bin/sdl-config - found ===> worldofpadman-1.2.20080621_13 depends on package: xorgproto>=0 - found ===> worldofpadman-1.2.20080621_13 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> worldofpadman-1.2.20080621_13 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) ===> worldofpadman-1.2.20080621_13 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> worldofpadman-1.2.20080621_13 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> Configuring for worldofpadman-1.2.20080621_13 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for worldofpadman-1.2.20080621_13 gmake[2]: Entering directory '/construction/games/worldofpadman/worldofpadman-1.2.20080621' gmake[3]: Entering directory '/construction/games/worldofpadman/worldofpadman-1.2.20080621' Building ioquake3 in build/release: PLATFORM: dragonfly ARCH: x86_64 VERSION: 1.35 COMPILE_PLATFORM: dragonfly COMPILE_ARCH: x86_64 CC: cc CFLAGS: -pipe -O2 -fno-strict-aliasing -MMD -DARCH="x86_64" -I/usr/local/include -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -DUSE_ICON -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_CODEC_VORBIS -DNO_VM_COMPILED -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DDEFAULT_BASEDIR="/usr/local/share/worldofpadman" -DSTANDALONE -DPRODUCT_VERSION="1.35" -DNDEBUG -pipe -O3 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations LDFLAGS: -lm Output: build/release/wopded build/release/wop build/release/wop-smp build/release/baseq3/cgame.so build/release/baseq3/qagame.so build/release/baseq3/ui.so gmake[4]: Entering directory '/construction/games/worldofpadman/worldofpadman-1.2.20080621' DED_CC code/server/sv_bot.c DED_CC code/server/sv_client.c DED_CC code/server/sv_game.c DED_CC code/server/sv_init.c DED_CC code/server/sv_main.c DED_CC code/server/sv_ccmds.c DED_CC code/server/sv_net_chan.c DED_CC code/server/sv_snapshot.c DED_CC code/server/sv_world.c DED_CC code/qcommon/cm_load.c code/server/sv_ccmds.c: In function 'checkMapRedirect': code/server/sv_ccmds.c:149:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ code/server/sv_init.c: In function 'SV_SetConfigstring': code/server/sv_init.c:107:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len, i; ^~~ code/server/sv_game.c: In function 'SV_inPVSIgnorePortals': code/server/sv_game.c:188:14: warning: variable 'area2' set but not used [-Wunused-but-set-variable] int area1, area2; ^~~~~ code/server/sv_game.c:188:7: warning: variable 'area1' set but not used [-Wunused-but-set-variable] int area1, area2; ^~~~~ code/server/sv_client.c: In function 'SV_IsBanned': code/server/sv_client.c:244:13: warning: variable 'addrlen' set but not used [-Wunused-but-set-variable] int index, addrlen, curbyte, netmask, cmpmask; ^~~~~~~ code/server/sv_world.c: In function 'SV_AreaEntities_r': code/server/sv_world.c:385:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count; ^~~~~ code/server/sv_world.c: In function 'SV_PointContents': code/server/sv_world.c:663:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] float *angles; ^~~~~~ code/server/sv_snapshot.c: In function 'SV_AddEntitiesVisibleFromPoint': code/server/sv_snapshot.c:301:7: warning: variable 'c_fullsend' set but not used [-Wunused-but-set-variable] int c_fullsend; ^~~~~~~~~~ code/server/sv_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; ^~~~~~~~~~~~~~~~~~~ DED_CC code/qcommon/cm_patch.c DED_CC code/qcommon/cm_polylib.c DED_CC code/qcommon/cm_test.c DED_CC code/qcommon/cm_trace.c DED_CC code/qcommon/cmd.c code/qcommon/cm_trace.c: In function 'CM_TraceThroughSphere': code/qcommon/cm_trace.c:738:8: warning: variable 'a' set but not used [-Wunused-but-set-variable] float a, b, c, d, sqrtd; ^ code/qcommon/cm_trace.c: In function 'CM_TraceThroughVerticalCylinder': code/qcommon/cm_trace.c:826:8: warning: variable 'a' set but not used [-Wunused-but-set-variable] float a, b, c, d, sqrtd; ^ code/qcommon/cmd.c: In function 'Cmd_Exec_f': code/qcommon/cmd.c:258:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ DED_CC code/qcommon/common.c code/qcommon/common.c: In function 'Z_TagMalloc': code/qcommon/common.c:921:14: warning: variable 'allocSize' set but not used [-Wunused-but-set-variable] int extra, allocSize; ^~~~~~~~~ code/qcommon/common.c: In function 'Com_Frame': code/qcommon/common.c:2812:6: warning: variable 'key' set but not used [-Wunused-but-set-variable] int key; ^~~ DED_CC code/qcommon/cvar.c DED_CC code/qcommon/files.c DED_CC code/qcommon/md4.c code/qcommon/files.c: In function 'FS_ComparePaks': code/qcommon/files.c:2522:20: warning: variable 'badchecksum' set but not used [-Wunused-but-set-variable] qboolean havepak, badchecksum; ^~~~~~~~~~~ At top level: code/qcommon/files.c:178:23: warning: 'pak_checksums' defined but not used [-Wunused-const-variable=] static const unsigned pak_checksums[] = { ^~~~~~~~~~~~~ DED_CC code/qcommon/msg.c code/qcommon/cvar.c: In function 'Cvar_Restart_f': code/qcommon/cvar.c:817:30: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] Com_Memset( var, 0, sizeof( var ) ); ^ DED_CC code/qcommon/net_chan.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; ^~~~~ DED_CC code/qcommon/net_ip.c code/qcommon/net_ip.c: In function 'NET_OpenSocks': code/qcommon/net_ip.c:1019:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err; ^~~ DED_CC code/qcommon/huffman.c DED_CC code/qcommon/q_math.c DED_CC code/qcommon/q_shared.c DED_CC code/qcommon/unzip.c code/qcommon/unzip.c: In function 'unzClose': code/qcommon/unzip.c:1415:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s->pfile_in_zip_read!=NULL) ^~ code/qcommon/unzip.c:1418:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fclose(s->file); ^~~~~~ code/qcommon/unzip.c: In function 'unzLocateFile': code/qcommon/unzip.c:1740:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP) ^~ code/qcommon/unzip.c:1743:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' s=(unz_s*)file; ^ code/qcommon/unzip.c: In function 'unzlocal_CheckCurrentFileCoherencyHeader': code/qcommon/unzip.c:1815:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) && ^~ code/qcommon/unzip.c:1819:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (unzlocal_getLong(s->file,&uData) != UNZ_OK) /* date/time */ ^~ code/qcommon/unzip.c: In function 'unzOpenCurrentFile': code/qcommon/unzip.c:1879:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s->pfile_in_zip_read != NULL) ^~ code/qcommon/unzip.c:1882:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (unzlocal_CheckCurrentFileCoherencyHeader(s,&iSizeVar, ^~ code/qcommon/unzip.c: In function 'unzReadCurrentFile': code/qcommon/unzip.c:2045:16: warning: variable 'bufBefore' set but not used [-Wunused-but-set-variable] const Byte *bufBefore; ^~~~~~~~~ DED_CC code/qcommon/vm.c DED_CC code/qcommon/vm_interpreted.c code/qcommon/vm.c: In function 'VM_LoadSymbols': code/qcommon/vm.c:220:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ code/qcommon/vm.c: In function 'VM_LoadQVM': code/qcommon/vm.c:363:10: warning: variable 'length' set but not used [-Wunused-but-set-variable] int length; ^~~~~~ BOT_CC code/botlib/be_aas_bspq3.c BOT_CC code/botlib/be_aas_cluster.c BOT_CC code/botlib/be_aas_debug.c BOT_CC code/botlib/be_aas_entity.c BOT_CC code/botlib/be_aas_file.c BOT_CC code/botlib/be_aas_main.c BOT_CC code/botlib/be_aas_move.c code/botlib/be_aas_move.c: In function 'AAS_AirControl': code/botlib/be_aas_move.c:391:9: warning: variable 'dir' set but not used [-Wunused-but-set-variable] vec3_t dir; ^~~ code/botlib/be_aas_move.c: In function 'AAS_ClientMovementPrediction': code/botlib/be_aas_move.c:520:35: warning: variable 'ax' set but not used [-Wunused-but-set-variable] int n, i, j, pc, step, swimming, ax, crouch, event, jump_frame, areanum; ^~ BOT_CC code/botlib/be_aas_optimize.c BOT_CC code/botlib/be_aas_reach.c code/botlib/be_aas_reach.c: In function 'AAS_BestReachableFromJumpPadArea': code/botlib/be_aas_reach.c:292:6: warning: variable 'area2num' set but not used [-Wunused-but-set-variable] int area2num, ent, bot_visualizejumppads, bestareanum; ^~~~~~~~ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_Swim': code/botlib/be_aas_reach.c:840:22: warning: variable 'areasettings' set but not used [-Wunused-but-set-variable] aas_areasettings_t *areasettings; ^~~~~~~~~~~~ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_Step_Barrier_WaterJump_WalkOffLedge': code/botlib/be_aas_reach.c:1076:61: warning: variable 'water_bestface1' set but not used [-Wunused-but-set-variable] aas_face_t *groundface1, *groundface2, *ground_bestface1, *water_bestface1; ^~~~~~~~~~~~~~~ code/botlib/be_aas_reach.c:1076:42: warning: variable 'ground_bestface1' set but not used [-Wunused-but-set-variable] aas_face_t *groundface1, *groundface2, *ground_bestface1, *water_bestface1; ^~~~~~~~~~~~~~~~ code/botlib/be_aas_reach.c:1065:34: warning: variable 'invgravitydot' set but not used [-Wunused-but-set-variable] float dist, dist1, dist2, diff, invgravitydot, ortdot; ^~~~~~~~~~~~~ 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; ^~~~~~~ BOT_CC code/botlib/be_aas_route.c BOT_CC code/botlib/be_aas_routealt.c code/botlib/be_aas_route.c: In function 'AAS_CalculateAreaTravelTimes': code/botlib/be_aas_route.c:509:6: warning: variable 'starttime' set but not used [-Wunused-but-set-variable] int starttime; ^~~~~~~~~ code/botlib/be_aas_route.c: In function 'AAS_CreateAllRoutingCache': code/botlib/be_aas_route.c:894:12: warning: variable 't' set but not used [-Wunused-but-set-variable] int i, j, t; ^ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_WeaponJump': code/botlib/be_aas_reach.c:4000:21: warning: variable 'hordist' set but not used [-Wunused-but-set-variable] float speed, zvel, hordist; ^~~~~~~ BOT_CC code/botlib/be_aas_sample.c BOT_CC code/botlib/be_ai_char.c BOT_CC code/botlib/be_ai_chat.c code/botlib/be_ai_chat.c: In function 'BotFreeChatState': code/botlib/be_ai_chat.c:2942:19: warning: variable 'cs' set but not used [-Wunused-but-set-variable] bot_chatstate_t *cs; ^~ BOT_CC code/botlib/be_ai_gen.c code/botlib/be_ai_gen.c: In function 'GeneticSelection': code/botlib/be_ai_gen.c:54:13: warning: variable 'select' set but not used [-Wunused-but-set-variable] float sum, select; ^~~~~~ BOT_CC code/botlib/be_ai_goal.c BOT_CC code/botlib/be_ai_move.c code/botlib/be_ai_goal.c: In function 'BotSaveGoalFuzzyLogic': code/botlib/be_ai_goal.c:279:19: warning: variable 'gs' set but not used [-Wunused-but-set-variable] bot_goalstate_t *gs; ^~ code/botlib/be_ai_goal.c: In function 'BotChooseLTGItem': code/botlib/be_ai_goal.c:1337:8: warning: variable 'fuzzweight' set but not used [-Wunused-but-set-variable] float fuzzweight; // weight without distance scaling ^~~~~~~~~~ code/botlib/be_ai_move.c: In function 'BotFinishTravel_BarrierJump': code/botlib/be_ai_move.c:1482:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist; ^~~~ code/botlib/be_ai_move.c: In function 'BotFinishTravel_WaterJump': code/botlib/be_ai_move.c:1569:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist; ^~~~ code/botlib/be_ai_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_move.c: In function 'BotTravel_JumpPad': code/botlib/be_ai_move.c:3001:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist, speed; ^~~~ BOT_CC code/botlib/be_ai_weap.c code/botlib/be_ai_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 code/botlib/be_ai_goal.c: In function 'LoadItemConfig': code/botlib/be_ai_goal.c:322:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( path, filename, MAX_PATH ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/be_ai_goal.c:355:4: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 1023 [-Wstringop-truncation] strncpy(ii->classname, token.string, sizeof(ii->classname)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/be_ea.c BOT_CC code/botlib/be_interface.c In function 'BotGoalName.constprop', inlined from 'BotDumpAvoidGoals' at code/botlib/be_ai_goal.c:768:4: code/botlib/be_ai_goal.c:727:4: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 79 [-Wstringop-truncation] strncpy(name, itemconfig->iteminfo[li->iteminfo].name, size-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_crc.c BOT_CC code/botlib/l_libvar.c BOT_CC code/botlib/l_log.c code/botlib/l_log.c: In function 'Log_Open': code/botlib/l_log.c:77:2: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(logfile.filename, filename, MAX_LOGFILENAMESIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_memory.c BOT_CC code/botlib/l_precomp.c BOT_CC code/botlib/l_script.c BOT_CC code/botlib/l_struct.c code/botlib/l_precomp.c: In function 'PC_EvaluateTokens': code/botlib/l_precomp.c:1701:6: warning: variable 'lastoperatortype' set but not used [-Wunused-but-set-variable] int lastoperatortype = 0; ^~~~~~~~~~~~~~~~ code/botlib/l_precomp.c: In function 'PC_Directive_include.part.3': code/botlib/l_precomp.c:1015:4: warning: 'strncat' output may be truncated copying 63 bytes from a string of length 1023 [-Wstringop-truncation] strncat(path, token.string, MAX_PATH - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/l_struct.c: In function 'ReadString': code/botlib/l_struct.c:224:2: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 1023 [-Wstringop-truncation] strncpy((char *) p, token.string, MAX_STRINGFIELD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'ReadString.constprop', inlined from 'ReadStructure' at code/botlib/l_struct.c:294:11: code/botlib/l_struct.c:224:2: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 1023 [-Wstringop-truncation] strncpy((char *) p, token.string, MAX_STRINGFIELD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/be_ai_chat.c: In function '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/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DED_CC code/null/null_client.c In function 'BotGoalName.constprop', inlined from 'BotDumpGoalStack' at code/botlib/be_ai_goal.c:1230:3: code/botlib/be_ai_goal.c:727:4: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 79 [-Wstringop-truncation] strncpy(name, itemconfig->iteminfo[li->iteminfo].name, size-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DED_CC code/null/null_input.c 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DED_CC code/null/null_snddma.c DED_CC code/sys/con_log.c In function 'PC_StringizeTokens', inlined from 'PC_ExpandDefine' at code/botlib/l_precomp.c:849:11: code/botlib/l_precomp.c:472:3: warning: 'strncat' output may be truncated copying between 0 and 1023 bytes from a string of length 1023 [-Wstringop-truncation] strncat(token->string, t->string, MAX_TOKEN - strlen(token->string) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DED_CC code/sys/sys_main.c DED_CC code/sys/sys_unix.c code/sys/sys_unix.c: In function 'Sys_ListFiles': code/sys/sys_unix.c:323:16: warning: variable 'extLen' set but not used [-Wunused-but-set-variable] int extLen; ^~~~~~ DED_CC code/sys/con_tty.c CC code/client/cl_cgame.c CC code/client/cl_cin.c 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/client/cl_console.c code/client/cl_cin.c: In function 'yuv_to_rgb': code/client/cl_cin.c:585:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (r<0) r = 0; if (g<0) g = 0; if (b<0) b = 0; ^~ code/client/cl_cin.c:585:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (r<0) r = 0; if (g<0) g = 0; if (b<0) b = 0; ^~ code/client/cl_cin.c:586:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (r > 31) r = 31; if (g > 63) g = 63; if (b > 31) b = 31; ^~ code/client/cl_cin.c:586:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (r > 31) r = 31; if (g > 63) g = 63; if (b > 31) b = 31; ^~ code/client/cl_cin.c: In function 'yuv_to_rgb24': code/client/cl_cin.c:606:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (r<0) r = 0; if (g<0) g = 0; if (b<0) b = 0; ^~ code/client/cl_cin.c:606:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (r<0) r = 0; if (g<0) g = 0; if (b<0) b = 0; ^~ code/client/cl_cin.c:607:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (r > 255) r = 255; if (g > 255) g = 255; if (b > 255) b = 255; ^~ code/client/cl_cin.c:607:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (r > 255) r = 255; if (g > 255) g = 255; if (b > 255) b = 255; ^~ CC code/client/cl_input.c code/client/cl_cin.c: In function 'CL_PlayCinematic_f': code/client/cl_cin.c:1589:11: warning: variable 'holdatend' set but not used [-Wunused-but-set-variable] qboolean holdatend; ^~~~~~~~~ code/client/cl_input.c: In function 'CL_JoystickMove': code/client/cl_input.c:384:7: warning: variable 'movespeed' set but not used [-Wunused-but-set-variable] int movespeed; ^~~~~~~~~ code/client/cl_input.c: In function 'CL_CreateNewCommands': code/client/cl_input.c:582:13: warning: variable 'cmd' set but not used [-Wunused-but-set-variable] usercmd_t *cmd; ^~~ CC code/client/cl_keys.c CC code/client/cl_main.c code/client/cl_main.c: In function 'CL_ChangeReliableCommand': code/client/cl_main.c:160:6: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r, index, l; ^ code/client/cl_main.c: In function 'CL_GetServerStatus': code/client/cl_main.c:3009:18: warning: variable 'serverStatus' set but not used [-Wunused-but-set-variable] serverStatus_t *serverStatus; ^~~~~~~~~~~~ code/botlib/be_ai_move.c: In function 'BotResetLastAvoidReach': code/botlib/be_ai_move.c:3713:26: warning: array subscript 1 is above array bounds of 'int[1]' [-Warray-bounds] if (ms->avoidreachtries[i] > 0) ms->avoidreachtries[latest]--; ~~~~~~~~~~~~~~~~~~~^~~ CC code/client/cl_net_chan.c CC code/client/cl_parse.c CC code/client/cl_scrn.c CC code/client/cl_ui.c code/client/cl_scrn.c: In function 'SCR_DrawDebugGraph': code/client/cl_scrn.c:384:7: warning: variable 'color' set but not used [-Wunused-but-set-variable] int color; ^~~~~ CC code/client/cl_avi.c CC code/qcommon/cm_load.c CC code/qcommon/cm_patch.c CC code/qcommon/cm_polylib.c CC code/qcommon/cm_test.c CC code/qcommon/cm_trace.c code/qcommon/cm_trace.c: In function 'CM_TraceThroughSphere': code/qcommon/cm_trace.c:738:8: warning: variable 'a' set but not used [-Wunused-but-set-variable] float a, b, c, d, sqrtd; ^ code/qcommon/cm_trace.c: In function 'CM_TraceThroughVerticalCylinder': code/qcommon/cm_trace.c:826:8: warning: variable 'a' set but not used [-Wunused-but-set-variable] float a, b, c, d, sqrtd; ^ CC code/qcommon/cmd.c code/qcommon/cmd.c: In function 'Cmd_Exec_f': code/qcommon/cmd.c:258:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ CC code/qcommon/common.c code/qcommon/common.c: In function 'Z_TagMalloc': code/qcommon/common.c:921:14: warning: variable 'allocSize' set but not used [-Wunused-but-set-variable] int extra, allocSize; ^~~~~~~~~ code/qcommon/common.c: In function 'Com_WriteConfiguration': code/qcommon/common.c:2699:10: warning: variable 'fs' set but not used [-Wunused-but-set-variable] cvar_t *fs; ^~ code/qcommon/common.c: In function 'Com_Frame': code/qcommon/common.c:2812:6: warning: variable 'key' set but not used [-Wunused-but-set-variable] int key; ^~~ CC code/qcommon/cvar.c code/qcommon/cvar.c: In function 'Cvar_Restart_f': code/qcommon/cvar.c:817:30: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] Com_Memset( var, 0, sizeof( var ) ); ^ CC code/qcommon/files.c CC code/qcommon/md4.c code/qcommon/files.c: In function 'FS_ComparePaks': code/qcommon/files.c:2522:20: warning: variable 'badchecksum' set but not used [-Wunused-but-set-variable] qboolean havepak, badchecksum; ^~~~~~~~~~~ At top level: code/qcommon/files.c:178:23: warning: 'pak_checksums' defined but not used [-Wunused-const-variable=] static const unsigned pak_checksums[] = { ^~~~~~~~~~~~~ CC code/qcommon/md5.c CC code/qcommon/msg.c code/qcommon/md5.c: In function 'MD5Final': code/qcommon/md5.c:256:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ CC code/qcommon/net_chan.c 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/qcommon/net_ip.c CC code/qcommon/huffman.c CC code/client/snd_adpcm.c code/qcommon/net_ip.c: In function 'NET_OpenSocks': code/qcommon/net_ip.c:1019:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err; ^~~ CC code/client/snd_dma.c CC code/client/snd_mem.c CC code/client/snd_mix.c CC code/client/snd_wavelet.c CC code/client/snd_main.c CC code/client/snd_codec.c code/client/snd_wavelet.c: In function 'encodeWavelet': code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] float *a=b-1; // numerical recipies so a[1] = b[0] ^ code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_codec.c: In function 'S_CodecLoad': code/client/snd_codec.c:154:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(fn, filename, sizeof(fn)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/client/snd_codec.c: In function 'S_CodecOpenStream': code/client/snd_codec.c:184:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(fn, filename, sizeof(fn)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/client/snd_codec_wav.c code/client/snd_codec_wav.c: In function 'S_ReadRIFFHeader': code/client/snd_codec_wav.c:134:6: warning: variable 'wav_format' set but not used [-Wunused-but-set-variable] int wav_format; ^~~~~~~~~~ CC code/client/snd_codec_ogg.c code/client/snd_wavelet.c: In function 'decodeWavelet': code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] float *a=b-1; // numerical recipies so a[1] = b[0] ^ code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] code/client/snd_wavelet.c:35:9: warning: array subscript -1 is below array bounds of 'float[4097]' [-Warray-bounds] In file included from code/client/snd_codec_ogg.c:34: /usr/local/include/vorbis/vorbisfile.h:95:21: warning: 'OV_CALLBACKS_STREAMONLY_NOCLOSE' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_STREAMONLY_NOCLOSE = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/vorbis/vorbisfile.h:88:21: warning: 'OV_CALLBACKS_STREAMONLY' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_STREAMONLY = { ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/vorbis/vorbisfile.h:81:21: warning: 'OV_CALLBACKS_NOCLOSE' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_NOCLOSE = { ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/vorbis/vorbisfile.h:74:21: warning: 'OV_CALLBACKS_DEFAULT' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_DEFAULT = { ^~~~~~~~~~~~~~~~~~~~ CC code/client/snd_codec_mp3.c CC code/client/qal.c CC code/client/snd_openal.c CC code/client/cl_curl.c CC code/server/sv_bot.c CC code/server/sv_ccmds.c code/server/sv_ccmds.c: In function 'checkMapRedirect': code/server/sv_ccmds.c:149:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ CC code/server/sv_client.c CC code/server/sv_game.c code/server/sv_client.c: In function 'SV_IsBanned': code/server/sv_client.c:244:13: warning: variable 'addrlen' set but not used [-Wunused-but-set-variable] int index, addrlen, curbyte, netmask, cmpmask; ^~~~~~~ CC code/server/sv_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_world.c CC code/server/sv_snapshot.c code/server/sv_world.c: In function 'SV_AreaEntities_r': code/server/sv_world.c:385:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count; ^~~~~ code/server/sv_world.c: In function 'SV_PointContents': code/server/sv_world.c:663:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] float *angles; ^~~~~~ code/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/qcommon/q_math.c CC code/qcommon/q_shared.c CC code/qcommon/unzip.c code/qcommon/unzip.c: In function 'unzClose': code/qcommon/unzip.c:1415:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s->pfile_in_zip_read!=NULL) ^~ code/qcommon/unzip.c:1418:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fclose(s->file); ^~~~~~ code/qcommon/unzip.c: In function 'unzLocateFile': code/qcommon/unzip.c:1740:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP) ^~ code/qcommon/unzip.c:1743:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' s=(unz_s*)file; ^ code/qcommon/unzip.c: In function 'unzlocal_CheckCurrentFileCoherencyHeader': code/qcommon/unzip.c:1815:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) && ^~ code/qcommon/unzip.c:1819:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (unzlocal_getLong(s->file,&uData) != UNZ_OK) /* date/time */ ^~ code/qcommon/unzip.c: In function 'unzOpenCurrentFile': code/qcommon/unzip.c:1879:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s->pfile_in_zip_read != NULL) ^~ code/qcommon/unzip.c:1882:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (unzlocal_CheckCurrentFileCoherencyHeader(s,&iSizeVar, ^~ code/qcommon/unzip.c: In function 'unzReadCurrentFile': code/qcommon/unzip.c:2045:16: warning: variable 'bufBefore' set but not used [-Wunused-but-set-variable] const Byte *bufBefore; ^~~~~~~~~ CC code/qcommon/puff.c CC code/qcommon/vm.c code/qcommon/vm.c: In function 'VM_LoadSymbols': code/qcommon/vm.c:220:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ code/qcommon/vm.c: In function 'VM_LoadQVM': code/qcommon/vm.c:363:10: warning: variable 'length' set but not used [-Wunused-but-set-variable] int length; ^~~~~~ CC code/qcommon/vm_interpreted.c BOT_CC code/botlib/be_aas_bspq3.c BOT_CC code/botlib/be_aas_cluster.c BOT_CC code/botlib/be_aas_debug.c BOT_CC code/botlib/be_aas_entity.c BOT_CC code/botlib/be_aas_file.c BOT_CC code/botlib/be_aas_main.c BOT_CC code/botlib/be_aas_move.c code/botlib/be_aas_move.c: In function 'AAS_AirControl': code/botlib/be_aas_move.c:391:9: warning: variable 'dir' set but not used [-Wunused-but-set-variable] vec3_t dir; ^~~ code/botlib/be_aas_move.c: In function 'AAS_ClientMovementPrediction': code/botlib/be_aas_move.c:520:35: warning: variable 'ax' set but not used [-Wunused-but-set-variable] int n, i, j, pc, step, swimming, ax, crouch, event, jump_frame, areanum; ^~ BOT_CC code/botlib/be_aas_optimize.c BOT_CC code/botlib/be_aas_reach.c BOT_CC code/botlib/be_aas_route.c BOT_CC code/botlib/be_aas_routealt.c code/botlib/be_aas_reach.c: In function 'AAS_BestReachableFromJumpPadArea': code/botlib/be_aas_reach.c:292:6: warning: variable 'area2num' set but not used [-Wunused-but-set-variable] int area2num, ent, bot_visualizejumppads, bestareanum; ^~~~~~~~ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_Swim': code/botlib/be_aas_reach.c:840:22: warning: variable 'areasettings' set but not used [-Wunused-but-set-variable] aas_areasettings_t *areasettings; ^~~~~~~~~~~~ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_Step_Barrier_WaterJump_WalkOffLedge': code/botlib/be_aas_reach.c:1076:61: warning: variable 'water_bestface1' set but not used [-Wunused-but-set-variable] aas_face_t *groundface1, *groundface2, *ground_bestface1, *water_bestface1; ^~~~~~~~~~~~~~~ code/botlib/be_aas_reach.c:1076:42: warning: variable 'ground_bestface1' set but not used [-Wunused-but-set-variable] aas_face_t *groundface1, *groundface2, *ground_bestface1, *water_bestface1; ^~~~~~~~~~~~~~~~ code/botlib/be_aas_reach.c:1065:34: warning: variable 'invgravitydot' set but not used [-Wunused-but-set-variable] float dist, dist1, dist2, diff, invgravitydot, ortdot; ^~~~~~~~~~~~~ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_JumpPad': code/botlib/be_aas_reach.c:3495:21: warning: variable 'hordist' set but not used [-Wunused-but-set-variable] float speed, zvel, hordist; ^~~~~~~ code/botlib/be_aas_reach.c: In function 'AAS_Reachability_WeaponJump': code/botlib/be_aas_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_reach.c:4000:21: warning: variable 'hordist' set but not used [-Wunused-but-set-variable] float speed, zvel, hordist; ^~~~~~~ code/botlib/be_aas_route.c: In function 'AAS_CreateAllRoutingCache': code/botlib/be_aas_route.c:894:12: warning: variable 't' set but not used [-Wunused-but-set-variable] int i, j, t; ^ BOT_CC code/botlib/be_aas_sample.c BOT_CC code/botlib/be_ai_char.c BOT_CC code/botlib/be_ai_chat.c code/botlib/be_ai_chat.c: In function 'BotFreeChatState': code/botlib/be_ai_chat.c:2942:19: warning: variable 'cs' set but not used [-Wunused-but-set-variable] bot_chatstate_t *cs; ^~ BOT_CC code/botlib/be_ai_gen.c code/botlib/be_ai_gen.c: In function 'GeneticSelection': code/botlib/be_ai_gen.c:54:13: warning: variable 'select' set but not used [-Wunused-but-set-variable] float sum, select; ^~~~~~ BOT_CC code/botlib/be_ai_goal.c code/botlib/be_ai_goal.c: In function 'BotSaveGoalFuzzyLogic': code/botlib/be_ai_goal.c:279:19: warning: variable 'gs' set but not used [-Wunused-but-set-variable] bot_goalstate_t *gs; ^~ code/botlib/be_ai_goal.c: In function 'BotChooseLTGItem': code/botlib/be_ai_goal.c:1337:8: warning: variable 'fuzzweight' set but not used [-Wunused-but-set-variable] float fuzzweight; // weight without distance scaling ^~~~~~~~~~ BOT_CC code/botlib/be_ai_move.c code/botlib/be_ai_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_move.c: In function 'BotFinishTravel_BarrierJump': code/botlib/be_ai_move.c:1482:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist; ^~~~ code/botlib/be_ai_move.c: In function 'BotFinishTravel_WaterJump': code/botlib/be_ai_move.c:1569:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist; ^~~~ code/botlib/be_ai_move.c: In function 'BotTravel_JumpPad': code/botlib/be_ai_move.c:3001:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist, speed; ^~~~ BOT_CC code/botlib/be_ai_weap.c code/botlib/be_ai_goal.c: In function 'LoadItemConfig': code/botlib/be_ai_goal.c:322:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( path, filename, MAX_PATH ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/be_ai_goal.c:355:4: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 1023 [-Wstringop-truncation] strncpy(ii->classname, token.string, sizeof(ii->classname)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/be_ai_weap.c: In function 'LoadWeaponConfig': code/botlib/be_ai_weap.c:222:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(path, filename, MAX_PATH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'BotGoalName.constprop', inlined from 'BotDumpAvoidGoals' at code/botlib/be_ai_goal.c:768:4: code/botlib/be_ai_goal.c:727:4: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 79 [-Wstringop-truncation] strncpy(name, itemconfig->iteminfo[li->iteminfo].name, size-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/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 BOT_CC code/botlib/l_libvar.c code/botlib/be_ai_chat.c: In function 'BotFindMatch': code/botlib/be_ai_chat.c:1461:2: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(match->string, str, MAX_MESSAGE_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'BotGoalName.constprop', inlined from 'BotDumpGoalStack' at code/botlib/be_ai_goal.c:1230:3: code/botlib/be_ai_goal.c:727:4: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 79 [-Wstringop-truncation] strncpy(name, itemconfig->iteminfo[li->iteminfo].name, size-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_log.c BOT_CC code/botlib/l_memory.c code/botlib/l_log.c: In function 'Log_Open': code/botlib/l_log.c:77:2: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(logfile.filename, filename, MAX_LOGFILENAMESIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_precomp.c code/botlib/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; ^~~~~~~~~~~~~~~~ BOT_CC code/botlib/l_script.c BOT_CC code/botlib/l_struct.c 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/botlib/l_struct.c: In function 'ReadString': code/botlib/l_struct.c:224:2: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 1023 [-Wstringop-truncation] strncpy((char *) p, token.string, MAX_STRINGFIELD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'ReadString.constprop', inlined from 'ReadStructure' at code/botlib/l_struct.c:294:11: code/botlib/l_struct.c:224:2: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 1023 [-Wstringop-truncation] strncpy((char *) p, token.string, MAX_STRINGFIELD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/jpeg-6/jcapimin.c CC code/jpeg-6/jcapistd.c CC code/jpeg-6/jchuff.c CC code/jpeg-6/jcinit.c CC code/jpeg-6/jccoefct.c code/botlib/l_precomp.c: In function 'PC_Directive_include.part.3': code/botlib/l_precomp.c:1015:4: warning: 'strncat' output may be truncated copying 63 bytes from a string of length 1023 [-Wstringop-truncation] strncat(path, token.string, MAX_PATH - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/jpeg-6/jccolor.c CC code/jpeg-6/jfdctflt.c code/botlib/l_precomp.c: In function 'PC_StringizeTokens': code/botlib/l_precomp.c:472:3: warning: 'strncat' output may be truncated copying between 0 and 1023 bytes from a string of length 1023 [-Wstringop-truncation] strncat(token->string, t->string, MAX_TOKEN - strlen(token->string) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/jpeg-6/jcdctmgr.c CC code/jpeg-6/jcphuff.c CC code/jpeg-6/jcmainct.c CC code/jpeg-6/jcmarker.c In function 'PC_StringizeTokens', inlined from 'PC_ExpandDefine' at code/botlib/l_precomp.c:849:11: code/botlib/l_precomp.c:472:3: warning: 'strncat' output may be truncated copying between 0 and 1023 bytes from a string of length 1023 [-Wstringop-truncation] strncat(token->string, t->string, MAX_TOKEN - strlen(token->string) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC code/jpeg-6/jcmaster.c code/botlib/be_ai_move.c: In function 'BotResetLastAvoidReach': code/botlib/be_ai_move.c:3713:26: warning: array subscript 1 is above array bounds of 'int[1]' [-Warray-bounds] if (ms->avoidreachtries[i] > 0) ms->avoidreachtries[latest]--; ~~~~~~~~~~~~~~~~~~~^~~ CC code/jpeg-6/jcomapi.c CC code/jpeg-6/jcparam.c CC code/jpeg-6/jcprepct.c CC code/jpeg-6/jcsample.c CC code/jpeg-6/jdapimin.c CC code/jpeg-6/jdapistd.c CC code/jpeg-6/jdatasrc.c CC code/jpeg-6/jdcoefct.c CC code/jpeg-6/jdcolor.c In file included from code/jpeg-6/jcparam.c:14: In function 'add_huff_table', inlined from 'std_huff_tables' at code/jpeg-6/jcparam.c:228:3, inlined from 'jpeg_set_defaults' at code/jpeg-6/jcparam.c:273:3: code/jpeg-6/jinclude.h:93:32: warning: 'memcpy' forming offset [13, 256] is out of the bounds [0, 12] of object 'val_dc_luminance' with type 'const UINT8[12]' {aka 'const unsigned char[12]'} [-Warray-bounds] #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/jpeg-6/jcparam.c:156:3: note: in expansion of macro 'MEMCOPY' MEMCOPY((*htblptr)->huffval, val, SIZEOF((*htblptr)->huffval)); ^~~~~~~ code/jpeg-6/jcparam.c: In function 'jpeg_set_defaults': code/jpeg-6/jcparam.c:170:22: note: 'val_dc_luminance' declared here static const UINT8 val_dc_luminance[] = ^~~~~~~~~~~~~~~~ In file included from code/jpeg-6/jcparam.c:14: In function 'add_huff_table', inlined from 'std_huff_tables' at code/jpeg-6/jcparam.c:230:3, inlined from 'jpeg_set_defaults' at code/jpeg-6/jcparam.c:273:3: code/jpeg-6/jinclude.h:93:32: warning: 'memcpy' forming offset [163, 256] is out of the bounds [0, 162] of object 'val_ac_luminance' with type 'const UINT8[162]' {aka 'const unsigned char[162]'} [-Warray-bounds] #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/jpeg-6/jcparam.c:156:3: note: in expansion of macro 'MEMCOPY' MEMCOPY((*htblptr)->huffval, val, SIZEOF((*htblptr)->huffval)); ^~~~~~~ code/jpeg-6/jcparam.c: In function 'jpeg_set_defaults': code/jpeg-6/jcparam.c:180:22: note: 'val_ac_luminance' declared here static const UINT8 val_ac_luminance[] = ^~~~~~~~~~~~~~~~ In file included from code/jpeg-6/jcparam.c:14: In function 'add_huff_table', inlined from 'std_huff_tables' at code/jpeg-6/jcparam.c:232:3, inlined from 'jpeg_set_defaults' at code/jpeg-6/jcparam.c:273:3: code/jpeg-6/jinclude.h:93:32: warning: 'memcpy' forming offset [13, 256] is out of the bounds [0, 12] of object 'val_dc_chrominance' with type 'const UINT8[12]' {aka 'const unsigned char[12]'} [-Warray-bounds] #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size)CC code/jpeg-6/jddctmgr.c ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/jpeg-6/jcparam.c:156:3: note: in expansion of macro 'MEMCOPY' MEMCOPY((*htblptr)->huffval, val, SIZEOF((*htblptr)->huffval)); ^~~~~~~ code/jpeg-6/jcparam.c: In function 'jpeg_set_defaults': code/jpeg-6/jcparam.c:175:22: note: 'val_dc_chrominance' declared here static const UINT8 val_dc_chrominance[] = ^~~~~~~~~~~~~~~~~~ In file included from code/jpeg-6/jcparam.c:14: In function 'add_huff_table', inlined from 'std_huff_tables' at code/jpeg-6/jcparam.c:234:3, inlined from 'jpeg_set_defaults' at code/jpeg-6/jcparam.c:273:3: code/jpeg-6/jinclude.h:93:32: warning: 'memcpy' forming offset [163, 256] is out of the bounds [0, 162] of object 'val_ac_chrominance' with type 'const UINT8[162]' {aka 'const unsigned char[162]'} [-Warray-bounds] #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/jpeg-6/jcparam.c:156:3: note: in expansion of macro 'MEMCOPY' MEMCOPY((*htblptr)->huffval, val, SIZEOF((*htblptr)->huffval)); ^~~~~~~ code/jpeg-6/jcparam.c: In function 'jpeg_set_defaults': code/jpeg-6/jcparam.c:205:22: note: 'val_ac_chrominance' declared here static const UINT8 val_ac_chrominance[] = ^~~~~~~~~~~~~~~~~~ CC code/jpeg-6/jdhuff.c CC code/jpeg-6/jdinput.c CC code/jpeg-6/jdmainct.c CC code/jpeg-6/jdmarker.c CC code/jpeg-6/jdmaster.c CC code/jpeg-6/jdpostct.c CC code/jpeg-6/jdsample.c CC code/jpeg-6/jdtrans.c CC code/jpeg-6/jerror.c CC code/jpeg-6/jidctflt.c CC code/jpeg-6/jmemmgr.c CC code/jpeg-6/jmemnobs.c CC code/jpeg-6/jutils.c CC code/renderer/tr_animation.c CC code/renderer/tr_backend.c CC code/renderer/tr_bsp.c CC code/renderer/tr_cmds.c CC code/renderer/tr_curve.c CC code/renderer/tr_flares.c CC code/renderer/tr_font.c 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_image.c CC code/renderer/tr_image_png.c code/renderer/tr_image.c: In function 'R_CreateFogImage': code/renderer/tr_image.c:1070:8: warning: variable 'g' set but not used [-Wunused-but-set-variable] float g; ^ code/renderer/tr_image_png.c: In function 'R_LoadPNG': code/renderer/tr_image_png.c:2275:27: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] if(!ChunkHeaderLength == 2) ^~ code/renderer/tr_image_png.c:2275:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] code/renderer/tr_image_png.c:2275:8: note: add parentheses around left hand side expression to silence this warning if(!ChunkHeaderLength == 2) ^~~~~~~~~~~~~~~~~~ ( ) code/renderer/tr_image_png.c:2297:27: warning: comparison of constant '6' with boolean expression is always false [-Wbool-compare] if(!ChunkHeaderLength == 6) ^~ code/renderer/tr_image_png.c:2297:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] code/renderer/tr_image_png.c:2297:8: note: add parentheses around left hand side expression to silence this warning if(!ChunkHeaderLength == 6) ^~~~~~~~~~~~~~~~~~ ( ) CC code/renderer/tr_image_jpg.c CC code/renderer/tr_image_bmp.c CC code/renderer/tr_image_tga.c CC code/renderer/tr_image_pcx.c CC code/renderer/tr_init.c CC code/renderer/tr_light.c CC code/renderer/tr_main.c CC code/renderer/tr_marks.c CC code/renderer/tr_mesh.c CC code/renderer/tr_model.c CC code/renderer/tr_noise.c CC code/renderer/tr_scene.c CC code/renderer/tr_shade.c CC code/renderer/tr_shade_calc.c CC code/renderer/tr_shader.c code/renderer/tr_shade_calc.c: In function 'RB_CalcColorFromOneMinusEntity': code/renderer/tr_shade_calc.c:623:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] int c; ^ CC code/renderer/tr_shadows.c code/renderer/tr_shade.c: In function 'RB_StageIteratorVertexLitTexture': code/renderer/tr_shade.c:1274:13: warning: variable 'shader' set but not used [-Wunused-but-set-variable] shader_t *shader; ^~~~~~ code/renderer/tr_shader.c: In function 'ParseStage': code/renderer/tr_shader.c:1037:23: warning: comparison between 'alphaGen_t' {aka 'enum '} and 'enum ' [-Wenum-compare] if ( stage->alphaGen == CGEN_IDENTITY ) { ^~ code/renderer/tr_shader.c: In function 'CollapseMultitexture': code/renderer/tr_shader.c:1831:26: warning: comparison between 'alphaGen_t' {aka 'enum '} and 'enum ' [-Wenum-compare] if ( stages[0].alphaGen == CGEN_WAVEFORM ) ^~ CC code/renderer/tr_sky.c code/renderer/tr_sky.c: In function 'R_BuildCloudData': code/renderer/tr_sky.c:608:12: warning: variable 'shader' set but not used [-Wunused-but-set-variable] shader_t *shader; ^~~~~~ CC code/renderer/tr_surface.c CC code/renderer/tr_world.c CC code/sdl/sdl_gamma.c CC code/sdl/sdl_input.c CC code/sdl/sdl_snd.c CC code/sys/con_passive.c CC code/sys/con_log.c CC code/sys/sys_main.c CC code/sys/sys_unix.c code/sys/sys_unix.c: In function 'Sys_ListFiles': code/sys/sys_unix.c:323:16: warning: variable 'extLen' set but not used [-Wunused-but-set-variable] int extLen; ^~~~~~ CC code/sdl/sdl_glimp.c SMP_CC code/sdl/sdl_glimp.c CGAME_CC code/cgame/cg_main.c CGAME_CC code/game/bg_misc.c CGAME_CC code/game/bg_pmove.c CGAME_CC code/game/bg_slidemove.c code/game/bg_slidemove.c: In function 'PM_StepSlideMove': code/game/bg_slidemove.c:235:18: warning: variable 'down_v' set but not used [-Wunused-but-set-variable] vec3_t down_o, down_v; ^~~~~~ code/game/bg_slidemove.c:235:10: warning: variable 'down_o' set but not used [-Wunused-but-set-variable] vec3_t down_o, down_v; ^~~~~~ CGAME_CC code/game/bg_lib.c CGAME_CC code/cgame/cg_consolecmds.c CGAME_CC code/cgame/cg_draw.c CGAME_CC code/cgame/cg_drawtools.c CGAME_CC code/cgame/cg_effects.c code/cgame/cg_draw.c: In function 'CG_DrawWarmup': code/cgame/cg_draw.c:2364:8: warning: variable 'scale' set but not used [-Wunused-but-set-variable] float scale; ^~~~~ CGAME_CC code/cgame/cg_ents.c code/cgame/cg_ents.c: In function 'CG_AdjustPositionForMover': code/cgame/cg_ents.c:668:28: warning: variable 'deltaAngles' set but not used [-Wunused-but-set-variable] vec3_t oldAngles, angles, deltaAngles; ^~~~~~~~~~~ CGAME_CC code/cgame/cg_event.c 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 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_predict.c CGAME_CC code/cgame/cg_scoreboard.c CGAME_CC code/cgame/cg_servercmds.c code/cgame/cg_servercmds.c:47:18: warning: 'numValidOrders' defined but not used [-Wunused-const-variable=] static const int numValidOrders = sizeof(validOrders) / sizeof(orderTask_t); ^~~~~~~~~~~~~~ CGAME_CC code/cgame/cg_snapshot.c CGAME_CC code/cgame/cg_view.c CGAME_CC code/cgame/cg_weapons.c SHLIB_CC code/qcommon/q_math.c SHLIB_CC code/qcommon/q_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; ^~~~~~~~~ CGAME_CC code/cgame/cg_syscalls.c GAME_CC code/game/g_main.c 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; ^ 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++ ) { ^~~ 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 GAME_CC code/game/ai_dmnet.c GAME_CC code/game/ai_dmq3.c GAME_CC code/game/ai_main.c code/game/ai_dmq3.c: In function 'BotAIBlocked': code/game/ai_dmq3.c:4431:35: warning: variable 'maxs' set but not used [-Wunused-but-set-variable] vec3_t hordir, start, end, mins, maxs, sideward, angles, up = {0, 0, 1}; ^~~~ code/game/ai_dmq3.c:4431:29: warning: variable 'mins' set but not used [-Wunused-but-set-variable] vec3_t hordir, start, end, mins, maxs, sideward, angles, up = {0, 0, 1}; ^~~~ code/game/ai_dmq3.c:4431:24: warning: variable 'end' set but not used [-Wunused-but-set-variable] vec3_t hordir, start, end, mins, maxs, sideward, angles, up = {0, 0, 1}; ^~~ GAME_CC code/game/ai_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; ^~~~~~~~~ code/game/g_main.c:769:29: warning: array subscript 2 is above array bounds of 'int[2]' [-Warray-bounds] level.numteamVotingClients[i] = 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ code/game/g_main.c:769:29: warning: array subscript 3 is above array bounds of 'int[2]' [-Warray-bounds] GAME_CC code/game/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 GAME_CC code/game/g_arenas.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; ^~~ GAME_CC code/game/g_bot.c GAME_CC code/game/g_client.c 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_cmds.c GAME_CC code/game/g_combat.c code/game/g_combat.c: In function 'LookAtKiller': code/game/g_combat.c:219:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] vec3_t angles; ^~~~~~ code/game/g_combat.c: In function 'G_Damage': code/game/g_combat.c:825:8: warning: variable 'save' set but not used [-Wunused-but-set-variable] int save; ^~~~ GAME_CC code/game/g_items.c GAME_CC code/game/g_mem.c GAME_CC code/game/g_misc.c GAME_CC code/game/g_missile.c GAME_CC code/game/g_mover.c GAME_CC code/game/g_session.c GAME_CC code/game/g_spawn.c GAME_CC code/game/g_svcmds.c GAME_CC code/game/g_target.c GAME_CC code/game/g_team.c GAME_CC code/game/g_trigger.c GAME_CC code/game/g_utils.c GAME_CC code/game/g_weapon.c code/game/g_weapon.c: In function 'ShotgunPattern': code/game/g_weapon.c:327:8: warning: variable 'oldScore' set but not used [-Wunused-but-set-variable] int oldScore; ^~~~~~~~ GAME_CC code/game/g_syscalls.c UI_CC code/q3_ui/ui_main.c UI_CC code/game/bg_misc.c UI_CC code/game/bg_lib.c UI_CC code/q3_ui/ui_addbots.c UI_CC code/q3_ui/ui_atoms.c UI_CC code/q3_ui/ui_cdkey.c UI_CC code/q3_ui/ui_cinematics.c UI_CC code/q3_ui/ui_confirm.c UI_CC code/q3_ui/ui_connect.c UI_CC code/q3_ui/ui_controls2.c UI_CC code/q3_ui/ui_credits.c UI_CC code/q3_ui/ui_demo2.c UI_CC code/q3_ui/ui_display.c code/q3_ui/ui_demo2.c: In function 'UI_DemosMenu_Key': code/q3_ui/ui_demo2.c:119:16: warning: variable 'item' set but not used [-Wunused-but-set-variable] menucommon_s *item; ^~~~ UI_CC code/q3_ui/ui_gameinfo.c UI_CC code/q3_ui/ui_ingame.c UI_CC code/q3_ui/ui_loadconfig.c UI_CC code/q3_ui/ui_menu.c UI_CC code/q3_ui/ui_mfield.c UI_CC code/q3_ui/ui_mods.c UI_CC code/q3_ui/ui_network.c UI_CC code/q3_ui/ui_options.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_playermodel.c UI_CC code/q3_ui/ui_players.c UI_CC code/q3_ui/ui_playersettings.c UI_CC code/q3_ui/ui_preferences.c UI_CC code/q3_ui/ui_qmenu.c UI_CC code/q3_ui/ui_removebots.c UI_CC code/q3_ui/ui_saveconfig.c UI_CC code/q3_ui/ui_serverinfo.c UI_CC code/q3_ui/ui_servers2.c UI_CC code/q3_ui/ui_setup.c UI_CC code/q3_ui/ui_sound.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_sparena.c UI_CC code/q3_ui/ui_specifyserver.c UI_CC code/q3_ui/ui_splevel.c UI_CC code/q3_ui/ui_sppostgame.c UI_CC code/q3_ui/ui_spskill.c UI_CC code/q3_ui/ui_startserver.c UI_CC code/q3_ui/ui_team.c UI_CC code/q3_ui/ui_teamorders.c UI_CC code/q3_ui/ui_video.c UI_CC_MISSIONPACK code/ui/ui_syscalls.c LD build/release/wopded LD build/release/wop LD build/release/wop-smp LD build/release/baseq3/cgame.so LD build/release/baseq3/qagame.so LD build/release/baseq3/ui.so gmake[4]: Leaving directory '/construction/games/worldofpadman/worldofpadman-1.2.20080621' gmake[3]: Leaving directory '/construction/games/worldofpadman/worldofpadman-1.2.20080621' gmake[2]: Leaving directory '/construction/games/worldofpadman/worldofpadman-1.2.20080621' SUCCEEDED 00:00:42 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for worldofpadman-1.2.20080621_13 ===> Generating temporary packing list /bin/cp -a /construction/games/worldofpadman/wop/* /construction/games/worldofpadman/stage/usr/local/share/worldofpadman/wop install -m 0644 /construction/games/worldofpadman/wop.png /construction/games/worldofpadman/stage/usr/local/share/pixmaps/worldofpadman.png install -s -m 555 /construction/games/worldofpadman/worldofpadman-1.2.20080621/build/release/wop /construction/games/worldofpadman/stage/usr/local/bin/worldofpadman install -s -m 555 /construction/games/worldofpadman/worldofpadman-1.2.20080621/build/release/wopded /construction/games/worldofpadman/stage/usr/local/bin/worldofpadmanded install -s -m 555 /construction/games/worldofpadman/worldofpadman-1.2.20080621/build/release/wop-smp /construction/games/worldofpadman/stage/usr/local/bin/worldofpadman-smp install -s -m 555 /construction/games/worldofpadman/worldofpadman-1.2.20080621/build/release/baseq3/*.so /construction/games/worldofpadman/stage/usr/local/share/worldofpadman/wop /bin/cp -a /construction/games/worldofpadman/readme/* /construction/games/worldofpadman/stage/usr/local/share/doc/worldofpadman ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Error: /usr/local/bin/worldofpadman is linked to /usr/local/lib/libGL.so.1 from graphics/mesa-libs but it is not declared as a dependency Warning: you need USE_GL+=gl Error: /usr/local/bin/worldofpadman is linked to /usr/local/lib/libogg.so.0 from audio/libogg but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libogg.so:audio/libogg Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:04 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for worldofpadman-1.2.20080621_13 file sizes/checksums [92]: 0% file sizes/checksums [92]: 100% packing files [92]: 0% packing files [92]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:14:06 TOTAL TIME 00:15:46