make sv-tmp TYPE=_out-rel OUT_DIR="./release/sv_linux64" make gl-tmp TYPE=_clsv-rel OUT_DIR="./release/gl_linux64" make mingl-tmp TYPE=_cl-rel OUT_DIR="./release/mingl_linux64" make[1]: Entering directory `/home/moodles/wip/wip/engine' make[1]: Entering directory `/home/moodles/wip/wip/engine' make _cl-rel OUT_DIR="./release/mingl_linux64" EXE_NAME="../fteqw.mingl64" WCFLAGS="-DGLQUAKE -I/usr/X11R6/include -DUSE_DGA -DMINIMAL" LDFLAGS=" -L/usr/X11R6/lib -lX11 -lXext -lpng -ljpeg -lXxf86vm -lXxf86dga -L./libs/64/ -I./libs/64/ -lz -lX11-xcb -lxcb-xlib -lxcb -lXdmcp -lXpm -lXau -lX11 -lXext" SOBJS=" gl_alias.o gl_draw.o gl_model.o gl_ngraph.o gl_backend.o gl_rlight.o gl_rmain.o gl_rmisc.o gl_font.o gl_heightmap.o gl_rsurf.o r_surf.o ltface.o r_2d.o gl_screen.o gl_bloom.o gl_shadow.o gl_shader.o gl_warp.o gl_vidcommon.o gl_hlmdl.o gl_vidlinuxglx.o snd_linux.o snd_alsa.oo cd_linux.o sys_linux.o" make _out-rel OUT_DIR="./release/sv_linux64" EXE_NAME="../fteqw.sv64" WCFLAGS="-DSERVERONLY" LDFLAGS="-lz -L./libs/64/ -I./libs/64/ -lz -lX11-xcb -lxcb-xlib -lxcb -lXdmcp -lXpm -lXau -lX11 -lXext" OBJS="SV_OBJS" make[1]: Entering directory `/home/moodles/wip/wip/engine' make _clsv-rel OUT_DIR="./release/gl_linux64" EXE_NAME="../fteqw.gl64" WCFLAGS="-DGLQUAKE -I/usr/X11R6/include -DUSE_DGA" LDFLAGS=" -L/usr/X11R6/lib -lX11 -lXext -lpng -ljpeg -lXxf86vm -lXxf86dga -L./libs/64/ -I./libs/64/ -lz -lX11-xcb -lxcb-xlib -lxcb -lXdmcp -lXpm -lXau -lX11 -lXext" SOBJS=" gl_alias.o gl_draw.o gl_model.o gl_ngraph.o gl_backend.o gl_rlight.o gl_rmain.o gl_rmisc.o gl_font.o gl_heightmap.o gl_rsurf.o r_surf.o ltface.o r_2d.o gl_screen.o gl_bloom.o gl_shadow.o gl_shader.o gl_warp.o gl_vidcommon.o gl_hlmdl.o gl_vidlinuxglx.o snd_linux.o snd_alsa.oo cd_linux.o sys_linux.o" make[2]: Entering directory `/home/moodles/wip/wip/engine' make _out-rel EXE_NAME="../fteqw.mingl64" OUT_DIR="./release/mingl_linux64" WCFLAGS="-DCLIENTONLY -DGLQUAKE -I/usr/X11R6/include -DUSE_DGA -DMINIMAL" LDFLAGS="-L/usr/X11R6/lib -lX11 -lXext -lpng -ljpeg -lXxf86vm -lXxf86dga -L./libs/64/ -I./libs/64/ -lz -lX11-xcb -lxcb-xlib -lxcb -lXdmcp -lXpm -lXau -lX11 -lXext" SOBJS="gl_alias.o gl_draw.o gl_model.o gl_ngraph.o gl_backend.o gl_rlight.o gl_rmain.o gl_rmisc.o gl_font.o gl_heightmap.o gl_rsurf.o r_surf.o ltface.o r_2d.o gl_screen.o gl_bloom.o gl_shadow.o gl_shader.o gl_warp.o gl_vidcommon.o gl_hlmdl.o gl_vidlinuxglx.o snd_linux.o snd_alsa.oo cd_linux.o sys_linux.o" OBJS="SOBJS COMMON_OBJS CLIENT_OBJS PROGS_OBJS" make[2]: Entering directory `/home/moodles/wip/wip/engine' make ./release/sv_linux64/../fteqw.sv64 EXE_NAME="../fteqw.sv64" OUT_DIR="./release/sv_linux64" WCFLAGS="-DSERVERONLY -O2 -fno-strict-aliasing " LDFLAGS="-lm -ldl -lpthread -lz -L./libs/64/ -I./libs/64/ -lz -lX11-xcb -lxcb-xlib -lxcb -lXdmcp -lXpm -lXau -lX11 -lXext " OBJS="SV_OBJS" make[2]: Entering directory `/home/moodles/wip/wip/engine' make _out-rel EXE_NAME="../fteqw.gl64" OUT_DIR="./release/gl_linux64" WCFLAGS=" -DGLQUAKE -I/usr/X11R6/include -DUSE_DGA" LDFLAGS="-L/usr/X11R6/lib -lX11 -lXext -lpng -ljpeg -lXxf86vm -lXxf86dga -L./libs/64/ -I./libs/64/ -lz -lX11-xcb -lxcb-xlib -lxcb -lXdmcp -lXpm -lXau -lX11 -lXext" SOBJS="gl_alias.o gl_draw.o gl_model.o gl_ngraph.o gl_backend.o gl_rlight.o gl_rmain.o gl_rmisc.o gl_font.o gl_heightmap.o gl_rsurf.o r_surf.o ltface.o r_2d.o gl_screen.o gl_bloom.o gl_shadow.o gl_shader.o gl_warp.o gl_vidcommon.o gl_hlmdl.o gl_vidlinuxglx.o snd_linux.o snd_alsa.oo cd_linux.o sys_linux.o" OBJS="SOBJS COMMON_OBJS CLIENT_OBJS PROGS_OBJS SERVER_OBJS" make[3]: Entering directory `/home/moodles/wip/wip/engine' make ./release/mingl_linux64/../fteqw.mingl64 EXE_NAME="../fteqw.mingl64" OUT_DIR="./release/mingl_linux64" WCFLAGS="-DCLIENTONLY -DGLQUAKE -I/usr/X11R6/include -DUSE_DGA -DMINIMAL -O2 -fno-strict-aliasing " LDFLAGS="-lm -ldl -lpthread -L/usr/X11R6/lib -lX11 -lXext -lpng -ljpeg -lXxf86vm -lXxf86dga -L./libs/64/ -I./libs/64/ -lz -lX11-xcb -lxcb-xlib -lxcb -lXdmcp -lXpm -lXau -lX11 -lXext " OBJS="SOBJS COMMON_OBJS CLIENT_OBJS PROGS_OBJS" make[3]: Entering directory `/home/moodles/wip/wip/engine' clang -m64 -DCLANG -x c -DNOASM -Wall -Dstrnicmp=strncasecmp -Dstricmp=strcasecmp -D_vsnprintf=vsnprintf -D_snprintf=snprintf -I./client -I./server -I./common -I./gl -I./d3d9 -I./d3d -I./qclib -I. -I./dxsdk7/include -I./sdl/include -I./sdl/include/SDL -I./libs/freetype2/include -I./libs/freetype2/include/freetype -DSVNREVISION=3605 -DSERVERONLY -O2 -fno-strict-aliasing -o release/sv_linux64/quakedef.h.gch -c ./client/quakedef.h make[3]: Entering directory `/home/moodles/wip/wip/engine' make ./release/gl_linux64/../fteqw.gl64 EXE_NAME="../fteqw.gl64" OUT_DIR="./release/gl_linux64" WCFLAGS="-DGLQUAKE -I/usr/X11R6/include -DUSE_DGA -O2 -fno-strict-aliasing " LDFLAGS="-lm -ldl -lpthread -L/usr/X11R6/lib -lX11 -lXext -lpng -ljpeg -lXxf86vm -lXxf86dga -L./libs/64/ -I./libs/64/ -lz -lX11-xcb -lxcb-xlib -lxcb -lXdmcp -lXpm -lXau -lX11 -lXext " OBJS="SOBJS COMMON_OBJS CLIENT_OBJS PROGS_OBJS SERVER_OBJS" ./common/com_mesh.c:107:2: warning: #warning FIXME: these are placeholders [-W#warnings] #warning FIXME: these are placeholders ^ ./common/com_mesh.c:1777:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("wasted memory") ^ ./common/com_mesh.c:1913:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("wasted memory") ^ ./common/com_mesh.c:3048:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme") ^ make[4]: Entering directory `/home/moodles/wip/wip/engine' clang -m64 -DCLANG -x c -DNOASM -Wall -Dstrnicmp=strncasecmp -Dstricmp=strcasecmp -D_vsnprintf=vsnprintf -D_snprintf=snprintf -I./client -I./server -I./common -I./gl -I./d3d9 -I./d3d -I./qclib -I. -I./dxsdk7/include -I./sdl/include -I./sdl/include/SDL -I./libs/freetype2/include -I./libs/freetype2/include/freetype -DSVNREVISION=3605 -DCLIENTONLY -DGLQUAKE -I/usr/X11R6/include -DUSE_DGA -DMINIMAL -O2 -fno-strict-aliasing -o release/mingl_linux64/quakedef.h.gch -c ./client/quakedef.h 4 diagnostics generated. make[4]: Entering directory `/home/moodles/wip/wip/engine' clang -m64 -DCLANG -x c -DNOASM -Wall -Dstrnicmp=strncasecmp -Dstricmp=strcasecmp -D_vsnprintf=vsnprintf -D_snprintf=snprintf -I./client -I./server -I./common -I./gl -I./d3d9 -I./d3d -I./qclib -I. -I./dxsdk7/include -I./sdl/include -I./sdl/include/SDL -I./libs/freetype2/include -I./libs/freetype2/include/freetype -DSVNREVISION=3605 -DGLQUAKE -I/usr/X11R6/include -DUSE_DGA -O2 -fno-strict-aliasing -o release/gl_linux64/quakedef.h.gch -c ./client/quakedef.h ./common/com_mesh.c ./common/com_phys_ode.c:133:35: warning: backslash and newline separated by space #define D_ALL_PARAM_NAMES(start) \ ^ ./common/com_phys_ode.c:134:43: warning: backslash and newline separated by space /* parameters for limits and motors */ \ ^ ./common/com_phys_ode.c:135:26: warning: backslash and newline separated by space dParamLoStop = start, \ ^ ./common/com_phys_ode.c:136:18: warning: backslash and newline separated by space dParamHiStop, \ ^ ./common/com_phys_ode.c:137:15: warning: backslash and newline separated by space dParamVel, \ ^ ./common/com_phys_ode.c:138:16: warning: backslash and newline separated by space dParamFMax, \ ^ ./common/com_phys_ode.c:139:23: warning: backslash and newline separated by space dParamFudgeFactor, \ ^ ./common/com_phys_ode.c:140:18: warning: backslash and newline separated by space dParamBounce, \ ^ ./common/com_phys_ode.c:141:15: warning: backslash and newline separated by space dParamCFM, \ ^ ./common/com_phys_ode.c:142:19: warning: backslash and newline separated by space dParamStopERP, \ ^ ./common/com_phys_ode.c:143:19: warning: backslash and newline separated by space dParamStopCFM, \ ^ ./common/com_phys_ode.c:144:36: warning: backslash and newline separated by space /* parameters for suspension */ \ ^ ./common/com_phys_ode.c:145:25: warning: backslash and newline separated by space dParamSuspensionERP, \ ^ ./common/com_phys_ode.c:146:25: warning: backslash and newline separated by space dParamSuspensionCFM, \ ^ ./common/com_phys_ode.c:147:15: warning: backslash and newline separated by space dParamERP, \ ^ ./common/com_phys_ode.c:149:39: warning: backslash and newline separated by space #define D_ALL_PARAM_NAMES_X(start,x) \ ^ ./common/com_phys_ode.c:150:43: warning: backslash and newline separated by space /* parameters for limits and motors */ \ ^ ./common/com_phys_ode.c:151:31: warning: backslash and newline separated by space dParamLoStop ## x = start, \ ^ ./common/com_phys_ode.c:152:23: warning: backslash and newline separated by space dParamHiStop ## x, \ ^ ./common/com_phys_ode.c:153:20: warning: backslash and newline separated by space dParamVel ## x, \ ^ ./common/com_phys_ode.c:154:21: warning: backslash and newline separated by space dParamFMax ## x, \ ^ ./common/com_phys_ode.c:155:28: warning: backslash and newline separated by space dParamFudgeFactor ## x, \ ^ ./common/com_phys_ode.c:156:23: warning: backslash and newline separated by space dParamBounce ## x, \ ^ ./common/com_phys_ode.c:157:20: warning: backslash and newline separated by space dParamCFM ## x, \ ^ ./common/com_phys_ode.c:158:24: warning: backslash and newline separated by space dParamStopERP ## x, \ ^ ./common/com_phys_ode.c:159:24: warning: backslash and newline separated by space dParamStopCFM ## x, \ ^ ./common/com_phys_ode.c:160:36: warning: backslash and newline separated by space /* parameters for suspension */ \ ^ ./common/com_phys_ode.c:161:30: warning: backslash and newline separated by space dParamSuspensionERP ## x, \ ^ ./common/com_phys_ode.c:162:30: warning: backslash and newline separated by space dParamSuspensionCFM ## x, \ ^ 29 diagnostics generated. ./common/com_phys_ode.c ./gl/gl_alias.c ./common/com_phys_ode.c:133:35: warning: backslash and newline separated by space #define D_ALL_PARAM_NAMES(start) \ ^ ./common/com_mesh.c:107:./common/com_phys_ode.c:134:2: 43warning: : #warning FIXME: these are placeholders [-W#warnings] warning: backslash and newline separated by space #warning FIXME: these are placeholders /* parameters for limits and motors */ \ ^ ^ ./common/com_phys_ode.c:135:26: warning: backslash and newline separated by space dParamLoStop = start, \ ^ ./common/com_phys_ode.c:136:18: warning: backslash and newline separated by space dParamHiStop, \ ^ ./common/com_phys_ode.c:137:15: warning: backslash and newline separated by space dParamVel, \ ^ ./common/com_phys_ode.c:138:16: warning: backslash and newline separated by space dParamFMax, \ ^ ./common/com_phys_ode.c:139:23: warning: backslash and newline separated by space dParamFudgeFactor, \ ^ ./common/com_phys_ode.c:140:18: warning: backslash and newline separated by space dParamBounce, \ ^ ./common/com_phys_ode.c:141:15: warning: backslash and newline separated by space dParamCFM, \ ^ ./common/com_phys_ode.c:142:19: warning: backslash and newline separated by space dParamStopERP, \ ^ ./common/com_phys_ode.c:143:19: warning: backslash and newline separated by space dParamStopCFM, \ ^ ./common/com_phys_ode.c:144:36: warning: backslash and newline separated by space /* parameters for suspension */ \ ^ ./common/com_phys_ode.c:145:25: warning: backslash and newline separated by space dParamSuspensionERP, \ ^ ./common/com_phys_ode.c:146:25: warning: backslash and newline separated by space dParamSuspensionCFM, \ ^ ./common/com_phys_ode.c:147:15: warning: backslash and newline separated by space dParamERP, \ ^ ./common/com_phys_ode.c:149:39: warning: backslash and newline separated by space #define D_ALL_PARAM_NAMES_X(start,x) \ ^ ./common/com_phys_ode.c:150:43: warning: backslash and newline separated by space /* parameters for limits and motors */ \ ^ ./common/com_phys_ode.c:151:31: warning: backslash and newline separated by space dParamLoStop ## x = start, \ ^ ./common/com_phys_ode.c:152:23: warning: backslash and newline separated by space dParamHiStop ## x, \ ^ ./common/com_phys_ode.c:153:20: warning: backslash and newline separated by space dParamVel ## x, \ ^ ./common/com_phys_ode.c:154:21: warning: backslash and newline separated by space dParamFMax ## x, \ ^ ./common/com_phys_ode.c:155:28: warning: backslash and newline separated by space dParamFudgeFactor ## x, \ ^ ./common/com_phys_ode.c:156:23: warning: backslash and newline separated by space dParamBounce ## x, \ ^ ./common/com_mesh.c./common/com_phys_ode.c:157::1583:4: warning: 20: warning: backslash and newline separated by space dParamCFM ## x, \ ^ ./common/com_phys_ode.c:158:24: warning: backslash and newline separated by space pointer types point to integer types with different sign assigning 'qbyte *', expected 'char const *' [-Wpointer-sign] dParamStopERP ## x, \ ^ ./common/com_phys_ode.c: f = COM_LoadTempFile2(skinfilelist[skinnum]); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159:24: warning: backslash and newline separated by space dParamStopCFM ## x, \ ^ ./common/com_phys_ode.c:160:36: warning: backslash and newline separated by space /* parameters for suspension */ \ ^ ./common/com_phys_ode.c:161:30: warning: backslash and newline separated by space dParamSuspensionERP ## x, \ ^ ./common/com_phys_ode.c:162:30: warning: backslash and newline separated by space dParamSuspensionCFM ## x, \ ^ ./common/com_mesh.c:1777:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("wasted memory") ^ ./common/com_mesh.c:1913:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("wasted memory") ^ ./common/com_mesh.c:3048:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme") ^ ./gl/gl_alias.c ./common/com_mesh.c:5337:8: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile2(com_token); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/com_mesh.c:5381:9: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile2(com_token); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/com_mesh.c:5400:9: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile2(com_token); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/com_mesh.c:5421:9: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile2(com_token); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_alias.c:1203:20: warning: incompatible pointer types passing 'vec3_t [3]', expected 'vec3_t const *' RotateLightVector(e->axis, e->origin, lightpos, lightorg); ^~~~~~~ 29 diagnostics generated. ./gl/gl_draw.c 1 diagnostic generated. ./common/common.c ./common/common.c:3357:32: warning: incompatible pointer types passing 'char **', expected 'void **' FS_LoadFile("effectinfo.txt", &f); ^~ ./gl/gl_draw.c ./gl/gl_model.c 9 diagnostics generated. ./gl/gl_model.c:1061:37: warning: pointer types point to integer types with different sign passing 'unsigned int *', expected 'int *' [-Wpointer-sign] base = W_ConvertWAD3Texture(mt, &mt->width, &mt->height, &alphaed); //convert texture to 32 bit. ^~~~~~~~~~ ./gl/gl_model.c:1061:49: warning: pointer types point to integer types with different sign passing 'unsigned int *', expected 'int *' [-Wpointer-sign] base = W_ConvertWAD3Texture(mt, &mt->width, &mt->height, &alphaed); //convert texture to 32 bit. ^~~~~~~~~~~ 1 diagnostic generated. ./gl/gl_model.c:2908:43: warning: ./common/cvar.c:733:4pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] : Mod_ParseInfoFromEntityLump(loadmodel, mod_base + header->lumps[LUMP_ENTITIES].fileofs, loadname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: #warning this means the callback will never be called [-W#warnings] #warning this means the callback will never be called ^ ./common/cvar.c:739:2: warning: #warning set or forceset? [-W#warnings] #warning set or forceset? ^ ./common/cvar.c:783:4: warning: #warning this means the callback will never be called [-W#warnings] #warning this means the callback will never be called ^ 3 diagnostics generated. ./gl/gl_model.c ./common/cvar.c ./common/cmd.c ./common/cvar.c:356:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Con_Printf(cmd->name); ^~~~~~~~~ ./common/cmd.c:525:24: warning: incompatible pointer types passing 'char **', expected 'void **' if (FS_LoadFile(name, &f) != -1) ^~ ./common/cmd.c:527:43: warning: incompatible pointer types passing 'char **', expected 'void **' else if (FS_LoadFile(va("%s.cfg", name), &f) != -1) ^~ ./common/cvar.c:733:4: warning: #warning this means the callback will never be called [-W#warnings] #warning this means the callback will never be called ^ ./common/cvar.c:739:2: warning: #warning set or forceset? [-W#warnings] #warning set or forceset? ^ ./common/cvar.c:783:4: warning: #warning this means the callback will never be called [-W#warnings] #warning this means the callback will never be called ^ ./gl/gl_model.c:1061:37: warning: pointer types point to integer types with different sign passing 'unsigned int *', expected 'int *' [-Wpointer-sign] base = W_ConvertWAD3Texture(mt, &mt->width, &mt->height, &alphaed); //convert texture to 32 bit. ^~~~~~~~~~ ./gl/gl_model.c:1061:49: warning: pointer types point to integer types with different sign passing 'unsigned int *', expected 'int *' [-Wpointer-sign] base = W_ConvertWAD3Texture(mt, &mt->width, &mt->height, &alphaed); //convert texture to 32 bit. ^~~~~~~~~~~ ./gl/gl_model.c:1541:10: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *restrict' [-Wpointer-sign] strcpy(loadmodel->lightdata, "QLIT"); ^~~~~~~~~~~~~~~~~~~~ ./gl/gl_model.c:1558:11: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *restrict' [-Wpointer-sign] strcpy(loadmodel->deluxdata, "QLIT"); ^~~~~~~~~~~~~~~~~~~~ ./gl/gl_model.c:2902:43: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] Mod_ParseInfoFromEntityLump(loadmodel, mod_base + header->lumps[LUMP_ENTITIES].fileofs, loadname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_model.c:2908:43: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] Mod_ParseInfoFromEntityLump(loadmodel, mod_base + header->lumps[LUMP_ENTITIES].fileofs, loadname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 diagnostics generated. ./common/crc.c 3 diagnostics generated. ./gl/gl_ngraph.c ./gl/gl_backend.c:1753:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme: q3 doesn't seem to have this, why do we need it?") ^ ./gl/gl_backend.c:2138:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this correct?") ^ ./gl/gl_backend.c:2150:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this correct?") ^ ./gl/gl_backend.c:2469:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme: support alpha test") ^ 4 diagnostics generated. ./gl/gl_backend.c ./gl/gl_backend.c:1496:57: warning: incompatible pointer types passing 'avec4_t *', expected 'avec4_t const *' deformgen(&shader->deforms[0], meshlist->numvertexes, meshlist->xyz_array, vertexarray+meshlist->vbofirstvert, meshlist); ^~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1499:58: warning: incompatible pointer types passing 'avec4_t *', expected 'avec4_t const *' deformgen(&shader->deforms[i], meshlist->numvertexes, vertexarray+meshlist->vbofirstvert, vertexarray+meshlist->vbofirstvert, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1635:22: warning: incompatible pointer types passing 'avec4_t *', expected 'vec4_t const *' colourgen(pass, 1, meshlist->colors4f_array, &scol, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1636:21: warning: incompatible pointer types passing 'avec4_t *', expected 'avec4_t const *' alphagen(pass, 1, meshlist->colors4f_array, &scol, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1651:23: warning: incompatible pointer types passing 'avec4_t *', expected 'avec4_t const *' alphagen(pass, 1, meshlist->colors4f_array, &scol, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1661:23: warning: incompatible pointer types passing 'avec4_t *', expected 'avec4_t const *' alphagen(pass, 1, meshlist->colors4f_array, &scol, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1696:43: warning: incompatible pointer types passing 'avec4_t *', expected 'vec4_t const *' colourgen(pass, meshlist->numvertexes, meshlist->colors4f_array, coloursarray + meshlist->vbofirstvert, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1697:42: warning: incompatible pointer types passing 'avec4_t *', expected 'avec4_t const *' alphagen(pass, meshlist->numvertexes, meshlist->colors4f_array, coloursarray + meshlist->vbofirstvert, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1753:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme: q3 doesn't seem to have this, why do we need it?") ^ ./gl/gl_backend.c:2138:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this correct?") ^ ./gl/gl_backend.c:2150:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this correct?") ^ ./gl/gl_backend.c:2469:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme: support alpha test") ^ 6 diagnostics generated. 2 diagnostics generated. ./gl/gl_ngraph.c ./common/fs.c ./common/fs_stdio.c ./common/fs_pak.c ./gl/gl_backend.c:1753:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme: q3 doesn't seem to have this, why do we need it?") ^ ./gl/gl_backend.c:2138:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this correct?") ^ ./gl/gl_backend.c:2150:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this correct?") ^ ./gl/gl_backend.c:2469:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme: support alpha test") ^ 4 diagnostics generated. ./gl/gl_backend.c 12 diagnostics generated. ./gl/gl_backend.c:1496:57: warning: incompatible pointer types passing 'avec4_t *', expected 'avec4_t const *' deformgen(&shader->deforms[0], meshlist->numvertexes, meshlist->xyz_array, vertexarray+meshlist->vbofirstvert, meshlist); ^~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1499:58: warning: incompatible pointer types passing 'avec4_t *', expected 'avec4_t const *' deformgen(&shader->deforms[i], meshlist->numvertexes, vertexarray+meshlist->vbofirstvert, vertexarray+meshlist->vbofirstvert, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1635:22: warning: incompatible pointer types passing 'avec4_t *', expected 'vec4_t const *' colourgen(pass, 1, meshlist->colors4f_array, &scol, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1636:21: warning: incompatible pointer types passing 'avec4_t *', expected 'avec4_t const *' alphagen(pass, 1, meshlist->colors4f_array, &scol, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1651:23: warning: incompatible pointer types passing 'avec4_t *', expected 'avec4_t const *' alphagen(pass, 1, meshlist->colors4f_array, &scol, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1661:23: warning: incompatible pointer types passing 'avec4_t *', expected 'avec4_t const *' alphagen(pass, 1, meshlist->colors4f_array, &scol, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1696:43: warning: incompatible pointer types passing 'avec4_t *', expected 'vec4_t const *' colourgen(pass, meshlist->numvertexes, meshlist->colors4f_array, coloursarray + meshlist->vbofirstvert, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1697:42: warning: incompatible pointer types passing 'avec4_t *', expected 'avec4_t const *' alphagen(pass, meshlist->numvertexes, meshlist->colors4f_array, coloursarray + meshlist->vbofirstvert, meshlist); ^~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_backend.c:1753:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme: q3 doesn't seem to have this, why do we need it?") ^ ./gl/gl_backend.c:2138:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this correct?") ^ ./gl/gl_backend.c:2150:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this correct?") ^ ./gl/gl_backend.c:2469:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme: support alpha test") ^ ./gl/gl_rlight.c In file included from ./common/fs_zip.c:7: In file included from ./common/unzip.c:17: ./common/unzip.h:96:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pack(push, 1) ^ ./common/unzip.h:118:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pack(pop) ^ 2 diagnostics generated. ./gl/gl_rlight.c ./common/fs_zip.c ./gl/gl_rmain.c:679:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("this needs merging or q3 railgun will lag like hell") ^ ./gl/gl_rmain.c:1396:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("warning: there's a bug with rtlights in portals, culling is broken or something. May also be loading the wrong matrix") ^ ./gl/gl_rmain.c:1482:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("backend fixme") ^ 3 diagnostics generated. ./gl/gl_rmain.c:679:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("this needs merging or q3 railgun will lag like hell") ^ ./gl/gl_rmain.c:1396:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("warning: there's a bug with rtlights in portals, culling is broken or something. May also be loading the wrong matrix") ^ ./gl/gl_rmain.c:1482:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("backend fixme") ^ 3 diagnostics generated. ./gl/gl_rmain.c ./gl/gl_rmain.c 12 diagnostics generated. ./common/mathlib.c ./gl/gl_rmain.c:679:./gl/gl_rmain.c:6799: :9warning: : unknown pragma ignored [-Wunknown-pragmas] warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("this needs merging or q3 railgun will lag like hell") ^ #pragma message("this needs merging or q3 railgun will lag like hell") ^ ./gl/gl_rmain.c:1396:9: ./gl/gl_rmain.c:1396:warning: unknown pragma ignored [-Wunknown-pragmas] 9: warning: #pragma message("warning: there's a bug with rtlights in portals, culling is broken or something. May also be loading the wrong matrix") ^ unknown pragma ignored [-Wunknown-pragmas] #pragma message("warning: there's a bug with rtlights in portals, culling is broken or something. May also be loading the wrong matrix") ^ ./gl/gl_rmain.c:1482:9: warning: ./gl/gl_rmain.c:1482:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("backend fixme") ^ ./gl/gl_rmain.c:1500:2: warning: 'PPL_RevertToKnownState' is deprecated [-Wdeprecated-declarations] PPL_RevertToKnownState(); ^ ./gl/gl_rmain.c:1547:2: warning: 'PPL_RevertToKnownState' is deprecated [-Wdeprecated-declarations] PPL_RevertToKnownState(); ^ unknown pragma ignored [-Wunknown-pragmas] #pragma message("backend fixme") ^ ./gl/gl_rmain.c:1500:2: warning: 'PPL_RevertToKnownState' is deprecated [-Wdeprecated-declarations] PPL_RevertToKnownState(); ^ ./gl/gl_rmain.c:1750:2: warning: 'PPL_RevertToKnownState' is deprecated [-Wdeprecated-declarations] PPL_RevertToKnownState(); ^ ./gl/gl_rmain.c:1547:2: warning: 'PPL_RevertToKnownState' is deprecated [-Wdeprecated-declarations] PPL_RevertToKnownState(); ^ ./gl/gl_rmisc.c ./gl/gl_rmisc.c:783:7: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile(fname); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 5 diagnostics generated. 6 diagnostics generated. 1 diagnostic generated. ./common/huff.c ./gl/gl_font.c ./gl/gl_rmisc.c ./gl/gl_font.c ./common/md4.c ./common/log.c ./common/log.c:314:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Con_Printf(va("Logging to %s/%s.log.\n", d, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 diagnostic generated. ./gl/gl_heightmap.c ./common/net_chan.c ./common/net_wins.c:26:./gl/gl_rsurf.c ./gl/gl_heightmap.c 9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("these two are never set. A NET_ReplySource function that returns the address a reply would originate from would be sufficient. Note that INADDR_ANY can be multiple however, so these are just a hint.") ^ ./common/net_wins.c:1011:2: warning: #warning code me [-W#warnings] #warning code me ^ 2 diagnostics generated. ./common/net_wins.c ./gl/gl_rsurf.c:54:27: warning: pointer types point to integer types with different sign passing 'int *', expected 'GLuint *' [-Wpointer-sign] qglDeleteBuffersARB(1, &vboh[i]); ^~~~~~~~ ./gl/gl_heightmap.c:762:16: warning: ./common/net_wins.c:26:9pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] : warning: mod->entities = COM_LoadHunkFile(entfile); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ unknown pragma ignored [-Wunknown-pragmas] #pragma message("these two are never set. A NET_ReplySource function that returns the address a reply would originate from would be sufficient. Note that INADDR_ANY can be multiple however, so these are just a hint.") ^ ./common/net_wins.c:884:18: warning: pointer types point to integer types with different sign initializing 'qbyte [4]', expected 'char *' [-Wpointer-sign] char *address = a->address.ip; ^~~~~~~~~~~~~ ./common/net_wins.c:1011:2: warning: #warning code me [-W#warnings] #warning code me ^ ./common/net_wins.c:1464:60: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] if (getsockname (con->thesocket, (struct sockaddr*)&from, &fromsize) != -1) ^~~~~~~~~ ./common/net_wins.c:1528:118: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] ret = recvfrom (con->thesocket, (char *)net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr*)&from, &fromlen); ^~~~~~~~ 1 diagnostic generated. ./common/net_wins.c:1886:69: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] newsock = accept(con->generic.thesocket, (struct sockaddr*)&from, &fromlen); ^~~~~~~~ ./common/net_wins.c:2177:8: warning: pointer types point to integer types with different sign assigning 'char [513]', expected 'unsigned char *' [-Wpointer-sign] start = con->incoming; ^ ~~~~~~~~~~~~~ ./gl/gl_rsurf.c ./common/net_wins.c:2430:19: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char const *restrict' [-Wpointer-sign] code = strtoul(s, &s, 10); ^ ./common/net_wins.c:2430:22: warning: incompatible pointer types passing 'unsigned char **', expected 'char **restrict' code = strtoul(s, &s, 10); ^~ ./common/net_wins.c:2511:10: warning: pointer types point to integer types with different sign assigning 'char *', expected 'unsigned char *' [-Wpointer-sign] buffer = con->outbuf + newoutcount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/net_wins.c:2530:12: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char *restrict' [-Wpointer-sign] sprintf(lenofs, "%03x", fulllen); ^~~~~~ ./common/net_wins.c:2546:12: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char *restrict' [-Wpointer-sign] sprintf(lenofs, "%03x", fulllen); ^~~~~~ ./common/net_wins.c:3148:56: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] if (getsockname (socket, (struct sockaddr *)&address, &namelen) == -1) ^~~~~~~~ 1 diagnostic generated. ./gl/gl_rsurf.c:54:27: warning: pointer types point to integer types with different sign passing 'int *', expected 'GLuint *' [-Wpointer-sign] qglDeleteBuffersARB(1, &vboh[i]); ^~~~~~~~ ./client/r_surf.c:84:25: warning: backslash and newline separated by space #define stain(x) \ ^ ./client/r_surf.c:85:49: warning: backslash and newline separated by space change = stainbase[(s)*3+x] + amm*parms[4+x]; \ ^ 1 diagnostic generated. 2 diagnostics generated. ./client/r_surf.c:84:25: warning: backslash and newline separated by space ./client/r_surf.c #define stain(x) \ ^ ./client/r_surf.c:85:49: warning: backslash and newline separated by space change = stainbase[(s)*3+x] + amm*parms[4+x]; \ ^ 2 diagnostics generated. 13 diagnostics generated. ./client/r_surf.c:84:25./client/r_surf.c : warning: backslash and newline separated by space #define stain(x) \ ^ ./client/r_surf.c:85:49: warning: backslash and newline separated by space change = stainbase[(s)*3+x] + amm*parms[4+x]; \ ^ ./gl/ltface.c ./client/r_surf.c:84:25: warning: backslash and newline separated by space #define stain(x) \ ^ ./client/r_surf.c:85:49: warning: backslash and newline separated by space change = stainbase[(s)*3+x] + amm*parms[4+x]; \ ^ ./common/zone.c ./gl/ltface.c ./common/qvm.c:175:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pack(push,1) ^ ./common/qvm.c:193:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pack(pop) ^ 2 diagnostics generated. 2 diagnostics generated. ./common/qvm.c ./client/r_2d.c:79:9./common/qvm.c:343:20:2 diagnostics generated. : warning: warning: incompatible pointer types passing 'qbyte **', expected 'void **' unknown pragma ignored [-Wunknown-pragmas] FS_LoadFile(path, &raw); ^~~~ #pragma message("Fixme: move conwidth handling into here") ^ 1 diagnostic generated. ./client/r_2d.c ./client/r_2d.c:79:9./client/r_2d.c:: 79:9: 1 diagnostic generated. warning: unknown pragma ignored [-Wunknown-pragmas]warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Fixme: move conwidth handling into here") ^ #pragma message("Fixme: move conwidth handling into here") ^ ./common/gl_q2bsp.c 1 diagnostic generated. ./client/r_2d.c 1 diagnostic generated. ./gl/glmod_doom.c ./client/r_2d.c:79:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Fixme: move conwidth handling into here") ^ ./common/gl_q2bsp.c:5706:45: warning: pointer types point to integer types with different sign passing 'int *', expected 'unsigned int *' [-Wpointer-sign] return CM_LoadMap(mod->name, buffer, true, &map_checksum) != NULL; ^~~~~~~~~~~~~ ./gl/gl_screen.c 1 diagnostic generated. ./gl/gl_screen.c:362:9: warning: pointer types point to integer types with different sign returning 'qbyte *', expected 'char *' [-Wpointer-sign] return ret; ^~~ ./common/q3common.c 1 diagnostic generated. ./gl/gl_screen.c ./common/q3common.c:48:26: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] vm_fopen_files[i].data = FS_LoadMallocFile(name); ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_bloom.c:510:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Note: Bloom doesn't use the backend.") ^ 1 diagnostic generated. 1 diagnostic generated. ./gl/gl_screen.c:362:9: warning: pointer types point to integer types with different sign returning 'qbyte *', expected 'char *' [-Wpointer-sign] return ret; ^~~ ./gl/gl_bloom.c 1 diagnostic generated. ./gl/gl_shadow.c ./gl/gl_bloom.c:509:2: warning: 'PPL_RevertToKnownState' is deprecated [-Wdeprecated-declarations] PPL_RevertToKnownState(); ^ ./gl/gl_bloom.c:510:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Note: Bloom doesn't use the backend.") ^ ./gl/gl_bloom.c:582:2: warning: 'PPL_RevertToKnownState' is deprecated [-Wdeprecated-declarations] PPL_RevertToKnownState(); ^ ./gl/gl_bloom.c:510:93 diagnostics generated. : warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Note: Bloom doesn't use the backend.") ^ 1 diagnostic generated. ./gl/gl_bloom.c 1 diagnostic generated. ./gl/gl_shader.c:233:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("shader fixme") ^ ./gl/gl_shader.c:1805:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this correct?") ^ ./gl/gl_shader.c:1932:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this valid?") ^ ./gl/gl_bloom.c:509:2: 3 diagnostics generated. ./gl/gl_warp.c warning: 'PPL_RevertToKnownState' is deprecated [-Wdeprecated-declarations] PPL_RevertToKnownState(); ^ ./gl/gl_bloom.c:510:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Note: Bloom doesn't use the backend.") ^ ./gl/gl_bloom.c:582:2: warning: 'PPL_RevertToKnownState' is deprecated [-Wdeprecated-declarations] PPL_RevertToKnownState(); ^ ./common/pmove.c ./gl/gl_shader.c 3 diagnostics generated. ./gl/gl_warp.c:97:3./gl/gl_shader.c:233:: 9: warning: warning: 'R_IBrokeTheArrays' is deprecated [-Wdeprecated-declarations] unknown pragma ignored [-Wunknown-pragmas] #pragma message("shader fixme") ^ R_IBrokeTheArrays(); ^ ./gl/gl_warp.c:99:3: warning: 'R_IBrokeTheArrays' is deprecated [-Wdeprecated-declarations] R_IBrokeTheArrays(); ^ ./gl/gl_warp.c:630:2: warning: 'PPL_RevertToKnownState' is deprecated [-Wdeprecated-declarations] PPL_RevertToKnownState(); ^ ./gl/gl_shader.c:1624:41: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Com_sprintf ( cache->name, MAX_QPATH, token ); ^~~~~ ./gl/gl_shader.c:1805:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this correct?") ^ ./gl/gl_shader.c:1932:9: warning: ./gl/gl_shadow.c:1645unknown pragma ignored [-Wunknown-pragmas] :9#pragma message("is this valid?") ^ : warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("brush shadows are bruteforced") ^ 1 diagnostic generated. ./gl/gl_shader.c:3130:37: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Com_sprintf ( s->name, MAX_QPATH, usename ); ^~~~~~~ ./gl/gl_shader.c:3217:37: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Com_sprintf ( s->name, MAX_QPATH, shortname ); ^~~~~~~~~ ./gl/gl_shader.c:3291:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Com_sprintf ( s->name, MAX_QPATH, shortname ); ^~~~~~~~~ ./gl/gl_shadow.c 3 diagnostics generated. ./common/pmovetst.c ./gl/gl_shadow.c:1254:30: warning: pointer types point to integer types with different sign passing 'int *', expected 'GLuint *' [-Wpointer-sign] qglGenRenderbuffersEXT(1, &shadow_fbo_id); ^~~~~~~~~~~~~~ ./gl/gl_shadow.c:1383:32: warning: pointer types point to integer types with different sign passing 'int *', expected 'GLuint const *' [-Wpointer-sign] qglDeleteRenderbuffersEXT(1, &shadow_fbo_id); ^~~~~~~~~~~~~~ ./gl/gl_shadow.c:1645:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("brush shadows are bruteforced") ^ ./gl/gl_shadow.c:1660:20: warning: incompatible pointer types passing 'vec3_t [3]', expected 'vec3_t const *' RotateLightVector(e->axis, e->origin, dl->origin, lightorg); ^~~~~~~ ./gl/gl_shadow.c:2013:2: warning: 'PPL_RevertToKnownState' is deprecated [-Wdeprecated-declarations] PPL_RevertToKnownState(); ^ ./gl/gl_vidcommon.c ./gl/gl_vidcommon.c:616:85: warning: more data arguments than '%' conversions [-Wformat-extra-args] Con_DPrintf("Shader source:\n%s%s%s\n", prstrings[0], prstrings[1], prstrings[2], prstrings[3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gl/gl_vidcommon.c:642:86: warning: more data arguments than '%' conversions [-Wformat-extra-args] Con_Printf("Shader source:\n%s%s%s\n", prstrings[0], prstrings[1], prstrings[2], prstrings[3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gl/gl_vidcommon.c:884:12: warning: pointer types point to integer types with different sign assigning 'GLubyte const *', expected 'char const *' [-Wpointer-sign] gl_vendor = qglGetString (GL_VENDOR); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_vidcommon.c:886:14: warning: pointer types point to integer types with different sign assigning 'GLubyte const *', expected 'char const *' [-Wpointer-sign] gl_renderer = qglGetString (GL_RENDERER); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_vidcommon.c:889:13: warning: pointer types point to integer types with different sign assigning 'GLubyte const *', expected 'char const *' [-Wpointer-sign] gl_version = qglGetString (GL_VERSION); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_vidcommon.c:894:35: warning: pointer types point to integer types with different sign passing 'unsigned int *', expected 'GLint *' [-Wpointer-sign] qglGetIntegerv(GL_MAJOR_VERSION, &gl_major_version); ^~~~~~~~~~~~~~~~~ ./gl/gl_vidcommon.c:895:35: warning: pointer types point to integer types with different sign passing 'unsigned int *', expected 'GLint *' [-Wpointer-sign] qglGetIntegerv(GL_MINOR_VERSION, &gl_minor_version); ^~~~~~~~~~~~~~~~~ ./gl/gl_vidcommon.c:901:36: warning: pointer types point to integer types with different sign passing 'unsigned int *', expected 'GLint *' [-Wpointer-sign] qglGetIntegerv(GL_NUM_EXTENSIONS, &gl_num_extensions); ^~~~~~~~~~~~~~~~~~ ./gl/gl_vidcommon.c:919:17: warning: pointer types point to integer types with different sign assigning 'GLubyte const *', expected 'char const *' [-Wpointer-sign] gl_extensions = qglGetString (GL_EXTENSIONS); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./http/iwebiface.c 9 diagnostics generated. 7 diagnostics generated. 5 diagnostics generated. ./common/translate.c ./gl/gl_hlmdl.c ./gl/gl_vidlinuxglx.c ./gl/gl_shader.c:233:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("shader fixme") ^ ./gl/gl_shader.c:1805:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this correct?") ^ ./gl/gl_shader.c:1932:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this valid?") ^ 3 diagnostics generated. ./common/translate.c:353:5./gl/gl_shader.c ./gl/gl_vidlinuxglx.c:1028:6: : warning: warning: implicit declaration of function 'Key_MouseShouldBeFree' is invalid in C99 [-Wimplicit-function-declaration] pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] if (Key_MouseShouldBeFree()) ^ f = COM_LoadTempFile(va("%s.lng", lastlang)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/translate.c:784:15: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] strings_list = FS_LoadMallocFile("strings.txt"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_shader.c./common/plugin.c :233:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("shader fixme") ^ ./gl/gl_shader.c:1624:41: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Com_sprintf ( cache->name, MAX_QPATH, token ); ^~~~~ ./gl/gl_shader.c:1805:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this correct?") ^ ./gl/gl_shader.c:1932:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("is this valid?") ^ 1 diagnostic generated. ./gl/gl_shader.c:3130:37: warning: 2 diagnostics generated. format string is not a string literal (potentially insecure) [-Wformat-security] Com_sprintf ( s->name, MAX_QPATH, usename ); ^~~~~~~ ./gl/gl_shader.c:3217:37: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Com_sprintf ( s->name, MAX_QPATH, shortname ); ^~~~~~~~~ ./gl/gl_shader.c:3291:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Com_sprintf ( s->name, MAX_QPATH, shortname ); ^~~~~~~~~ ./common/plugin.c:325:81: warning: incompatible pointer types passing 'int *', expected 'intptr_t const *' if (!VM_Call(newplug->vm, 0, Plug_FindBuiltin("Plug_GetEngineFunction"-4, ~0, &argarray))) ^~~~~~~~~ ./common/plugin.c:855:51: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] sock = accept(sock, (struct sockaddr *)&address, &addrlen); ^~~~~~~~ ./common/plugin.c:1058:41: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] pluginstreamarray[handle].file.buffer = data; ^ ~~~~ ./common/plugin.c:1075:41: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] pluginstreamarray[handle].file.buffer = data; ^ ~~~~ ./client/snd_linux.c ./common/q1bsp.c ./common/q1bsp.c:452:26: warning: incompatible pointer types passing 'vec3_t *', expected 'vec3_t const *' Matrix3_Invert_Simple(axis, iaxis); ^~~~ 1 diagnostic generated. ./client/snd_alsa.c ./common/q2pmove.c 4 diagnostics generated. 7 diagnostics generated. ./server/pr_cmds.c:7936:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("PF_sv_particleeffectnum: which effect index values to use?") ^ ./server/pr_cmds.c:9031:11: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("PF_sv_gettaginfo: This function doesn't honour attachments") ^ 2 diagnostics generated. ./server/pr_cmds.c ./gl/gl_warp.c ./server/pr_cmds.c:448:23: warning: incompatible pointer types assigning 'qbyte *(char const *, void *, int)', expected 'unsigned char *(*)(char *, void *, int)' svprogparms.ReadFile = COM_LoadStackFile;//char *(*ReadFile) (char *fname, void *buffer, int *len); ^ ~~~~~~~~~~~~~~~~~ ./server/pr_cmds.c:449:23: warning: incompatible pointer types assigning 'int (char const *)', expected 'int (*)(char *)' svprogparms.FileSize = COM_FileSize;//int (*FileSize) (char *fname); //-1 if file does not exist ^ ~~~~~~~~~~~~ ./client/cd_linux.c ./server/pr_cmds.c:934:11: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size=svprogfuncs->load_ents(svprogfuncs, s, 0); ^ ./server/pr_q1qvm.c ./server/pr_cmds.c:1148:5: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] f = COM_LoadTempFile("maplist.txt"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/pr_cmds.c:1225:4: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] a = COM_LoadStackFile("mod.gam", addons, 2048); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/pr_cmds.c:1344:9: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] a = as = COM_LoadStackFile(va("maps/%s.inf", sv.name), addons, 2048); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/pr_cmds.c:1446:11: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size = PR_InitEnts(svprogfuncs, sv.world.max_edicts); ^ ./server/pr_q1qvm.c:356:57: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] e->v = (stdentvars_t*)((char*)evars + (num * sv.world.edict_size) + WASTED_EDICT_T_SIZE); ^ ./server/pr_q1qvm.c:370:28: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] return e->entnum*sv.world.edict_size; ^ ./server/pr_q1qvm.c:374:21: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] if (num % sv.world.edict_size) ^ ./server/pr_q1qvm.c:376:18: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] num /= sv.world.edict_size; ^ ./server/pr_q1qvm.c:385:29: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] memset (e->v, 0, sv.world.edict_size - WASTED_EDICT_T_SIZE); ^ ./server/pr_q1qvm.c:454:18: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] return sv.world.edict_size; ^ ./server/pr_cmds.c:1728:79: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] return svprogfuncs->filefromprogs(svprogfuncs, prnumforfile, filename, NULL, buffer); ^~~~~~ ./server/pr_cmds.c:1728:9: warning: pointer types point to integer types with different sign returning 'char *', expected 'qbyte *' [-Wpointer-sign] return svprogfuncs->filefromprogs(svprogfuncs, prnumforfile, filename, NULL, buffer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/pr_q1qvm.c:704:70: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] int start = ((char*)VM_POINTER(arg[0]) - (char*)evars) / sv.world.edict_size; ^ ./server/pr_q1qvm.c:717:49: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] return (qintptr_t)(vevars + start*sv.world.edict_size); ^ ./server/pr_q1qvm.c:1052:53: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] int first = e?((char*)e - (char*)evars)/sv.world.edict_size:0; ^ ./server/pr_q1qvm.c:1207:79: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] unsigned int start = ((char*)VM_POINTER(arg[0]) - (char*)evars) / sv.world.edict_size; ^ ./server/pr_q1qvm.c:1211:55: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] return (qintptr_t)(vevars + (start+1) * sv.world.edict_size); ^ ./server/pr_q1qvm.c:1338:11: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size = 0; //if we get a division by zero, then at least its a safe crash ^ ./server/pr_q1qvm.c:1369:11: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size = gd->sizeofent; ^ ./server/pr_cmds.c:6683:15: warning: pointer types point to integer types with different sign passing 'char *', expected 'unsigned char *' [-Wpointer-sign] PR_CleanText(text); ^~~~ ./server/pr_cmds.c:6737:33: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] memcpy(out->v, in->v, sv.world.edict_size); ^ ./gl/gl_warp.c:97:3: warning: 'R_IBrokeTheArrays' is deprecated [-Wdeprecated-declarations] ./server/pr_cmds.c:7445:56: warning: more data arguments than '%' conversions [-Wformat-extra-args] R_IBrokeTheArrays(); ^ Con_Printf("FTE-H2 FIXME: ce_rain not supported!\n", efnum); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./server/pr_cmds.c:7455:56: warning: more data arguments than '%' conversions [-Wformat-extra-args] Con_Printf("FTE-H2 FIXME: ce_snow not supported!\n", efnum); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./server/pr_cmds.c:7465:60: warning: more data arguments than '%' conversions [-Wformat-extra-args]./gl/gl_warp.c:99:3: warning: 'R_IBrokeTheArrays' is deprecated [-Wdeprecated-declarations] Con_Printf("FTE-H2 FIXME: ce_fountain not supported!\n", efnum); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ R_IBrokeTheArrays(); ^ ./server/pr_cmds.c:7643:57: warning: more data arguments than '%' conversions [-Wformat-extra-args] Con_Printf("FTE-H2 FIXME: ce_chunk not supported!\n", efnum); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./server/pr_cmds.c:7781:27: warning: more data arguments than '%' conversions [-Wformat-extra-args] Con_DPrintf("rain go\n", (int)G_FLOAT(OFS_PARM0)); ~~~~~~~~~~~ ^ ./server/pr_cmds.c:7806:31: warning: more data arguments than '%' conversions [-Wformat-extra-args] Con_DPrintf("white flash\n", (int)G_FLOAT(OFS_PARM0)); ~~~~~~~~~~~~~~~ ^ ./gl/gl_warp.c:630:2: warning: 'PPL_RevertToKnownState' is deprecated [-Wdeprecated-declarations] PPL_RevertToKnownState(); ^ ./server/pr_cmds.c:7936:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("PF_sv_particleeffectnum: which effect index values to use?") ^ ./server/pr_cmds.c:9031:11: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("PF_sv_gettaginfo: This function doesn't honour attachments") ^ ./server/pr_cmds.c:10220:14: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] builtinmap = COM_LoadTempFile("fte_bimap.txt"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 diagnostics generated. 13 diagnostics generated. ./client/sys_linux.c ./common/com_mesh.c:107:2: warning: #warning FIXME: these are placeholders [-W#warnings] #warning FIXME: these are placeholders ^ ./client/sys_linux.c:478:13: warning: incompatible pointer types assigning 'char **', expected 'char const **' parms.argv = v; ^ ~ ./common/com_mesh.c:1411:40: warning: backslash and newline separated by space #define FLOODFILL_STEP( off, dx, dy ) \ ^ ./common/com_mesh.c:1412:4: warning: backslash and newline separated by space { \ ^ ./common/com_mesh.c:1413:30: warning: backslash and newline separated by space if (pos[off] == fillcolor) \ ^ ./common/com_mesh.c:1414:5: warning: backslash and newline separated by space { \ ^ ./common/com_mesh.c:1415:20: warning: backslash and newline separated by space pos[off] = 255; \ ^ ./common/com_mesh.c:1416:54: warning: backslash and newline separated by space fifo[inpt].x = x + (dx), fifo[inpt].y = y + (dy); \ ^ ./common/com_mesh.c:1417:45: warning: backslash and newline separated by space inpt = (inpt + 1) & FLOODFILL_FIFO_MASK; \ ^ ./common/com_mesh.c:1418:5: warning: backslash and newline separated by space } \ ^ ./common/com_mesh.c:1419:45: warning: backslash and newline separated by space else if (pos[off] != 255) fdc = pos[off]; \ ^ ./gl/gl_vidcommon.c 10 diagnostics generated. ./common/com_mesh.c 1 diagnostic generated. ./common/com_mesh.c:21:28: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] for (len = buffersize, p = buffer; len; len--, p++) ^ ~~~~~~ ./gl/gl_vidcommon.c:616:85: ./common/com_mesh.c:107:2: warning: #warning FIXME: these are placeholders [-W#warnings]warning: more data arguments than '%' conversions [-Wformat-extra-args] #warning FIXME: these are placeholders ^ Con_DPrintf("Shader source:\n%s%s%s\n", prstrings[0], prstrings[1], prstrings[2], prstrings[3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gl/gl_vidcommon.c:642:86: warning: more data arguments than '%' conversions [-Wformat-extra-args] Con_Printf("Shader source:\n%s%s%s\n", prstrings[0], prstrings[1], prstrings[2], prstrings[3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./gl/gl_vidcommon.c:884:12: warning: pointer types point to integer types with different sign assigning 'GLubyte const *', expected 'char const *' [-Wpointer-sign] gl_vendor = qglGetString (GL_VENDOR); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_vidcommon.c:886:14: warning: pointer types point to integer types with different sign assigning 'GLubyte const *', expected 'char const *' [-Wpointer-sign] gl_renderer = qglGetString (GL_RENDERER); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_vidcommon.c:889:13: warning: pointer types point to integer types with different sign assigning 'GLubyte const *', expected 'char const *' [-Wpointer-sign] gl_version = qglGetString (GL_VERSION); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_vidcommon.c:894:35: warning: pointer types point to integer types with different sign passing 'unsigned int *', expected 'GLint *' [-Wpointer-sign] qglGetIntegerv(GL_MAJOR_VERSION, &gl_major_version); ^~~~~~~~~~~~~~~~~ ./gl/gl_vidcommon.c:895:35: warning: pointer types point to integer types with different sign passing 'unsigned int *', expected 'GLint *' [-Wpointer-sign] qglGetIntegerv(GL_MINOR_VERSION, &gl_minor_version); ^~~~~~~~~~~~~~~~~ ./gl/gl_vidcommon.c:901:36: warning: pointer types point to integer types with different sign passing 'unsigned int *', expected 'GLint *' [-Wpointer-sign] qglGetIntegerv(GL_NUM_EXTENSIONS, &gl_num_extensions); ^~~~~~~~~~~~~~~~~~ ./gl/gl_vidcommon.c:919:17: warning: pointer types point to integer types with different sign assigning 'GLubyte const *', expected 'char const *' [-Wpointer-sign] gl_extensions = qglGetString (GL_EXTENSIONS); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/com_mesh.c:1334:20: warning: pointer types point to integer types with different sign assigning 'index_t *', expected 'int *' [-Wpointer-sign] for (i = 0, index = indexes, n = neighbours; i < numtris; i++, index += 3, n += 3) ^ ~~~~~~~ ./common/com_mesh.c:1336:34: warning: pointer types point to integer types with different sign passing 'index_t *', expected 'int *' [-Wpointer-sign] n[0] = R_FindTriangleWithEdge (indexes, numtris, index[1], index[0], i); ^~~~~~~ ./common/com_mesh.c:1337:34: warning: pointer types point to integer types with different sign passing 'index_t *', expected 'int *' [-Wpointer-sign] n[1] = R_FindTriangleWithEdge (indexes, numtris, index[2], index[1], i); ^~~~~~~ ./common/com_mesh.c:1338:34: warning: pointer types point to integer types with different sign passing 'index_t *', expected 'int *' [-Wpointer-sign] n[2] = R_FindTriangleWithEdge (indexes, numtris, index[0], index[2], i); ^~~~~~~ ./common/com_mesh.c:1411:40: warning: backslash and newline separated by space #define FLOODFILL_STEP( off, dx, dy ) \ ^ ./common/com_mesh.c:1412:4: warning: backslash and newline separated by space { \ ^ ./common/com_mesh.c:1413:30: warning: backslash and newline separated by space if (pos[off] == fillcolor) \ ^ ./common/com_mesh.c:1414:5: warning: backslash and newline separated by space { \ ^ ./common/com_mesh.c:1415:20: warning: backslash and newline separated by space pos[off] = 255; \ ^ ./common/com_mesh.c:1416:54: warning: backslash and newline separated by space fifo[inpt].x = x + (dx), fifo[inpt].y = y + (dy); \ ^ ./common/com_mesh.c:1417:45: warning: backslash and newline separated by space inpt = (inpt + 1) & FLOODFILL_FIFO_MASK; \ ^ ./common/com_mesh.c:1418:5: warning: backslash and newline separated by space } \ ^ ./common/com_mesh.c:1419:45: warning: backslash and newline separated by space else if (pos[off] != 255) fdc = pos[off]; \ ^ ./common/com_mesh.c:1583:4: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char const *' [-Wpointer-sign] f = COM_LoadTempFile2(skinfilelist[skinnum]); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/com_phys_ode.c 9 diagnostics generated. ./gl/gl_hlmdl.c ./gl/gl_vidlinuxglx.c ./gl/gl_hlmdl.c:649:39: warning: incompatible pointer types passing 'matrix3x4' (aka 'float [3][4]'), expected 'float const (*)[4]' VectorTransform(verts[v], transform_matrix[bone[v]], transformed[v]); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./gl/gl_vidlinuxglx.c:1028:6: warning: implicit declaration of function 'Key_MouseShouldBeFree' is invalid in C99 [-Wimplicit-function-declaration] if (Key_MouseShouldBeFree()) ^ 1 diagnostic generated. ./client/snd_linux.c 1 diagnostic generated. 16 diagnostics generated. ./server/sv_master.c ./common/common.c ./client/snd_alsa.c ./server/sv_master.c:151:127: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] net_message.cursize = recvfrom(svm.socketudp, net_message_buffer, sizeof(net_message_buffer)-1, 0, (struct sockaddr *)&addr, &addrlen); ^~~~~~~~ 1 diagnostic generated. ./common/common.c:3357:32: warning: incompatible pointer types passing 'char **', expected 'void **' FS_LoadFile("effectinfo.txt", &f); ^~ ./client/cd_linux.c ./server/sv_init.c 20 diagnostics generated. ./server/sv_init.c:893:8: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile(sv_csqc_progname.string); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/sv_init.c:1310:8: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = FS_LoadMallocFile(va("maps/%s.ent", server)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/sv_init.c:1316:33: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] sprintf(crc, "%i", QCRC_Block(file, com_filesize)); ^~~~ ./server/sv_init.c:1324:13: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size = PR_LoadEnts(svprogfuncs, file, spawnflagmask); ^ ./server/sv_init.c:1350:13: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size = PR_LoadEnts(svprogfuncs, sv.world.worldmodel->entities, spawnflagmask); ^ ./server/sv_main.c:866:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("this is a bug: it can be broadcast to all qw clients") ^ ./server/sv_main.c:3035:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: fixme: this will block qw+q3 clients from the same ip") ^ 2 diagnostics generated. ./server/sv_main.c ./server/sv_main.c:866:9: 5 diagnostics generated. ./client/sys_linux.c warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("this is a bug: it can be broadcast to all qw clients") ^ ./server/sv_main.c:1413:53: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] Netchan_OutOfBand(NS_SERVER, net_from, over-buf, buf); ^~~ ./server/sv_main.c:1419:58: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] Netchan_OutOfBand(NS_SERVER, net_from, strlen(buf)+1, buf); ^~~ ./server/sv_main.c:1427:57: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] Netchan_OutOfBand(NS_SERVER, net_from, strlen(buf), buf); ^~~ 1 diagnostic generated. ./client/sys_linux.c:478:13: ./server/sv_main.c:1578:warning: 10: warning: incompatible pointer types assigning 'char **', expected 'char const **' pointer types point to integer types with different sign assigning 'char [8192]', expected 'qbyte *' [-Wpointer-sign] ./server/sv_nchan.c sb.data = string; parms.argv = v; ^ ~ ^ ~~~~~~ ./server/sv_main.c:1698:28: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char const *' [-Wpointer-sign] Q_strncpyz (userinfo[0], net_message.data + 11, sizeof(userinfo[0])-1); ^~~~~~~~~~~~~~~~~~~~~ ./server/sv_main.c:2749:30: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] else if (!PR_GameCodePacket(net_message.data+4)) ^~~~~~~~~~~~~~~~~~ ./server/sv_main.c:2785:11: warning: pointer types point to integer types with different sign assigning 'char [256]', expected 'qbyte *' [-Wpointer-sign] sb.data = buffer; ^ ~~~~~~ ./server/sv_main.c:3035:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: fixme: this will block qw+q3 clients from the same ip") ^ ./common/cvar.c:733:4: warning: #warning this means the callback will never be called [-W#warnings] #warning this means the callback will never be called ^ ./common/cvar.c:739:2: warning: #warning set or forceset? [-W#warnings] #warning set or forceset? ^ ./common/cvar.c:783:4: warning: #warning this means the callback will never be called [-W#warnings] #warning this means the callback will never be called ^ 3 diagnostics generated. ./common/cvar.c 1 diagnostic generated. ./common/cvar.c:356:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Con_Printf(cmd->name); ^~~~~~~~~ ./common/cvar.c:733:4: warning: #warning this means the callback will never be called [-W#warnings] #warning this means the callback will never be called ^ ./common/cvar.c:739:2: warning: #warning set or forceset? [-W#warnings] #warning set or forceset? ^ ./common/cvar.c:783:4: warning: #warning this means the callback will never be called [-W#warnings] #warning this means the callback will never be called ^ ./common/com_mesh.c:107:2: warning: #warning FIXME: these are placeholders [-W#warnings] #warning FIXME: these are placeholders ^ ./common/com_mesh.c:262:36: warning: backslash and newline separated by space #define TriangleNormal(a,b,c,n) ( \ ^ ./common/com_mesh.c:263:91: warning: backslash and newline separated by space (n)[0] = ((a)[1] - (b)[1]) * ((c)[2] - (b)[2]) - ((a)[2] - (b)[2]) * ((c)[1] - (b)[1]), \ ^ ./common/com_mesh.c:264:91: warning: backslash and newline separated by space (n)[1] = ((a)[2] - (b)[2]) * ((c)[0] - (b)[0]) - ((a)[0] - (b)[0]) * ((c)[2] - (b)[2]), \ ^ ./common/com_mesh.c:265:90: warning: backslash and newline separated by space (n)[2] = ((a)[0] - (b)[0]) * ((c)[1] - (b)[1]) - ((a)[1] - (b)[1]) * ((c)[0] - (b)[0]) \ ^ ./common/com_mesh.c:1411:40: warning: backslash and newline separated by space #define FLOODFILL_STEP( off, dx, dy ) \ ^ ./common/com_mesh.c:1412:4: warning: backslash and newline separated by space { \ ^ ./common/com_mesh.c:1413:30: warning: backslash and newline separated by space if (pos[off] == fillcolor) \ ^ ./common/com_mesh.c:1414:5: warning: backslash and newline separated by space { \ ^ ./common/com_mesh.c:1415:20: warning: backslash and newline separated by space pos[off] = 255; \ ^ ./common/com_mesh.c:1416:54: warning: backslash and newline separated by space fifo[inpt].x = x + (dx), fifo[inpt].y = y + (dy); \ ^ ./common/com_mesh.c:1417:45: warning: backslash and newline separated by space inpt = (inpt + 1) & FLOODFILL_FIFO_MASK; \ ^ ./common/com_mesh.c:1418:5: warning: backslash and newline separated by space } \ ^ ./common/com_mesh.c:1419:45: warning: backslash and newline separated by space else if (pos[off] != 255) fdc = pos[off]; \ ^ ./server/sv_ents.c ./common/com_mesh.c:3048:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme") ^ 15 diagnostics generated. ./common/com_mesh.c 4 diagnostics generated. ./server/sv_ents.c:2027:7: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadStackFile("gibfiltr.cfg", buffer, sizeof(buffer)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/com_mesh.c:21:28: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] for (len = buffersize, p = buffer; len; len--, p++) ^ ~~~~~~ ./common/com_mesh.c:107:2: warning: #warning FIXME: these are placeholders [-W#warnings] #warning FIXME: these are placeholders ^ ./common/com_mesh.c:262:36: warning: backslash and newline separated by space #define TriangleNormal(a,b,c,n) ( \ ^ ./common/com_mesh.c:263:91: warning: backslash and newline separated by space (n)[0] = ((a)[1] - (b)[1]) * ((c)[2] - (b)[2]) - ((a)[2] - (b)[2]) * ((c)[1] - (b)[1]), \ ^ ./common/com_mesh.c:264:91: warning: backslash and newline separated by space (n)[1] = ((a)[2] - (b)[2]) * ((c)[0] - (b)[0]) - ((a)[0] - (b)[0]) * ((c)[2] - (b)[2]), \ ^ ./common/com_mesh.c:265:90: warning: backslash and newline separated by space (n)[2] = ((a)[0] - (b)[0]) * ((c)[1] - (b)[1]) - ((a)[1] - (b)[1]) * ((c)[0] - (b)[0]) \ ^ ./common/com_mesh.c:1334:20: warning: pointer types point to integer types with different sign assigning 'index_t *', expected 'int *' [-Wpointer-sign] for (i = 0, index = indexes, n = neighbours; i < numtris; i++, index += 3, n += 3) ^ ~~~~~~~ ./common/com_mesh.c:1336:34: warning: pointer types point to integer types with different sign passing 'index_t *', expected 'int *' [-Wpointer-sign] n[0] = R_FindTriangleWithEdge (indexes, numtris, index[1], index[0], i); ^~~~~~~ ./common/com_mesh.c:1337:34: warning: pointer types point to integer types with different sign passing 'index_t *', expected 'int *' [-Wpointer-sign] n[1] = R_FindTriangleWithEdge (indexes, numtris, index[2], index[1], i); ^~~~~~~ ./common/com_mesh.c:1338:34: warning: pointer types point to integer types with different sign passing 'index_t *', expected 'int *' [-Wpointer-sign] n[2] = R_FindTriangleWithEdge (indexes, numtris, index[0], index[2], i); ^~~~~~~ ./common/com_mesh.c:1411:40: warning: backslash and newline separated by space #define FLOODFILL_STEP( off, dx, dy ) \ ^ ./common/com_mesh.c:1412:4: warning: backslash and newline separated by space { \ ^ ./common/com_mesh.c:1413:30: warning: backslash and newline separated by space if (pos[off] == fillcolor) \ ^ ./common/com_mesh.c:1414:5: warning: backslash and newline separated by space { \ ^ ./common/com_mesh.c:1415:20: warning: backslash and newline separated by space pos[off] = 255; \ ^ ./common/com_mesh.c:1416:54: warning: backslash and newline separated by space fifo[inpt].x = x + (dx), fifo[inpt].y = y + (dy); \ ^ ./common/com_mesh.c:1417:45: warning: backslash and newline separated by space inpt = (inpt + 1) & FLOODFILL_FIFO_MASK; \ ^ ./common/com_mesh.c:1418:5: warning: backslash and newline separated by space } \ ^ ./common/com_mesh.c:1419:45: warning: backslash and newline separated by space else if (pos[off] != 255) fdc = pos[off]; \ ^ ./common/com_mesh.c:1583:4: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char const *' [-Wpointer-sign] f = COM_LoadTempFile2(skinfilelist[skinnum]); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/com_mesh.c:3048:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme") ^ ./common/com_mesh.c:5337:8: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile2(com_token); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/com_mesh.c:5381:9: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile2(com_token); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/com_mesh.c:5400:9: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile2(com_token); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/com_mesh.c:5421:9: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile2(com_token); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 diagnostics generated. ./common/cmd.c ./server/sv_send.c 1 diagnostic generated. ./common/cmd.c:525:24: warning: incompatible pointer types passing 'char **', expected 'void **' if (FS_LoadFile(name, &f) != -1) ^~ ./common/cmd.c:527:43: warning: incompatible pointer types passing 'char **', expected 'void **' else if (FS_LoadFile(va("%s.cfg", name), &f) != -1) ^~ ./common/com_phys_ode.c:133:35: warning: backslash and newline separated by space #define D_ALL_PARAM_NAMES(start) \ ^ ./common/com_phys_ode.c:134:43: warning: backslash and newline separated by space /* parameters for limits and motors */ \ ^ ./common/com_phys_ode.c:135:26: warning: backslash and newline separated by space dParamLoStop = start, \ ^ ./common/com_phys_ode.c:136:18: warning: backslash and newline separated by space dParamHiStop, \ ^ ./common/com_phys_ode.c:137:15: warning: backslash and newline separated by space dParamVel, \ ^ ./common/com_phys_ode.c:138:16: warning: backslash and newline separated by space dParamFMax, \ ^ ./common/com_phys_ode.c:139:23: warning: backslash and newline separated by space dParamFudgeFactor, \ ^ ./common/com_phys_ode.c:140:18: warning: backslash and newline separated by space dParamBounce, \ ^ ./common/com_phys_ode.c:141:15: warning: backslash and newline separated by space dParamCFM, \ ^ ./common/com_phys_ode.c:142:19: warning: backslash and newline separated by space dParamStopERP, \ ^ ./common/com_phys_ode.c:143:19: warning: backslash and newline separated by space dParamStopCFM, \ ^ ./common/com_phys_ode.c:144:36: warning: backslash and newline separated by space /* parameters for suspension */ \ ^ ./common/com_phys_ode.c:145:25: warning: backslash and newline separated by space dParamSuspensionERP, \ ^ ./common/com_phys_ode.c:146:25: warning: backslash and newline separated by space dParamSuspensionCFM, \ ^ ./common/com_phys_ode.c:147:15: warning: backslash and newline separated by space dParamERP, \ ^ ./common/com_phys_ode.c:149:39: warning: backslash and newline separated by space #define D_ALL_PARAM_NAMES_X(start,x) \ ^ ./common/com_phys_ode.c:150:43: warning: backslash and newline separated by space /* parameters for limits and motors */ \ ^ ./common/com_phys_ode.c:151:31: warning: backslash and newline separated by space dParamLoStop ## x = start, \ ^ ./common/com_phys_ode.c:152:23: warning: backslash and newline separated by space dParamHiStop ## x, \ ^ ./common/com_phys_ode.c:153:20: warning: backslash and newline separated by space dParamVel ## x, \ ^ ./common/com_phys_ode.c:154:21: warning: backslash and newline separated by space dParamFMax ## x, \ ^ ./common/com_phys_ode.c:155:28: warning: backslash and newline separated by space dParamFudgeFactor ## x, \ ^ ./common/com_phys_ode.c:156:23: warning: backslash and newline separated by space dParamBounce ## x, \ ^ ./common/com_phys_ode.c:157:20: warning: backslash and newline separated by space dParamCFM ## x, \ ^ ./common/com_phys_ode.c:158:24: warning: backslash and newline separated by space dParamStopERP ## x, \ ^ ./common/com_phys_ode.c:159:24: warning: backslash and newline separated by space dParamStopCFM ## x, \ ^ ./common/com_phys_ode.c:160:36: warning: backslash and newline separated by space /* parameters for suspension */ \ ^ ./common/com_phys_ode.c:161:30: warning: backslash and newline separated by space dParamSuspensionERP ## x, \ ^ ./common/com_phys_ode.c:162:30: warning: backslash and newline separated by space dParamSuspensionCFM ## x, \ ^ 29 diagnostics generated. ./common/com_phys_ode.c ./common/com_phys_ode.c:133:35: warning: backslash and newline separated by space #define D_ALL_PARAM_NAMES(start) \ ^ ./common/com_phys_ode.c:134:43: warning: backslash and newline separated by space /* parameters for limits and motors */ \ ^ ./common/com_phys_ode.c:135:26: warning: backslash and newline separated by space dParamLoStop = start, \ ^ ./common/com_phys_ode.c:136:18: warning: backslash and newline separated by space dParamHiStop, \ ^ ./common/com_phys_ode.c:137:15: warning: backslash and newline separated by space dParamVel, \ ^ ./common/com_phys_ode.c:138:16: warning: backslash and newline separated by space dParamFMax, \ ^ ./common/com_phys_ode.c:139:23: warning: backslash and newline separated by space dParamFudgeFactor, \ ^ ./common/com_phys_ode.c:140:18: warning: backslash and newline separated by space dParamBounce, \ ^ ./common/com_phys_ode.c:141:15: warning: backslash and newline separated by space dParamCFM, \ ^ ./common/com_phys_ode.c:142:19: warning: backslash and newline separated by space dParamStopERP, \ ^ ./common/com_phys_ode.c:143:19: warning: backslash and newline separated by space dParamStopCFM, \ ^ ./common/com_phys_ode.c:144:36: warning: backslash and newline separated by space /* parameters for suspension */ \ ^ ./common/com_phys_ode.c:145:25: warning: backslash and newline separated by space dParamSuspensionERP, \ ^ ./common/com_phys_ode.c:146:25: warning: backslash and newline separated by space dParamSuspensionCFM, \ ^ ./common/com_phys_ode.c:147:15: warning: backslash and newline separated by space dParamERP, \ ^ ./common/com_phys_ode.c:149:39: warning: backslash and newline separated by space #define D_ALL_PARAM_NAMES_X(start,x) \ ^ ./common/com_phys_ode.c:150:43: warning: backslash and newline separated by space /* parameters for limits and motors */ \ ^ ./common/com_phys_ode.c:151:31: warning: backslash and newline separated by space dParamLoStop ## x = start, \ ^ ./common/com_phys_ode.c:152:23: warning: backslash and newline separated by space dParamHiStop ## x, \ ^ ./common/com_phys_ode.c:153:20: warning: backslash and newline separated by space dParamVel ## x, \ ^ ./common/com_phys_ode.c:154:21: warning: backslash and newline separated by space dParamFMax ## x, \ ^ ./common/com_phys_ode.c:155:28: warning: backslash and newline separated by space dParamFudgeFactor ## x, \ ^ ./common/com_phys_ode.c:156:23: warning: backslash and newline separated by space dParamBounce ## x, \ ^ ./common/com_phys_ode.c:157:20: warning: backslash and newline separated by space dParamCFM ## x, \ ^ ./common/com_phys_ode.c:158:24: warning: backslash and newline separated by space dParamStopERP ## x, \ ^ ./common/com_phys_ode.c:159:24: warning: backslash and newline separated by space dParamStopCFM ## x, \ ^ ./common/com_phys_ode.c:160:36: warning: backslash and newline separated by space /* parameters for suspension */ \ ^ ./common/com_phys_ode.c:161:30: warning: backslash and newline separated by space dParamSuspensionERP ## x, \ ^ ./common/com_phys_ode.c:162:30: warning: backslash and newline separated by space dParamSuspensionCFM ## x, \ ^ ./server/sv_move.c:110:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("set_move_trace: fixme") ^ 1 diagnostic generated. ./server/sv_move.c 29 diagnostics generated. ./server/sv_move.c:110:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("set_move_trace: fixme") ^ ./common/common.c 1 diagnostic generated. 2 diagnostics generated. ./common/common.c:3357:32: warning: incompatible pointer types passing 'char **', expected 'void **' FS_LoadFile("effectinfo.txt", &f); ^~ ./server/sv_phys.c:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme, fix this up before adding to csqc") ^ 1 diagnostic generated. ./server/sv_phys.c ./common/crc.c ./server/sv_phys.c:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme, fix this up before adding to csqc") ^ 25 diagnostics generated. ./common/fs.c ./common/cvar.c:733:4: warning: #warning this means the callback will never be called [-W#warnings] #warning this means the callback will never be called ^ ./common/cvar.c:739:2: warning: #warning set or forceset? [-W#warnings] #warning set or forceset? ^ ./common/cvar.c:783:4: warning: #warning this means the callback will never be called [-W#warnings] #warning this means the callback will never be called ^ 3 diagnostics generated. ./common/cvar.c ./common/cvar.c:356:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Con_Printf(cmd->name); ^~~~~~~~~ ./common/cvar.c:733:4: warning: #warning this means the callback will never be called [-W#warnings] #warning this means the callback will never be called ^ ./common/cvar.c:739:2: warning: #warning set or forceset? [-W#warnings] #warning set or forceset? ^ ./common/cvar.c:783:4: warning: #warning this means the callback will never be called [-W#warnings] #warning this means the callback will never be called ^ 1 diagnostic generated. 4 diagnostics generated. ./server/sv_user.c:5572:9: 1 diagnostic generated. warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("FIXME: make antilag optionally support non-player ents too") ^ 1 diagnostic generated. ./common/cmd.c ./common/fs_stdio.c ./server/sv_user.c ./common/crc.c ./common/cmd.c:525:24: warning: incompatible pointer types passing 'char **', expected 'void **' if (FS_LoadFile(name, &f) != -1) ^~ ./common/cmd.c:527:43: warning: incompatible pointer types passing 'char **', expected 'void **' else if (FS_LoadFile(va("%s.cfg", name), &f) != -1) ^~ ./server/sv_user.c:417:5: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] f = COM_LoadTempFile("csprogs.dat"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/sv_user.c:425:87: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] MSG_WriteString (&host_client->netchan.message, va("csqc_progcrc %i\n", QCRC_Block(f, com_filesize))); ^ ./server/sv_user.c:4600:4: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] s = COM_LoadStackFile("impfiltr.cfg", buffer, sizeof(buffer)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/sv_user.c:5572:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("FIXME: make antilag optionally support non-player ents too") ^ ./common/fs_pak.c 2 diagnostics generated. ./common/fs.c ./common/fs_stdio.c In file included from ./common/fs_zip.c:7: In file included from ./common/unzip.c:17: ./common/unzip.h:96:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pack(push, 1) ^ ./common/unzip.h:118:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pack(pop) ^ 2 diagnostics generated. ./common/fs_zip.c ./common/fs_pak.c ./common/mathlib.c In file included from ./common/fs_zip.c:7: In file included from ./common/unzip.c:17: ./common/unzip.h:96:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pack(push, 1) ^ ./common/unzip.h:118:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pack(pop) ^ 2 diagnostics generated. ./common/huff.c ./common/fs_zip.c ./server/sv_mvd.c ./server/sv_mvd.c:370:38: warning: pointer types point to integer types with different sign passing 'char [64]', expected 'qbyte *' [-Wpointer-sign] 4 diagnostics generated. QCRC_AddBlock(&ushort_result, p->challenge, strlen(p->challenge)); ^~~~~~~~~~~~ ./server/sv_mvd.c:371:38: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] QCRC_AddBlock(&ushort_result, qtv_password.string, strlen(qtv_password.string)); ^~~~~~~~~~~~~~~~~~~ ./common/mathlib.c ./server/sv_mvd.c:1638:11: warning: pointer types point to integer types with different sign assigning 'char [1450]', expected 'qbyte *' [-Wpointer-sign] buf.data = buf_data; ^ ~~~~~~~~ ./server/sv_mvd.c:1957:68: warning: pointer types point to integer types with different sign passing 'char *', expected 'unsigned char *' [-Wpointer-sign] Q_strncpyz(newname, va("%s%s", sv_demoPrefix.string, SV_CleanName(Cmd_Argv(1))), ^~~~~~~~~~~ ./server/sv_mvd.c:2240:65: warning: pointer types point to integer types with different sign passing 'char [1024]', expected 'unsigned char *' [-Wpointer-sign] Q_strncpyz(name, va("%s%s", sv_demoPrefix.string, SV_CleanName(name)), ^~~~ ./server/sv_ccmds.c ./server/sv_mvd.c:2354:58: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] client = accept(listensocket, (struct sockaddr *)&addr, &addrlen); ^~~~~~~~ ./common/md4.c ./common/log.c ./common/log.c:314:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Con_Printf(va("Logging to %s/%s.log.\n", d, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 diagnostic generated. ./common/huff.c ./common/net_wins.c:26:6 diagnostics generated. 9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("these two are never set. A NET_ReplySource function that returns the address a reply would originate from would be sufficient. Note that INADDR_ANY can be multiple however, so these are just a hint.") ^ ./common/net_wins.c:1011:2: warning: #warning code me [-W#warnings] #warning code me ^ 2 diagnostics generated. ./common/net_chan.c ./common/net_wins.c ./common/net_wins.c:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("these two are never set. A NET_ReplySource function that returns the address a reply would originate from would be sufficient. Note that INADDR_ANY can be multiple however, so these are just a hint.") ^ ./common/net_wins.c:884:18: warning: pointer types point to integer types with different sign initializing 'qbyte [4]', expected 'char *' [-Wpointer-sign] char *address = a->address.ip; ^~~~~~~~~~~~~ ./server/sv_rankin.c ./common/net_wins.c:./common/md4.c 1011:2: warning: #warning code me [-W#warnings] #warning code me ^ ./common/net_wins.c:1464:60: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] if (getsockname (con->thesocket, (struct sockaddr*)&from, &fromsize) != -1) ^~~~~~~~~ ./common/net_wins.c:1528:118: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] ret = recvfrom (con->thesocket, (char *)net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr*)&from, &fromlen); ^~~~~~~~ ./common/net_wins.c:3148:56: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] if (getsockname (socket, (struct sockaddr *)&address, &namelen) == -1) ^~~~~~~~ ./server/sv_chat.c ./server/sv_chat.c:76:7: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile(va("dialog/%s.dlg", filename)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/log.c ./common/log.c:314:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Con_Printf(va("Logging to %s/%s.log.\n", d, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 diagnostics generated. ./common/net_chan.c 1 diagnostic generated. 1 diagnostic generated. ./common/zone.c ./common/net_wins.c:26:9./server/sv_demo.c : warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("these two are never set. A NET_ReplySource function that returns the address a reply would originate from would be sufficient. Note that INADDR_ANY can be multiple however, so these are just a hint.") ^ ./common/net_wins.c:1011:2: warning: #warning code me [-W#warnings] #warning code me ^ 2 diagnostics generated. ./common/net_wins.c ./common/qvm.c:175:9:./common/net_wins.c:26:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pack(push,1) ^ ./common/qvm.c:193:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pack(pop) ^ 2 diagnostics generated. warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("these two are never set. A NET_ReplySource function that returns the address a reply would originate from would be sufficient. Note that INADDR_ANY can be multiple however, so these are just a hint.") ^ ./common/net_wins.c:884:18: warning: pointer types point to integer types with different sign initializing 'qbyte [4]', expected 'char *' [-Wpointer-sign] char *address = a->address.ip; ^~~~~~~~~~~~~ ./common/net_wins.c:1011:2: warning: #warning code me [-W#warnings] #warning code me ^ ./common/net_wins.c:1464:60: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] if (getsockname (con->thesocket, (struct sockaddr*)&from, &fromsize) != -1) ^~~~~~~~~ ./common/net_wins.c:1528:118: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] ret = recvfrom (con->thesocket, (char *)net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr*)&from, &fromlen); ^~~~~~~~ ./common/qvm.c ./common/net_wins.c:1886:69: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] newsock = accept(con->generic.thesocket, (struct sockaddr*)&from, &fromlen); ^~~~~~~~ ./common/net_wins.c:2177:8: warning: pointer types point to integer types with different sign assigning 'char [513]', expected 'unsigned char *' [-Wpointer-sign] start = con->incoming; ^ ~~~~~~~~~~~~~ ./common/net_wins.c:2430:19: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char const *restrict' [-Wpointer-sign] code = strtoul(s, &s, 10); ^ ./common/net_wins.c:2430:22: warning: incompatible pointer types passing 'unsigned char **', expected 'char **restrict' code = strtoul(s, &s, 10); ^~ ./common/net_wins.c:2511:10: warning: pointer types point to integer types with different sign assigning 'char *', expected 'unsigned char *' [-Wpointer-sign] buffer = con->outbuf + newoutcount; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/net_wins.c:2530:12: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char *restrict' [-Wpointer-sign] sprintf(lenofs, "%03x", fulllen); ^~~~~~ ./common/net_wins.c:2546:12: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char *restrict' [-Wpointer-sign] sprintf(lenofs, "%03x", fulllen); ^~~~~~ ./common/gl_q2bsp.c ./common/net_wins.c:3148:56:./common/qvm.c:343:20: warning: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] incompatible pointer types passing 'qbyte **', expected 'void **' if (getsockname (socket, (struct sockaddr *)&address, &namelen) == -1) ^~~~~~~~ FS_LoadFile(path, &raw); ^~~~ ./server/world.c 1 diagnostic generated. ./gl/glmod_doom.c ./common/zone.c ./common/q3common.c ./common/q3common.c:48:26: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] vm_fopen_files[i].data = FS_LoadMallocFile(name); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 diagnostic generated. 13 diagnostics generated. ./common/pmove.c ./server/net_preparse.c:936:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NPP_NQWriteByte: this ignores SVC_SOUND from nq mods (nexuiz)") ^ 1 diagnostic generated. ./common/qvm.c:175:9: ./server/net_preparse.c ./common/pmovetst.c warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pack(push,1) ^ ./common/qvm.c:193:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma pack(pop) ^ 2 diagnostics generated. ./common/qvm.c ./server/net_preparse.c:640:48: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] NPP_SetInfo(&svs.clients[buffer[1]], "name", buffer+2); ^~~~~~~~ ./server/net_preparse.c:936:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NPP_NQWriteByte: this ignores SVC_SOUND from nq mods (nexuiz)") ^ ./server/net_preparse.c:1344:48: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] NPP_SetInfo(&svs.clients[buffer[1]], "name", buffer+2); ^~~~~~~~ ./server/net_preparse.c:1438:41: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char const *' [-Wpointer-sign] Q_strncpyz(svs.clients[j].userinfo, (buffer+6), sizeof(svs.clients[j].userinfo)); ^~~~~~~~~~ ./common/qvm.c:343:20: warning: incompatible pointer types passing 'qbyte **', expected 'void **' FS_LoadFile(path, &raw); ^~~~ ./common/gl_q2bsp.c 4 diagnostics generated. ./http/iwebiface.c ./common/gl_q2bsp.c:3269:35: warning: incompatible pointer types passing 'char **', expected 'void **' FS_LoadFile("pics/colormap.pcx", &f); ^~ ./common/gl_q2bsp.c:3275:22: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] if (!ReadPCXPalette(f, com_filesize, d_q28to24table)) ^ 1 diagnostic generated. ./common/gl_q2bsp.c:5706:45: warning: pointer types point to integer types with different sign passing 'int *', expected 'unsigned int *' [-Wpointer-sign] return CM_LoadMap(mod->name, buffer, true, &map_checksum) != NULL; ^~~~~~~~~~~~~ ./server/savegame.c ./server/savegame.c:674:11: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size=svprogfuncs->load_ents(svprogfuncs, file, 0); ^ ./common/translate.c ./common/plugin.c ./common/translate.c:353:5: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] f = COM_LoadTempFile(va("%s.lng", lastlang)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/translate.c:850:20: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] info_strings_list = FS_LoadMallocFile("infolist.txt"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/plugin.c:325:81: warning: incompatible pointer types passing 'int *', expected 'intptr_t const *' if (!VM_Call(newplug->vm, 0, Plug_FindBuiltin("Plug_GetEngineFunction"-4, ~0, &argarray))) ^~~~~~~~~ ./common/plugin.c:855:51: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] sock = accept(sock, (struct sockaddr *)&address, &addrlen); ^~~~~~~~ ./common/plugin.c:1058:41: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] pluginstreamarray[handle].file.buffer = data; ^ ~~~~ ./common/plugin.c:1075:41: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] pluginstreamarray[handle].file.buffer = data; ^ ~~~~ 2 diagnostics generated. 1 diagnostic generated. ./server/svq2_ents.c ./server/svq2_game.c ./gl/glmod_doom.c 4 diagnostics generated. ./server/svq3_game.c:2117:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: other things will need to be packed into here.") ^ ./server/svq3_game.c:2328:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: This _WILL_ need extending") ^ ./server/svq3_game.c:2837:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: you need to be aware of this if you're making a compatible cgame") ^ 3 diagnostics generated. ./common/q3common.c ./server/svq3_game.c ./common/q3common.c:48:26: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] vm_fopen_files[i].data = FS_LoadMallocFile(name); ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./server/svq3_game.c:1678:42: 3 diagnostics generated. warning: incompatible pointer types passing 'int (int, ...)', expected 'sys_calldll_t' (aka 'intptr_t (*)(intptr_t, ...)') q3gamevm = VM_Create(NULL, "vm/qagame", Q3G_SystemCalls, Q3G_SystemCallsEx); ^~~~~~~~~~~~~~~ ./server/svq3_game.c:1678:59: warning: incompatible pointer types passing 'int (void *, unsigned int, int, int const *)', expected 'sys_callqvm_t' (aka 'int (*)(void *, uintptr_t, int, int const *)') q3gamevm = VM_Create(NULL, "vm/qagame", Q3G_SystemCalls, Q3G_SystemCallsEx); ^~~~~~~~~~~~~~~~~ ./common/q1bsp.c ./server/svq3_game.c:2117:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: other things will need to be packed into here.") ^ ./server/svq3_game.c:2328:9: warning: 1 diagnostic generated. ./common/q1bsp.c:452:unknown pragma ignored [-Wunknown-pragmas] 26: warning: #pragma message("qwoverq3: This _WILL_ need extending") ^ incompatible pointer types passing 'vec3_t *', expected 'vec3_t const *' Matrix3_Invert_Simple(axis, iaxis); ^~~~ ./server/svq3_game.c:2837:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: you need to be aware of this if you're making a compatible cgame") ^ ./common/pmovetst.c ./common/pmove.c 1 diagnostic generated. ./common/q2pmove.c ./client/textedit.c ./http/iwebiface.c ./client/fragstats.c ./client/teamplay.c ./client/fragstats.c:367:7: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile(filename); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 diagnostics generated. 1 diagnostic generated. ./common/translate.c ./client/zqtp.c ./sndcodec/snd_vc.c ./common/translate.c:353:5: ./client/cl_demo.c:warning: 1578:2pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] : warning: f = COM_LoadTempFile(va("%s.lng", lastlang)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #warning "this needs buffering safely" [-W#warnings] #warning "this needs buffering safely" ^ 1 diagnostic generated. ./client/zqtp.c:1886:10: warning: ./common/translate.c:784:pointer types point to integer types with different sign assigning 'char *', expected 'unsigned char *' [-Wpointer-sign] 15: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] topstr = Cmd_Argv(2); ^ ~~~~~~~~~~~ strings_list = FS_LoadMallocFile("strings.txt"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/zqtp.c:1887:10: warning: pointer types point to integer types with different sign assigning 'char *', expected 'unsigned char *' [-Wpointer-sign] botstr = strchr(topstr, '.'); ^ ~~~~~~~~~~~~~~~~~~~ ./client/zqtp.c:1893:35: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char *' [-Wpointer-sign] col->topcolour = TP_ForceColour(topstr); ^~~~~~ ./client/zqtp.c:1894:38: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char *' [-Wpointer-sign] col->bottomcolour = TP_ForceColour(botstr); ^~~~~~ ./common/translate.c:850:20: warning: ./client/cl_demo.c pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] info_strings_list = FS_LoadMallocFile("infolist.txt"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./sndcodec/snd_voicecodecs.c ./client/cl_demo.c:1047:11: warning: pointer types point to integer types with different sign assigning 'char [1450]', expected 'qbyte *' [-Wpointer-sign] buf.data = buf_data; ^ ~~~~~~~~ ./client/cl_demo.c:1578:2: warning: #warning "this needs buffering safely" [-W#warnings] #warning "this needs buffering safely" ^ 3 diagnostics generated. ./sndcodec/g711.c ./common/plugin.c ./sndcodec/g721.c 2 diagnostics generated. ./common/plugin.c:325:81: warning: incompatible pointer types passing 'int *', expected 'intptr_t const *' if (!VM_Call(newplug->vm, 0, Plug_FindBuiltin("Plug_GetEngineFunction"-4, ~0, &argarray))) ^~~~~~~~~ ./common/plugin.c:855:51: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] sock = accept(sock, (struct sockaddr *)&address, &addrlen); ^~~~~~~~ ./common/plugin.c:1058:41: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] pluginstreamarray[handle].file.buffer = data; ^ ~~~~ ./common/plugin.c:1075:41: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] pluginstreamarray[handle].file.buffer = data; ^ ~~~~ ./common/q1bsp.c ./sndcodec/g723_24.c ./common/q1bsp.c:452:26: warning: incompatible pointer types passing 'vec3_t *', expected 'vec3_t const *' Matrix3_Invert_Simple(axis, iaxis); ^~~~ 4 diagnostics generated. ./sndcodec/g723_40.c 1 diagnostic generated. ./client/cl_ents.c:88:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("not freeing shadowmeshes") ^ ./client/cl_ents.c:2049:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Replace this flag on load for hexen2 models") ^ 2 diagnostics generated. 4 diagnostics generated. ./client/cl_ents.c ./common/q2pmove.c ./sndcodec/g72x.c ./client/cl_ents.c:88:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("not freeing shadowmeshes") ^ ./client/cl_ents.c:2049:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Replace this flag on load for hexen2 models") ^ ./http/webgen.c ./client/clq2_ents.c ./client/textedit.c:743:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Fixme: ") ^ ./client/textedit.c:802:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Fixme: ") ^ 2 diagnostics generated. ./client/textedit.c ./client/textedit.c:743:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Fixme: ") ^ ./client/textedit.c:802:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Fixme: ") ^ ./client/cl_input.c ./client/cl_input.c:1165:4:2 diagnostics generated. warning: implicit declaration of function 'usleep' is invalid in C99 [-Wimplicit-function-declaration] usleep(sleeptime); ^ ./http/ftpserver.c ./http/ftpserver.c:194:51: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] if (getsockname(socket, (struct sockaddr*)&addr, &adrlen) == -1) ^~~~~~~ ./http/ftpserver.c:206:51: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] if (getpeername(socket, (struct sockaddr*)&addr, &adrlen) == -1) ^~~~~~~ ./http/ftpserver.c:532:58: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] temp = accept(cl->datasock, (struct sockaddr *)&adr, &adrlen); ^~~~~~~ ./http/ftpserver.c:587:58: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] temp = accept(cl->datasock, (struct sockaddr *)&adr, &adrlen); ^~~~~~~ ./http/ftpserver.c:666:59: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] temp = accept(cl->datasock, (struct sockaddr *)&adr, &adrlen); ^~~~~~~ ./client/fragstats.c ./http/ftpserver.c:8282 diagnostics generated. :65: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] clientsock = accept(ftpserversocket, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ ./client/fragstats.c:367:7:1 diagnostic generated. warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile(filename); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/teamplay.c 6 diagnostics generated. ./client/cl_main.c 1 diagnostic generated. ./client/cl_main.c:996:22: warning: if statement has empty body [-Wempty-body] SV_UnspawnServer(); ^ ./client/cl_main.c:1143:12: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *restrict' [-Wpointer-sign] strcpy (final+1, "drop"); ^~~~~~~ ./client/cl_main.c:1144:43: warning: pointer types point to integer types with different sign passing 'qbyte [12]', expected 'char const *' [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final)+1, final, 2500); ^~~~~ ./client/cl_main.c:1145:43: warning: pointer types point to integer types with different sign passing 'qbyte [12]', expected 'char const *' [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final)+1, final, 2500); ^~~~~ ./client/cl_main.c:1146:43: warning: pointer types point to integer types with different sign passing 'qbyte [12]', expected 'char const *' [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final)+1, final, 2500); ^~~~~ ./client/cl_main.c:2045:21: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] Cmd_TokenizeString(net_message.data+4, false, false); ^~~~~~~~~~~~~~~~~~ ./client/cl_main.c:2053:38: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] if (Plug_ConnectionlessClientPacket(net_message.data+4, net_message.cursize-4)) ^~~~~~~~~~~~~~~~~~ ./http/httpserver.c ./client/zqtp.c ./qclib/comprout.c ./http/httpserver.c:524:66: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] clientsock = accept(httpserversocket, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ ./client/zqtp.c:1886:10: 1 diagnostic generated. warning: pointer types point to integer types with different sign assigning 'char *', expected 'unsigned char *' [-Wpointer-sign] topstr = Cmd_Argv(2); ^ ~~~~~~~~~~~ ./client/zqtp.c:1887:10: warning: pointer types point to integer types with different sign assigning 'char *', expected 'unsigned char *' [-Wpointer-sign] botstr = strchr(topstr, '.'); ^ ~~~~~~~~~~~~~~~~~~~ ./client/zqtp.c:1893:35: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char *' [-Wpointer-sign] col->topcolour = TP_ForceColour(topstr); ^~~~~~ ./client/zqtp.c:1894:38: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char *' [-Wpointer-sign] col->bottomcolour = TP_ForceColour(botstr); ^~~~~~ ./qclib/hash.c ./client/cl_parse.c:370:7 diagnostics generated. 9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fix this") ^ ./client/cl_parse.c:1230:2: warning: #warning timedemo timer should start here [-W#warnings] #warning timedemo timer should start here ^ 2 diagnostics generated. ./client/cl_parse.c ./qclib/initlib.c ./client/cl_parse.c:370:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fix this") ^ ./client/cl_pred.c ./client/cl_parse.c:761:20: warning: incompatible pointer types passing 'qbyte **', expected 'void **' FS_LoadFile(name, &file); ^~~~~ ./client/cl_parse.c:769:27: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] ret = CL_CheckHLBspWads(file); ^~~~ ./client/cl_parse.c:771:27: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] ret = CL_CheckQ2BspWals(file); ^~~~ ./client/cl_parse.c:1230:2: warning: #warning timedemo timer should start here [-W#warnings] #warning timedemo timer should start here ^ ./client/cl_parse.c:1419:10: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] svname = MSG_ReadString(); ^ ~~~~~~~~~~~~~~~~ ./client/cl_parse.c:1445:22: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] CL_DownloadFailed(svname); ^~~~~~ ./client/cl_parse.c:1454:39: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char const *' [-Wpointer-sign] if (stricmp(cls.downloadremotename, svname)) ^~~~~~ ./client/cl_parse.c:1484:22: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] CL_DownloadFailed(svname); ^~~~~~ ./client/cl_parse.c:1660:13: warning: pointer types point to integer types with different sign passing 'qbyte [1024]', expected 'char *restrict' [-Wpointer-sign] sprintf (name, "%s", cls.downloadtempname); ^~~~ ./client/cl_parse.c:1661:19: warning: pointer types point to integer types with different sign passing 'qbyte [1024]', expected 'char const *' [-Wpointer-sign] FS_CreatePath (name, FS_GAME); ^~~~ ./client/cl_parse.c:1662:33: warning: pointer types point to integer types with different sign passing 'qbyte [1024]', expected 'char const *' [-Wpointer-sign] cls.downloadqw = FS_OpenVFS (name, "wb", FS_GAME); ^~~~ ./client/cl_parse.c:1666:13: warning: pointer types point to integer types with different sign passing 'qbyte [1024]', expected 'char *restrict' [-Wpointer-sign] sprintf (name, "%s", cls.downloadtempname+6); ^~~~ ./client/cl_parse.c:1667:19: warning: pointer types point to integer types with different sign passing 'qbyte [1024]', expected 'char const *' [-Wpointer-sign] FS_CreatePath (name, FS_SKINS); ^~~~ ./client/cl_parse.c:1668:33: warning: pointer types point to integer types with different sign passing 'qbyte [1024]', expected 'char const *' [-Wpointer-sign] cls.downloadqw = FS_OpenVFS (name, "wb", FS_SKINS); ^~~~ ./client/cl_parse.c:1841:31: warning: pointer types point to integer types with different sign passing 'char [8192]', expected 'qbyte *' [-Wpointer-sign] QCRC_AddBlock(&runningcrc, buffer, chunk); ^~~~~~ ./qclib/initlib.c:694:2: warning: pointer types point to integer types with different sign initializing 'int *', expected 'unsigned int *' [-Wpointer-sign] &safesv_num_edicts, //int *sv_num_edicts; ^~~~~~~~~~~~~~~~~~ ./client/cl_parse.c:4704:17: warning: pointer types point to integer types with different sign initializing 'qbyte *', expected 'char *' [-Wpointer-sign] char *packet = net_message.data; ^~~~~~~~~~~~~~~~ 1 diagnostic generated. ./common/pr_bgcmd.c ./qclib/pr_edict.c ./common/pr_bgcmd.c:527:26: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] pf_fopen_files[i].data = FS_LoadMallocFile(pf_fopen_files[i].name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:531:27: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] pf_fopen_files[i].data = FS_LoadMallocFile(pf_fopen_files[i].name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:546:26: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] pf_fopen_files[i].data = FS_LoadMallocFile(pf_fopen_files[i].name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:1214:26: warning: pointer types point to integer types with different sign initializing 'char *', expected 'unsigned char *' [-Wpointer-sign] unsigned char *string = PF_VarString(prinst, 3, pr_globals); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:1215:19: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char const *' [-Wpointer-sign] int len = strlen(string); ^~~~~~ ./common/pr_bgcmd.c:1595:44: warning: pointer types point to integer types with different sign passing 'char *', expected 'unsigned char *' [-Wpointer-sign] G_FLOAT(OFS_RETURN) = COM_FunStringLength(in); ^~ ./qclib/pr_edict.c:2618:18: warning: pointer types point to integer types with different sign assigning 'unsigned int *', expected 'int *' [-Wpointer-sign] pr_linenums = file + 6; ^ ~~~~~~~~ ./common/pr_bgcmd.c:1877:44: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] G_FLOAT(OFS_RETURN) = QCRC_Block_AsLower(str, len); ^~~ ./common/pr_bgcmd.c:1879:36: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] G_FLOAT(OFS_RETURN) = QCRC_Block(str, len); ^~~ ./common/pr_bgcmd.c:1889:21: warning: pointer types point to integer types with different sign initializing 'char *', expected 'unsigned char *' [-Wpointer-sign] unsigned char *s = PR_GetStringOfs(prinst, OFS_PARM0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./qclib/progslib.h:251:38: note: instantiated from: #define PR_GetStringOfs(pf,o) (*pf->StringToNative) (pf, G_INT(o)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:1905:2: warning: pointer types point to integer types with different sign passing 'unsigned char [8192]', expected 'char *' [-Wpointer-sign] RETURN_TSTRING(result); ^~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:1905:17: note: instantiated from: RETURN_TSTRING(result); ^~~~~~ ./common/pr_bgcmd.c:1951:2: warning: pointer types point to integer types with different sign passing 'unsigned char [8192]', expected 'char *' [-Wpointer-sign] RETURN_TSTRING(resultbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:1951:17: note: instantiated from: RETURN_TSTRING(resultbuf); ^~~~~~~~~ ./qclib/pr_edict.c:3018:8: warning: pointer types point to integer types with different sign assigning 'unsigned int *', expected 'int *' [-Wpointer-sign] d2 = ED_FindGlobalOfsFromProgs(progfuncs, s, 0, ev_function); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./qclib/pr_edict.c:3091:8: warning: pointer types point to integer types with different sign assigning 'unsigned int *', expected 'int *' [-Wpointer-sign] d2 = ED_FindGlobalOfsFromProgs(progfuncs, s, 0, ev_function); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 diagnostics generated. ./client/cl_demo.c:1400:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("playdemo http://blah is broken right now") ^ ./client/cl_demo.c:1578:2: warning: #warning "this needs buffering safely" [-W#warnings] #warning "this needs buffering safely" ^ 2 diagnostics generated. ./client/cl_demo.c 17 diagnostics generated. ./client/cl_demo.c:1047:11: warning: pointer types point to integer types with different sign assigning 'char [1450]', expected 'qbyte *' [-Wpointer-sign] buf.data = buf_data; ^ ~~~~~~~~ ./client/cl_demo.c:1400:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("playdemo http://blah is broken right now") ^ ./client/cl_demo.c11 diagnostics generated. :1578:2: warning: #warning "this needs buffering safely" [-W#warnings] #warning "this needs buffering safely" ^ ./client/cl_tent.c ./client/cl_cam.c 3 diagnostics generated. 3 diagnostics generated. ./client/cl_ents.c:88:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("not freeing shadowmeshes") ^ ./client/cl_ents.c:2049:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Replace this flag on load for hexen2 models") ^ ./client/cl_screen.c:1796:92 diagnostics generated. : warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Need to ensure that the various image writing routines can cope with ((width|height)&3") ^ 1 diagnostic generated. ./client/cl_ents.c ./qclib/pr_exec.c ./client/cl_screen.c ./client/cl_ents.c:88:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("not freeing shadowmeshes") ^ ./client/clq2_ents.c ./client/cl_ents.c:2049:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Replace this flag on load for hexen2 models") ^ ./client/cl_screen.c:1795:9: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] buffer = VID_GetRGBInfo(MAX_PREPAD, &truewidth, &trueheight); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/cl_screen.c:1796:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Need to ensure that the various image writing routines can cope with ((width|height)&3") ^ ./client/cl_screen.c:2010:9: warning: pointer types point to integer types with different sign assigning 'char *', expected 'unsigned char *' [-Wpointer-sign] newbuf = VID_GetRGBInfo(0, &truewidth, &trueheight); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/clq2_ents.c:890:34: warning: pointer types point to integer types with different sign passing 'int *', expected 'unsigned int *' [-Wpointer-sign] newnum = CLQ2_ParseEntityBits (&bits); ^~~~~ ./client/clq2_ents.c:992:33: warning: pointer types point to integer types with different sign passing 'int *', expected 'unsigned int *' [-Wpointer-sign] newnum = CLQ2_ParseEntityBits (&bits); ^~~~~ 3 diagnostics generated. 2 diagnostics generated. ./client/cl_ui.c ./client/cl_input.c ./client/cl_ignore.c 2 diagnostics generated. ./client/cl_main.c ./client/cl_parse.c:370:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fix this") ^ ./client/cl_parse.c:1230:2: warning: #warning timedemo timer should start here [-W#warnings] #warning timedemo timer should start here ^ ./client/cl_parse.c:2502:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("CLNQ_ParseServerData: no sound autodownloads") ^ ./client/cl_cg.c 3 diagnostics generated. ./client/cl_main.c:717:11: warning: pointer types point to integer types with different sign assigning 'char [2048]', expected 'qbyte *' [-Wpointer-sign] sb.data = data; ^ ~~~~ ./client/cl_parse.c ./client/cl_main.c:1122:12: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *restrict' [-Wpointer-sign] strcpy (final+2, "drop"); ^~~~~~~ ./client/cl_main.c:1123:43: warning: pointer types point to integer types with different sign passing 'qbyte [12]', expected 'char const *' [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final)+1, final, 250000); ^~~~~ ./client/cl_main.c:1124:43: warning: pointer types point to integer types with different sign passing 'qbyte [12]', expected 'char const *' [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final)+1, final, 250000); ^~~~~ ./client/cl_main.c:1125:43: warning: pointer types point to integer types with different sign passing 'qbyte [12]', expected 'char const *' [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final)+1, final, 250000); ^~~~~ ./client/cl_main.c:1133:12: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *restrict' [-Wpointer-sign] strcpy (final+1, "disconnect"); ^~~~~~~ ./client/cl_main.c:1134:43: warning: pointer types point to integer types with different sign passing 'qbyte [12]', expected 'char const *' [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final)+1, final, 2500); ^~~~~ ./client/cl_main.c:1135:43: warning: pointer types point to integer types with different sign passing 'qbyte [12]', expected 'char const *' [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final)+1, final, 2500); ^~~~~ ./client/cl_main.c:1136:43: warning: pointer types point to integer types with different sign passing 'qbyte [12]', expected 'char const *' [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final)+1, final, 2500); ^~~~~ ./client/cl_main.c:1143:12: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *restrict' [-Wpointer-sign] strcpy (final+1, "drop"); ^~~~~~~ ./client/cl_main.c:1144:43: warning: pointer types point to integer types with different sign passing 'qbyte [12]', expected 'char const *' [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final)+1, final, 2500); ^~~~~ ./client/cl_main.c:1145:43: warning: pointer types point to integer types with different sign passing 'qbyte [12]', expected 'char const *' [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final)+1, final, 2500); ^~~~~ ./client/cl_main.c:1146:43: warning: pointer types point to integer types with different sign passing 'qbyte [12]', expected 'char const *' [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final)+1, final, 2500); ^~~~~ ./client/cl_main.c:2045:21: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] Cmd_TokenizeString(net_message.data+4, false, false); ^~~~~~~~~~~~~~~~~~ ./client/cl_main.c:2053:38: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] if (Plug_ConnectionlessClientPacket(net_message.data+4, net_message.cursize-4)) ^~~~~~~~~~~~~~~~~~ ./client/cl_main.c:3548:9: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] buffer = COM_LoadTempFile("q3key"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/cl_parse.c:370:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fix this") ^ ./client/clq3_parse.c ./client/cl_parse.c:761:20: warning: incompatible pointer types passing 'qbyte **', expected 'void **' FS_LoadFile(name, &file); ^~~~~ ./client/cl_parse.c:769:27: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] ret = CL_CheckHLBspWads(file); ^~~~ ./client/cl_parse.c:771:27: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] ret = CL_CheckQ2BspWals(file); ^~~~ ./client/cl_parse.c:1230:2: warning: #warning timedemo timer should start here [-W#warnings] #warning timedemo timer should start here ^ ./client/cl_parse.c:1419:10: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] svname = MSG_ReadString(); ^ ~~~~~~~~~~~~~~~~ ./client/cl_parse.c:1445:22: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] CL_DownloadFailed(svname); ^~~~~~ ./client/cl_parse.c:1454:39: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char const *' [-Wpointer-sign] if (stricmp(cls.downloadremotename, svname)) ^~~~~~ ./client/cl_parse.c:1484:22: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] CL_DownloadFailed(svname); ^~~~~~ ./client/cl_parse.c:1660:13: warning: pointer types point to integer types with different sign passing 'qbyte [1024]', expected 'char *restrict' [-Wpointer-sign] sprintf (name, "%s", cls.downloadtempname); ^~~~ ./client/cl_parse.c:1661:19: warning: pointer types point to integer types with different sign passing 'qbyte [1024]', expected 'char const *' [-Wpointer-sign] FS_CreatePath (name, FS_GAME); ^~~~ ./client/cl_parse.c:1662:33: warning: pointer types point to integer types with different sign passing 'qbyte [1024]', expected 'char const *' [-Wpointer-sign] cls.downloadqw = FS_OpenVFS (name, "wb", FS_GAME); ^~~~ ./client/cl_parse.c:1666:13: warning: pointer types point to integer types with different sign passing 'qbyte [1024]', expected 'char *restrict' [-Wpointer-sign] sprintf (name, "%s", cls.downloadtempname+6); ^~~~ ./client/cl_parse.c:1667:19: warning: pointer types point to integer types with different sign passing 'qbyte [1024]', expected 'char const *' [-Wpointer-sign] FS_CreatePath (name, FS_SKINS); ^~~~ ./client/cl_parse.c:1668:33: warning: pointer types point to integer types with different sign passing 'qbyte [1024]', expected 'char const *' [-Wpointer-sign] cls.downloadqw = FS_OpenVFS (name, "wb", FS_SKINS); ^~~~ ./client/cl_parse.c:1841:31: warning: pointer types point to integer types with different sign passing 'char [8192]', expected 'qbyte *' [-Wpointer-sign] QCRC_AddBlock(&runningcrc, buffer, chunk); ^~~~~~ ./client/cl_parse.c:2502:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("CLNQ_ParseServerData: no sound autodownloads") ^ ./client/cl_parse.c:4704:17: warning: pointer types point to integer types with different sign initializing 'qbyte *', expected 'char *' [-Wpointer-sign] char *packet = net_message.data; ^~~~~~~~~~~~~~~~ ./client/cl_parse.c:5241:31: warning: if statement has empty body [-Wempty-body] if (CSQC_ParseGamePacket()); ^ ./client/pr_csqc.c ./client/console.c ./client/console.c:811:45: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char const *' [-Wpointer-sign] cursor = COM_ParseFunString(CON_WHITEMASK, text, maskedtext, sizeof(maskedtext)-1*sizeof(conchar_t), true); ^~~~ ./client/console.c:813:47: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char const *' [-Wpointer-sign] endmtext = COM_ParseFunString(CON_WHITEMASK, text, maskedtext, sizeof(maskedtext)-1*sizeof(conchar_t), true); ^~~~ ./client/console.c:822:39: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char *' [-Wpointer-sign] if (text[1] == '/' || Cmd_IsCommand(text+1)) ^~~~~~ ./client/console.c:834:32: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char *' [-Wpointer-sign] fname = Cmd_CompleteCommand(text+cmdstart, true, true, con_commandmatch); ^~~~~~~~~~~~~ ./client/console.c:834:10: warning: pointer types point to integer types with different sign assigning 'char *', expected 'unsigned char *' [-Wpointer-sign] fname = Cmd_CompleteCommand(text+cmdstart, true, true, con_commandmatch); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/console.c:1045:12: warning: pointer types point to integer types with different sign passing 'unsigned char [128]', expected 'char *restrict' [-Wpointer-sign] sprintf(progresspercenttext, " %02d%% (%ukbps)", (int)progresspercent, CL_DownloadRate()/1000); ^~~~~~~~~~~~~~~~~~~ ./client/console.c:1052:13: warning: pointer types point to integer types with different sign passing 'unsigned char [128]', expected 'char *restrict' [-Wpointer-sign] sprintf(progresspercenttext, " %02f%%", progresspercent); ^~~~~~~~~~~~~~~~~~~ ./client/console.c:1056:13: warning: pointer types point to integer types with different sign passing 'unsigned char [128]', expected 'char *restrict' [-Wpointer-sign] sprintf(progresspercenttext, " %02d%% (%u%skb)", (int)progresspercent, total/1024, extra?"+":""); ^~~~~~~~~~~~~~~~~~~ ./client/console.c:1120:37: warning: pointer types point to integer types with different sign passing 'unsigned char [128]', expected 'char const *' [-Wpointer-sign] COM_ParseFunString(CON_WHITEMASK, progresspercenttext, dlbar+i, sizeof(dlbar)-i*sizeof(conchar_t), false); ^~~~~~~~~~~~~~~~~~~ ./client/console.c:1518:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Con_Printf (text); ^~~~ 10 diagnostics generated. ./qclib/pr_multi.c 16 diagnostics generated. ./client/image.c ./qclib/pr_x86.c ./client/cl_pred.c ./client/image.c:116:10: warning: pointer types point to integer types with different sign returning 'qbyte *', expected 'char *' [-Wpointer-sign] return pixels; ^~~~~~ ./client/image.c:154:9: warning: pointer types point to integer types with different sign returning 'qbyte *', expected 'char *' [-Wpointer-sign] return pixels; ^~~~~~ ./client/image.c:199:10: warning: pointer types point to integer types with different sign returning 'char *', expected 'qbyte *' [-Wpointer-sign] return ReadGreyTargaFile(data, length, &tgaheader, asgrey); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/image.c:1272:7: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] data = (char *)(pcx+1); ^ ~~~~~~~~~~~~~~~ ./client/image.c:1359:7: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] data = (char *)(pcx+1); ^ ~~~~~~~~~~~~~~~ ./client/image.c:2074:13: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] if ((buf = COM_LoadFile (fname, 5))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./client/image.c:2084:36: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] if ((data = Read32BitImageFile(buf, com_filesize, &image_width, &image_height, fname))) ^~~ ./client/image.c:2084:15: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] if ((data = Read32BitImageFile(buf, com_filesize, &image_width, &image_height, fname))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/image.c:2088:18: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] BoostGamma(data, image_width, image_height); ^~~~ ./client/image.c:2117:12: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] if ((buf = COM_LoadFile (fname, 5))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./client/image.c:2135:8: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] data = W_GetTexture(name, &image_width, &image_height, &alphaed); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/image.c:2203:13: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] if ((buf = COM_LoadFile (fname, 5))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./client/image.c:2205:31: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] if ((data = ReadTargaFile(buf, com_filesize, &image_width, &image_height, 2))) //Only load a greyscale image. ^~~ ./client/image.c:2205:15: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] if ((data = ReadTargaFile(buf, com_filesize, &image_width, &image_height, 2))) //Only load a greyscale image. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./qclib/qcc_cmdlib.c 14 diagnostics generated. 19 diagnostics generated. ./client/cl_tent.c ./qclib/qccmain.c ./client/keys.c ./qclib/qccmain.c:1130:24: warning: incompatible integer to pointer conversion assigning 'int', expected 'char *' qcc_typeinfo[i].name = QCC_CopyDupBackString(qcc_typeinfo[i].name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/cl_cam.c ./client/keys.c:1646:44: warning: more data arguments than '%' conversions [-Wformat-extra-args] sprintf (cmd, "p%i %s\n", pnum+1, kb, key+oldstate*256); ~~~~~~~~~~ ^ ./qclib/qccmain.c:2781:5: warning: pointer types point to integer types with different sign assigning 'unsigned char *', expected 'char *' [-Wpointer-sign] s = externs->ReadFile("qcc.cfg", s, p); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 diagnostic generated. ./client/menu.c ./client/cl_screen.c:1796:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Need to ensure that the various image writing routines can cope with ((width|height)&3") ^ 1 diagnostic generated. ./client/cl_screen.c ./client/menu.c:417:70: warning: incompatible pointer types passing 'char *[6]', expected 'char const **' MC_AddCvarCombo(menu, 16, y, "Force client", &cl_forcesplitclient, texts, values); ^~~~~ ./client/menu.c:417:77: warning: incompatible pointer types passing 'char *[5]', expected 'char const **' MC_AddCvarCombo(menu, 16, y, "Force client", &cl_forcesplitclient, texts, values); ^~~~~~ ./client/m_download.c 2 diagnostics generated. ./client/cl_screen.c:2 diagnostics generated. 1795:9: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] buffer = VID_GetRGBInfo(MAX_PREPAD, &truewidth, &trueheight); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/cl_screen.c:1796:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Need to ensure that the various image writing routines can cope with ((width|height)&3") ^ ./client/cl_screen.c:2010:9: warning: ./client/m_master.c:88:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NM_PrintColoured: needs reimplementing") ^ ./client/m_master.c:101:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NM_PrintHighlighted: needs reimplementing") ^ ./client/m_master.c:261:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("M_AddColumn: needs reimplementing") ^ 3 diagnostics generated. pointer types point to integer types with different sign assigning 'char *', expected 'unsigned char *' [-Wpointer-sign] newbuf = VID_GetRGBInfo(0, &truewidth, &trueheight); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_master.c ./qclib/qcc_pr_comp.c ./client/cl_ui.c ./client/m_master.c:88:9./qclib/qcc_pr_comp.c:: 8198:4: warning: warning: unknown pragma ignored [-Wunknown-pragmas] expression result unused [-Wunused-value] #pragma message("NM_PrintColoured: needs reimplementing") ^ *fieldofs++; ^~~~~~~~~~~ ./client/m_master.c:101:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NM_PrintHighlighted: needs reimplementing") ^ ./qclib/qcc_pr_comp.c:8292:46: warning: pointer types point to integer types with different sign passing 'int *', expected 'unsigned int *' [-Wpointer-sign] QCC_PR_DummyFieldDef(pass, "", pr_scope, 1, fields, true); ^~~~~~ ./client/m_master.c:190:19: warning: pointer types point to integer types with different sign passing 'char [12]', expected 'qbyte *' [-Wpointer-sign] NM_Print (0, y, "No details\n"); ^~~~~~~~~~~~~~ ./client/m_master.c:213:20: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_Print (0, y, va("%19s", key)); ^~~~~~~~~~~~~~~ ./client/m_master.c:218:21: warning: pointer types point to integer types with different sign passing 'char [15]', expected 'qbyte *' [-Wpointer-sign] NM_Print (0, y, "MISSING VALUE\n"); ^~~~~~~~~~~~~~~~~ ./client/m_master.c:231:24: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_Print (320/2, y, va("%s\n", value)); ^~~~~~~~~~~~~~~~~ ./client/m_master.c:242:26: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintWhite (12, y, va("%3i", selectedserver.detail->players[i].frags)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_master.c:243:25: warning: pointer types point to integer types with different sign passing 'char [64]', expected 'qbyte *' [-Wpointer-sign] NM_Print (12+8*4, y, selectedserver.detail->players[i].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_master.c:261:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("M_AddColumn: needs reimplementing") ^ ./client/m_master.c:326:68: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured((vid.width-strlen(text)*8)/2, 8*5, COLOR_WHITE, text); ^~~~ ./client/m_master.c:327:71: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured((vid.width-strlen(text2)*8)/2, 8*5+8, COLOR_WHITE, text2); ^~~~~ ./client/m_master.c:328:72: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured((vid.width-strlen(text3)*8)/2, 8*5+16, COLOR_WHITE, text3); ^~~~~ ./client/m_master.c:467:68: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured((vid.width-strlen(text)*8)/2, 8*5, COLOR_WHITE, text); ^~~~ ./client/m_master.c:514:52: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintHighlighted(46, y, clr, COLOR_DARKBLUE, va("%s", mast->name)); ^~~~~~~~~~~~~~~~~~~~ ./client/m_master.c:516:33: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured(46, y, clr, va("%s", mast->name)); ^~~~~~~~~~~~~~~~~~~~ ./client/m_master.c:584:57: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintHighlighted(46, op*8+8*3, c, COLOR_DARKBLUE, s); ^ ./client/m_master.c:586:38: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured(46, op*8+8*3, c, s); ^ ./client/m_master.c:659:101: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintHighlighted(width*snum+width/2 - strlen(titles[snum])*4, 0, COLOR_WHITE, COLOR_DARKBLUE, titles[snum]); ^~~~~~~~~~~~ ./client/m_master.c:661:82: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured(width*snum+width/2 - strlen(titles[snum])*4, 0, COLOR_WHITE, titles[snum]); ^~~~~~~~~~~~ ./client/m_master.c:663:38: warning: pointer types point to integer types with different sign passing 'char [2]', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured(8, 8, COLOR_WHITE, "\35"); ^~~~~ ./client/m_master.c:665:42: warning: pointer types point to integer types with different sign passing 'char [2]', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured(snum, 8, COLOR_WHITE, "\36"); ^~~~~ ./client/m_master.c:666:41: warning: pointer types point to integer types with different sign passing 'char [2]', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured(snum, 8, COLOR_WHITE, "\37"); ^~~~~ ./client/m_master.c:1243:26: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintWhite (x, y, va("%3i", selectedserver.detail->players[i].frags)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 diagnostics generated. ./client/cl_ui.c:123:74: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] sc->filestack[sc->stackdepth] = sc->originalfilestack[sc->stackdepth] = FS_LoadMallocFile(com_token); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/cl_ui.c:217:46: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] sc->filestack[0] = sc->originalfilestack[0] = FS_LoadMallocFile(filename); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/cl_ui.c:647:7: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] in.c = COM_LoadTempFile(name); ^ ~~~~~~~~~~~~~~~~~~~~~~ ./client/cl_ui.c:1351:41: warning: incompatible pointer types passing 'intptr_t [9]', expected 'int const *' return UI_SystemCallsEx(NULL, ~0, arg, args); ^~~~ ./client/cl_ignore.c 23 diagnostics generated. ./client/m_multi.c ./client/m_multi.c:367:69: warning: incompatible pointer types passing 'char *[3]', expected 'char const **' (info->modeledit = MC_AddCvarCombo(menu, 64, 72, "model", &skin, modeloptions, modeloptions)); ^~~~~~~~~~~~ ./client/m_multi.c:367:83: warning: incompatible pointer types passing 'char *[3]', expected 'char const **' (info->modeledit = MC_AddCvarCombo(menu, 64, 72, "model", &skin, modeloptions, modeloptions)); ^~~~~~~~~~~~ ./client/m_multi.c:419:62: warning: incompatible pointer types passing 'char *[6]', expected 'char const **' (info->classedit = MC_AddCombo(menu, 64, 72, "Your class", classnames, pc->ival-1)); ^~~~~~~~~~ ./client/cl_cg.c 3 diagnostics generated. 4 diagnostics generated. ./client/cl_cg.c:1074:51: warning: incompatible pointer types passing 'int [10]', expected 'intptr_t const *' return CG_SystemCallsEx(NULL, (unsigned)~0, arg, args); ^~~~ ./client/m_items.c ./client/cl_cg.c:1130:37: warning: incompatible pointer types passing 'int (int, ...)', expected 'sys_calldll_t' (aka 'intptr_t (*)(intptr_t, ...)') cgvm = VM_Create(NULL, "vm/cgame", CG_SystemCalls, CG_SystemCallsEx); ^~~~~~~~~~~~~~ ./client/cl_cg.c:1130:53: warning: incompatible pointer types passing 'intptr_t (void *, uintptr_t, intptr_t, intptr_t const *)', expected 'sys_callqvm_t' (aka 'int (*)(void *, uintptr_t, int, int const *)') cgvm = VM_Create(NULL, "vm/cgame", CG_SystemCalls, CG_SystemCallsEx); ^~~~~~~~~~~~~~~~ ./client/clq3_parse.c ./client/clq3_parse.c:604:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] CLQ3_SendClientCommand(buffer); ^~~~~~ ./client/clq3_parse.c:915:11: warning: pointer types point to integer types with different sign assigning 'char [65536]', expected 'qbyte *' [-Wpointer-sign] msg.data = data; ^ ~~~~ ./client/clq3_parse.c:990:14: warning: pointer types point to integer types with different sign assigning 'char [2048]', expected 'qbyte *' [-Wpointer-sign] msg.data = data; ^ ~~~~ ./client/clq3_parse.c:1022:11: warning: pointer types point to integer types with different sign assigning 'char [2048]', expected 'qbyte *' [-Wpointer-sign] msg.data = data; ^ ~~~~ 3 diagnostics generated. 4 diagnostics generated. ./qclib/qcc_pr_lex.c ./client/pr_csqc.c:114:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("FIXME: add cshift") ^ ./client/pr_csqc.c:1298:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme: AFOV not retrievable") ^ ./client/pr_csqc.c:3357:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("PF_cs_gettaginfo: This function doesn't honour attachments (but setattachment isn't implemented yet anyway)") ^ ./client/pr_csqc.c:5846:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("do we really need the firstbyte parameter here?") ^ 4 diagnostics generated. ./client/pr_csqc.c ./client/m_options.c ./client/m_options.c:370:83: warning: incompatible pointer types passing 'char *[3]', expected 'char const **' MC_AddCvarCombo(menu, 16, y, " particle system", &r_particlesystem, psystemopts, psystemvals);y+=8; ^~~~~~~~~~~ ./client/m_options.c:370:96: warning: incompatible pointer types passing 'char *[3]', expected 'char const **' MC_AddCvarCombo(menu, 16, y, " particle system", &r_particlesystem, psystemopts, psystemvals);y+=8; ^~~~~~~~~~~ ./client/pr_csqc.c:114:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("FIXME: add cshift") ^ ./client/pr_csqc.c:1298:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme: AFOV not retrievable") ^ ./client/pr_csqc.c:3357:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("PF_cs_gettaginfo: This function doesn't honour attachments (but setattachment isn't implemented yet anyway)") ^ ./client/pr_csqc.c:5846:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("do we really need the firstbyte parameter here?") ^ 2 diagnostics generated. ./client/m_single.c ./client/m_script.c 2 diagnostics generated. ./client/console.c ./qclib/qcdecomp.c ./client/m_mp3.c ./client/console.c:811:45: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char const *' [-Wpointer-sign] cursor = COM_ParseFunString(CON_WHITEMASK, text, maskedtext, sizeof(maskedtext)-1*sizeof(conchar_t), true); ^~~~ ./client/console.c:813:47: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char const *' [-Wpointer-sign] endmtext = COM_ParseFunString(CON_WHITEMASK, text, maskedtext, sizeof(maskedtext)-1*sizeof(conchar_t), true); ^~~~ ./client/console.c:822:39: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char *' [-Wpointer-sign] if (text[1] == '/' || Cmd_IsCommand(text+1)) ^~~~~~ ./client/console.c:834:32: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char *' [-Wpointer-sign] fname = Cmd_CompleteCommand(text+cmdstart, true, true, con_commandmatch); ^~~~~~~~~~~~~ ./client/console.c:834:10: warning: pointer types point to integer types with different sign assigning 'char *', expected 'unsigned char *' [-Wpointer-sign] fname = Cmd_CompleteCommand(text+cmdstart, true, true, con_commandmatch); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/console.c:1045:12: warning: pointer types point to integer types with different sign passing 'unsigned char [128]', expected 'char *restrict' [-Wpointer-sign] sprintf(progresspercenttext, " %02d%% (%ukbps)", (int)progresspercent, CL_DownloadRate()/1000); ^~~~~~~~~~~~~~~~~~~ ./client/console.c:1052:13: warning: pointer types point to integer types with different sign passing 'unsigned char [128]', expected 'char *restrict' [-Wpointer-sign] sprintf(progresspercenttext, " %02f%%", progresspercent); ^~~~~~~~~~~~~~~~~~~ ./client/console.c:1056:13: warning: pointer types point to integer types with different sign passing 'unsigned char [128]', expected 'char *restrict' [-Wpointer-sign] sprintf(progresspercenttext, " %02d%% (%u%skb)", (int)progresspercent, total/1024, extra?"+":""); ^~~~~~~~~~~~~~~~~~~ ./client/console.c:1067:12: warning: pointer types point to integer types with different sign passing 'unsigned char [128]', expected 'char *restrict' [-Wpointer-sign] sprintf(progresspercenttext, " %02d%%", (int)progresspercent); ^~~~~~~~~~~~~~~~~~~ ./client/console.c:1120:37: warning: pointer types point to integer types with different sign passing 'unsigned char [128]', expected 'char const *' [-Wpointer-sign] COM_ParseFunString(CON_WHITEMASK, progresspercenttext, dlbar+i, sizeof(dlbar)-i*sizeof(conchar_t), false); ^~~~~~~~~~~~~~~~~~~ ./client/console.c:1518:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Con_Printf (text); ^~~~ 4 diagnostics generated. 11 diagnostics generated. ./client/roq_read.c ./client/image.c ./client/image.c:116:10: warning: pointer types point to integer types with different sign returning 'qbyte *', expected 'char *' [-Wpointer-sign] return pixels; ^~~~~~ ./client/image.c:154:9: warning: pointer types point to integer types with different sign returning 'qbyte *', expected 'char *' [-Wpointer-sign] return pixels; ^~~~~~ ./client/clq2_cin.c ./client/image.c:199:10: warning: pointer types point to integer types with different sign returning 'char *', expected 'qbyte *' [-Wpointer-sign] return ReadGreyTargaFile(data, length, &tgaheader, asgrey); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./qclib/qcd_main.c ./client/image.c:628:9: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] ri.data=buf; ^~~~ ./client/image.c:1272:7: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] data = (char *)(pcx+1); ^ ~~~~~~~~~~~~~~~ ./client/image.c:1359:7: warning: pointer types point to integer types with different sign assigning 'char *', expected 'qbyte *' [-Wpointer-sign] data = (char *)(pcx+1); ^ ~~~~~~~~~~~~~~~ ./client/image.c:2074:13: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] if ((buf = COM_LoadFile (fname, 5))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./client/image.c:2077:29: warning: pointer types point to integer types with different sign passing 'char *', expected 'unsigned char *' [-Wpointer-sign] tex = GL_LoadTextureDDS(buf, com_filesize); ^~~ ./client/image.c:2084:36: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] if ((data = Read32BitImageFile(buf, com_filesize, &image_width, &image_height, fname))) ^~~ ./client/image.c:2084:15: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] if ((data = Read32BitImageFile(buf, com_filesize, &image_width, &image_height, fname))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/image.c:2088:18: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] BoostGamma(data, image_width, image_height); ^~~~ ./client/image.c:2117:12: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] if ((buf = COM_LoadFile (fname, 5))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./client/image.c:2135:8: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] data = W_GetTexture(name, &image_width, &image_height, &alphaed); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/image.c:2203:13: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] if ((buf = COM_LoadFile (fname, 5))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./client/image.c:2205:31: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] if ((data = ReadTargaFile(buf, com_filesize, &image_width, &image_height, 2))) //Only load a greyscale image. ^~~ ./client/image.c:2205:15: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] if ((data = ReadTargaFile(buf, com_filesize, &image_width, &image_height, 2))) //Only load a greyscale image. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/net_master.c:584:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Master_AddMaster: add ipv6. don't care about tcp/irc.") ^ ./client/net_master.c:788:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NET_SendPollPacket: no support for ipv6") ^ 2 diagnostics generated. ./client/net_master.c ./client/net_master.c:584:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Master_AddMaster: add ipv6. don't care about tcp/irc.") ^ ./gl/gl_alias.c ./client/net_master.c:788:16 diagnostics generated. 9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NET_SendPollPacket: no support for ipv6") ^ ./client/net_master.c:866:115: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] ret = recvfrom (usesocket, (char *)net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ ./server/svmodel.c ./server/svmodel.c:685:6: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] in = mod_base + l->fileofs; ^ ~~~~~~~~~~~~~~~~~~~~~ ./server/svmodel.c:686:7: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] out = loadmodel->lightdata; ^ ~~~~~~~~~~~~~~~~~~~~ ./client/keys.c ./server/sv_sys_unix.c ./client/keys.c:1646:44: ./server/sv_sys_unix.cwarning: :424:11: more data arguments than '%' conversions [-Wformat-extra-args] warning: sprintf (cmd, "p%i %s\n", pnum+1, kb, key+oldstate*256); ~~~~~~~~~~ ^ pointer types point to integer types with different sign assigning 'char [4096]', expected 'unsigned char *' [-Wpointer-sign] for (t = msg; *t; t++) ^ ~~~ ./server/sv_sys_unix.c:651:22: warning: incompatible pointer types passing 'char **', expected 'char const **' COM_InitArgv (argc, argv); ^~~~ 2 diagnostics generated. 2 diagnostics generated. clang -m64 -DCLANG -o release/sv_linux64/../fteqw.sv64 -DSERVERONLY -O2 -fno-strict-aliasing ./release/sv_linux64/com_mesh.o ./release/sv_linux64/com_phys_ode.o ./release/sv_linux64/common.o ./release/sv_linux64/cvar.o ./release/sv_linux64/cmd.o ./release/sv_linux64/crc.o ./release/sv_linux64/fs.o ./release/sv_linux64/fs_stdio.o ./release/sv_linux64/fs_pak.o ./release/sv_linux64/fs_zip.o ./release/sv_linux64/mathlib.o ./release/sv_linux64/huff.o ./release/sv_linux64/md4.o ./release/sv_linux64/log.o ./release/sv_linux64/net_chan.o ./release/sv_linux64/net_wins.o ./release/sv_linux64/zone.o ./release/sv_linux64/qvm.o ./release/sv_linux64/gl_q2bsp.o ./release/sv_linux64/glmod_doom.o ./release/sv_linux64/q3common.o ./release/sv_linux64/pmove.o ./release/sv_linux64/pmovetst.o ./release/sv_linux64/iwebiface.o ./release/sv_linux64/translate.o ./release/sv_linux64/plugin.o ./release/sv_linux64/q1bsp.o ./release/sv_linux64/q2pmove.o ./release/sv_linux64/pr_cmds.o ./release/sv_linux64/pr_q1qvm.o ./release/sv_linux64/sv_master.o ./release/sv_linux64/sv_init.o ./release/sv_linux64/sv_main.o ./release/sv_linux64/sv_nchan.o ./release/sv_linux64/sv_ents.o ./release/sv_linux64/sv_send.o ./release/sv_linux64/sv_move.o ./release/sv_linux64/sv_phys.o ./release/sv_linux64/sv_user.o ./release/sv_linux64/sv_mvd.o ./release/sv_linux64/sv_ccmds.o ./release/sv_linux64/sv_rankin.o ./release/sv_linux64/sv_chat.o ./release/sv_linux64/sv_demo.o ./release/sv_linux64/world.o ./release/sv_linux64/net_preparse.o ./release/sv_linux64/savegame.o ./release/sv_linux64/svq2_ents.o ./release/sv_linux64/svq2_game.o ./release/sv_linux64/svq3_game.o ./release/sv_linux64/snd_vc.o ./release/sv_linux64/snd_voicecodecs.o ./release/sv_linux64/g711.o ./release/sv_linux64/g721.o ./release/sv_linux64/g723_24.o ./release/sv_linux64/g723_40.o ./release/sv_linux64/g72x.o ./release/sv_linux64/webgen.o ./release/sv_linux64/ftpserver.o ./release/sv_linux64/httpserver.o ./release/sv_linux64/comprout.o ./release/sv_linux64/hash.o ./release/sv_linux64/initlib.o ./release/sv_linux64/pr_bgcmd.o ./release/sv_linux64/pr_edict.o ./release/sv_linux64/pr_exec.o ./release/sv_linux64/pr_multi.o ./release/sv_linux64/pr_x86.o ./release/sv_linux64/qcc_cmdlib.o ./release/sv_linux64/qccmain.o ./release/sv_linux64/qcc_pr_comp.o ./release/sv_linux64/qcc_pr_lex.o ./release/sv_linux64/qcdecomp.o ./release/sv_linux64/qcd_main.o ./release/sv_linux64/gl_alias.o ./release/sv_linux64/svmodel.o ./release/sv_linux64/sv_sys_unix.o -lm -ldl -lpthread -lz -L./libs/64/ -I./libs/64/ -lz -lX11-xcb -lxcb-xlib -lxcb -lXdmcp -lXpm -lXau -lX11 -lXext 3 diagnostics generated. make[3]: Leaving directory `/home/moodles/wip/wip/engine' 1 diagnostic generated. strip --strip-unneeded --remove-section=.comment ./release/sv_linux64/../fteqw.sv64 ./client/menu.c make[2]: Leaving directory `/home/moodles/wip/wip/engine' make[1]: Leaving directory `/home/moodles/wip/wip/engine' ./client/r_bulleten.c ./client/menu.c:417:70: warning: incompatible pointer types passing 'char *[6]', expected 'char const **' MC_AddCvarCombo(menu, 16, y, "Force client", &cl_forcesplitclient, texts, values); ^~~~~ ./client/menu.c:417:77: warning: incompatible pointer types passing 'char *[5]', expected 'char const **' MC_AddCvarCombo(menu, 16, y, "Force client", &cl_forcesplitclient, texts, values); ^~~~~~ ./client/r_part.c ./client/p_script.c 2 diagnostics generated. ./client/m_download.c ./client/m_master.c:88:9./client/p_null.c ./client/m_multi.c : warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NM_PrintColoured: needs reimplementing") ^ ./client/m_master.c:101:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NM_PrintHighlighted: needs reimplementing") ^ ./client/m_master.c:261:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("M_AddColumn: needs reimplementing") ^ 3 diagnostics generated. ./client/m_master.c ./client/m_multi.c:367:69: warning: ./client/m_master.c:88:9: incompatible pointer types passing 'char *[3]', expected 'char const **' warning: unknown pragma ignored [-Wunknown-pragmas] (info->modeledit = MC_AddCvarCombo(menu, 64, 72, "model", &skin, modeloptions, modeloptions)); ^~~~~~~~~~~~ ./client/m_multi.c:367:83: warning: incompatible pointer types passing 'char *[3]', expected 'char const **' (info->modeledit = MC_AddCvarCombo(menu, 64, 72, "model", &skin, modeloptions, modeloptions)); ^~~~~~~~~~~~ ./client/m_multi.c:419:62: warning: incompatible pointer types passing 'char *[6]', expected 'char const **' (info->classedit = MC_AddCombo(menu, 64, 72, "Your class", classnames, pc->ival-1)); ^~~~~~~~~~ #pragma message("NM_PrintColoured: needs reimplementing") ^ ./client/m_master.c:101:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NM_PrintHighlighted: needs reimplementing") ^ ./client/m_master.c:190:19: warning: pointer types point to integer types with different sign passing 'char [12]', expected 'qbyte *' [-Wpointer-sign] NM_Print (0, y, "No details\n"); ^~~~~~~~~~~~~~ ./client/m_master.c:213:20: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_Print (0, y, va("%19s", key)); ^~~~~~~~~~~~~~~ ./client/m_master.c:218:21: warning: pointer types point to integer types with different sign passing 'char [15]', expected 'qbyte *' [-Wpointer-sign] NM_Print (0, y, "MISSING VALUE\n"); ^~~~~~~~~~~~~~~~~ ./client/m_master.c:231:24: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_Print (320/2, y, va("%s\n", value)); ^~~~~~~~~~~~~~~~~ ./client/m_master.c:242:26: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintWhite (12, y, va("%3i", selectedserver.detail->players[i].frags)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_master.c:243:25: warning: pointer types point to integer types with different sign passing 'char [64]', expected 'qbyte *' [-Wpointer-sign] NM_Print (12+8*4, y, selectedserver.detail->players[i].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_master.c:261:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("M_AddColumn: needs reimplementing") ^ ./client/m_master.c:326:68: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured((vid.width-strlen(text)*8)/2, 8*5, COLOR_WHITE, text); ^~~~ ./client/m_master.c:327:71: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured((vid.width-strlen(text2)*8)/2, 8*5+8, COLOR_WHITE, text2); ^~~~~ ./client/m_master.c:328:72: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured((vid.width-strlen(text3)*8)/2, 8*5+16, COLOR_WHITE, text3); ^~~~~ ./client/m_master.c:467:68: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured((vid.width-strlen(text)*8)/2, 8*5, COLOR_WHITE, text); ^~~~ ./client/m_master.c:514:52: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintHighlighted(46, y, clr, COLOR_DARKBLUE, va("%s", mast->name)); ^~~~~~~~~~~~~~~~~~~~ ./client/m_master.c:516:33: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured(46, y, clr, va("%s", mast->name)); ^~~~~~~~~~~~~~~~~~~~ ./client/m_master.c:584:57: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintHighlighted(46, op*8+8*3, c, COLOR_DARKBLUE, s); ^ ./client/m_master.c:586:38: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured(46, op*8+8*3, c, s); ^ ./client/m_master.c:659:101: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintHighlighted(width*snum+width/2 - strlen(titles[snum])*4, 0, COLOR_WHITE, COLOR_DARKBLUE, titles[snum]); ^~~~~~~~~~~~ ./client/m_master.c:661:82: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured(width*snum+width/2 - strlen(titles[snum])*4, 0, COLOR_WHITE, titles[snum]); ^~~~~~~~~~~~ ./client/m_master.c:663:38: warning: pointer types point to integer types with different sign passing 'char [2]', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured(8, 8, COLOR_WHITE, "\35"); ^~~~~ ./client/m_master.c:665:42: warning: pointer types point to integer types with different sign passing 'char [2]', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured(snum, 8, COLOR_WHITE, "\36"); ^~~~~ ./client/m_master.c:666:41: warning: pointer types point to integer types with different sign passing 'char [2]', expected 'qbyte *' [-Wpointer-sign] NM_PrintColoured(snum, 8, COLOR_WHITE, "\37"); ^~~~~ ./client/p_classic.c ./client/m_master.c:1243:26: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] NM_PrintWhite (x, y, va("%3i", selectedserver.detail->players[i].frags)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_items.c 3 diagnostics generated. ./client/m_options.c ./client/m_options.c:370:83: warning: incompatible pointer types passing 'char *[3]', expected 'char const **' MC_AddCvarCombo(menu, 16, y, " particle system", &r_particlesystem, psystemopts, psystemvals);y+=8; ^~~~~~~~~~~ ./client/m_options.c:370:96: warning: incompatible pointer types passing 'char *[3]', expected 'char const **' MC_AddCvarCombo(menu, 16, y, " particle system", &r_particlesystem, psystemopts, psystemvals);y+=8; ^~~~~~~~~~~ 23 diagnostics generated. ./client/r_partset.c ./client/renderer.c ./client/renderque.c ./client/m_single.c ./client/m_script.c 2 diagnostics generated. ./client/sbar.c:25:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("hipnotic/rogue: Find out") ^ 1 diagnostic generated. ./client/sbar.c ./client/sbar.c:25:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("hipnotic/rogue: Find out") ^ ./client/skin.c ./client/sbar.c:1034:119: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte const *' [-Wpointer-sign] Draw_TinyString (sbar_rect.x + x /*+ ((sbar_rect.width - 320)>>1) */, sbar_rect.y + y+ sbar_rect.height-SBAR_HEIGHT, str); ^~~ ./client/snd_dma.c ./client/m_mp3.c ./client/m_mp3.c:226:3: warning: non-void function 'Media_FakeTrack' should return a value [-Wreturn-type] return; ^ ./client/m_mp3.c:297:20: warning: pointer types point to integer types with different sign passing 'char [24]', expected 'qbyte *' [-Wpointer-sign] M_Print (12, 32, "Not playing - no volume"); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:301:21: warning: pointer types point to integer types with different sign passing 'char [31]', expected 'qbyte *' [-Wpointer-sign] M_Print (12, 32, "Not playing - no track to play"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:309:22: warning: pointer types point to integer types with different sign passing 'char [27]', expected 'qbyte *' [-Wpointer-sign] M_Print (12, 32, "Not playing - switched off"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:314:20: warning: pointer types point to integer types with different sign passing 'char [19]', expected 'qbyte *' [-Wpointer-sign] M_Print (12, 32, "Currently playing:"); ^~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:315:20: warning: pointer types point to integer types with different sign passing 'char [128]', expected 'qbyte *' [-Wpointer-sign] M_Print (12, 40, currenttrack.nicename); ^~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:329:4: warning: pointer types point to integer types with different sign passing 'char [7]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Volume", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:329:26: note: instantiated from: MP_Hightlight (12, y, "Volume", op == selectedoption); ^~~~~~~~ ./client/m_mp3.c:329:4: warning: pointer types point to integer types with different sign passing 'char [7]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Volume", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:329:26: note: instantiated from: MP_Hightlight (12, y, "Volume", op == selectedoption); ^~~~~~~~ ./client/m_mp3.c:333:4: warning: pointer types point to integer types with different sign passing 'char [10]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Clear all", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:333:26: note: instantiated from: MP_Hightlight (12, y, "Clear all", op == selectedoption); ^~~~~~~~~~~ ./client/m_mp3.c:333:4: warning: pointer types point to integer types with different sign passing 'char [10]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Clear all", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:333:26: note: instantiated from: MP_Hightlight (12, y, "Clear all", op == selectedoption); ^~~~~~~~~~~ ./client/m_mp3.c:337:4: warning: pointer types point to integer types with different sign passing 'char [16]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, ">> Fast Forward", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:337:26: note: instantiated from: MP_Hightlight (12, y, ">> Fast Forward", op == selectedoption); ^~~~~~~~~~~~~~~~~ ./client/m_mp3.c:337:4: warning: pointer types point to integer types with different sign passing 'char [16]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, ">> Fast Forward", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:337:26: note: instantiated from: MP_Hightlight (12, y, ">> Fast Forward", op == selectedoption); ^~~~~~~~~~~~~~~~~ ./client/m_mp3.c:341:4: warning: pointer types point to integer types with different sign passing 'char [10]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "<< Rewind", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:341:26: note: instantiated from: MP_Hightlight (12, y, "<< Rewind", op == selectedoption); ^~~~~~~~~~~ ./client/m_mp3.c:341:4: warning: pointer types point to integer types with different sign passing 'char [10]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "<< Rewind", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:341:26: note: instantiated from: MP_Hightlight (12, y, "<< Rewind", op == selectedoption); ^~~~~~~~~~~ ./client/m_mp3.c:345:4: warning: pointer types point to integer types with different sign passing 'char [10]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Add Track", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:345:26: note: instantiated from: MP_Hightlight (12, y, "Add Track", op == selectedoption); ^~~~~~~~~~~ ./client/m_mp3.c:345:4: warning: pointer types point to integer types with different sign passing 'char [10]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Add Track", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:345:26: note: instantiated from: MP_Hightlight (12, y, "Add Track", op == selectedoption); ^~~~~~~~~~~ ./client/m_mp3.c:347:30: warning: pointer types point to integer types with different sign passing 'char [256]', expected 'qbyte *' [-Wpointer-sign] M_PrintWhite (12+9*8, y, media_iofilename); ^~~~~~~~~~~~~~~~ ./client/m_mp3.c:351:4: warning: pointer types point to integer types with different sign passing 'char [9]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Add List", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:351:26: note: instantiated from: MP_Hightlight (12, y, "Add List", op == selectedoption); ^~~~~~~~~~ ./client/m_mp3.c:351:4: warning: pointer types point to integer types with different sign passing 'char [9]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Add List", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:351:26: note: instantiated from: MP_Hightlight (12, y, "Add List", op == selectedoption); ^~~~~~~~~~ ./client/m_mp3.c:353:30: warning: pointer types point to integer types with different sign passing 'char [256]', expected 'qbyte *' [-Wpointer-sign] M_PrintWhite (12+9*8, y, media_iofilename); ^~~~~~~~~~~~~~~~ ./client/m_mp3.c:358:5: warning: pointer types point to integer types with different sign passing 'char [11]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Shuffle on", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:358:27: note: instantiated from: MP_Hightlight (12, y, "Shuffle on", op == selectedoption); ^~~~~~~~~~~~ ./client/m_mp3.c:358:5: warning: pointer types point to integer types with different sign passing 'char [11]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Shuffle on", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:358:27: note: instantiated from: MP_Hightlight (12, y, "Shuffle on", op == selectedoption); ^~~~~~~~~~~~ ./client/m_mp3.c:360:5: warning: pointer types point to integer types with different sign passing 'char [12]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Shuffle off", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:360:27: note: instantiated from: MP_Hightlight (12, y, "Shuffle off", op == selectedoption); ^~~~~~~~~~~~~ ./client/m_mp3.c:360:5: warning: pointer types point to integer types with different sign passing 'char [12]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Shuffle off", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:360:27: note: instantiated from: MP_Hightlight (12, y, "Shuffle off", op == selectedoption); ^~~~~~~~~~~~~ ./client/m_mp3.c:367:6: warning: pointer types point to integer types with different sign passing 'char [10]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Repeat on", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:367:28: note: instantiated from: MP_Hightlight (12, y, "Repeat on", op == selectedoption); ^~~~~~~~~~~ ./client/m_mp3.c:367:6: warning: pointer types point to integer types with different sign passing 'char [10]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Repeat on", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:367:28: note: instantiated from: MP_Hightlight (12, y, "Repeat on", op == selectedoption); ^~~~~~~~~~~ ./client/m_mp3.c:369:6: warning: pointer types point to integer types with different sign passing 'char [11]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Repeat off", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:369:28: note: instantiated from: MP_Hightlight (12, y, "Repeat off", op == selectedoption); ^~~~~~~~~~~~ ./client/m_mp3.c:369:6: warning: pointer types point to integer types with different sign passing 'char [11]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "Repeat off", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:369:28: note: instantiated from: MP_Hightlight (12, y, "Repeat off", op == selectedoption); ^~~~~~~~~~~~ ./client/m_mp3.c:374:6: warning: pointer types point to integer types with different sign passing 'char [12]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "(Repeat on)", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:374:28: note: instantiated from: MP_Hightlight (12, y, "(Repeat on)", op == selectedoption); ^~~~~~~~~~~~~ ./client/m_mp3.c:374:6: warning: pointer types point to integer types with different sign passing 'char [12]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "(Repeat on)", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:374:28: note: instantiated from: MP_Hightlight (12, y, "(Repeat on)", op == selectedoption); ^~~~~~~~~~~~~ ./client/m_mp3.c:376:6: warning: pointer types point to integer types with different sign passing 'char [13]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "(Repeat off)", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:376:28: note: instantiated from: MP_Hightlight (12, y, "(Repeat off)", op == selectedoption); ^~~~~~~~~~~~~~ ./client/m_mp3.c:376:6: warning: pointer types point to integer types with different sign passing 'char [13]', expected 'qbyte *' [-Wpointer-sign] MP_Hightlight (12, y, "(Repeat off)", op == selectedoption); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:376:28: note: instantiated from: MP_Hightlight (12, y, "(Repeat off)", op == selectedoption); ^~~~~~~~~~~~~~ ./client/m_mp3.c:388:25: warning: pointer types point to integer types with different sign passing 'char [128]', expected 'qbyte *' [-Wpointer-sign] M_PrintWhite (12, y, track->nicename); ^~~~~~~~~~~~~~~ ./client/m_mp3.c:390:20: warning: pointer types point to integer types with different sign passing 'char [128]', expected 'qbyte *' [-Wpointer-sign] M_Print (12, y, track->nicename); ^~~~~~~~~~~~~~~ ./client/m_mp3.c:623:15: warning: pointer types point to integer types with different sign initializing 'qbyte *', expected 'char *' [-Wpointer-sign] char *data = COM_LoadTempFile(listname); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./client/m_mp3.c:1237:33: warning: incompatible pointer types passing 'qbyte **', expected 'void **' fsize = FS_LoadFile(fullname, &file); ^~~~~ ./client/m_mp3.c:1241:34: warning: incompatible pointer types passing 'qbyte **', expected 'void **' fsize = FS_LoadFile(fullname, &file); ^~~~~ ./client/m_mp3.c:2134:16: warning: incompatible pointer types assigning 'int (soundcardinfo_t *)', expected 'unsigned int (*)(soundcardinfo_t *)' sc->GetDMAPos = MSD_GetDMAPos; ^ ~~~~~~~~~~~~~ ./client/snd_mem.c 38 diagnostics generated. ./client/snd_mem.c:747:16: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'signed char *' [-Wpointer-sign] COM_CharBias(data + info.dataofs, sc->length*sc->numchannels); ^~~~~~~~~~~~~~~~~~~ ./client/roq_read.c ./client/clq2_cin.c 1 diagnostic generated. ./client/clq2_cin.c:330:16: warning: pointer types point to integer types with different sign passing 'qbyte [6300]', expected 'signed char *' [-Wpointer-sign] COM_CharBias(samples, count*cin->s_channels); ^~~~~~~ ./client/snd_mix.c 2 diagnostics generated. ./client/snd_mp3.c 1 diagnostic generated. ./client/net_master.c:584:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Master_AddMaster: add ipv6. don't care about tcp/irc.") ^ ./client/net_master.c:788:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NET_SendPollPacket: no support for ipv6") ^ 2 diagnostics generated. ./client/r_bulleten.c ./client/net_master.c ./client/r_part.c ./client/net_master.c:584:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("Master_AddMaster: add ipv6. don't care about tcp/irc.") ^ ./client/net_master.c:788:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NET_SendPollPacket: no support for ipv6") ^ ./client/net_master.c:866:115: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] ret = recvfrom (usesocket, (char *)net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ ./client/snd_ov.c ./client/valid.c:297:3: warning: #warning is allowing the user to turn this off practical?.. [-W#warnings] #warning is allowing the user to turn this off practical?.. ^ ./client/valid.c:437:2: warning: #warning "here's a question... Should we latch the ruleset unconditionally, or only when someone actually cares?" [-W#warnings] #warning "here's a question... Should we latch the ruleset unconditionally, or only when someone actually cares?" ^ ./client/valid.c:438:2: warning: #warning if we do it only when someone checks, we have a lot more checking, otherwise we have a freer tournament if the users choose to play that way [-W#warnings] #warning if we do it only when someone checks, we have a lot more checking, otherwise we have a freer tournament if the users choose to play that way ^ ./client/valid.c:439:2: warning: #warning "I'm going to do it the old-fashioned way" [-W#warnings] #warning "I'm going to do it the old-fashioned way" ^ ./client/valid.c:440:2: warning: #warning (yes, this is one for molgrum to resolve!) [-W#warnings] #warning (yes, this is one for molgrum to resolve!) ^ ./client/valid.c:539:3: warning: #warning fixme: the following line should not be needed. ensure this is the case [-W#warnings] #warning fixme: the following line should not be needed. ensure this is the case ^ 6 diagnostics generated. ./client/valid.c ./client/valid.c:198:51: warning: pointer types point to integer types with different sign passing 'char *', expected 'unsigned char *' [-Wpointer-sign] resp = Security_Verify_Response(f_query_client, crc, cl.players[f_query_client].userinfo, cl.serverinfo); ^~~ ./client/valid.c:297:3: warning: #warning is allowing the user to turn this off practical?.. [-W#warnings] #warning is allowing the user to turn this off practical?.. ^ ./client/valid.c:437:2: warning: #warning "here's a question... Should we latch the ruleset unconditionally, or only when someone actually cares?" [-W#warnings] #warning "here's a question... Should we latch the ruleset unconditionally, or only when someone actually cares?" ^ ./client/valid.c:438:2: warning: #warning if we do it only when someone checks, we have a lot more checking, otherwise we have a freer tournament if the users choose to play that way [-W#warnings] #warning if we do it only when someone checks, we have a lot more checking, otherwise we have a freer tournament if the users choose to play that way ^ ./client/valid.c:439:2: warning: #warning "I'm going to do it the old-fashioned way" [-W#warnings] #warning "I'm going to do it the old-fashioned way" ^ ./client/valid.c:440:2: warning: #warning (yes, this is one for molgrum to resolve!) [-W#warnings] #warning (yes, this is one for molgrum to resolve!) ^ ./client/valid.c:539:3: warning: #warning fixme: the following line should not be needed. ensure this is the case [-W#warnings] #warning fixme: the following line should not be needed. ensure this is the case ^ ./client/view.c ./client/p_script.c:3804:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme: no line sparks") ^ 1 diagnostic generated. ./client/p_script.c 7 diagnostics generated. ./client/wad.c ./client/p_script.c:3804:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme: no line sparks") ^ 3 diagnostics generated. ./client/p_null.c ./http/ftpclient.c ./client/p_classic.c ./client/r_partset.c ./http/httpclient.c ./client/pr_menu.c ./qclib/comprout.c ./client/renderer.c ./qclib/hash.c ./client/renderque.c ./qclib/initlib.c ./qclib/initlib.c:694:2: warning: pointer types point to integer types with different sign initializing 'int *', expected 'unsigned int *' [-Wpointer-sign] &safesv_num_edicts, //int *sv_num_edicts; ^~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c 1 diagnostic generated. 1 diagnostic generated. ./qclib/pr_edict.c ./client/sbar.c:25:9./qclib/pr_edict.c:2618:18: warning: pointer types point to integer types with different sign assigning 'unsigned int *', expected 'int *' [-Wpointer-sign] pr_linenums = file + 6; ^ ~~~~~~~~ ./qclib/pr_edict.c:3018:8: warning: pointer types point to integer types with different sign assigning 'unsigned int *', expected 'int *' [-Wpointer-sign] d2 = ED_FindGlobalOfsFromProgs(progfuncs, s, 0, ev_function); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./qclib/pr_edict.c:3091:8: warning: pointer types point to integer types with different sign assigning 'unsigned int *', expected 'int *' [-Wpointer-sign] d2 = ED_FindGlobalOfsFromProgs(progfuncs, s, 0, ev_function); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : ./qclib/pr_exec.c warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("hipnotic/rogue: Find out") ^ 1 diagnostic generated. ./qclib/pr_multi.c ./client/sbar.c ./client/sbar.c:25:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("hipnotic/rogue: Find out") ^ ./client/sbar.c:1034:119: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte const *' [-Wpointer-sign] Draw_TinyString (sbar_rect.x + x /*+ ((sbar_rect.width - 320)>>1) */, sbar_rect.y + y+ sbar_rect.height-SBAR_HEIGHT, str); ^~~ ./qclib/pr_x86.c ./qclib/qcc_cmdlib.c ./qclib/qccmain.c ./client/skin.c 3 diagnostics generated. ./qclib/qcc_pr_comp.c ./qclib/qcc_pr_lex.c ./client/snd_dma.c ./client/snd_mem.c ./client/snd_mem.c:747:16: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'signed char *' [-Wpointer-sign] COM_CharBias(data + info.dataofs, sc->length*sc->numchannels); ^~~~~~~~~~~~~~~~~~~ 2 diagnostics generated. 1 diagnostic generated. ./qclib/qcdecomp.c ./qclib/qcd_main.c ./client/snd_mix.c ./client/snd_mp3.c ./client/valid.c:297:3: warning: #warning is allowing the user to turn this off practical?.. [-W#warnings] #warning is allowing the user to turn this off practical?.. ^ ./client/valid.c:437:2: warning: #warning "here's a question... Should we latch the ruleset unconditionally, or only when someone actually cares?" [-W#warnings] #warning "here's a question... Should we latch the ruleset unconditionally, or only when someone actually cares?" ^ ./client/valid.c:438:2: warning: #warning if we do it only when someone checks, we have a lot more checking, otherwise we have a freer tournament if the users choose to play that way [-W#warnings] #warning if we do it only when someone checks, we have a lot more checking, otherwise we have a freer tournament if the users choose to play that way ^ ./client/valid.c:439:2: warning: #warning "I'm going to do it the old-fashioned way" [-W#warnings] #warning "I'm going to do it the old-fashioned way" ^ ./client/valid.c:440:2: warning: #warning (yes, this is one for molgrum to resolve!) [-W#warnings] #warning (yes, this is one for molgrum to resolve!) ^ ./client/valid.c:539:3: warning: #warning fixme: the following line should not be needed. ensure this is the case [-W#warnings] #warning fixme: the following line should not be needed. ensure this is the case ^ 6 diagnostics generated. ./client/valid.c ./client/snd_ov.c ./client/view.c ./client/valid.c:198:51: warning: pointer types point to integer types with different sign passing 'char *', expected 'unsigned char *' [-Wpointer-sign] resp = Security_Verify_Response(f_query_client, crc, cl.players[f_query_client].userinfo, cl.serverinfo); ^~~ ./client/valid.c:297:3: warning: #warning is allowing the user to turn this off practical?.. [-W#warnings] #warning is allowing the user to turn this off practical?.. ^ ./client/valid.c:437:2: warning: #warning "here's a question... Should we latch the ruleset unconditionally, or only when someone actually cares?" [-W#warnings] #warning "here's a question... Should we latch the ruleset unconditionally, or only when someone actually cares?" ^ ./client/valid.c:438:2: warning: #warning if we do it only when someone checks, we have a lot more checking, otherwise we have a freer tournament if the users choose to play that way [-W#warnings] #warning if we do it only when someone checks, we have a lot more checking, otherwise we have a freer tournament if the users choose to play that way ^ ./client/valid.c:439:2: warning: #warning "I'm going to do it the old-fashioned way" [-W#warnings] #warning "I'm going to do it the old-fashioned way" ^ ./client/valid.c:440:2: warning: #warning (yes, this is one for molgrum to resolve!) [-W#warnings] #warning (yes, this is one for molgrum to resolve!) ^ ./client/valid.c:539:3: warning: #warning fixme: the following line should not be needed. ensure this is the case [-W#warnings] #warning fixme: the following line should not be needed. ensure this is the case ^ clang -m64 -DCLANG -o release/mingl_linux64/../fteqw.mingl64 -DCLIENTONLY -DGLQUAKE -I/usr/X11R6/include -DUSE_DGA -DMINIMAL -O2 -fno-strict-aliasing ./release/mingl_linux64/gl_alias.o ./release/mingl_linux64/gl_draw.o ./release/mingl_linux64/gl_model.o ./release/mingl_linux64/gl_ngraph.o ./release/mingl_linux64/gl_backend.o ./release/mingl_linux64/gl_rlight.o ./release/mingl_linux64/gl_rmain.o ./release/mingl_linux64/gl_rmisc.o ./release/mingl_linux64/gl_font.o ./release/mingl_linux64/gl_heightmap.o ./release/mingl_linux64/gl_rsurf.o ./release/mingl_linux64/r_surf.o ./release/mingl_linux64/ltface.o ./release/mingl_linux64/r_2d.o ./release/mingl_linux64/gl_screen.o ./release/mingl_linux64/gl_bloom.o ./release/mingl_linux64/gl_shadow.o ./release/mingl_linux64/gl_shader.o ./release/mingl_linux64/gl_warp.o ./release/mingl_linux64/gl_vidcommon.o ./release/mingl_linux64/gl_hlmdl.o ./release/mingl_linux64/gl_vidlinuxglx.o ./release/mingl_linux64/snd_linux.o ./release/mingl_linux64/snd_alsa.oo ./release/mingl_linux64/cd_linux.o ./release/mingl_linux64/sys_linux.o ./release/mingl_linux64/com_mesh.o ./release/mingl_linux64/com_phys_ode.o ./release/mingl_linux64/common.o ./release/mingl_linux64/cvar.o ./release/mingl_linux64/cmd.o ./release/mingl_linux64/crc.o ./release/mingl_linux64/fs.o ./release/mingl_linux64/fs_stdio.o ./release/mingl_linux64/fs_pak.o ./release/mingl_linux64/fs_zip.o ./release/mingl_linux64/mathlib.o ./release/mingl_linux64/huff.o ./release/mingl_linux64/md4.o ./release/mingl_linux64/log.o ./release/mingl_linux64/net_chan.o ./release/mingl_linux64/net_wins.o ./release/mingl_linux64/zone.o ./release/mingl_linux64/qvm.o ./release/mingl_linux64/gl_q2bsp.o ./release/mingl_linux64/glmod_doom.o ./release/mingl_linux64/q3common.o ./release/mingl_linux64/pmove.o ./release/mingl_linux64/pmovetst.o ./release/mingl_linux64/iwebiface.o ./release/mingl_linux64/translate.o ./release/mingl_linux64/plugin.o ./release/mingl_linux64/q1bsp.o ./release/mingl_linux64/q2pmove.o ./release/mingl_linux64/textedit.o ./release/mingl_linux64/fragstats.o ./release/mingl_linux64/teamplay.o ./release/mingl_linux64/zqtp.o ./release/mingl_linux64/cl_demo.o ./release/mingl_linux64/cl_ents.o ./release/mingl_linux64/clq2_ents.o ./release/mingl_linux64/cl_input.o ./release/mingl_linux64/cl_main.o ./release/mingl_linux64/cl_parse.o ./release/mingl_linux64/cl_pred.o ./release/mingl_linux64/cl_tent.o ./release/mingl_linux64/cl_cam.o ./release/mingl_linux64/cl_screen.o ./release/mingl_linux64/cl_ui.o ./release/mingl_linux64/cl_ignore.o ./release/mingl_linux64/cl_cg.o ./release/mingl_linux64/clq3_parse.o ./release/mingl_linux64/pr_csqc.o ./release/mingl_linux64/console.o ./release/mingl_linux64/image.o ./release/mingl_linux64/keys.o ./release/mingl_linux64/menu.o ./release/mingl_linux64/m_download.o ./release/mingl_linux64/m_master.o ./release/mingl_linux64/m_multi.o ./release/mingl_linux64/m_items.o ./release/mingl_linux64/m_options.o ./release/mingl_linux64/m_single.o ./release/mingl_linux64/m_script.o ./release/mingl_linux64/m_mp3.o ./release/mingl_linux64/roq_read.o ./release/mingl_linux64/clq2_cin.o ./release/mingl_linux64/net_master.o ./release/mingl_linux64/r_bulleten.o ./release/mingl_linux64/r_part.o ./release/mingl_linux64/p_script.o ./release/mingl_linux64/p_null.o ./release/mingl_linux64/p_classic.o ./release/mingl_linux64/r_partset.o ./release/mingl_linux64/renderer.o ./release/mingl_linux64/renderque.o ./release/mingl_linux64/sbar.o ./release/mingl_linux64/skin.o ./release/mingl_linux64/snd_dma.o ./release/mingl_linux64/snd_mem.o ./release/mingl_linux64/snd_mix.o ./release/mingl_linux64/snd_mp3.o ./release/mingl_linux64/snd_ov.o ./release/mingl_linux64/valid.o ./release/mingl_linux64/view.o ./release/mingl_linux64/wad.o ./release/mingl_linux64/ftpclient.o ./release/mingl_linux64/httpclient.o ./release/mingl_linux64/pr_menu.o ./release/mingl_linux64/comprout.o ./release/mingl_linux64/hash.o ./release/mingl_linux64/initlib.o ./release/mingl_linux64/pr_bgcmd.o ./release/mingl_linux64/pr_edict.o ./release/mingl_linux64/pr_exec.o ./release/mingl_linux64/pr_multi.o ./release/mingl_linux64/pr_x86.o ./release/mingl_linux64/qcc_cmdlib.o ./release/mingl_linux64/qccmain.o ./release/mingl_linux64/qcc_pr_comp.o ./release/mingl_linux64/qcc_pr_lex.o ./release/mingl_linux64/qcdecomp.o ./release/mingl_linux64/qcd_main.o -lm -ldl -lpthread -L/usr/X11R6/lib -lX11 -lXext -lpng -ljpeg -lXxf86vm -lXxf86dga -L./libs/64/ -I./libs/64/ -lz -lX11-xcb -lxcb-xlib -lxcb -lXdmcp -lXpm -lXau -lX11 -lXext 7 diagnostics generated. ./client/wad.c ./http/ftpclient.c /usr/bin/ld: Warning: alignment 8 of symbol `pe_null' in ./release/mingl_linux64/p_null.o is smaller than 16 in ./release/mingl_linux64/r_part.o /usr/bin/ld: Warning: alignment 8 of symbol `pe_classic' in ./release/mingl_linux64/p_classic.o is smaller than 16 in ./release/mingl_linux64/r_part.o /usr/bin/ld: Warning: alignment 8 of symbol `openglrendererinfo' in ./release/mingl_linux64/gl_vidcommon.o is smaller than 16 in ./release/mingl_linux64/renderer.o make[4]: Leaving directory `/home/moodles/wip/wip/engine' strip --strip-unneeded --remove-section=.comment ./release/mingl_linux64/../fteqw.mingl64 ./http/httpclient.c make[3]: Leaving directory `/home/moodles/wip/wip/engine' make[2]: Leaving directory `/home/moodles/wip/wip/engine' make[1]: Leaving directory `/home/moodles/wip/wip/engine' ./client/pr_menu.c ./qclib/comprout.c ./qclib/hash.c ./qclib/initlib.c ./client/pr_menu.c:382:45: ./qclib/initlib.c:694:2: warning: pointer types point to integer types with different sign initializing 'int *', expected 'unsigned int *' [-Wpointer-sign] &safesv_num_edicts, //int *sv_num_edicts; ^~~~~~~~~~~~~~~~~~ warning: pointer types point to integer types with different sign passing 'char *', expected 'unsigned char *' [-Wpointer-sign] G_FLOAT(OFS_RETURN) = COM_FunStringLength(text)*fontsize; ^~~~ 1 diagnostic generated. ./client/pr_menu.c:678:15: warning: pointer types point to integer types with different sign initializing 'qbyte *', expected 'char *' [-Wpointer-sign] char *file = COM_LoadTempFile(filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c ./qclib/pr_edict.c ./client/pr_menu.c:1819:25: warning: incompatible pointer types assigning 'qbyte *(char const *, void *, int)', expected 'unsigned char *(*)(char *, void *, int)' menuprogparms.ReadFile = COM_LoadStackFile;//char *(*ReadFile) (char *fname, void *buffer, int *len); ^ ~~~~~~~~~~~~~~~~~ ./client/pr_menu.c:1820:25: warning: incompatible pointer types assigning 'int (char const *)', expected 'int (*)(char *)' menuprogparms.FileSize = COM_FileSize;//int (*FileSize) (char *fname); //-1 if file does not exist ^ ~~~~~~~~~~~~ ./client/pr_menu.c:1850:30: warning: pointer types point to integer types with different sign assigning 'int *', expected 'unsigned int *' [-Wpointer-sign] menuprogparms.sv_num_edicts = &num_menu_edicts; ^ ~~~~~~~~~~~~~~~~ ./qclib/pr_exec.c ./common/pr_bgcmd.c:527:26: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] pf_fopen_files[i].data = FS_LoadMallocFile(pf_fopen_files[i].name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:531:27: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] pf_fopen_files[i].data = FS_LoadMallocFile(pf_fopen_files[i].name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:546:26: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] pf_fopen_files[i].data = FS_LoadMallocFile(pf_fopen_files[i].name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./qclib/pr_edict.c:2618:18: warning: pointer types point to integer types with different sign assigning 'unsigned int *', expected 'int *' [-Wpointer-sign] pr_linenums = file + 6; ^ ~~~~~~~~ ./qclib/pr_edict.c:3018:8: warning: pointer types point to integer types with different sign assigning 'unsigned int *', expected 'int *' [-Wpointer-sign] d2 = ED_FindGlobalOfsFromProgs(progfuncs, s, 0, ev_function); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./qclib/pr_edict.c:3091:8: warning: pointer types point to integer types with different sign assigning 'unsigned int *', expected 'int *' [-Wpointer-sign] d2 = ED_FindGlobalOfsFromProgs(progfuncs, s, 0, ev_function); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:1214:26: warning: pointer types point to integer types with different sign initializing 'char *', expected 'unsigned char *' [-Wpointer-sign] unsigned char *string = PF_VarString(prinst, 3, pr_globals); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:1215:19: warning: pointer types point to integer types with different sign passing 'unsigned char *', expected 'char const *' [-Wpointer-sign] int len = strlen(string); ^~~~~~ ./common/pr_bgcmd.c:1595:44: warning: pointer types point to integer types with different sign passing 'char *', expected 'unsigned char *' [-Wpointer-sign] G_FLOAT(OFS_RETURN) = COM_FunStringLength(in); ^~ ./common/pr_bgcmd.c:1877:44: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] G_FLOAT(OFS_RETURN) = QCRC_Block_AsLower(str, len); ^~~ ./common/pr_bgcmd.c:1879:36: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] G_FLOAT(OFS_RETURN) = QCRC_Block(str, len); ^~~ ./common/pr_bgcmd.c:1889:21: warning: pointer types point to integer types with different sign initializing 'char *', expected 'unsigned char *' [-Wpointer-sign] unsigned char *s = PR_GetStringOfs(prinst, OFS_PARM0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./qclib/progslib.h:251:38: note: instantiated from: #define PR_GetStringOfs(pf,o) (*pf->StringToNative) (pf, G_INT(o)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:1905:2: warning: pointer types point to integer types with different sign passing 'unsigned char [8192]', expected 'char *' [-Wpointer-sign] RETURN_TSTRING(result); ^~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:1905:17: note: instantiated from: RETURN_TSTRING(result); ^~~~~~ ./common/pr_bgcmd.c:1951:2: warning: pointer types point to integer types with different sign passing 'unsigned char [8192]', expected 'char *' [-Wpointer-sign] RETURN_TSTRING(resultbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./common/pr_bgcmd.c:1951:17: note: instantiated from: RETURN_TSTRING(resultbuf); ^~~~~~~~~ 5 diagnostics generated. ./qclib/pr_multi.c 11 diagnostics generated. ./qclib/pr_x86.c ./qclib/qcc_cmdlib.c 3 diagnostics generated. ./qclib/qccmain.c ./qclib/qccmain.c:1130:24: warning: incompatible integer to pointer conversion assigning 'int', expected 'char *' qcc_typeinfo[i].name = QCC_CopyDupBackString(qcc_typeinfo[i].name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./qclib/qcc_pr_comp.c ./qclib/qccmain.c:2781:5: warning: pointer types point to integer types with different sign assigning 'unsigned char *', expected 'char *' [-Wpointer-sign] s = externs->ReadFile("qcc.cfg", s, p); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./qclib/qcc_pr_lex.c ./qclib/qcc_pr_comp.c:8198:4: warning: expression result unused [-Wunused-value] *fieldofs++; ^~~~~~~~~~~ ./qclib/qcc_pr_comp.c:8292:46: warning: pointer types point to integer types with different sign passing 'int *', expected 'unsigned int *' [-Wpointer-sign] QCC_PR_DummyFieldDef(pass, "", pr_scope, 1, fields, true); ^~~~~~ 2 diagnostics generated. ./qclib/qcdecomp.c ./qclib/qcd_main.c ./server/pr_cmds.c:7936:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("PF_sv_particleeffectnum: which effect index values to use?") ^ ./server/pr_cmds.c:9031:11: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("PF_sv_gettaginfo: This function doesn't honour attachments") ^ 2 diagnostics generated. ./server/pr_q1qvm.c ./server/pr_cmds.c ./server/sv_master.c ./server/pr_q1qvm.c:356./server/pr_cmds.c:57:448:23:: warning: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] e->v = (stdentvars_t*)((char*)evars + (num * sv.world.edict_size) + WASTED_EDICT_T_SIZE); ^ incompatible pointer types assigning 'qbyte *(char const *, void *, int)', expected 'unsigned char *(*)(char *, void *, int)' svprogparms.ReadFile = COM_LoadStackFile;//char *(*ReadFile) (char *fname, void *buffer, int *len); ^ ~~~~~~~~~~~~~~~~~ ./server/pr_cmds.c:449:23: warning: incompatible pointer types assigning 'int (char const *)', expected 'int (*)(char *)' svprogparms.FileSize = COM_FileSize;//int (*FileSize) (char *fname); //-1 if file does not exist ^ ~~~~~~~~~~~~ ./server/pr_q1qvm.c:370:28: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] return e->entnum*sv.world.edict_size; ^ ./server/pr_q1qvm.c:374:21: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] if (num % sv.world.edict_size) ^ ./server/pr_q1qvm.c:376:18: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] num /= sv.world.edict_size; ^ ./server/pr_q1qvm.c:385:29: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] memset (e->v, 0, sv.world.edict_size - WASTED_EDICT_T_SIZE); ^ ./server/pr_q1qvm.c:454:18./server/pr_cmds.c:934:11: warning: : warning: 'edict_size' is deprecated [-Wdeprecated-declarations] 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size=svprogfuncs->load_ents(svprogfuncs, s, 0); ^ return sv.world.edict_size; ^ ./server/pr_cmds.c:1148:5: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] f = COM_LoadTempFile("maplist.txt"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/pr_q1qvm.c:704:70: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] int start = ((char*)VM_POINTER(arg[0]) - (char*)evars) / sv.world.edict_size; ^ ./server/pr_q1qvm.c:717:49: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] return (qintptr_t)(vevars + start*sv.world.edict_size); ^ ./server/pr_cmds.c:1225:4: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] a = COM_LoadStackFile("mod.gam", addons, 2048); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/pr_cmds.c:1344:9: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] a = as = COM_LoadStackFile(va("maps/%s.inf", sv.name), addons, 2048); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/pr_cmds.c:1446:11: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size = PR_InitEnts(svprogfuncs, sv.world.max_edicts); ^ ./server/pr_q1qvm.c:1052:53: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] int first = e?((char*)e - (char*)evars)/sv.world.edict_size:0; ^ ./server/pr_q1qvm.c:1207:79: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] unsigned int start = ((char*)VM_POINTER(arg[0]) - (char*)evars) / sv.world.edict_size; ^ ./server/pr_q1qvm.c:1211:55: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] return (qintptr_t)(vevars + (start+1) * sv.world.edict_size); ^ ./server/pr_q1qvm.c:1338:11: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size = 0; //if we get a division by zero, then at least its a safe crash ^ ./server/pr_q1qvm.c:1369:11: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size = gd->sizeofent; ^ ./server/pr_cmds.c:1728:79: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] return svprogfuncs->filefromprogs(svprogfuncs, prnumforfile, filename, NULL, buffer); ^~~~~~ ./server/pr_cmds.c:1728:9: warning: pointer types point to integer types with different sign returning 'char *', expected 'qbyte *' [-Wpointer-sign] return svprogfuncs->filefromprogs(svprogfuncs, prnumforfile, filename, NULL, buffer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/sv_master.c:151:127: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] net_message.cursize = recvfrom(svm.socketudp, net_message_buffer, sizeof(net_message_buffer)-1, 0, (struct sockaddr *)&addr, &addrlen); ^~~~~~~~ ./server/pr_cmds.c:6683:15: warning: pointer types point to integer types with different sign passing 'char *', expected 'unsigned char *' [-Wpointer-sign] PR_CleanText(text); ^~~~ ./server/pr_cmds.c:6737:33: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] memcpy(out->v, in->v, sv.world.edict_size); ^ ./server/pr_cmds.c:7445:56: warning: more data arguments than '%' conversions [-Wformat-extra-args] Con_Printf("FTE-H2 FIXME: ce_rain not supported!\n", efnum); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./server/pr_cmds.c:7455:56: warning: more data arguments than '%' conversions [-Wformat-extra-args] Con_Printf("FTE-H2 FIXME: ce_snow not supported!\n", efnum); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./server/pr_cmds.c:7465:60: warning: more data arguments than '%' conversions [-Wformat-extra-args] Con_Printf("FTE-H2 FIXME: ce_fountain not supported!\n", efnum); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./server/pr_cmds.c:7643:57: warning: more data arguments than '%' conversions [-Wformat-extra-args] Con_Printf("FTE-H2 FIXME: ce_chunk not supported!\n", efnum); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./server/pr_cmds.c:7781:27: warning: more data arguments than '%' conversions [-Wformat-extra-args] Con_DPrintf("rain go\n", (int)G_FLOAT(OFS_PARM0)); ~~~~~~~~~~~ ^ ./server/pr_cmds.c:7806:31: warning: more data arguments than '%' conversions [-Wformat-extra-args] Con_DPrintf("white flash\n", (int)G_FLOAT(OFS_PARM0)); ~~~~~~~~~~~~~~~ ^ ./server/pr_cmds.c:7936:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("PF_sv_particleeffectnum: which effect index values to use?") ^ ./server/pr_cmds.c:9031:11: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("PF_sv_gettaginfo: This function doesn't honour attachments") ^ 1 diagnostic generated. ./server/pr_cmds.c:10220:14: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] builtinmap = COM_LoadTempFile("fte_bimap.txt"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 diagnostics generated. ./server/sv_init.c ./server/sv_init.c:893:8: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile(sv_csqc_progname.string); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/sv_init.c:1310:8: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = FS_LoadMallocFile(va("maps/%s.ent", server)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/sv_init.c:1316:33: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] sprintf(crc, "%i", QCRC_Block(file, com_filesize)); ^~~~ ./server/sv_init.c:1324:13: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size = PR_LoadEnts(svprogfuncs, file, spawnflagmask); ^ ./server/sv_init.c:1350:13: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size = PR_LoadEnts(svprogfuncs, sv.world.worldmodel->entities, spawnflagmask); ^ ./server/sv_main.c:549:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("This mans that we may not see the reason we kicked ourselves.") ^ ./server/sv_main.c:866:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("this is a bug: it can be broadcast to all qw clients") ^ ./server/sv_main.c:3035:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: fixme: this will block qw+q3 clients from the same ip") ^ 3 diagnostics generated. ./server/sv_main.c ./server/sv_main.c:548:39: warning: pointer types point to integer types with different sign passing 'char [1]', expected 'qbyte *' [-Wpointer-sign] Netchan_Transmit(&drop->netchan, 0, "", SV_RateForClient(drop)); ^~ ./server/sv_main.c:549:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("This mans that we may not see the reason we kicked ourselves.") ^ ./server/sv_main.c:866:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("this is a bug: it can be broadcast to all qw clients") ^ ./server/sv_main.c:1413:53: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] Netchan_OutOfBand(NS_SERVER, net_from, over-buf, buf); ^~~ ./server/sv_main.c:1419:58: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] Netchan_OutOfBand(NS_SERVER, net_from, strlen(buf)+1, buf); ^~~ ./server/sv_main.c:1427:57: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] Netchan_OutOfBand(NS_SERVER, net_from, strlen(buf), buf); ^~~ ./server/sv_main.c:1578:10: warning: pointer types point to integer types with different sign assigning 'char [8192]', expected 'qbyte *' [-Wpointer-sign] sb.data = string; ^ ~~~~~~ ./server/sv_main.c:1698:28: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char const *' [-Wpointer-sign] Q_strncpyz (userinfo[0], net_message.data + 11, sizeof(userinfo[0])-1); ^~~~~~~~~~~~~~~~~~~~~ ./server/sv_main.c:2749:30: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] else if (!PR_GameCodePacket(net_message.data+4)) ^~~~~~~~~~~~~~~~~~ ./server/sv_main.c:2785:11: warning: pointer types point to integer types with different sign assigning 'char [256]', expected 'qbyte *' [-Wpointer-sign] sb.data = buffer; ^ ~~~~~~ ./server/sv_main.c:3035:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: fixme: this will block qw+q3 clients from the same ip") ^ 5 diagnostics generated. ./server/sv_nchan.c 2 diagnostics generated. ./server/sv_ents.c ./server/sv_ents.c:2027:7: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadStackFile("gibfiltr.cfg", buffer, sizeof(buffer)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/sv_send.c 11 diagnostics generated. ./server/sv_move.c:110:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("set_move_trace: fixme") ^ 1 diagnostic generated. ./server/sv_move.c 1 diagnostic generated. ./server/sv_move.c:110:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("set_move_trace: fixme") ^ 1 diagnostic generated. ./server/sv_phys.c:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme, fix this up before adding to csqc") ^ ./server/sv_user.c:5572:920 diagnostics generated. : warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("FIXME: make antilag optionally support non-player ents too") ^ 1 diagnostic generated. 1 diagnostic generated. ./server/sv_phys.c ./server/sv_user.c ./server/sv_phys.c:27:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("fixme, fix this up before adding to csqc") ^ ./server/sv_user.c:417:5: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] f = COM_LoadTempFile("csprogs.dat"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/sv_user.c:425:87: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] MSG_WriteString (&host_client->netchan.message, va("csqc_progcrc %i\n", QCRC_Block(f, com_filesize))); ^ ./server/sv_user.c:4600:4: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] s = COM_LoadStackFile("impfiltr.cfg", buffer, sizeof(buffer)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/sv_mvd.c ./server/sv_ccmds.c ./server/sv_user.c:5572:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("FIXME: make antilag optionally support non-player ents too") ^ ./server/sv_mvd.c:370:38: 1 diagnostic generated. warning: pointer types point to integer types with different sign passing 'char [64]', expected 'qbyte *' [-Wpointer-sign] QCRC_AddBlock(&ushort_result, p->challenge, strlen(p->challenge)); ^~~~~~~~~~~~ ./server/sv_mvd.c:371:38: warning: pointer types point to integer types with different sign passing 'char *', expected 'qbyte *' [-Wpointer-sign] QCRC_AddBlock(&ushort_result, qtv_password.string, strlen(qtv_password.string)); ^~~~~~~~~~~~~~~~~~~ ./server/sv_mvd.c:1638:11: warning: pointer types point to integer types with different sign assigning 'char [1450]', expected 'qbyte *' [-Wpointer-sign] buf.data = buf_data; ^ ~~~~~~~~ ./server/sv_mvd.c:1957:68: warning: pointer types point to integer types with different sign passing 'char *', expected 'unsigned char *' [-Wpointer-sign] Q_strncpyz(newname, va("%s%s", sv_demoPrefix.string, SV_CleanName(Cmd_Argv(1))), ^~~~~~~~~~~ ./server/sv_mvd.c:2240:65: warning: pointer types point to integer types with different sign passing 'char [1024]', expected 'unsigned char *' [-Wpointer-sign] Q_strncpyz(name, va("%s%s", sv_demoPrefix.string, SV_CleanName(name)), ^~~~ ./server/sv_mvd.c:2354:58: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] client = accept(listensocket, (struct sockaddr *)&addr, &addrlen); ^~~~~~~~ ./server/sv_rankin.c ./server/sv_chat.c ./server/sv_chat.c:76:7: warning: pointer types point to integer types with different sign assigning 'qbyte *', expected 'char *' [-Wpointer-sign] file = COM_LoadTempFile(va("dialog/%s.dlg", filename)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./server/sv_demo.c 4 diagnostics generated. 1 diagnostic generated. ./server/net_preparse.c:936:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NPP_NQWriteByte: this ignores SVC_SOUND from nq mods (nexuiz)") ^ 1 diagnostic generated. 6 diagnostics generated. ./server/savegame.c ./server/net_preparse.c ./server/world.c ./server/savegame.c:674:./server/net_preparse.c:64011: warning: 'edict_size' is deprecated [-Wdeprecated-declarations] sv.world.edict_size=svprogfuncs->load_ents(svprogfuncs, file, 0); ^ :48: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] NPP_SetInfo(&svs.clients[buffer[1]], "name", buffer+2); ^~~~~~~~ ./server/net_preparse.c:936:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("NPP_NQWriteByte: this ignores SVC_SOUND from nq mods (nexuiz)") ^ ./server/net_preparse.c:1344:48: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char *' [-Wpointer-sign] NPP_SetInfo(&svs.clients[buffer[1]], "name", buffer+2); ^~~~~~~~ ./server/net_preparse.c:1438:41: warning: pointer types point to integer types with different sign passing 'qbyte *', expected 'char const *' [-Wpointer-sign] Q_strncpyz(svs.clients[j].userinfo, (buffer+6), sizeof(svs.clients[j].userinfo)); ^~~~~~~~~~ ./server/svq2_ents.c 1 diagnostic generated. 4 diagnostics generated. ./server/svq2_game.c ./server/svq3_game.c:2117:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: other things will need to be packed into here.") ^ ./server/svq3_game.c:2328:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: This _WILL_ need extending") ^ ./server/svq3_game.c:2837:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: you need to be aware of this if you're making a compatible cgame") ^ 3 diagnostics generated. ./sndcodec/snd_vc.c ./server/svq3_game.c ./sndcodec/snd_voicecodecs.c ./sndcodec/g711.c ./server/svq3_game.c:1678:42: warning: incompatible pointer types passing 'int (int, ...)', expected 'sys_calldll_t' (aka 'intptr_t (*)(intptr_t, ...)') q3gamevm = VM_Create(NULL, "vm/qagame", Q3G_SystemCalls, Q3G_SystemCallsEx); ^~~~~~~~~~~~~~~ ./server/svq3_game.c:1678:59: warning: incompatible pointer types passing 'int (void *, unsigned int, int, int const *)', expected 'sys_callqvm_t' (aka 'int (*)(void *, uintptr_t, int, int const *)') q3gamevm = VM_Create(NULL, "vm/qagame", Q3G_SystemCalls, Q3G_SystemCallsEx); ^~~~~~~~~~~~~~~~~ ./server/svq3_game.c:2117:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: other things will need to be packed into here.") ^ ./server/svq3_game.c:2328:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: This _WILL_ need extending") ^ ./server/svq3_game.c:2837:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma message("qwoverq3: you need to be aware of this if you're making a compatible cgame") ^ ./sndcodec/g721.c ./sndcodec/g723_24.c ./sndcodec/g723_40.c ./sndcodec/g72x.c ./http/webgen.c ./http/ftpserver.c ./http/httpserver.c ./http/ftpserver.c:194:51: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] if (getsockname(socket, (struct sockaddr*)&addr, &adrlen) == -1) ^~~~~~~ ./http/ftpserver.c:206:51: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] if (getpeername(socket, (struct sockaddr*)&addr, &adrlen) == -1) ^~~~~~~ ./http/ftpserver.c:532:58: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] temp = accept(cl->datasock, (struct sockaddr *)&adr, &adrlen); ^~~~~~~ ./http/ftpserver.c:587:58: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] temp = accept(cl->datasock, (struct sockaddr *)&adr, &adrlen); ^~~~~~~ ./http/ftpserver.c:666:59: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] temp = accept(cl->datasock, (struct sockaddr *)&adr, &adrlen); ^~~~~~~ ./http/ftpserver.c:828:65: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] clientsock = accept(ftpserversocket, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ ./http/httpserver.c:524:66: warning: pointer types point to integer types with different sign passing 'int *', expected 'socklen_t *restrict' [-Wpointer-sign] clientsock = accept(httpserversocket, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ 1 diagnostic generated. 6 diagnostics generated. 5 diagnostics generated. clang -m64 -DCLANG -o release/gl_linux64/../fteqw.gl64 -DGLQUAKE -I/usr/X11R6/include -DUSE_DGA -O2 -fno-strict-aliasing ./release/gl_linux64/gl_alias.o ./release/gl_linux64/gl_draw.o ./release/gl_linux64/gl_model.o ./release/gl_linux64/gl_ngraph.o ./release/gl_linux64/gl_backend.o ./release/gl_linux64/gl_rlight.o ./release/gl_linux64/gl_rmain.o ./release/gl_linux64/gl_rmisc.o ./release/gl_linux64/gl_font.o ./release/gl_linux64/gl_heightmap.o ./release/gl_linux64/gl_rsurf.o ./release/gl_linux64/r_surf.o ./release/gl_linux64/ltface.o ./release/gl_linux64/r_2d.o ./release/gl_linux64/gl_screen.o ./release/gl_linux64/gl_bloom.o ./release/gl_linux64/gl_shadow.o ./release/gl_linux64/gl_shader.o ./release/gl_linux64/gl_warp.o ./release/gl_linux64/gl_vidcommon.o ./release/gl_linux64/gl_hlmdl.o ./release/gl_linux64/gl_vidlinuxglx.o ./release/gl_linux64/snd_linux.o ./release/gl_linux64/snd_alsa.oo ./release/gl_linux64/cd_linux.o ./release/gl_linux64/sys_linux.o ./release/gl_linux64/com_mesh.o ./release/gl_linux64/com_phys_ode.o ./release/gl_linux64/common.o ./release/gl_linux64/cvar.o ./release/gl_linux64/cmd.o ./release/gl_linux64/crc.o ./release/gl_linux64/fs.o ./release/gl_linux64/fs_stdio.o ./release/gl_linux64/fs_pak.o ./release/gl_linux64/fs_zip.o ./release/gl_linux64/mathlib.o ./release/gl_linux64/huff.o ./release/gl_linux64/md4.o ./release/gl_linux64/log.o ./release/gl_linux64/net_chan.o ./release/gl_linux64/net_wins.o ./release/gl_linux64/zone.o ./release/gl_linux64/qvm.o ./release/gl_linux64/gl_q2bsp.o ./release/gl_linux64/glmod_doom.o ./release/gl_linux64/q3common.o ./release/gl_linux64/pmove.o ./release/gl_linux64/pmovetst.o ./release/gl_linux64/iwebiface.o ./release/gl_linux64/translate.o ./release/gl_linux64/plugin.o ./release/gl_linux64/q1bsp.o ./release/gl_linux64/q2pmove.o ./release/gl_linux64/textedit.o ./release/gl_linux64/fragstats.o ./release/gl_linux64/teamplay.o ./release/gl_linux64/zqtp.o ./release/gl_linux64/cl_demo.o ./release/gl_linux64/cl_ents.o ./release/gl_linux64/clq2_ents.o ./release/gl_linux64/cl_input.o ./release/gl_linux64/cl_main.o ./release/gl_linux64/cl_parse.o ./release/gl_linux64/cl_pred.o ./release/gl_linux64/cl_tent.o ./release/gl_linux64/cl_cam.o ./release/gl_linux64/cl_screen.o ./release/gl_linux64/cl_ui.o ./release/gl_linux64/cl_ignore.o ./release/gl_linux64/cl_cg.o ./release/gl_linux64/clq3_parse.o ./release/gl_linux64/pr_csqc.o ./release/gl_linux64/console.o ./release/gl_linux64/image.o ./release/gl_linux64/keys.o ./release/gl_linux64/menu.o ./release/gl_linux64/m_download.o ./release/gl_linux64/m_master.o ./release/gl_linux64/m_multi.o ./release/gl_linux64/m_items.o ./release/gl_linux64/m_options.o ./release/gl_linux64/m_single.o ./release/gl_linux64/m_script.o ./release/gl_linux64/m_mp3.o ./release/gl_linux64/roq_read.o ./release/gl_linux64/clq2_cin.o ./release/gl_linux64/net_master.o ./release/gl_linux64/r_bulleten.o ./release/gl_linux64/r_part.o ./release/gl_linux64/p_script.o ./release/gl_linux64/p_null.o ./release/gl_linux64/p_classic.o ./release/gl_linux64/r_partset.o ./release/gl_linux64/renderer.o ./release/gl_linux64/renderque.o ./release/gl_linux64/sbar.o ./release/gl_linux64/skin.o ./release/gl_linux64/snd_dma.o ./release/gl_linux64/snd_mem.o ./release/gl_linux64/snd_mix.o ./release/gl_linux64/snd_mp3.o ./release/gl_linux64/snd_ov.o ./release/gl_linux64/valid.o ./release/gl_linux64/view.o ./release/gl_linux64/wad.o ./release/gl_linux64/ftpclient.o ./release/gl_linux64/httpclient.o ./release/gl_linux64/pr_menu.o ./release/gl_linux64/comprout.o ./release/gl_linux64/hash.o ./release/gl_linux64/initlib.o ./release/gl_linux64/pr_bgcmd.o ./release/gl_linux64/pr_edict.o ./release/gl_linux64/pr_exec.o ./release/gl_linux64/pr_multi.o ./release/gl_linux64/pr_x86.o ./release/gl_linux64/qcc_cmdlib.o ./release/gl_linux64/qccmain.o ./release/gl_linux64/qcc_pr_comp.o ./release/gl_linux64/qcc_pr_lex.o ./release/gl_linux64/qcdecomp.o ./release/gl_linux64/qcd_main.o ./release/gl_linux64/pr_cmds.o ./release/gl_linux64/pr_q1qvm.o ./release/gl_linux64/sv_master.o ./release/gl_linux64/sv_init.o ./release/gl_linux64/sv_main.o ./release/gl_linux64/sv_nchan.o ./release/gl_linux64/sv_ents.o ./release/gl_linux64/sv_send.o ./release/gl_linux64/sv_move.o ./release/gl_linux64/sv_phys.o ./release/gl_linux64/sv_user.o ./release/gl_linux64/sv_mvd.o ./release/gl_linux64/sv_ccmds.o ./release/gl_linux64/sv_rankin.o ./release/gl_linux64/sv_chat.o ./release/gl_linux64/sv_demo.o ./release/gl_linux64/world.o ./release/gl_linux64/net_preparse.o ./release/gl_linux64/savegame.o ./release/gl_linux64/svq2_ents.o ./release/gl_linux64/svq2_game.o ./release/gl_linux64/svq3_game.o ./release/gl_linux64/snd_vc.o ./release/gl_linux64/snd_voicecodecs.o ./release/gl_linux64/g711.o ./release/gl_linux64/g721.o ./release/gl_linux64/g723_24.o ./release/gl_linux64/g723_40.o ./release/gl_linux64/g72x.o ./release/gl_linux64/webgen.o ./release/gl_linux64/ftpserver.o ./release/gl_linux64/httpserver.o -lm -ldl -lpthread -L/usr/X11R6/lib -lX11 -lXext -lpng -ljpeg -lXxf86vm -lXxf86dga -L./libs/64/ -I./libs/64/ -lz -lX11-xcb -lxcb-xlib -lxcb -lXdmcp -lXpm -lXau -lX11 -lXext /usr/bin/ld: Warning: alignment 8 of symbol `pe_script' in ./release/gl_linux64/p_script.o is smaller than 16 in ./release/gl_linux64/r_part.o /usr/bin/ld: Warning: alignment 8 of symbol `pe_null' in ./release/gl_linux64/p_null.o is smaller than 16 in ./release/gl_linux64/r_part.o /usr/bin/ld: Warning: alignment 8 of symbol `pe_classic' in ./release/gl_linux64/p_classic.o is smaller than 16 in ./release/gl_linux64/r_part.o /usr/bin/ld: Warning: alignment 8 of symbol `openglrendererinfo' in ./release/gl_linux64/gl_vidcommon.o is smaller than 16 in ./release/gl_linux64/renderer.o make[4]: Leaving directory `/home/moodles/wip/wip/engine' strip --strip-unneeded --remove-section=.comment ./release/gl_linux64/../fteqw.gl64 make[3]: Leaving directory `/home/moodles/wip/wip/engine' make[2]: Leaving directory `/home/moodles/wip/wip/engine' make[1]: Leaving directory `/home/moodles/wip/wip/engine'