=> Bootstrap dependency digest>=20010302: found digest-20121220 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for ioquake3-1.36nb1 gmake[1]: Entering directory '/scratch/games/ioquake3/work/ioquake3-1.36' Building ioquake3 in build/release-netbsd-evbarm: PLATFORM: netbsd ARCH: evbarm VERSION: 1.36 COMPILE_PLATFORM: netbsd COMPILE_ARCH: evbarm CC: gcc CFLAGS: -O2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -MMD -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe -DUSE_ICON -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -DUSE_OPENAL -DUSE_CURL -DUSE_CURL_DLOPEN -DNO_VM_COMPILED -Icode/SDL12/include -DUSE_VOIP -DFLOATING_POINT -DUSE_ALLOCA -Icode/libspeex/include -DUSE_LOCAL_HEADERS -DPRODUCT_VERSION="1.36" -DNDEBUG -O3 -ffast-math -funroll-loops -fomit-frame-pointer LDFLAGS: -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib LIBS: -lm Output: build/release-netbsd-evbarm/ioq3ded.evbarm build/release-netbsd-evbarm/ioquake3.evbarm build/release-netbsd-evbarm/baseq3/cgameevbarm.so build/release-netbsd-evbarm/baseq3/qagameevbarm.so build/release-netbsd-evbarm/baseq3/uievbarm.so build/release-netbsd-evbarm/missionpack/cgameevbarm.so build/release-netbsd-evbarm/missionpack/qagameevbarm.so build/release-netbsd-evbarm/missionpack/uievbarm.so build/release-netbsd-evbarm/baseq3/vm/cgame.qvm build/release-netbsd-evbarm/baseq3/vm/qagame.qvm build/release-netbsd-evbarm/baseq3/vm/ui.qvm build/release-netbsd-evbarm/missionpack/vm/qagame.qvm build/release-netbsd-evbarm/missionpack/vm/cgame.qvm build/release-netbsd-evbarm/missionpack/vm/ui.qvm gmake[2]: Entering directory '/scratch/games/ioquake3/work/ioquake3-1.36' DED_CC code/server/sv_bot.c DED_CC code/server/sv_client.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; ^ DED_CC code/server/sv_ccmds.c DED_CC code/server/sv_game.c DED_CC code/server/sv_init.c code/server/sv_game.c: In function 'SV_inPVSIgnorePortals': code/server/sv_game.c:188:14: warning: variable 'area2' set but not used [-Wunused-but-set-variable] int area1, area2; ^ code/server/sv_game.c:188:7: warning: variable 'area1' set but not used [-Wunused-but-set-variable] int area1, area2; ^ code/server/sv_init.c: In function 'SV_SetConfigstring': code/server/sv_init.c:107:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len, i; ^ DED_CC code/server/sv_main.c DED_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; ^ DED_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; ^ DED_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; ^ DED_CC code/qcommon/cm_load.c DED_CC code/qcommon/cm_patch.c DED_CC code/qcommon/cm_polylib.c DED_CC code/qcommon/cm_test.c DED_CC code/qcommon/cm_trace.c 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; ^ DED_CC code/qcommon/cmd.c DED_CC code/qcommon/common.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; ^ code/qcommon/common.c: In function 'Com_StringContains': code/qcommon/common.c:553:5: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(str1[j]) != toupper(str2[j])) { ^ code/qcommon/common.c:553:5: warning: array subscript has type 'char' [-Wchar-subscripts] code/qcommon/common.c: In function 'Com_Filter': code/qcommon/common.c:608:7: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(*name) >= toupper(*filter) && ^ code/qcommon/common.c:608:7: warning: array subscript has type 'char' [-Wchar-subscripts] code/qcommon/common.c:609:8: warning: array subscript has type 'char' [-Wchar-subscripts] toupper(*name) <= toupper(*(filter+2))) found = qtrue; ^ code/qcommon/common.c:609:8: warning: array subscript has type 'char' [-Wchar-subscripts] code/qcommon/common.c:618:7: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(*filter) == toupper(*name)) found = qtrue; ^ code/qcommon/common.c:618:7: warning: array subscript has type 'char' [-Wchar-subscripts] code/qcommon/common.c:636:5: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(*filter) != toupper(*name)) return qfalse; ^ code/qcommon/common.c:636:5: warning: array subscript has type 'char' [-Wchar-subscripts] 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; ^ code/qcommon/common.c: In function 'FindMatches': code/qcommon/common.c:3089:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( tolower(shortestMatch[i]) != tolower(s[i]) ) { ^ code/qcommon/common.c:3089:3: warning: array subscript has type 'char' [-Wchar-subscripts] DED_CC code/qcommon/cvar.c code/qcommon/cvar.c: In function 'generateHashValue': code/qcommon/cvar.c:53:3: warning: array subscript has type 'char' [-Wchar-subscripts] letter = tolower(fname[i]); ^ 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 ) ); ^ DED_CC code/qcommon/files.c code/qcommon/files.c: In function 'FS_HashFileName': code/qcommon/files.c:363:3: warning: array subscript has type 'char' [-Wchar-subscripts] letter = tolower(fname[i]); ^ code/qcommon/files.c: In function 'FS_ComparePaks': code/qcommon/files.c:2562:20: warning: variable 'badchecksum' set but not used [-Wunused-but-set-variable] qboolean havepak, badchecksum; ^ DED_CC code/qcommon/md4.c DED_CC code/qcommon/msg.c 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:1045: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/q_shared.c: In function 'Com_HexStrToInt': code/qcommon/q_shared.c:632:4: warning: array subscript has type 'char' [-Wchar-subscripts] digit = tolower( str[ i ] ); ^ 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; ^ code/qcommon/q_shared.c: In function 'Q_strlwr': code/qcommon/q_shared.c:818:3: warning: array subscript has type 'char' [-Wchar-subscripts] *s = tolower(*s); ^ code/qcommon/q_shared.c: In function 'Q_strupr': code/qcommon/q_shared.c:829:3: warning: array subscript has type 'char' [-Wchar-subscripts] *s = toupper(*s); ^ code/qcommon/q_shared.c: In function 'Q_PrintStrlen': code/qcommon/q_shared.c:891:3: warning: array subscript has type 'char' [-Wchar-subscripts] if( Q_IsColorString( p ) ) { ^ code/qcommon/q_shared.c: In function 'Q_CleanStr': code/qcommon/q_shared.c:911:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ 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 'unzReadCurrentFile': code/qcommon/unzip.c:2048:16: warning: variable 'bufBefore' set but not used [-Wunused-but-set-variable] const Byte *bufBefore; ^ DED_CC code/qcommon/vm.c code/qcommon/vm.c: In function 'VM_LoadSymbols': code/qcommon/vm.c:220:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^ code/qcommon/vm.c: In function 'VM_LoadQVM': code/qcommon/vm.c:367:10: warning: variable 'length' set but not used [-Wunused-but-set-variable] int length; ^ DED_CC code/qcommon/vm_interpreted.c BOT_CC code/botlib/be_aas_bspq3.c BOT_CC code/botlib/be_aas_cluster.c BOT_CC code/botlib/be_aas_debug.c BOT_CC code/botlib/be_aas_entity.c BOT_CC code/botlib/be_aas_file.c BOT_CC code/botlib/be_aas_main.c BOT_CC code/botlib/be_aas_move.c BOT_CC code/botlib/be_aas_optimize.c code/botlib/be_aas_move.c: In function 'AAS_AirControl': code/botlib/be_aas_move.c: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_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; ^ 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; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/be_aas_reach.c: In function 'AAS_Reachability_Jump': code/botlib/../qcommon/q_shared.h:434:83: warning: '*((void *)&bestend2+8)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) ((c)[0]=(a)[0]+(b)[0],(c)[1]=(a)[1]+(b)[1],(c)[2]=(a)[2]+(b)[2]) ^ code/botlib/be_aas_reach.c:2115:41: note: '*((void *)&bestend2+8)' was declared here vec3_t beststart, beststart2, bestend, bestend2; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:434:62: warning: '*((void *)&bestend2+4)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) ((c)[0]=(a)[0]+(b)[0],(c)[1]=(a)[1]+(b)[1],(c)[2]=(a)[2]+(b)[2]) ^ code/botlib/be_aas_reach.c:2115:41: note: '*((void *)&bestend2+4)' was declared here vec3_t beststart, beststart2, bestend, bestend2; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:434:41: warning: 'bestend2' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) ((c)[0]=(a)[0]+(b)[0],(c)[1]=(a)[1]+(b)[1],(c)[2]=(a)[2]+(b)[2]) ^ code/botlib/be_aas_reach.c:2115:41: note: 'bestend2' was declared here vec3_t beststart, beststart2, bestend, bestend2; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:434:83: warning: '*((void *)&beststart2+8)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) ((c)[0]=(a)[0]+(b)[0],(c)[1]=(a)[1]+(b)[1],(c)[2]=(a)[2]+(b)[2]) ^ code/botlib/be_aas_reach.c:2115:20: note: '*((void *)&beststart2+8)' was declared here vec3_t beststart, beststart2, bestend, bestend2; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:434:62: warning: '*((void *)&beststart2+4)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) ((c)[0]=(a)[0]+(b)[0],(c)[1]=(a)[1]+(b)[1],(c)[2]=(a)[2]+(b)[2]) ^ code/botlib/be_aas_reach.c:2115:20: note: '*((void *)&beststart2+4)' was declared here vec3_t beststart, beststart2, bestend, bestend2; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:434:41: warning: 'beststart2' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) ((c)[0]=(a)[0]+(b)[0],(c)[1]=(a)[1]+(b)[1],(c)[2]=(a)[2]+(b)[2]) ^ code/botlib/be_aas_reach.c:2115:20: note: 'beststart2' was declared here vec3_t beststart, beststart2, bestend, bestend2; ^ 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; ^ code/botlib/be_aas_route.c:1755:5: warning: 'reachnum' may be used uninitialized in this function [-Wmaybe-uninitialized] if (bestreachnum < 0) { ^ code/botlib/be_aas_route.c:1770:18: note: 'reachnum' was declared here int traveltime, reachnum; ^ code/botlib/be_aas_route.c: In function 'AAS_AreaTravelTimeToGoalArea': code/botlib/be_aas_route.c:1755:5: warning: 'reachnum' may be used uninitialized in this function [-Wmaybe-uninitialized] if (bestreachnum < 0) { ^ code/botlib/be_aas_route.c:1770:18: note: 'reachnum' was declared here int traveltime, reachnum; ^ code/botlib/be_aas_route.c: In function 'AAS_AreaReachabilityToGoalArea': code/botlib/be_aas_route.c:1755:5: warning: 'reachnum' may be used uninitialized in this function [-Wmaybe-uninitialized] if (bestreachnum < 0) { ^ code/botlib/be_aas_route.c:1786:18: note: 'reachnum' was declared here int traveltime, reachnum; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/be_aas_reach.c: In function 'AAS_FindFaceReachabilities': code/botlib/../qcommon/q_shared.h:433:87: warning: '*((void *)&bestend2+8)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) ((c)[0]=(a)[0]-(b)[0],(c)[1]=(a)[1]-(b)[1],(c)[2]=(a)[2]-(b)[2]) ^ code/botlib/be_aas_reach.c:3159:41: note: '*((void *)&bestend2+8)' was declared here vec3_t beststart, beststart2, bestend, bestend2, tmp, hordir, testpoint; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:433:66: warning: '*((void *)&bestend2+4)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) ((c)[0]=(a)[0]-(b)[0],(c)[1]=(a)[1]-(b)[1],(c)[2]=(a)[2]-(b)[2]) ^ code/botlib/be_aas_reach.c:3159:41: note: '*((void *)&bestend2+4)' was declared here vec3_t beststart, beststart2, bestend, bestend2, tmp, hordir, testpoint; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:433:45: warning: 'bestend2' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) ((c)[0]=(a)[0]-(b)[0],(c)[1]=(a)[1]-(b)[1],(c)[2]=(a)[2]-(b)[2]) ^ code/botlib/be_aas_reach.c:3159:41: note: 'bestend2' was declared here vec3_t beststart, beststart2, bestend, bestend2, tmp, hordir, testpoint; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:433:87: warning: '*((void *)&beststart2+8)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) ((c)[0]=(a)[0]-(b)[0],(c)[1]=(a)[1]-(b)[1],(c)[2]=(a)[2]-(b)[2]) ^ code/botlib/be_aas_reach.c:3159:20: note: '*((void *)&beststart2+8)' was declared here vec3_t beststart, beststart2, bestend, bestend2, tmp, hordir, testpoint; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:433:66: warning: '*((void *)&beststart2+4)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) ((c)[0]=(a)[0]-(b)[0],(c)[1]=(a)[1]-(b)[1],(c)[2]=(a)[2]-(b)[2]) ^ code/botlib/be_aas_reach.c:3159:20: note: '*((void *)&beststart2+4)' was declared here vec3_t beststart, beststart2, bestend, bestend2, tmp, hordir, testpoint; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:433:45: warning: 'beststart2' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) ((c)[0]=(a)[0]-(b)[0],(c)[1]=(a)[1]-(b)[1],(c)[2]=(a)[2]-(b)[2]) ^ code/botlib/be_aas_reach.c:3159:20: note: 'beststart2' was declared here vec3_t beststart, beststart2, bestend, bestend2, tmp, hordir, testpoint; ^ code/botlib/be_aas_route.c: In function 'AAS_RandomGoalArea': code/botlib/be_aas_route.c:1755:5: warning: 'reachnum' may be used uninitialized in this function [-Wmaybe-uninitialized] if (bestreachnum < 0) { ^ code/botlib/be_aas_route.c:1770:18: note: 'reachnum' was declared here int traveltime, reachnum; ^ 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 BOT_CC code/botlib/be_ai_gen.c code/botlib/be_ai_chat.c: In function 'StringContains': code/botlib/be_ai_chat.c:495:5: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(str1[j]) != toupper(str2[j])) break; ^ code/botlib/be_ai_chat.c:495:5: warning: array subscript has type 'char' [-Wchar-subscripts] code/botlib/be_ai_chat.c: In function 'StringContainsWord': code/botlib/be_ai_chat.c:532:5: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(str1[j]) != toupper(str2[j])) break; ^ code/botlib/be_ai_chat.c:532:5: warning: array subscript has type 'char' [-Wchar-subscripts] code/botlib/be_ai_gen.c: In function 'GeneticSelection': code/botlib/be_ai_gen.c:54:13: warning: variable 'select' set but not used [-Wunused-but-set-variable] float sum, select; ^ code/botlib/be_ai_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_goal.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; ^ 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; ^ BOT_CC code/botlib/be_ai_weap.c BOT_CC code/botlib/be_ai_weight.c BOT_CC code/botlib/be_ea.c code/botlib/be_ai_move.c: In function 'BotResetLastAvoidReach': code/botlib/be_ai_move.c:3512:26: warning: array subscript is above array bounds [-Warray-bounds] if (ms->avoidreachtries[i] > 0) ms->avoidreachtries[latest]--; ^ BOT_CC code/botlib/be_interface.c BOT_CC code/botlib/l_crc.c BOT_CC code/botlib/l_libvar.c BOT_CC code/botlib/l_log.c BOT_CC code/botlib/l_memory.c 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 DED_CC code/null/null_client.c DED_CC code/null/null_input.c DED_CC code/null/null_snddma.c DED_CC code/sys/con_log.c DED_CC code/sys/sys_main.c DED_CC code/sys/sys_unix.c code/sys/sys_main.c: In function 'Sys_AnsiColorPrint': code/sys/sys_main.c:225:3: warning: array subscript has type 'char' [-Wchar-subscripts] if( Q_IsColorString( msg ) || *msg == '\n' ) ^ code/sys/sys_unix.c: In function 'Sys_ListFiles': code/sys/sys_unix.c:327: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 code/client/cl_cgame.c: In function 'CL_AdjustTimeDelta': code/client/cl_cgame.c:827:7: warning: variable 'resetTime' set but not used [-Wunused-but-set-variable] int resetTime; ^ code/sys/con_tty.c: In function 'CON_Back': code/sys/con_tty.c:89:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] size_t size; ^ code/sys/con_tty.c: In function 'CON_Show': code/sys/con_tty.c:147:11: warning: variable 'size' set but not used [-Wunused-but-set-variable] size_t size; ^ code/sys/con_tty.c: In function 'CON_Input': code/sys/con_tty.c:313:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] size_t size; ^ CC code/client/cl_cin.c 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; ^ CC code/client/cl_console.c code/client/cl_console.c: In function 'CL_ConsolePrint': code/client/cl_console.c:414:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( txt ) ) { ^ CC code/client/cl_input.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; ^ 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: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/client/cl_net_chan.c CC code/client/cl_parse.c CC code/client/cl_scrn.c code/client/cl_scrn.c: In function 'SCR_DrawStringExt': code/client/cl_scrn.c:212:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( !noColorEscape && Q_IsColorString( s ) ) { ^ code/client/cl_scrn.c:227:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( !noColorEscape && Q_IsColorString( s ) ) { ^ code/client/cl_scrn.c: In function 'SCR_DrawSmallStringExt': code/client/cl_scrn.c:276:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( !noColorEscape && Q_IsColorString( s ) ) { ^ code/client/cl_scrn.c: In function 'SCR_Strlen': code/client/cl_scrn.c:302:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ 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; ^ 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 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/cmd.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/qcommon/common.c CC code/qcommon/cvar.c code/qcommon/common.c: In function 'Com_StringContains': code/qcommon/common.c:553:5: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(str1[j]) != toupper(str2[j])) { ^ code/qcommon/common.c:553:5: warning: array subscript has type 'char' [-Wchar-subscripts] code/qcommon/common.c: In function 'Com_Filter': code/qcommon/common.c:608:7: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(*name) >= toupper(*filter) && ^ code/qcommon/common.c:608:7: warning: array subscript has type 'char' [-Wchar-subscripts] code/qcommon/common.c:609:8: warning: array subscript has type 'char' [-Wchar-subscripts] toupper(*name) <= toupper(*(filter+2))) found = qtrue; ^ code/qcommon/common.c:609:8: warning: array subscript has type 'char' [-Wchar-subscripts] code/qcommon/common.c:618:7: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(*filter) == toupper(*name)) found = qtrue; ^ code/qcommon/common.c:618:7: warning: array subscript has type 'char' [-Wchar-subscripts] code/qcommon/common.c:636:5: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(*filter) != toupper(*name)) return qfalse; ^ code/qcommon/common.c:636:5: warning: array subscript has type 'char' [-Wchar-subscripts] 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; ^ code/qcommon/common.c: In function 'FindMatches': code/qcommon/common.c:3089:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( tolower(shortestMatch[i]) != tolower(s[i]) ) { ^ code/qcommon/common.c:3089:3: warning: array subscript has type 'char' [-Wchar-subscripts] code/qcommon/cvar.c: In function 'generateHashValue': code/qcommon/cvar.c:53:3: warning: array subscript has type 'char' [-Wchar-subscripts] letter = tolower(fname[i]); ^ 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/qcommon/files.c: In function 'FS_HashFileName': code/qcommon/files.c:363:3: warning: array subscript has type 'char' [-Wchar-subscripts] letter = tolower(fname[i]); ^ code/qcommon/files.c: In function 'FS_ComparePaks': code/qcommon/files.c:2562:20: warning: variable 'badchecksum' set but not used [-Wunused-but-set-variable] qboolean havepak, badchecksum; ^ 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 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 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/qcommon/huffman.c CC code/client/snd_adpcm.c CC code/client/snd_dma.c code/client/snd_dma.c: In function 'S_HashSFXName': code/client/snd_dma.c:242:3: warning: array subscript has type 'char' [-Wchar-subscripts] letter = tolower(name[i]); ^ 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 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 CC code/client/cl_curl.c CC code/server/sv_bot.c CC code/server/sv_ccmds.c CC code/server/sv_client.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/server/sv_game.c code/server/sv_game.c: In function 'SV_inPVSIgnorePortals': code/server/sv_game.c:188:14: warning: variable 'area2' set but not used [-Wunused-but-set-variable] int area1, area2; ^ code/server/sv_game.c:188:7: warning: variable 'area1' set but not used [-Wunused-but-set-variable] int area1, area2; ^ CC code/server/sv_init.c 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_main.c CC code/server/sv_net_chan.c CC code/server/sv_snapshot.c code/server/sv_net_chan.c: In function 'SV_Netchan_Encode': code/server/sv_net_chan.c:37:7: warning: variable 'reliableAcknowledge' set but not used [-Wunused-but-set-variable] long reliableAcknowledge, i, index; ^ code/server/sv_snapshot.c: In function 'SV_AddEntitiesVisibleFromPoint': code/server/sv_snapshot.c:301:7: warning: variable 'c_fullsend' set but not used [-Wunused-but-set-variable] int c_fullsend; ^ 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 'Com_HexStrToInt': code/qcommon/q_shared.c:632:4: warning: array subscript has type 'char' [-Wchar-subscripts] digit = tolower( str[ i ] ); ^ 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; ^ code/qcommon/q_shared.c: In function 'Q_strlwr': code/qcommon/q_shared.c:818:3: warning: array subscript has type 'char' [-Wchar-subscripts] *s = tolower(*s); ^ code/qcommon/q_shared.c: In function 'Q_strupr': code/qcommon/q_shared.c:829:3: warning: array subscript has type 'char' [-Wchar-subscripts] *s = toupper(*s); ^ code/qcommon/q_shared.c: In function 'Q_PrintStrlen': code/qcommon/q_shared.c:891:3: warning: array subscript has type 'char' [-Wchar-subscripts] if( Q_IsColorString( p ) ) { ^ code/qcommon/q_shared.c: In function 'Q_CleanStr': code/qcommon/q_shared.c:911:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ 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 '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 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:367: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 BOT_CC code/botlib/be_aas_optimize.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_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; ^ 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_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; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/be_aas_reach.c: In function 'AAS_Reachability_Jump': code/botlib/../qcommon/q_shared.h:434:83: warning: '*((void *)&bestend2+8)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) ((c)[0]=(a)[0]+(b)[0],(c)[1]=(a)[1]+(b)[1],(c)[2]=(a)[2]+(b)[2]) ^ code/botlib/be_aas_reach.c:2115:41: note: '*((void *)&bestend2+8)' was declared here vec3_t beststart, beststart2, bestend, bestend2; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:434:62: warning: '*((void *)&bestend2+4)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) ((c)[0]=(a)[0]+(b)[0],(c)[1]=(a)[1]+(b)[1],(c)[2]=(a)[2]+(b)[2]) ^ code/botlib/be_aas_reach.c:2115:41: note: '*((void *)&bestend2+4)' was declared here vec3_t beststart, beststart2, bestend, bestend2; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:434:41: warning: 'bestend2' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) ((c)[0]=(a)[0]+(b)[0],(c)[1]=(a)[1]+(b)[1],(c)[2]=(a)[2]+(b)[2]) ^ code/botlib/be_aas_reach.c:2115:41: note: 'bestend2' was declared here vec3_t beststart, beststart2, bestend, bestend2; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:434:83: warning: '*((void *)&beststart2+8)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) ((c)[0]=(a)[0]+(b)[0],(c)[1]=(a)[1]+(b)[1],(c)[2]=(a)[2]+(b)[2]) ^ code/botlib/be_aas_reach.c:2115:20: note: '*((void *)&beststart2+8)' was declared here vec3_t beststart, beststart2, bestend, bestend2; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:434:62: warning: '*((void *)&beststart2+4)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) ((c)[0]=(a)[0]+(b)[0],(c)[1]=(a)[1]+(b)[1],(c)[2]=(a)[2]+(b)[2]) ^ code/botlib/be_aas_reach.c:2115:20: note: '*((void *)&beststart2+4)' was declared here vec3_t beststart, beststart2, bestend, bestend2; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:434:41: warning: 'beststart2' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) ((c)[0]=(a)[0]+(b)[0],(c)[1]=(a)[1]+(b)[1],(c)[2]=(a)[2]+(b)[2]) ^ code/botlib/be_aas_reach.c:2115:20: note: 'beststart2' was declared here vec3_t beststart, beststart2, bestend, bestend2; ^ code/botlib/be_aas_route.c:1755:5: warning: 'reachnum' may be used uninitialized in this function [-Wmaybe-uninitialized] if (bestreachnum < 0) { ^ code/botlib/be_aas_route.c:1770:18: note: 'reachnum' was declared here int traveltime, reachnum; ^ code/botlib/be_aas_route.c: In function 'AAS_AreaTravelTimeToGoalArea': code/botlib/be_aas_route.c:1755:5: warning: 'reachnum' may be used uninitialized in this function [-Wmaybe-uninitialized] if (bestreachnum < 0) { ^ code/botlib/be_aas_route.c:1770:18: note: 'reachnum' was declared here int traveltime, reachnum; ^ code/botlib/be_aas_route.c: In function 'AAS_AreaReachabilityToGoalArea': code/botlib/be_aas_route.c:1755:5: warning: 'reachnum' may be used uninitialized in this function [-Wmaybe-uninitialized] if (bestreachnum < 0) { ^ code/botlib/be_aas_route.c:1786:18: note: 'reachnum' was declared here int traveltime, reachnum; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/be_aas_reach.c: In function 'AAS_FindFaceReachabilities': code/botlib/../qcommon/q_shared.h:433:87: warning: '*((void *)&bestend2+8)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) ((c)[0]=(a)[0]-(b)[0],(c)[1]=(a)[1]-(b)[1],(c)[2]=(a)[2]-(b)[2]) ^ code/botlib/be_aas_reach.c:3159:41: note: '*((void *)&bestend2+8)' was declared here vec3_t beststart, beststart2, bestend, bestend2, tmp, hordir, testpoint; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:433:66: warning: '*((void *)&bestend2+4)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) ((c)[0]=(a)[0]-(b)[0],(c)[1]=(a)[1]-(b)[1],(c)[2]=(a)[2]-(b)[2]) ^ code/botlib/be_aas_reach.c:3159:41: note: '*((void *)&bestend2+4)' was declared here vec3_t beststart, beststart2, bestend, bestend2, tmp, hordir, testpoint; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:433:45: warning: 'bestend2' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) ((c)[0]=(a)[0]-(b)[0],(c)[1]=(a)[1]-(b)[1],(c)[2]=(a)[2]-(b)[2]) ^ code/botlib/be_aas_reach.c:3159:41: note: 'bestend2' was declared here vec3_t beststart, beststart2, bestend, bestend2, tmp, hordir, testpoint; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:433:87: warning: '*((void *)&beststart2+8)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) ((c)[0]=(a)[0]-(b)[0],(c)[1]=(a)[1]-(b)[1],(c)[2]=(a)[2]-(b)[2]) ^ code/botlib/be_aas_reach.c:3159:20: note: '*((void *)&beststart2+8)' was declared here vec3_t beststart, beststart2, bestend, bestend2, tmp, hordir, testpoint; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:433:66: warning: '*((void *)&beststart2+4)' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) ((c)[0]=(a)[0]-(b)[0],(c)[1]=(a)[1]-(b)[1],(c)[2]=(a)[2]-(b)[2]) ^ code/botlib/be_aas_reach.c:3159:20: note: '*((void *)&beststart2+4)' was declared here vec3_t beststart, beststart2, bestend, bestend2, tmp, hordir, testpoint; ^ In file included from code/botlib/be_aas_reach.c:32:0: code/botlib/../qcommon/q_shared.h:433:45: warning: 'beststart2' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) ((c)[0]=(a)[0]-(b)[0],(c)[1]=(a)[1]-(b)[1],(c)[2]=(a)[2]-(b)[2]) ^ code/botlib/be_aas_reach.c:3159:20: note: 'beststart2' was declared here vec3_t beststart, beststart2, bestend, bestend2, tmp, hordir, testpoint; ^ code/botlib/be_aas_route.c: In function 'AAS_RandomGoalArea': code/botlib/be_aas_route.c:1755:5: warning: 'reachnum' may be used uninitialized in this function [-Wmaybe-uninitialized] if (bestreachnum < 0) { ^ code/botlib/be_aas_route.c:1770:18: note: 'reachnum' was declared here int traveltime, reachnum; ^ 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 'StringContains': code/botlib/be_ai_chat.c:495:5: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(str1[j]) != toupper(str2[j])) break; ^ code/botlib/be_ai_chat.c:495:5: warning: array subscript has type 'char' [-Wchar-subscripts] code/botlib/be_ai_chat.c: In function 'StringContainsWord': code/botlib/be_ai_chat.c:532:5: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(str1[j]) != toupper(str2[j])) break; ^ code/botlib/be_ai_chat.c:532:5: warning: array subscript has type 'char' [-Wchar-subscripts] 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:241:19: warning: variable 'gs' set but not used [-Wunused-but-set-variable] bot_goalstate_t *gs; ^ 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; ^ BOT_CC code/botlib/be_ai_weap.c BOT_CC code/botlib/be_ai_weight.c BOT_CC code/botlib/be_ea.c BOT_CC code/botlib/be_interface.c code/botlib/be_ai_move.c: In function 'BotResetLastAvoidReach': code/botlib/be_ai_move.c:3512:26: warning: array subscript is above array bounds [-Warray-bounds] if (ms->avoidreachtries[i] > 0) ms->avoidreachtries[latest]--; ^ BOT_CC code/botlib/l_crc.c BOT_CC code/botlib/l_libvar.c BOT_CC code/botlib/l_log.c BOT_CC code/botlib/l_memory.c BOT_CC code/botlib/l_precomp.c BOT_CC code/botlib/l_script.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_struct.c CC code/jpeg-6b/jcapimin.c CC code/jpeg-6b/jcapistd.c CC code/jpeg-6b/jccoefct.c CC code/jpeg-6b/jccolor.c CC code/jpeg-6b/jcdctmgr.c CC code/jpeg-6b/jchuff.c CC code/jpeg-6b/jcinit.c CC code/jpeg-6b/jcmainct.c CC code/jpeg-6b/jcmarker.c CC code/jpeg-6b/jcomapi.c CC code/jpeg-6b/jcmaster.c CC code/jpeg-6b/jcparam.c CC code/jpeg-6b/jcphuff.c CC code/jpeg-6b/jcprepct.c CC code/jpeg-6b/jcsample.c CC code/jpeg-6b/jdapimin.c CC code/jpeg-6b/jdapistd.c CC code/jpeg-6b/jdatasrc.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/jdmainct.c CC code/jpeg-6b/jdmarker.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 CC code/jpeg-6b/jidctflt.c CC code/jpeg-6b/jmemmgr.c CC code/jpeg-6b/jmemnobs.c CC code/jpeg-6b/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 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 CC code/renderer/tr_image_png.c code/renderer/tr_image.c: In function 'generateHashValue': code/renderer/tr_image.c:72:3: warning: array subscript has type 'char' [-Wchar-subscripts] letter = tolower(fname[i]); ^ 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; ^ 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 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; ^ 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_shader.c code/renderer/tr_shader.c: In function 'generateHashValue': code/renderer/tr_shader.c:57:3: warning: array subscript has type 'char' [-Wchar-subscripts] letter = tolower(fname[i]); ^ code/renderer/tr_shader.c: In function 'ParseStage': code/renderer/tr_shader.c:1037:23: warning: comparison between 'alphaGen_t' 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' and 'enum ' [-Wenum-compare] if ( stages[0].alphaGen == CGEN_WAVEFORM ) ^ CC code/renderer/tr_shadows.c CC code/renderer/tr_sky.c CC code/renderer/tr_surface.c code/renderer/tr_sky.c: In function 'R_BuildCloudData': code/renderer/tr_sky.c:608:12: warning: variable 'shader' set but not used [-Wunused-but-set-variable] shader_t *shader; ^ CC code/renderer/tr_world.c CC code/sdl/sdl_gamma.c CC code/sdl/sdl_input.c CC code/sdl/sdl_snd.c CC code/sys/con_passive.c CC code/sys/con_log.c CC code/sys/sys_main.c CC code/libspeex/bits.c code/sys/sys_main.c: In function 'Sys_AnsiColorPrint': code/sys/sys_main.c:225:3: warning: array subscript has type 'char' [-Wchar-subscripts] if( Q_IsColorString( msg ) || *msg == '\n' ) ^ CC code/libspeex/buffer.c CC code/libspeex/cb_search.c CC code/libspeex/exc_10_16_table.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_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 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 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/kiss_fftr.c CC code/libspeex/lpc.c 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/sys/sys_unix.c code/sys/sys_unix.c: In function 'Sys_ListFiles': code/sys/sys_unix.c:327:16: warning: variable 'extLen' set but not used [-Wunused-but-set-variable] int extLen; ^ 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 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 code/cgame/cg_drawtools.c: In function 'CG_DrawStringExt': code/cgame/cg_drawtools.c:183:4: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ code/cgame/cg_drawtools.c:200:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ code/cgame/cg_drawtools.c: In function 'CG_DrawStrlen': code/cgame/cg_drawtools.c:253:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ CGAME_CC code/cgame/cg_effects.c CGAME_CC code/cgame/cg_ents.c code/cgame/cg_ents.c: In function 'CG_AdjustPositionForMover': code/cgame/cg_ents.c:668:28: warning: variable 'deltaAngles' set but not used [-Wunused-but-set-variable] vec3_t oldAngles, angles, deltaAngles; ^ CGAME_CC code/cgame/cg_event.c 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 CGAME_CC code/cgame/cg_players.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_playerstate.c CGAME_CC code/cgame/cg_predict.c code/cgame/cg_playerstate.c: In function 'CG_CheckLocalSounds': code/cgame/cg_playerstate.c:298:27: warning: variable 'armor' set but not used [-Wunused-but-set-variable] int highScore, health, armor, reward; ^ code/cgame/cg_playerstate.c:298:19: warning: variable 'health' set but not used [-Wunused-but-set-variable] int highScore, health, armor, reward; ^ CGAME_CC code/cgame/cg_scoreboard.c CGAME_CC code/cgame/cg_servercmds.c code/cgame/cg_servercmds.c: In function 'CG_AddToTeamChat': code/cgame/cg_servercmds.c:415:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( str ) ) { ^ CGAME_CC code/cgame/cg_snapshot.c CGAME_CC code/cgame/cg_weapons.c CGAME_CC code/cgame/cg_view.c code/cgame/cg_weapons.c: In function 'CG_RailTrail': code/cgame/cg_weapons.c:216:32: warning: variable 'next_move' set but not used [-Wunused-but-set-variable] vec3_t axis[36], move, move2, next_move, vec, temp; ^ code/cgame/cg_weapons.c: In function 'CG_PlasmaTrail': code/cgame/cg_weapons.c:468:9: warning: variable 't' set but not used [-Wunused-but-set-variable] int t, startTime, step; ^ SHLIB_CC code/qcommon/q_math.c SHLIB_CC code/qcommon/q_shared.c CGAME_CC code/cgame/cg_syscalls.c code/qcommon/q_shared.c: In function 'Com_HexStrToInt': code/qcommon/q_shared.c:632:4: warning: array subscript has type 'char' [-Wchar-subscripts] digit = tolower( str[ i ] ); ^ 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; ^ code/qcommon/q_shared.c: In function 'Q_strlwr': code/qcommon/q_shared.c:818:3: warning: array subscript has type 'char' [-Wchar-subscripts] *s = tolower(*s); ^ code/qcommon/q_shared.c: In function 'Q_strupr': code/qcommon/q_shared.c:829:3: warning: array subscript has type 'char' [-Wchar-subscripts] *s = toupper(*s); ^ code/qcommon/q_shared.c: In function 'Q_PrintStrlen': code/qcommon/q_shared.c:891:3: warning: array subscript has type 'char' [-Wchar-subscripts] if( Q_IsColorString( p ) ) { ^ code/qcommon/q_shared.c: In function 'Q_CleanStr': code/qcommon/q_shared.c:911:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ GAME_CC code/game/g_main.c GAME_CC code/game/ai_chat.c code/game/g_main.c: In function 'G_RunFrame': code/game/g_main.c:1730:12: warning: variable 'end' set but not used [-Wunused-but-set-variable] int start, end; ^ code/game/g_main.c:1730:5: warning: variable 'start' set but not used [-Wunused-but-set-variable] int start, end; ^ code/game/g_main.c:1729:8: warning: variable 'msec' set but not used [-Wunused-but-set-variable] int msec; ^ code/game/ai_chat.c: In function 'BotChatTime': code/game/ai_chat.c:962:6: warning: variable 'cpm' set but not used [-Wunused-but-set-variable] int cpm; ^ code/game/g_main.c: In function 'CalculateRanks': code/game/g_main.c:769:29: warning: array subscript is above array bounds [-Warray-bounds] level.numteamVotingClients[i] = 0; ^ code/game/g_main.c:769:29: warning: array subscript is above array bounds [-Warray-bounds] GAME_CC code/game/ai_cmd.c GAME_CC code/game/ai_dmnet.c GAME_CC code/game/ai_dmq3.c code/game/ai_dmq3.c: In function 'stristr': code/game/ai_dmq3.c:1473:4: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(charset[i]) != toupper(str[i])) break; ^ code/game/ai_dmq3.c:1473:4: warning: array subscript has type 'char' [-Wchar-subscripts] 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_main.c code/game/ai_main.c: In function 'RemoveColorEscapeSequences': code/game/ai_main.c:947:3: warning: array subscript has type 'char' [-Wchar-subscripts] if (Q_IsColorString(&text[i])) { ^ 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; ^ 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 code/game/g_cmds.c: In function 'SanitizeString': code/game/g_cmds.c:171:3: warning: array subscript has type 'char' [-Wchar-subscripts] *out++ = tolower( *in++ ); ^ 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 code/q3_ui/ui_atoms.c: In function 'UI_DrawString2': code/q3_ui/ui_atoms.c:663:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) ^ 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 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_display.c 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 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_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 code/q3_ui/ui_playersettings.c: In function 'PlayerSettings_DrawName': code/q3_ui/ui_playersettings.c:139:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( !focus && Q_IsColorString( txt ) ) { ^ 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 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_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 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_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/game/bg_lib.c CGAME_CC_MISSIONPACK code/cgame/cg_consolecmds.c CGAME_CC_MISSIONPACK code/cgame/cg_newdraw.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_newdraw.c: In function 'CG_Text_Paint_Limit': code/cgame/cg_newdraw.c:1234:4: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ CGAME_CC_MISSIONPACK code/cgame/cg_draw.c code/cgame/cg_draw.c: In function 'CG_Text_Width': code/cgame/cg_draw.c:70:4: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString(s) ) { ^ code/cgame/cg_draw.c: In function 'CG_Text_Height': code/cgame/cg_draw.c:107:4: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString(s) ) { ^ code/cgame/cg_draw.c: In function 'CG_Text_Paint': code/cgame/cg_draw.c:158:4: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ 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 code/cgame/cg_drawtools.c: In function 'CG_DrawStringExt': code/cgame/cg_drawtools.c:183:4: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ code/cgame/cg_drawtools.c:200:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ code/cgame/cg_drawtools.c: In function 'CG_DrawStrlen': code/cgame/cg_drawtools.c:253:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ CGAME_CC_MISSIONPACK code/cgame/cg_effects.c CGAME_CC_MISSIONPACK 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_MISSIONPACK 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_MISSIONPACK code/cgame/cg_info.c 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 code/cgame/cg_servercmds.c: In function 'CG_AddToTeamChat': code/cgame/cg_servercmds.c:415:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( str ) ) { ^ 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; ^ code/ui/ui_shared.c: In function 'hashForString': code/ui/ui_shared.c:143:3: warning: array subscript has type 'char' [-Wchar-subscripts] letter = tolower(str[i]); ^ 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; ^ SHLIB_CC_MISSIONPACK code/qcommon/q_math.c SHLIB_CC_MISSIONPACK code/qcommon/q_shared.c code/qcommon/q_shared.c: In function 'Com_HexStrToInt': code/qcommon/q_shared.c:632:4: warning: array subscript has type 'char' [-Wchar-subscripts] digit = tolower( str[ i ] ); ^ 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; ^ code/qcommon/q_shared.c: In function 'Q_strlwr': code/qcommon/q_shared.c:818:3: warning: array subscript has type 'char' [-Wchar-subscripts] *s = tolower(*s); ^ code/qcommon/q_shared.c: In function 'Q_strupr': code/qcommon/q_shared.c:829:3: warning: array subscript has type 'char' [-Wchar-subscripts] *s = toupper(*s); ^ code/qcommon/q_shared.c: In function 'Q_PrintStrlen': code/qcommon/q_shared.c:891:3: warning: array subscript has type 'char' [-Wchar-subscripts] if( Q_IsColorString( p ) ) { ^ code/qcommon/q_shared.c: In function 'Q_CleanStr': code/qcommon/q_shared.c:911:3: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ CGAME_CC_MISSIONPACK code/cgame/cg_syscalls.c GAME_CC_MISSIONPACK code/game/g_main.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; ^ GAME_CC_MISSIONPACK code/game/ai_chat.c code/game/g_main.c: In function 'CalculateRanks': code/game/g_main.c:769:29: warning: array subscript is above array bounds [-Warray-bounds] level.numteamVotingClients[i] = 0; ^ code/game/g_main.c:769:29: warning: array subscript is above array bounds [-Warray-bounds] 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 code/game/ai_dmq3.c: In function 'stristr': code/game/ai_dmq3.c:1473:4: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(charset[i]) != toupper(str[i])) break; ^ code/game/ai_dmq3.c:1473:4: warning: array subscript has type 'char' [-Wchar-subscripts] 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/ai_main.c code/game/ai_main.c: In function 'RemoveColorEscapeSequences': code/game/ai_main.c:947:3: warning: array subscript has type 'char' [-Wchar-subscripts] if (Q_IsColorString(&text[i])) { ^ GAME_CC_MISSIONPACK code/game/ai_team.c GAME_CC_MISSIONPACK code/game/ai_vcmd.c GAME_CC_MISSIONPACK code/game/bg_misc.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/bg_pmove.c 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 GAME_CC_MISSIONPACK 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; ^ 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_MISSIONPACK code/game/g_bot.c GAME_CC_MISSIONPACK code/game/g_client.c GAME_CC_MISSIONPACK code/game/g_cmds.c code/game/g_cmds.c: In function 'SanitizeString': code/game/g_cmds.c:171:3: warning: array subscript has type 'char' [-Wchar-subscripts] *out++ = tolower( *in++ ); ^ GAME_CC_MISSIONPACK 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_MISSIONPACK code/game/g_items.c 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 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_MISSIONPACK code/game/g_syscalls.c UI_CC_MISSIONPACK code/ui/ui_main.c UI_CC_MISSIONPACK code/ui/ui_atoms.c code/ui/ui_main.c: In function 'Text_Width': code/ui/ui_main.c:296:4: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString(s) ) { ^ code/ui/ui_main.c: In function 'Text_Height': code/ui/ui_main.c:331:4: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString(s) ) { ^ code/ui/ui_main.c: In function 'Text_Paint': code/ui/ui_main.c:380:4: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ code/ui/ui_main.c: In function 'Text_PaintWithCursor': code/ui/ui_main.c:450:4: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ code/ui/ui_main.c: In function 'Text_Paint_Limit': code/ui/ui_main.c:545:4: warning: array subscript has type 'char' [-Wchar-subscripts] if ( Q_IsColorString( s ) ) { ^ code/ui/ui_main.c: In function 'stristr': code/ui/ui_main.c:4002:4: warning: array subscript has type 'char' [-Wchar-subscripts] if (toupper(charset[i]) != toupper(str[i])) break; ^ code/ui/ui_main.c:4002:4: warning: array subscript has type 'char' [-Wchar-subscripts] 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; ^ UI_CC_MISSIONPACK code/ui/ui_gameinfo.c UI_CC_MISSIONPACK code/ui/ui_players.c UI_CC_MISSIONPACK code/game/bg_misc.c UI_CC_MISSIONPACK code/game/bg_lib.c TOOLS_CC code/tools/lcc/etc/lcc.c code/tools/lcc/etc/lcc.c: In function 'compose': code/tools/lcc/etc/lcc.c:334:3: warning: array subscript has type 'char' [-Wchar-subscripts] if (s && isdigit(s[1])) { ^ 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 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; ^ TOOLS_CC code/tools/lcc/src/dag.c TOOLS_CC code/tools/lcc/lburg/lburg.c TOOLS_CC code/tools/lcc/lburg/gram.c lburg/gram.y: In function 'yylex': lburg/gram.y:121:3: warning: array subscript has type 'char' [-Wchar-subscripts] lburg/gram.y:143:3: warning: array subscript has type 'char' [-Wchar-subscripts] lburg/gram.y:147:3: warning: array subscript has type 'char' [-Wchar-subscripts] lburg/gram.y:180:4: warning: array subscript has type 'char' [-Wchar-subscripts] lburg/gram.y:180:4: warning: array subscript has type 'char' [-Wchar-subscripts] TOOLS_CC code/tools/lcc/src/decl.c TOOLS_CC code/tools/lcc/src/enode.c TOOLS_CC code/tools/lcc/src/error.c TOOLS_CC code/tools/lcc/src/event.c TOOLS_CC code/tools/lcc/src/expr.c TOOLS_CC code/tools/lcc/src/gen.c TOOLS_CC code/tools/lcc/src/init.c TOOLS_CC code/tools/lcc/src/inits.c TOOLS_CC code/tools/lcc/src/input.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 TOOLS_CC code/tools/lcc/src/symbolic.c TOOLS_CC code/tools/lcc/src/trace.c code/tools/lcc/src/symbolic.c: In function 'yyEND': code/tools/lcc/src/symbolic.c:19:2: warning: array subscript has type 'char' [-Wchar-subscripts] if (isupper(*tag)) ^ 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 code/tools/lcc/cpp/tokens.c: In function 'peektokens': code/tools/lcc/cpp/tokens.c:270:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(stderr, "(tp offset %d) ", tp-trp->bp); ^ code/tools/lcc/cpp/tokens.c:270:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] TOOLS_CC code/tools/lcc/cpp/macro.c 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/getopt.c TOOLS_CC code/tools/lcc/cpp/unix.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; ^ TOOLS_CC code/tools/asm/cmdlib.c code/tools/asm/cmdlib.c: In function 'strupr': code/tools/asm/cmdlib.c:566:3: warning: array subscript has type 'char' [-Wchar-subscripts] *in = toupper(*in); ^ code/tools/asm/cmdlib.c: In function 'strlower': code/tools/asm/cmdlib.c:578:3: warning: array subscript has type 'char' [-Wchar-subscripts] *in = tolower(*in); ^ LD build/release-netbsd-evbarm/ioq3ded.evbarm LD build/release-netbsd-evbarm/ioquake3.evbarm LD build/release-netbsd-evbarm/baseq3/cgameevbarm.so LD build/release-netbsd-evbarm/baseq3/qagameevbarm.so LD build/release-netbsd-evbarm/baseq3/uievbarm.so LD build/release-netbsd-evbarm/missionpack/cgameevbarm.so LD build/release-netbsd-evbarm/missionpack/qagameevbarm.so LD build/release-netbsd-evbarm/missionpack/uievbarm.so LD build/release-netbsd-evbarm/tools/lburg/lburg LD build/release-netbsd-evbarm/tools/q3cpp LD build/release-netbsd-evbarm/tools/q3asm LBURG code/tools/lcc/src/dagcheck.md TOOLS_CC_DAGCHECK build/release-netbsd-evbarm/tools/rcc/dagcheck.c LD build/release-netbsd-evbarm/tools/q3rcc LD build/release-netbsd-evbarm/tools/q3lcc CGAME_Q3LCC code/cgame/cg_main.c CGAME_Q3LCC code/game/bg_misc.c build/release-netbsd-evbarm/tools/q3lcc: fatal error in build/release-netbsd-evbarm/tools/q3cpp Makefile:2163: recipe for target 'build/release-netbsd-evbarm/baseq3/cgame/cg_main.asm' failed gmake[2]: *** [build/release-netbsd-evbarm/baseq3/cgame/cg_main.asm] Error 1 gmake[2]: *** Waiting for unfinished jobs.... build/release-netbsd-evbarm/tools/q3lcc: fatal error in build/release-netbsd-evbarm/tools/q3cpp Makefile:2160: recipe for target 'build/release-netbsd-evbarm/baseq3/cgame/bg_misc.asm' failed gmake[2]: *** [build/release-netbsd-evbarm/baseq3/cgame/bg_misc.asm] Error 1 gmake[2]: Leaving directory '/scratch/games/ioquake3/work/ioquake3-1.36' Makefile:1143: recipe for target 'targets' failed gmake[1]: *** [targets] Error 2 gmake[1]: Leaving directory '/scratch/games/ioquake3/work/ioquake3-1.36' Makefile:1137: recipe for target 'release' failed gmake: *** [release] Error 2 *** Error code 2 Stop. make[1]: stopped in /bulk-data/pkgsrc/games/ioquake3 *** Error code 1 Stop. make: stopped in /bulk-data/pkgsrc/games/ioquake3