Snippets for alienarena 7.72.1 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/alienarena/7.72.1,1/150amd64-default.log.
-
qcommon/md5.c:273:27: warning: 'memset' call operates on objects of type 'MD5_CTX' while the size is based on a different type 'MD5_CTX *' [-Wsizeof-pointer-memaccess] 273 | memset(ctx, 0, sizeof(ctx)); // In case it's sensitive | ~~~ ^~~ -
server/sv_ccmds.c:699:94: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 699 | Com_Printf("The client is firing packets %ims BEFORE the server expects them.\n", (int)abs(cl->last_jitter)); | ^ -
./ref_gl/glext.h:34:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] 34 | #define GL_GLEXT_VERSION 56 | ^ -
game/acesrc/acebot_ai.c:590:26: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 590 | if(target->classname == "hbomb") | ^ ~~~~~~~ -
game/acesrc/acebot_ai.c:592:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 592 | else if(target->classname == "alien computer") | ^ ~~~~~~~~~~~~~~~~ -
game/acesrc/acebot_ai.c:594:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 594 | else if(target->classname == "alien powersrc") | ^ ~~~~~~~~~~~~~~~~ -
game/acesrc/acebot_ai.c:596:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 596 | else if(target->classname == "alien ammodepot") | ^ ~~~~~~~~~~~~~~~~~ -
game/acesrc/acebot_ai.c:598:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 598 | else if(target->classname == "alien backupgen") | ^ ~~~~~~~~~~~~~~~~~ -
game/acesrc/acebot_ai.c:603:26: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 603 | if(target->classname == "abomb") | ^ ~~~~~~~ -
game/acesrc/acebot_ai.c:605:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 605 | else if(target->classname == "human computer") | ^ ~~~~~~~~~~~~~~~~ -
game/acesrc/acebot_ai.c:607:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 607 | else if(target->classname == "human powersrc") | ^ ~~~~~~~~~~~~~~~~ -
game/acesrc/acebot_ai.c:609:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 609 | else if(target->classname == "human ammodepot") | ^ ~~~~~~~~~~~~~~~~~ -
game/acesrc/acebot_ai.c:611:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 611 | else if(target->classname == "human backupgen") | ^ ~~~~~~~~~~~~~~~~~ -
game/acesrc/acebot_ai.c:826:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 826 | && (self->enemy->classname == "human computer" || self->enemy->classname == "human powersrc" | ^ ~~~~~~~~~~~~~~~~ -
game/acesrc/acebot_ai.c:826:77: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 826 | && (self->enemy->classname == "human computer" || self->enemy->classname == "human powersrc" | ^ ~~~~~~~~~~~~~~~~ -
game/acesrc/acebot_ai.c:827:30: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 827 | || self->enemy->classname == "human ammodepot")) | ^ ~~~~~~~~~~~~~~~~~ -
game/acesrc/acebot_ai.c:836:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 836 | && (self->enemy->classname == "alien computer" || self->enemy->classname == "alien powersrc" | ^ ~~~~~~~~~~~~~~~~ -
game/acesrc/acebot_ai.c:836:77: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 836 | && (self->enemy->classname == "alien computer" || self->enemy->classname == "alien powersrc" | ^ ~~~~~~~~~~~~~~~~ -
game/acesrc/acebot_ai.c:837:30: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 837 | || self->enemy->classname == "alien ammodepot")) | ^ ~~~~~~~~~~~~~~~~~ -
game/g_combat.c:275:14: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 275 | height = abs(targ->mins[2]) + targ_maxs2; | ^ -
game/g_combat.c:292:9: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 292 | && (abs(new_point[1])) < HEAD_HEIGHT*.8 | ^ -
game/g_combat.c:293:21: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 293 | && (abs(new_point[0])) < HEAD_HEIGHT*.8 ) { | ^ -
game/g_misc.c:1297:20: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1297 | if(ent->classname == "alien computer") | ^ ~~~~~~~~~~~~~~~~ -
game/g_misc.c:1315:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1315 | if(self->classname == "alien computer") | ^ ~~~~~~~~~~~~~~~~ -
game/g_misc.c:1330:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1330 | if(self->classname == "alien computer") | ^ ~~~~~~~~~~~~~~~~ -
game/g_misc.c:1421:20: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1421 | if(ent->classname == "alien powersrc") | ^ ~~~~~~~~~~~~~~~~ -
game/g_misc.c:1438:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1438 | if(self->classname == "alien powersrc") | ^ ~~~~~~~~~~~~~~~~ -
game/g_misc.c:1453:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1453 | if(self->classname == "alien powersrc") | ^ ~~~~~~~~~~~~~~~~ -
game/g_misc.c:1544:20: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1544 | if(ent->classname == "alien ammodepot") | ^ ~~~~~~~~~~~~~~~~~ -
game/g_misc.c:1560:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1560 | if(self->classname == "alien ammodepot") | ^ ~~~~~~~~~~~~~~~~~ -
game/g_misc.c:1575:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1575 | if(self->classname == "alien ammodepot") | ^ ~~~~~~~~~~~~~~~~~ -
game/g_misc.c:1666:20: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1666 | if(ent->classname == "alien backupgen") | ^ ~~~~~~~~~~~~~~~~~ -
game/g_misc.c:1695:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1695 | if(self->classname == "alien backupgen") | ^ ~~~~~~~~~~~~~~~~~ -
game/g_misc.c:1708:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1708 | if(self->classname == "alien backupgen") | ^ ~~~~~~~~~~~~~~~~~ -
game/g_misc.c:1823:22: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1823 | if(ent->classname == "human powersrc") | ^ ~~~~~~~~~~~~~~~~ -
game/g_misc.c:1830:27: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1830 | else if(ent->classname == "human ammodepot") | ^ ~~~~~~~~~~~~~~~~~ -
game/g_misc.c:1837:27: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1837 | else if(ent->classname == "human computer") | ^ ~~~~~~~~~~~~~~~~ -
game/g_misc.c:1844:27: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1844 | else if(ent->classname == "human backupgen") | ^ ~~~~~~~~~~~~~~~~~ -
game/g_misc.c:1851:27: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1851 | else if(ent->classname == "abomb") | ^ ~~~~~~~ -
game/g_misc.c:1862:22: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1862 | if(ent->classname == "alien powersrc") | ^ ~~~~~~~~~~~~~~~~ -
game/g_misc.c:1869:27: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1869 | else if(ent->classname == "alien ammodepot") | ^ ~~~~~~~~~~~~~~~~~ -
game/g_misc.c:1876:27: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1876 | else if(ent->classname == "alien computer") | ^ ~~~~~~~~~~~~~~~~ -
game/g_misc.c:1883:27: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1883 | else if(ent->classname == "alien backupgen") | ^ ~~~~~~~~~~~~~~~~~ -
game/g_misc.c:1890:27: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1890 | else if(ent->classname == "hbomb") | ^ ~~~~~~~ -
game/g_trigger.c:547:54: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 547 | if((other->s.effects & EF_GIB) || (other->classname == "g_gib")) | ^ ~~~~~~~ -
game/g_weapon.c:2142:22: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 2142 | if(self->classname == "abomb") | ^ ~~~~~~~ -
game/g_weapon.c:2231:21: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 2231 | if(self->classname == "abomb") | ^ ~~~~~~~ -
game/m_move.c:448:28: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 448 | if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) | ^ -
game/m_move.c:448:40: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 448 | if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) | ^ -
game/p_view.c:1351:16: warning: floating-point comparison is always false; constant cannot be represented exactly in type 'float' [-Wliteral-range] 1351 | if(FRAMETIME == TENFPS) | ~~~~~~~~~ ^ ~~~~~~ -
client/cl_ents.c:192:6: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 192 | || abs(state->origin[0] - ent->current.origin[0]) > 512 | ^ -
client/cl_ents.c:193:6: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 193 | || abs(state->origin[1] - ent->current.origin[1]) > 512 | ^ -
client/cl_ents.c:194:6: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 194 | || abs(state->origin[2] - ent->current.origin[2]) > 512 | ^ -
client/cl_ents.c:1618:7: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 1618 | if ( fabs(ops->pmove.origin[0] - ps->pmove.origin[0]) > 256*8 | ^ -
client/cl_http.c:249:3: warning: call to undeclared function '_unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | _unlink(dnld_file); // delete partial or empty file | ^ -
client/cl_http.c:155:6: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 155 | if (curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 5) != CURLE_OK) return false; | ^ -
client/cl_parse.c:960:8: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 960 | if (!ci->weaponmodel[i] == 0) { | ^ ~~ -
client/cl_stats.c:108:2: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 108 | curl_easy_setopt(easyhandle, CURLOPT_CONNECTTIMEOUT, 5); | ^ -
client/cl_updates.c:267:6: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 267 | if (curl_easy_setopt(easyhandle, CURLOPT_CONNECTTIMEOUT, 5) != CURLE_OK) return; | ^ -
client/menu.c:1759:15: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1759 | if (cvarname == "vid_fullscreen" && | ^ ~~~~~~~~~~~~~~~~ -
client/menu.c:1939:16: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1939 | if ((cvarname == "vid_width" || cvarname == "vid_height") && | ^ ~~~~~~~~~~~ -
client/menu.c:1939:43: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1939 | if ((cvarname == "vid_width" || cvarname == "vid_height") && | ^ ~~~~~~~~~~~~ -
client/menu.c:2023:29: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 2023 | if (optionname->cvarname == "vid_fullscreen" && | ^ ~~~~~~~~~~~~~~~~ -
client/menu.c:2068:24: warning: comparison of distinct pointer types ('const char **' and 'char **') [-Wcompare-distinct-pointer-types] 2068 | if (item->itemnames == font_names) | ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~ -
client/menu.c:2106:31: warning: assigning to 'void *' from 'const sliderlimit_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2106 | item->generic.localptrs[0] = limit; | ^ ~~~~~ -
client/menu.c:2118:31: warning: assigning to 'void *' from 'const fieldsize_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2118 | item->generic.localptrs[0] = fieldsize; | ^ ~~~~~~~~~ -
client/qmenu.c:176:23: warning: comparison of distinct pointer types ('struct _tag_menuitem *' and 'menufield_s *' (aka 'menumultival_s *')) [-Wcompare-distinct-pointer-types] 176 | if ( cursor.menuitem == f ) | ~~~~~~~~~~~~~~~ ^ ~ -
client/qmenu.c:635:11: warning: enumeration value 'MTYPE_VERT_SCROLLBAR' not handled in switch [-Wswitch] 635 | switch ( self->type ) | ^~~~~~~~~~ -
client/qmenu.c:952:12: warning: enumeration value 'MTYPE_VERT_SCROLLBAR' not handled in switch [-Wswitch] 952 | switch ( item->generic.type ) | ^~~~~~~~~~~~~~~~~~ -
client/qmenu.c:1471:12: warning: 5 enumeration values not handled in switch: 'MTYPE_VERT_SCROLLBAR', 'MTYPE_ACTION', 'MTYPE_FIELD'... [-Wswitch] 1471 | switch ( item->type ) | ^~~~~~~~~~ -
ref_gl/glext.h:34:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] 34 | #define GL_GLEXT_VERSION 56 | ^ -
ref_gl/r_decals.c:558:16: warning: backslash and newline separated by space [-Wbackslash-newline-escape] 558 | // /\ | ^ -
ref_gl/r_decals.c:559:17: warning: backslash and newline separated by space [-Wbackslash-newline-escape] 559 | // .========/ \ | ^ -
ref_gl/r_decals.c:560:18: warning: backslash and newline separated by space [-Wbackslash-newline-escape] 560 | // | /|___\ | ^ -
client/menu.c:1182:2: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 1182 | curl_easy_setopt(easyhandle, CURLOPT_CONNECTTIMEOUT, 5); | ^ -
ref_gl/r_draw.c:114:9: warning: 'DEG2RAD' macro redefined [-Wmacro-redefined] 114 | #define DEG2RAD (0.0174532925f) | ^ -
ref_gl/r_light.c:360:25: warning: passing 'const vec_t *' (aka 'const float *') to parameter of type 'vec_t *' (aka 'float *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 360 | CM_TerrainLightPoint (p, end, color); | ^ -
ref_gl/r_light.c:363:76: warning: passing 'const vec_t *' (aka 'const float *') to parameter of type 'vec_t *' (aka 'float *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 363 | if (r_worldmodel->lightdata && RecursiveLightPoint (r_worldmodel->nodes, p, end, &uses_lightstyle) != -1) | ^ -
ref_gl/r_main.c:1491:30: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1491 | if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_mode->integer, windowmode ) ) == rserr_ok ) | ^~~~~~~~~~ -
ref_gl/r_main.c:1491:42: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1491 | if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_mode->integer, windowmode ) ) == rserr_ok ) | ^~~~~~~~~~~ -
ref_gl/r_main.c:1502:32: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1502 | if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_mode->integer, windowmode_windowed ) ) == rserr_ok ) | ^~~~~~~~~~ -
ref_gl/r_main.c:1502:44: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1502 | if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_mode->integer, windowmode_windowed ) ) == rserr_ok ) | ^~~~~~~~~~~ -
ref_gl/r_main.c:1513:31: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1513 | if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_state.prev_mode, windowmode_windowed ) ) != rserr_ok ) | ^~~~~~~~~~ -
ref_gl/r_main.c:1513:43: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1513 | if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_state.prev_mode, windowmode_windowed ) ) != rserr_ok ) | ^~~~~~~~~~~ -
ref_gl/r_model.c:1085:35: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1085 | printf ("%d / %d\n", l->filelen, sizeof(*in)); | ~~ ^~~~~~~~~~~ | %lu -
ref_gl/r_ragdoll.c:845:28: warning: use of infinity via a macro is undefined behavior due to the currently enabled floating-point options [-Wnan-infinity-disabled] 845 | contact[i].surface.mu = dInfinity; // Friction | ^ -
ref_gl/r_shadowmaps.c:1082:6: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 1082 | if (abs (VectorLength (xyDist)) > abs (lightVec[2]) * 1.5) | ^ -
ref_gl/r_shadowmaps.c:1082:36: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 1082 | if (abs (VectorLength (xyDist)) > abs (lightVec[2]) * 1.5) | ^ -
ref_gl/r_shadowmaps.c:1083:21: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 1083 | adjLightPos[2] += abs (VectorLength (xyDist)) - abs (lightVec[2]) * 1.5; | ^ -
ref_gl/r_shadowmaps.c:1083:51: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 1083 | adjLightPos[2] += abs (VectorLength (xyDist)) - abs (lightVec[2]) * 1.5; | ^ -
ref_gl/r_surf.c:2040:43: warning: implicit conversion from 'int' to 'vec_t' (aka 'float') changes value from -99999999 to -1.0E+8 [-Wimplicit-const-int-float-conversion] 2040 | vec3_t surfmaxs = {-99999999, -99999999, -99999999}; | ~ ^~~~~~~~~ -
ref_gl/r_surf.c:2040:32: warning: implicit conversion from 'int' to 'vec_t' (aka 'float') changes value from -99999999 to -1.0E+8 [-Wimplicit-const-int-float-conversion] 2040 | vec3_t surfmaxs = {-99999999, -99999999, -99999999}; | ~ ^~~~~~~~~ -
ref_gl/r_surf.c:2040:21: warning: implicit conversion from 'int' to 'vec_t' (aka 'float') changes value from -99999999 to -1.0E+8 [-Wimplicit-const-int-float-conversion] 2040 | vec3_t surfmaxs = {-99999999, -99999999, -99999999}; | ~^~~~~~~~~ -
ref_gl/r_surf.c:2041:41: warning: implicit conversion from 'int' to 'vec_t' (aka 'float') changes value from 99999999 to 1.0E+8 [-Wimplicit-const-int-float-conversion] 2041 | vec3_t surfmins = {99999999, 99999999, 99999999}; | ~ ^~~~~~~~ -
ref_gl/r_surf.c:2041:31: warning: implicit conversion from 'int' to 'vec_t' (aka 'float') changes value from 99999999 to 1.0E+8 [-Wimplicit-const-int-float-conversion] 2041 | vec3_t surfmins = {99999999, 99999999, 99999999}; | ~ ^~~~~~~~ -
ref_gl/r_surf.c:2041:21: warning: implicit conversion from 'int' to 'vec_t' (aka 'float') changes value from 99999999 to 1.0E+8 [-Wimplicit-const-int-float-conversion] 2041 | vec3_t surfmins = {99999999, 99999999, 99999999}; | ~^~~~~~~~ -
ref_gl/r_terrain.c:161:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 161 | ent->model = R_RegisterModel (data.decorations[i].path); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
ref_gl/r_terrain.c:195:12: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 195 | gfxpath = data.decorations[i].path; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ -
ref_gl/r_warp.c:445:16: warning: address of array 'r_skyname' will always evaluate to 'true' [-Wpointer-bool-conversion] 445 | if (!force && r_skyname && r_skyname[0]) { | ~~ ^~~~~~~~~