------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for quake2max-0.45_14: CLIENT=on: Build original client DEDICATED=on: Build dedicated server GAME=off: Build main game (default mod) GLX=on: Build OpenGL renderer OPTIMIZED_CFLAGS=on: Use extra compiler optimizations SDLCLIENT=on: Build SDL client SDLGL=on: Build SDL OpenGL renderer ===> Use 'make config' to modify these settings SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/quake2max XDG_CONFIG_HOME=/construction/games/quake2max XDG_CACHE_HOME=/construction/games/quake2max/.cache HOME=/construction/games/quake2max TMPDIR="/tmp" PATH=/construction/games/quake2max/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/quake2max/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- LIBDIR="/usr/local/lib/quake2max" BUILD_QUAKE2MAX=YES BUILD_DEDICATED=YES BUILD_GLX=YES WITH_OPTIMIZED_CFLAGS=YES BUILD_QUAKE2MAX-SDL=YES BUILD_SDLGL=YES Q2DIR="/usr/local/share/quake2" SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/quake2max XDG_CONFIG_HOME=/construction/games/quake2max XDG_CACHE_HOME=/construction/games/quake2max/.cache HOME=/construction/games/quake2max TMPDIR="/tmp" PATH=/construction/games/quake2max/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/quake2max/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/games/quake2max/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- LIBDIR="lib/quake2max" CLIENT="" DEDICATED="" GAME="@comment " GLX="" SDLCLIENT="" SDLGL="" Q2DIR="share/quake2" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/quake2max" EXAMPLESDIR="share/examples/quake2max" DATADIR="share/quake2max" WWWDIR="www/quake2max" ETCDIR="etc/quake2max" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- Q2DIR="/usr/local/share/quake2" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/quake2max DOCSDIR=/usr/local/share/doc/quake2max EXAMPLESDIR=/usr/local/share/examples/quake2max WWWDIR=/usr/local/www/quake2max ETCDIR=/usr/local/etc/quake2max SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/openssl-1.1.1u,1.pkg Installing /packages/All/unrar-6.22,6.pkg Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/gmake-4.3_2.pkg Installing /packages/All/ncurses-6.4.pkg ===== Message from ncurses-6.4: -- To get the terminfo database please install the terminfo-db package: pkg install terminfo-db Installing /packages/All/aalib-1.4.r5_13.pkg ===== Message from aalib-1.4.r5_13: -- ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing Installing /packages/All/libXau-1.0.9.pkg Installing /packages/All/xorgproto-2022.1_1.pkg Installing /packages/All/libXdmcp-1.1.3.pkg Installing /packages/All/libxcb-1.15_1.pkg Installing /packages/All/libX11-1.8.6,1.pkg Installing /packages/All/libXext-1.3.4,1.pkg Installing /packages/All/libglvnd-1.6.0.pkg Installing /packages/All/libGLU-9.0.2_2.pkg Installing /packages/All/libXrender-0.9.10_2.pkg Installing /packages/All/libXrandr-1.5.2.pkg Installing /packages/All/sdl-1.2.15_15,2.pkg ===== Message from sdl-1.2.15_15,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". Installing /packages/All/libXxf86vm-1.1.4_3.pkg Installing /packages/All/libXxf86dga-1.1.6.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. Installing /packages/All/png-1.6.39.pkg Installing /packages/All/jpeg-turbo-2.1.5.1.pkg Installing /packages/All/quake2-data-3.20_3.pkg ===== Message from quake2-data-3.20_3: -- To complete the installation of this port you need to copy the file "baseq2/pak0.pak" from the original Quake II distribution to /usr/local/share/quake2/baseq2. SUCCEEDED 00:00:09 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> quake2max-0.45_14 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> quake2max-0.45_14 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by quake2max-0.45_14 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> quake2max-0.45_14 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by quake2max-0.45_14 for building => SHA256 Checksum OK for Quake2maX_0.45-src_unix.tar.bz2. => SHA256 Checksum OK for quake2max.044.rar. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- ===> quake2max-0.45_14 depends on executable: unrar - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> quake2max-0.45_14 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by quake2max-0.45_14 for building ===> Extracting for quake2max-0.45_14 ===> quake2max-0.45_14 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by quake2max-0.45_14 for building => SHA256 Checksum OK for Quake2maX_0.45-src_unix.tar.bz2. => SHA256 Checksum OK for quake2max.044.rar. ===> quake2max-0.45_14 depends on executable: unrar - found Extracted Memory Use: 5.12M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for quake2max-0.45_14 ===> Applying ports patches for quake2max-0.45_14 from /xports/games/quake2max/files ===> Applying dragonfly patches for quake2max-0.45_14 from /xports/games/quake2max/dragonfly /usr/bin/env WRKSRC=/construction/games/quake2max/Quake2maX_0.45-src_unix REWARNFILE=/construction/games/quake2max/reinplace_warnings.txt /bin/sh /xports/Mk/Scripts/sed_checked.sh -e 's@\(defined(__FreeBSD__)\)@(\1 || defined(__DragonFly__))@g' /construction/games/quake2max/Quake2maX_0.45-src_unix/unix/cd_unix.c /construction/games/quake2max/Quake2maX_0.45-src_unix/unix/qsh_unix.c /construction/games/quake2max/Quake2maX_0.45-src_unix/unix/snd_unix.c SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> quake2max-0.45_14 depends on package: gmake>=4.3 - found ===> quake2max-0.45_14 depends on file: /usr/local/bin/sdl-config - found ===> quake2max-0.45_14 depends on package: xorgproto>=0 - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> quake2max-0.45_14 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> quake2max-0.45_14 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> quake2max-0.45_14 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> quake2max-0.45_14 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> quake2max-0.45_14 depends on package: gmake>=4.3 - found ===> quake2max-0.45_14 depends on file: /usr/local/bin/sdl-config - found ===> quake2max-0.45_14 depends on package: xorgproto>=0 - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/bin/ccache - found ===> quake2max-0.45_14 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> quake2max-0.45_14 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> quake2max-0.45_14 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> quake2max-0.45_14 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> Configuring for quake2max-0.45_14 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for quake2max-0.45_14 gmake[2]: Entering directory '/construction/games/quake2max/Quake2maX_0.45-src_unix' gmake targets BUILDDIR=release CFLAGS+="-Wall -fcommon -DC_ONLY -DDATADIR='\"/usr/local/share/quake2\"' -DLIBDIR='\"/usr/local/lib/quake2max\"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='\"0.45\"'" gmake[3]: Entering directory '/construction/games/quake2max/Quake2maX_0.45-src_unix' cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_cin.o -c ref_gl/gl_cin.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_draw.o -c ref_gl/gl_draw.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_image.o -c ref_gl/gl_image.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_light.o -c ref_gl/gl_light.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_mesh.o -c ref_gl/gl_mesh.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_model.o -c ref_gl/gl_model.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_rmain.o -c ref_gl/gl_rmain.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_rmisc.o -c ref_gl/gl_rmisc.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_rsurf.o -c ref_gl/gl_rsurf.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_script.o -c ref_gl/gl_script.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_vlights.o -c ref_gl/gl_vlights.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_warp.o -c ref_gl/gl_warp.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/sul_png.o -c ref_gl/sul_png.c ref_gl/gl_light.c: In function 'R_LightPoint': ref_gl/gl_light.c:345:9: warning: variable 'light' set but not used [-Wunused-but-set-variable] float light; ^~~~~ ref_gl/gl_light.c: In function 'R_LightPointDynamics': ref_gl/gl_light.c:401:16: warning: unused variable 'wl' [-Wunused-variable] worldLight_t *wl; ^~ ref_gl/gl_light.c: In function 'R_SurfLightPoint': ref_gl/gl_light.c:487:9: warning: variable 'light' set but not used [-Wunused-but-set-variable] float light; ^~~~~ ref_gl/gl_light.c: In function 'R_BuildLightMap': ref_gl/gl_light.c:717:16: warning: variable 'style' set but not used [-Wunused-but-set-variable] lightstyle_t *style; ^~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/qgl_unix.o -c unix/qgl_unix.c ref_gl/gl_warp.c: In function 'R_DrawSkyBox': ref_gl/gl_warp.c:961:6: warning: implicit declaration of function 'GL_Spheremap'; did you mean 'gluSphere'? [-Wimplicit-function-declaration] GL_Spheremap(true); ^~~~~~~~~~~~ gluSphere ref_gl/gl_warp.c:942:16: warning: unused variable 'yoff' [-Wunused-variable] float xoff, yoff; ^~~~ ref_gl/gl_warp.c:942:10: warning: unused variable 'xoff' [-Wunused-variable] float xoff, yoff; ^~~~ ref_gl/gl_warp.c:941:14: warning: unused variable 'tym' [-Wunused-variable] float txm,tym, alpha,s,t; ^~~ ref_gl/gl_warp.c:941:10: warning: unused variable 'txm' [-Wunused-variable] float txm,tym, alpha,s,t; ^~~ ref_gl/gl_warp.c:787:10: warning: unused variable 'l' [-Wunused-variable] int i, l; ^ ref_gl/gl_warp.c: In function 'EmitWaterPolys': ref_gl/gl_warp.c:328:45: warning: 'dstscroll' may be used uninitialized in this function [-Wmaybe-uninitialized] qglMTexCoord2fSGIS(GL_TEXTURE0_ARB,(v[3]+dstscroll)*0.015625,v[4]*0.015625); ~~~~~^~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/q_shared.o -c game/q_shared.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/qsh_unix.o -c unix/qsh_unix.c unix/qsh_unix.c: In function 'strlwr': unix/qsh_unix.c:156:8: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] *s = tolower(*s); ^~~~~~~ unix/qsh_unix.c:159:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ unix/qsh_unix.c: In function 'Hunk_End': unix/qsh_unix.c:102:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] if (n != membase) ^ unix/qsh_unix.c: In function 'Sys_FindFirst': unix/qsh_unix.c:219:28: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf (findpath, "%s/%s", findbase, d->d_name); ^~ unix/qsh_unix.c:219:5: note: 'sprintf' output between 2 and 384 bytes into a destination of size 128 sprintf (findpath, "%s/%s", findbase, d->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/qsh_unix.c: In function 'Sys_FindNext': unix/qsh_unix.c:238:28: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf (findpath, "%s/%s", findbase, d->d_name); ^~ unix/qsh_unix.c:238:5: note: 'sprintf' output between 2 and 384 bytes into a destination of size 128 sprintf (findpath, "%s/%s", findbase, d->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/glob.o -c unix/glob.c ref_gl/gl_rsurf.c: In function 'R_BlendLightmaps': ref_gl/gl_rsurf.c:451:14: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] switch ( toupper( gl_monolightmap->string[0] ) ) ^~~~~~~ ref_gl/gl_rsurf.c: In function 'GL_RenderLightmappedPoly': ref_gl/gl_rsurf.c:931:12: warning: unused variable 'p' [-Wunused-variable] glpoly_t *p; ^ ref_gl/gl_rsurf.c: In function 'R_RecursiveWorldNode_LightBlend': ref_gl/gl_rsurf.c:1350:12: warning: unused variable 'image' [-Wunused-variable] image_t *image; ^~~~~ ref_gl/gl_rsurf.c: In function 'R_DrawWorld': ref_gl/gl_rsurf.c:1586:14: warning: unused variable 'surf' [-Wunused-variable] msurface_t *surf; ^~~~ ref_gl/gl_rsurf.c:1584:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ ref_gl/gl_rsurf.c: In function 'GL_BuildPolygonFromSurface': ref_gl/gl_rsurf.c:1841:8: warning: variable 'vertpage' set but not used [-Wunused-but-set-variable] int vertpage; ^~~~~~~~ ref_gl/gl_rsurf.c: In function 'GL_RenderLightmappedPoly': ref_gl/gl_rsurf.c:1010:4: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] RenderPolyFunc(surf, nv, v, scroll); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_rmisc.c:53:1: warning: missing braces around initializer [-Wmissing-braces] { ^ ref_gl/gl_rmisc.c:55:2: 0, 255, { } 0, 255, { } 0, 255, { } ref_gl/gl_rmisc.c:60:2: 0, 170, { } 0, 170, { } 0, 170, { } 0, 170, { } 0, 170, { } ref_gl/gl_rmisc.c:67:2: 0, 85, { } 0, 85, { } 0, 85, { } 0, 85, { } 0, 85, { } 0, 85, { } 0, 85, { } 0, 85, { } ref_gl/gl_rmisc.c:77:2: 0, 0, { } 0, 0, { } 0, 0, { } 0, 0, { } 0, 0, { } 0, 0, { } 0, 0, { } 0, 0, { } 255, 0, { } 255, 0, { } 255, 0, { } 255, 0, { } 255, 0, { } 255, 0, { } 255, 0, { } 255, 0, { }; } cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_glx.o -c unix/gl_glx.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/cmd.o -c qcommon/cmd.c ref_gl/gl_model.c: In function 'R_ParseLightEntities': ref_gl/gl_model.c:91:18: warning: unused variable 'color' [-Wunused-variable] vec3_t origin, color; ^~~~~ ref_gl/gl_model.c:88:9: warning: variable 'entString' set but not used [-Wunused-but-set-variable] char *entString; ^~~~~~~~~ ref_gl/gl_model.c: In function 'GL_AddSurfaceWorldLight': ref_gl/gl_model.c:180:27: warning: unused variable 'color' [-Wunused-variable] vec3_t origin = {0,0,0}, color = {0,0,0}; ^~~~~ ref_gl/gl_model.c: In function 'R_GetTexSize': ref_gl/gl_model.c:230:33: warning: assignment to 'struct rscript_t *' from incompatible pointer type 'rscript_t *' {aka 'struct rscript_s *'} [-Wincompatible-pointer-types] out->script = rs = out->script = RS_FindScript(va("textures/%s",name) ); ^ ref_gl/gl_model.c:230:19: warning: assignment to 'rscript_t *' {aka 'struct rscript_s *'} from incompatible pointer type 'struct rscript_t *' [-Wincompatible-pointer-types] out->script = rs = out->script = RS_FindScript(va("textures/%s",name) ); ^ ref_gl/gl_model.c:230:14: warning: assignment to 'struct rscript_t *' from incompatible pointer type 'rscript_t *' {aka 'struct rscript_s *'} [-Wincompatible-pointer-types] out->script = rs = out->script = RS_FindScript(va("textures/%s",name) ); ^ ref_gl/gl_model.c:230:14: warning: operation on 'out->script' may be undefined [-Wsequence-point] out->script = rs = out->script = RS_FindScript(va("textures/%s",name) ); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_model.c: In function 'Mod_ForName': ref_gl/gl_model.c:462:21: warning: assignment to 'struct rscript_t *' from incompatible pointer type 'rscript_t *' {aka 'struct rscript_s *'} [-Wincompatible-pointer-types] mod->script[i] = RS_FindScript(rs); ^ ref_gl/gl_model.c: In function 'Mod_LoadFaces': ref_gl/gl_model.c:833:11: warning: unused variable 'lit' [-Wunused-variable] qboolean lit; ^~~ ref_gl/gl_model.c:830:11: warning: unused variable 'j' [-Wunused-variable] int i, j, count, surfnum; ^ ref_gl/gl_model.c: In function 'Mod_LoadPlanes': ref_gl/gl_model.c:1153:15: warning: implicit declaration of function 'PlaneTypeForNormal'; did you mean 'gluTessNormal'? [-Wimplicit-function-declaration] out->type = PlaneTypeForNormal(out->normal); ^~~~~~~~~~~~~~~~~~ gluTessNormal ref_gl/gl_model.c: In function 'Mod_LoadAliasModel': ref_gl/gl_model.c:1377:18: warning: assignment to 'struct rscript_t *' from incompatible pointer type 'rscript_t *' {aka 'struct rscript_s *'} [-Wincompatible-pointer-types] mod->script[i] = RS_FindScript(rs); ^ ref_gl/gl_model.c: In function 'Mod_ClipFragmentToSurface': ref_gl/gl_model.c:1815:7: warning: unused variable 'sidebit' [-Wunused-variable] int sidebit; ^~~~~~~ ref_gl/gl_model.c:1806:17: warning: unused variable 'p' [-Wunused-variable] glpoly_t *bp, *p; ^ ref_gl/gl_qcommon/cmd.c: In function 'Cbuf_InsertFromDefer': qcommon/cmd.c:161:19: warning: pointer targets in passing argument 1 of 'Cbuf_InsertText' differ in signedness [-Wpointer-sign] Cbuf_InsertText (defer_text_buf); ^~~~~~~~~~~~~~ qcommon/cmd.c:114:6: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} void Cbuf_InsertText (char *text) ^~~~~~~~~~~~~~~ model.c:1806:12: warning: unused variable 'bp' [-Wunused-variable] glpoly_t *bp, *p; ^~ ref_gl/gl_model.c:1803:10: warning: unused variable 'd' [-Wunused-variable] float d; ^ ref_gl/gl_model.c: In function 'Mod_LoadTexinfo': ref_gl/gl_model.c:726:22: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations] out->vecs[0][j] = LittleFloat (in->vecs[0][j]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_model.c:725:3: note: within this loop for (j=0 ; j<8 ; j++) ^~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/cmodel.o -c qcommon/cmodel.c ref_gl/gl_draw.c: In function 'Draw_ShaderPic': ref_gl/gl_draw.c:260:12: warning: unused variable 'tym' [-Wunused-variable] float txm,tym, alpha,s,t; ^~~ ref_gl/gl_draw.c:260:8: warning: unused variable 'txm' [-Wunused-variable] float txm,tym, alpha,s,t; ^~~ ref_gl/gl_draw.c: In function 'Draw_Shader_Model': ref_gl/gl_draw.c:535:2: warning: implicit declaration of function 'R_RenderFrame'; did you mean 'R_BeginFrame'? [-Wimplicit-function-declaration] R_RenderFrame( &refdef ); ^~~~~~~~~~~~~ R_BeginFrame ref_gl/gl_draw.c:397:6: warning: unused variable 'maxframe' [-Wunused-variable] int maxframe = 29; ^~~~~~~~ ref_gl/gl_draw.c:396:7: warning: unused variable 'scratch' [-Wunused-variable] char scratch[MAX_QPATH]; ^~~~~~~ unix/glob.c:51:12: warning: 'glob_pattern_p' defined but not used [-Wunused-function] static int glob_pattern_p(char *pattern) ^~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/common.o -c qcommon/common.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/crc.o -c qcommon/crc.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/cvar.o -c qcommon/cvar.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/files.o -c qcommon/files.c ref_gl/gl_rmain.c: In function 'R_DrawSpriteModel': ref_gl/gl_rmain.c:361:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ( alpha == 1.0 ) ^ ref_gl/gl_rmain.c: In function 'NewSortEnt': ref_gl/gl_rmain.c:483:11: warning: unused variable 'point_in' [-Wunused-variable] mleaf_t *point_in; ^~~~~~~~ ref_gl/gl_rmain.c:480:23: warning: unused variable 'is_weapmodel' [-Wunused-variable] qboolean entinwater, is_weapmodel = false; ^~~~~~~~~~~~ ref_gl/gl_rmain.c:480:11: warning: unused variable 'entinwater' [-Wunused-variable] qboolean entinwater, is_weapmodel = false; ^~~~~~~~~~ ref_gl/gl_rmain.c: In function 'AddEntViewWeapTree': ref_gl/gl_rmain.c:521:6: warning: unused variable 'closer' [-Wunused-variable] int closer = 0; ^~~~~~ ref_gl/gl_rmain.c: In function 'AddEntTransTree': ref_gl/gl_rmain.c:550:6: warning: unused variable 'closer' [-Wunused-variable] int closer = 0; ^~~~~~ ref_gl/gl_rmain.c: In function 'R_DrawAllEntityShadows': ref_gl/gl_rmain.c:645:11: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] qboolean alpha; ^~~~~ ref_gl/gl_rmain.c: In function 'R_DrawMotionBlurEntities': ref_gl/gl_rmain.c:781:13: warning: unused variable 'rs' [-Wunused-variable] rscript_t *rs = NULL; ^~ ref_gl/gl_rmain.c:779:11: warning: unused variable 'alpha' [-Wunused-variable] qboolean alpha; ^~~~~ ref_gl/gl_rmain.c: In function 'NewSortPart': ref_gl/gl_rmain.c:874:11: warning: unused variable 'partinwater' [-Wunused-variable] qboolean partinwater; ^~~~~~~~~~~ ref_gl/gl_rmain.c: In function 'renderParticleShader': ref_gl/gl_rmain.c:1351:7: warning: unused variable 'scriptname' [-Wunused-variable] char scriptname [MAX_QPATH]; ^~~~~~~~~~ ref_gl/gl_rmain.c:1349:25: warning: unused variable 't' [-Wunused-variable] float txm,tym, alpha,s,t; ^ ref_gl/gl_rmain.c:1349:23: warning: unused variable 's' [-Wunused-variable] float txm,tym, alpha,s,t; ^ ref_gl/gl_rmain.c:1349:12: warning: unused variable 'tym' [-Wunused-variable] float txm,tym, alpha,s,t; ^~~ ref_gl/gl_rmain.c:1349:8: warning: unused variable 'txm' [-Wunused-variable] float txm,tym, alpha,s,t; ^~~ ref_gl/gl_rmain.c: In function 'renderDecal': ref_gl/gl_rmain.c:1547:13: warning: unused variable 'rs' [-Wunused-variable] rscript_t *rs = NULL; ^~ ref_gl/gl_rmain.c: In function 'renderParticle': ref_gl/gl_rmain.c:1650:10: warning: unused variable 'angl_coord' [-Wunused-variable] vec3_t angl_coord[4]; ^~~~~~~~~~ ref_gl/gl_rmain.c:1669:25: warning: variable 'old_coord' set but not used [-Wunused-but-set-variable] vec3_t angl_coord[4], old_coord[2]; ^~~~~~~~~ ref_gl/gl_rmain.c:1669:10: warning: unused variable 'angl_coord' [-Wunused-variable] vec3_t angl_coord[4], old_coord[2]; ^~~~~~~~~~ ref_gl/gl_rmain.c:1667:19: warning: variable 'angdot' set but not used [-Wunused-but-set-variable] float len, dec, angdot; ^~~~~~ ref_gl/gl_rmain.c:1764:10: warning: unused variable 'angl_coord' [-Wunused-variable] vec3_t angl_coord[4]; ^~~~~~~~~~ ref_gl/gl_rmain.c:1782:10: warning: unused variable 'angl_coord' [-Wunused-variable] vec3_t angl_coord[4]; ^~~~~~~~~~ ref_gl/gl_rmain.c:1604:13: warning: unused variable 'rs' [-Wunused-variable] rscript_t *rs = NULL; ^~ ref_gl/gl_rmain.c:1600:10: warning: unused variable 'right' [-Wunused-variable] vec3_t right = {vright[0] * 0.75f, vright[1] * 0.75f, vright[2] * 0.75f}; ^~~~~ ref_gl/gl_rmain.c:1599:10: warning: unused variable 'up' [-Wunused-variable] vec3_t up = {vup[0] * 0.75f, vup[1] * 0.75f, vup[2] * 0.75f}; ^~ ref_gl/gl_rmain.c: In function 'surf_ElementList': ref_gl/gl_rmain.c:2510:50: warning: unused variable 'found' [-Wunused-variable] sortedelement_t *temp, *element, *last = NULL, *found = NULL; ^~~~~ ref_gl/gl_rmain.c:2510:36: warning: unused variable 'last' [-Wunused-variable] sortedelement_t *temp, *element, *last = NULL, *found = NULL; ^~~~ ref_gl/gl_rmain.c:2510:26: warning: unused variable 'element' [-Wunused-variable] sortedelement_t *temp, *element, *last = NULL, *found = NULL; ^~~~~~~ ref_gl/gl_rmain.c:2510:19: warning: unused variable 'temp' [-Wunused-variable] sortedelement_t *temp, *element, *last = NULL, *found = NULL; ^~~~ ref_gl/gl_rmain.c: In function 'R_PreRenderDynamic': ref_gl/gl_rmain.c:2839:14: warning: unused variable 'surf' [-Wunused-variable] msurface_t *surf; ^~~~ ref_gl/gl_rmain.c:2838:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ ref_gl/gl_rmain.c: In function 'R_SetMode': ref_gl/gl_rmain.c:3309:30: warning: pointer targets in passing argument 1 of 'GLimp_SetMode' differ in signedness [-Wpointer-sign] if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_mode->value, fullscreen ) ) == rserr_ok ) ^~~~~~~~~~ In file included from ref_gl/gl_rmain.c:21: ref_gl/gl_local.h:564:10: note: expected 'int *' but argument is of type 'unsigned int *' int GLimp_SetMode( int *pwidth, int *pheight, int mode, qboolean fullscreen ); ^~~~~~~~~~~~~ ref_gl/gl_rmain.c:3309:42: warning: pointer targets in passing argument 2 of 'GLimp_SetMode' differ in signedness [-Wpointer-sign] if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_mode->value, fullscreen ) ) == rserr_ok ) ^~~~~~~~~~~ In file included from ref_gl/gl_rmain.c:21: ref_gl/gl_local.h:564:10: note: expected 'int *' but argument is of type 'unsigned int *' int GLimp_SetMode( int *pwidth, int *pheight, int mode, qboolean fullscreen ); ^~~~~~~~~~~~~ ref_gl/gl_rmain.c:3320:32: warning: pointer targets in passing argument 1 of 'GLimp_SetMode' differ in signedness [-Wpointer-sign] if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_mode->vref_gl/gl_image.c: In function 'LoadTGA': ref_gl/gl_image.c:609:7: warning: variable 'length' set but not used [-Wunused-but-set-variable] int length; ^~~~~~ ref_gl/gl_image.c: In function 'alue, false ) ) == rserr_ok ) ^~~~~~~~~~ In file included from ref_gcheckOtherFormats': ref_gl/gl_image.c:1497:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (image = GL_FindImage(va("%s%s", basename, image_types[i]), type)) ^~~~~ ref_gl/gl_image.c:1493:8: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ ref_gl/gl_image.c: In function 'GL_FindImage': ref_gl/gl_image.c:1506:9: warning: unused variable 'j' [-Wunused-variable] int i,j, len, spot; ^ ref_gl/gl_image.c: In function 'GL_FreeUnusedImages': ref_gl/gl_image.c:1684:25: warning: pointer targets in passing argument 2 of 'qglDeleteTextures' differ in signedness [-Wpointer-sign] qglDeleteTextures (1, &image->texnum); ^~~~~~~~~~~~~~ ref_gl/gl_image.c:1684:25: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' ref_gl/gl_image.c: In function 'GL_ShutdownImages': ref_gl/gl_image.c:1848:25: warning: pointer targets in passing argument 2 of 'qglDeleteTextures' differ in signedness [-Wpointer-sign] qglDeleteTextures (1, &image->texnum); ^~~~~~~~~~~~~~ ref_gl/gl_image.c:1848:25: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' ref_gl/gl_image.c:1836:19: warning: unused variable 'c' [-Wunused-variable] image_t *image, *c; ^ ref_gl/gl_image.c: In function 'LoadTGA': ref_gl/gl_image.c:757:16: warning: 'alphabyte' may be used uninitialized in this function [-Wmaybe-uninitialized] *pixbuf++=alphabyte; ~~~~~~~~~^~~~~~~~~~ ref_gl/gl_image.c:756:16: warning: 'blue' may be used uninitialized in this function [-Wmaybe-uninitialized] *pixbuf++=blue; ~~~~~~~~~^~~~~ ref_gl/gl_image.c:755:16: warning: 'green' may be used uninitialized in this function [-Wmaybe-uninitialized] *pixbuf++=green; ~~~~~~~~~^~~~~~ ref_gl/gl_image.c:754:16: warning: 'red' may be used uninitialized in this function [-Wmaybe-uninitialized] *pixbuf++=red; ~~~~~~~~~^~~~ ref_gl/gl_image.c: In function 'GL_Upload32': ref_gl/gl_image.c:1318:3: warning: 'comp' may be used uninitialized in this function [-Wmaybe-uninitialized] qgll/gl_rmain.c:21: ref_gl/gl_local.h:564:10: note: expected 'int *' but argument is of type 'unsigned int *' int GLimp_SetMode( int *pwidth, int *pheight, int mode, qboolean fullscreen ); ^~~~~~~~~~~~~ ref_gl/gl_rmain.c:3320:44: warning: pointer targets in passing argument 2 of 'GLimp_SetMode' differ in signedness [-Wpointer-sign] if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_mode->value, false ) ) == rserr_ok ) ^~~~~~~~~~~ In file included from ref_gl/gl_rmain.c:21: ref_gl/gl_local.h:564:10: note: expected 'int *' but argument is of type 'unsigned int *' int GLimp_SetMode( int *pwidth, int *pheight, int mode, qboolean fullscreen ); ^~~~~~~~~~~~~ ref_gl/gl_rmain.c:3331:31: warning: pointer targets in passing argument 1 of 'GLimp_SetMode' differ in signedness [-Wpointer-sign] if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_state.prev_mode, false ) ) != rserr_ok ) ^~~~~~~~~~ In file included from ref_gl/gl_rmain.c:21: ref_gl/gl_local.h:564:10: note: expected 'int *' but argument is of type 'unsigned int *' int GLimp_SetMode( int *pwidth, int *pheight, int mode, qboolean fullscreen ); ^~~~~~~~~~~~~ ref_gl/gl_rmain.c:3331:43: warning: pointer targets in passing argument 2 of 'GLimp_SetMode' differ in signedness [-Wpointer-sign] if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_state.prev_mode, false ) ) != rserr_ok ) ^~~~~~~~~~~TexImage2D (GL_TEXTURE_2D, 0, comp, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, scaled); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ref_gl/gl_rmain.c:21: ref_gl/gl_local.h:564:10: note: expected 'int *' but argument is of type 'unsigned int *' int GLimp_SetMode( int *pwidth, int *pheight, int mode, qboolean fullscreen ); ^~~~~~~~~~~~~ ref_gl/gl_rmain.c: In function 'R_Init': ref_gl/gl_rmain.c:3397:26: warning: pointer targets in assignment from 'const GLubyte *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] gl_config.vendor_string = qglGetString (GL_VENDOR); ^ ref_gl/gl_rmain.c:3399:28: warning: pointer targets in assignment from 'const GLubyte *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] gl_config.renderer_string = qglGetString (GL_RENDERER); ^ ref_gl/gl_rmain.c:3401:27: warning: pointer targets in assignment from 'const GLubyte *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] gl_config.version_string = qglGetString (GL_VERSION); ^ ref_gl/gl_rmain.c:3403:30: warning: pointer targets in assignment from 'const GLubyte *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] gl_config.extensions_string = qglGetString (GL_EXTENSIONS); ^ ref_gl/gl_rmain.c:3407:2: warning: implicit declaration of function 'strlwr'; did you mean 'strstr'? [-Wimplicit-function-declaration] strlwr( renderer_buffer ); ^~~~~~ strstr ref_gl/gl_rmain.c:3436:7: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] if ( toupper( gl_monolightmap->string[1] ) != 'F' ) ^~~~~~~ ref_gl/gl_rmain.c: In function 'R_BeginFrame': ref_gl/gl_rmain.c:3798:4: warning: implicit declaration of function 'UpdateHardwareGamma' [-Wimplicit-function-declaration] UpdateHardwareGamma(); ^~~~~~~~~~~~~~~~~~~ ref_gl/gl_rmain.c: In function 'R_Init': ref_gl/gl_rmain.c:3686:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: ref_gl/gl_rmain.c:3077:13: warning: 'GL_DrawStereoPattern' defined but not used [-Wunused-function] static void GL_DrawStereoPattern( void ) ^~~~~~~~~~~~~~~~~~~~ ref_gl/sul_png.c: In function 'GL_ScreenShot_PNG': ref_gl/sul_png.c:123:12: warning: unused variable 'j' [-Wunused-variable] int i, j, k; ^ ref_gl/sul_png.c: In function 'LoadPNG': ref_gl/sul_png.c:274:17: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] my_png->tmpBuf = raw; //buf = whole file content ^ ref_gl/sul_png.c:281:29: warning: passing argument 3 of 'png_get_IHDR' from incompatible pointer type [-Wincompatible-pointer-types] png_get_IHDR(png, pnginfo, &my_png->Width, &my_png->Height,&my_png->BitDepth, &my_png->ColorType, &my_png->Interlace, &my_png->Compression, &my_png->Filter ); ^~~~~~~~~~~~~~ In file included from /usr/local/include/png.h:339, from ref_gl/sul_png.c:2: /usr/local/include/png.h:2039:45: note: expected 'png_uint_32 *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, ~~~~~~~~~~~~~^~~~~ /usr/local/include/pngconf.h:287:75: note: in definition of macro 'PNG_FUNCTION' # define PNG_FUNCTION(type, name, args, attributes) attributes type name args ^~~~ /usr/local/include/pngconf.h:301:58: note: in expansion of macro 'PNGARG' PNG_FUNCTION(PNG_EXPORT_TYPE(type), (PNGAPI name), PNGARG(args), \ ^~~~~~ /usr/local/include/pngconf.h:311:4: note: in expansion of macro 'PNG_EXPORTA' PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY) ^~~~~~~~~~~ /usr/local/include/png.h:2038:1: note: in expansion of macro 'PNG_EXPORT' PNG_EXPORT(143, png_uint_32, png_get_IHDR, (png_const_structrp png_ptr, ^~~~~~~~~~ ref_gl/sul_png.c:281:45: warning: passing argument 4 of 'png_get_IHDR' from incompatible pointer type [-Wincompatible-pointer-types] png_get_IHDR(png, pnginfo, &my_png->Width, &my_png->Height,&my_png->BitDepth, &my_png->ColorType, &my_png->Interlace, &my_png->Compression, &my_png->Filter ); ^~~~~~~~~~~~~~~ In file included from /usr/local/include/png.h:339, from ref_gl/sul_png.c:2: /usr/local/include/png.h:2039:65: note: expected 'png_uint_32 *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, ~~~~~~~~~~~~~^~~~~~ /usr/local/include/pngconf.h:287:75: note: in definition of macro 'PNG_FUNCTION' # define PNG_FUNCTION(type, name, args, attributes) attributes type name args ^~~~ /usr/local/include/pngconf.h:301:58: note: in expansion of macro 'PNGARG' PNG_FUNCTION(PNG_EXPORT_TYPE(type), (PNGAPI name), PNGARG(args), \ ^~~~~~ /usr/local/include/pngconf.h:311:4: note: in expansion of macro 'PNG_EXPORTA' PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY) ^~~~~~~~~~~ /usr/local/include/png.h:2038:1: note: in expansion of macro 'PNG_EXPORT' PNG_EXPORT(143, png_uintcc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/md4.o -c qcommon/md4.c _32, png_get_IHDR, (png_const_structrp png_ptr, ^~~~~~~~~~ ref_gl/sul_png.c:287:3: warning: implicit declaration of function 'png_set_gray_1_2_4_to_8'; did you mean 'png_set_expand_gray_1_2_4_to_8'? [-Wimplicit-function-declaration] png_set_gray_1_2_4_to_8(png); ^~~~~~~~~~~~~~~~~~~~~~~ png_set_expand_gray_1_2_4_to_8 ref_gl/sul_png.c:322:7: warning: pointer targets in assignment from 'char *' to 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] *pic= my_png->Data; ^ ref_gl/sul_png.c:244:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ ref_gl/sul_png.c: In function 'GL_ScreenShot_PNG': ref_gl/sul_png.c:180:6: warning: '({anonymous})' may be used uninitialized in this function [-Wmaybe-uninitialized] if (setjmp(png_jmpbuf(png_ptr))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/sul_png.c:183:3: warning: 'rgbdata' may be used uninitialized in this function [-Wmaybe-uninitialized] free(rgbdata); ^~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/net_chan.o -c qcommon/net_chan.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_ccmds.o -c server/sv_ccmds.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_ents.o -c server/sv_ents.c qcommon/net_chan.c: In function 'Netchan_Process': qcommon/net_chan.c:302:8: warning: variable 'qport' set but not used [-Wunused-but-set-variable] int qport; ^~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_game.o -c server/sv_game.c qcommon/files.c: In function 'FS_ListPak': qcommon/files.c:356:9: warning: unused variable 'netpath' [-Wunused-variable] char netpath[MAX_OSPATH]; ^~~~~~~ qcommon/files.c: In function 'FS_LoadPackFile': qcommon/files.c:524:12: warning: variable 'checksum' set but not used [-Wunused-but-set-variable] unsigned checksum; ^~~~~~~~ qcommon/files.c: In function 'FS_SetGamedir': qcommon/files.c:767:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (modType("baseq2") && (!strcmp(dir,BASEDIRNAME)) || (*dir == 0)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/sv_ents.c: In function 'SV_EmitPacketEntities': server/sv_ents.c:127:27: warning: 'newent' may be used uninitialized in this function [-Wmaybe-uninitialized] entity_state_t *oldent, *newent; ^~~~~~ server/sv_ents.c:171:4: warning: 'oldent' may be used uninitialized in this function [-Wmaybe-uninitialized] MSG_WriteDeltaEntity (oldent, newent, msg, false, newent->number <= maxclients->value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_init.o -c server/sv_init.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_main.o -c server/sv_main.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_send.o -c server/sv_send.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_user.o -c server/sv_user.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_world.o -c server/sv_world.c server/sv_world.c: In function 'SV_AreaEdicts_r': server/sv_world.c:36:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) ^ server/sv_world.c:38:28: note: in expansion of macro 'STRUCT_FROM_LINK' #define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) ^~~~~~~~~~~~~~~~ server/sv_world.c:371:11: note: in expansion of macro 'EDICT_FROM_AREA' check = EDICT_FROM_AREA(l); ^~~~~~~~~~~~~~~ server/sv_world.c:358:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count; ^~~~~ server/sv_world.c: In function 'SV_PointContents': server/sv_world.c:437:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] float *angles; ^~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/qsh_unix.o -c unix/qsh_unix.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sys_unix.o -c unix/sys_unix.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/glob.o -c unix/glob.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/net_udp.o -c unix/net_udp.c unix/glob.c:51:12: warning: 'glob_pattern_p' defined but not used [-Wunused-function] static int glob_pattern_p(char *pattern) ^~~~~~~~~~~~~~ server/sv_main.c: In function 'GetClientFromAdr': server/sv_main.c:88:11: warning: 'cl' may be used uninitialized in this function [-Wmaybe-uninitialized] return cl; ^~ server/sv_main.c: In function 'SVC_DirectConnect': server/sv_main.c:418:2: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] strncpy (newcl->userinfo, userinfo, sizeof(newcl->userinfo)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/q_shared.o -c game/q_shared.c ref_gl/gl_cin.c: In function 'CIN_PlayCinematic': ref_gl/gl_cin.c:497:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( cin->p2_width = 2 ; cin->p2_width <= cin->width ; cin->p2_width <<= 1 ); ^~~ ref_gl/gl_cin.c:498:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' cin->p2_width >>= 1; ^~~ ref_gl/gl_cin.c:505:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( cin->p2_height = 2 ; cin->p2_height <= cin->height ; cin->p2_height <<= 1 ); ^~~ ref_gl/gl_cin.c:506:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' cin->p2_height >>= 1; ^~~ unix/net_udp.c: In function 'NET_GetPacket': unix/net_udp.c:302:35: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] , 0, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ In file included from unix/net_udp.c:25: /usr/include/sys/socket.h:552:9: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' ssize_t recvfrom(int, void * __restrict, size_t, int, ^~~~~~~~ unix/net_udp.c: In function 'NET_CompareBaseAdr': unix/net_udp.c:129:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ unix/net_udp.c: In function 'NET_SendPacket': unix/net_udp.c:373:8: warning: 'net_socket' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = sendto (net_socket, data, length, 0, (struct sockaddr *)&addr, sizeof(addr) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/pmove.o -c qcommon/pmove.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/cl_null.o -c null/cl_null.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/cd_null.o -c null/cd_null.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cl_cin.o -c client/cl_cin.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cl_ents.o -c client/cl_ents.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cl_fx.o -c client/cl_fx.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cl_input.o -c client/cl_input.c client/cl_cin.c: In function 'SCR_DrawCinematic': client/cl_cin.c:558:28: warning: pointer targets in passing argument 1 of 're.CinematicSetPalette' differ in signedness [-Wpointer-sign] re.CinematicSetPalette(cl.cinematicpalette); ~~^~~~~~~~~~~~~~~~~ client/cl_cin.c:558:28: note: expected 'const unsigned char *' but argument is of type 'char *' client/cl_ents.c: In function 'CL_ParsePacketEntities': client/cl_ents.c:431:32: warning: pointer targets in passing argument 1 of 'CL_ParseEntityBits' differ in signedness [-Wpointer-sign] newnum = CL_ParseEntityBits (&bits); ^~~~~ client/cl_ents.c:218:5: note: expected 'unsigned int *' but argument is of type 'int *' int CL_ParseEntityBits (unsigned *bits) ^~~~~~~~~~~~~~~~~~ client/cl_ents.c: In function 'AddEntityShells': client/cl_ents.c:886:13: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] else if (renderfx & RF_SHELL_BLUE) ^ client/cl_ents.c: In function 'CL_AddPacketEntities': client/cl_ents.c:1120:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] float len; ^~~ client/cl_ents.c:1482:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=0;i<3;i++) ^~~ client/cl_ents.c:1522:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' V_AddLight (saber_origin, size, light_color[0], light_color[1], light_color[2]); ^~~~~~~~~~ client/cl_ents.c: In function 'CL_CalcViewValues': client/cl_ents.c:1944:13: warning: variable 'ent' set but not used [-Wunused-but-set-variable] centity_t *ent; ^~~ client/cl_ents.c: In function 'CL_ParsePacketEntities': client/cl_ents.c:445:4: warning: 'oldstate' may be used uninitialized in this function [-Wmaybe-uninitialized] CL_DeltaEntity (newframe, oldnum, oldstate, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ null/cl_null.c: In function 'Cmd_ForwardToServer': null/cl_null.c:55:14: warning: unknown escape sequence: '\^' Com_Printf ("Unknown command \"%s\^r\n", cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cl_inv.o -c client/cl_inv.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cl_main.o -c client/cl_main.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cl_newfx.o -c client/cl_newfx.c unix/qsh_unix.c: In function 'strlwr': unix/qsh_unix.c:156:8: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] *s = tolower(*s); ^~~~~~~ unix/qsh_unix.c:159:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ unix/qsh_unix.c: In function 'Hunk_End': unix/qsh_unix.c:102:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] if (n != membase) ^ unix/qsh_unix.c: In function 'Sys_FindFirst': unix/qsh_unix.c:219:28: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf (findpath, "%s/%s", findbase, d->d_name); ^~ unix/qsh_unix.c:219:5: note: 'sprintf' output between 2 and 384 bytes into a destination of size 128 sprintf (findpath, "%s/%s", findbase, d->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/qsh_unix.c: In function 'Sys_FindNext': unix/qsh_unix.c:238:28: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf (findpath, "%s/%s", findbase, d->d_name); ^~ unix/qsh_unix.c:238:5: note: 'sprintf' output between 2 and 384 bytes into a destination of size 128 sprintf (findpath, "%s/%s", findbase, d->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/cl_inv.c: In function 'CL_DrawInventory': client/cl_inv.c:70:16: warning: unused variable 'h' [-Wunused-variable] int x, y, w, h; ^ client/cl_inv.c:70:13: warning: unused variable 'w' [-Wunused-variable] int x, y, w, h; ^ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cl_parse.o -c client/cl_parse.c client/cl_fx.c: In function 'setupParticle': client/cl_fx.c:1107:32: warning: unused variable 'act' [-Wunused-variable] cparticle_t *p = NULL, *old, *act; ^~~ client/cl_fx.c:1107:26: warning: unused variable 'old' [-Wunused-variable] cparticle_t *p = NULL, *old, *act; ^~~ client/cl_fx.c: In function 'pBounceThink': client/cl_fx.c:1294:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ client/cl_fx.c: In function 'CL_SpeedTrail': client/cl_fx.c:1355:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] cparticle_t *p; ^ client/cl_fx.c: In function 'CL_StunBlast': client/cl_fx.c:1411:14: warning: unused variable 'angles' [-Wunused-variable] vec3_t dir, angles; ^~~~~~ client/cl_fx.c:1411:9: warning: unused variable 'dir' [-Wunused-variable] vec3_t dir, angles; ^~~ client/cl_fx.c: In function 'CL_ForceTrail': client/cl_fx.c:1478:27: warning: variable 'frac' set but not used [-Wunused-but-set-variable] float len, dec, length, frac; ^~~~ client/cl_fx.c:1475:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] cparticle_t *p; ^ client/cl_fx.c: In function 'CL_SmokeTrail': client/cl_fx.c:1534:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] cparticle_t *p; ^ client/cl_fx.c: In function 'CL_BlueFlameTrail': client/cl_fx.c:1572:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] cparticle_t *p; ^ client/cl_fx.c: In function 'CL_FlameTrail': client/cl_fx.c:1666:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] cparticle_t *p; ^ client/cl_fx.c: In function 'CL_Explosion_Decal': client/cl_fx.c:1957:8: warning: unused variable 'oldsize' [-Wunused-variable] float oldsize = size, scale = cl_explosion_scale->value; ^~~~~~~ client/cl_fx.c: In function 'CL_Explosion_Underwater_Decal': client/cl_fx.c:1983:8: warning: unused variable 'oldsize' [-Wunused-variable] float oldsize = size, scale = cl_explosion_scale->value; ^~~~~~~ client/cl_fx.c: In function 'CL_Disruptor_Explosion_Particle': client/cl_fx.c:2205:9: warning: unused variable 'lightsize' [-Wunused-variable] float lightsize = size/150.0; ^~~~~~~~~ client/cl_fx.c: In function 'pWeatherFXThink': client/cl_fx.c:2237:14: warning: unused variable 'ang' [-Wunused-variable] vec3_t len, ang; ^~~ client/cl_fx.c:2237:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] vec3_t len, ang; ^~~ client/cl_fx.c:2236:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ client/cl_fx.c: In function 'pBloodDropThink': client/cl_fx.c:2344:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] vec3_t len; cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -D ^~~ client/cl_fx.c:2343:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ client/cl_fx.c: In function 'CL_ParticleWaterEffectSplash': client/cl_fx.c:2565:33: warning: unused variable 'targ' [-Wunused-variable] vec3_t angle, end, dirscaled, targ, color = { color8red(color8), color8green(color8), color8blue(color8)}; ^~~~ client/cl_fx.c:2564:9: warning: unused variable 'd' [-Wunused-variable] float d, scale; ^ client/cl_fx.c: In function 'CL_ParticleEffectSplash': client/cl_fx.c:2636:9: warning: unused variable 'angle' [-Wunused-variable] vec3_t angle, color = { color8red(color8), color8green(color8), color8blue(color8)}; ^~~~~ client/cl_fx.c: In function 'CL_ParticleEffectSparks': client/cl_fx.c:2737:9: warning: variable 'd' set but not used [-Wunused-but-set-variable] float d; ^ client/cl_fx.c: In function 'CL_ParticleBulletDecal': client/cl_fx.c:2807:8: warning: unused variable 'decalimage' [-Wunused-variable] int decalimage; ^~~~~~~~~~ client/cl_fx.c: In function 'CL_ParticleBlasterDecal': client/cl_fx.c:2831:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ client/cl_fx.c: In function 'CL_RailBeam': client/cl_fx.c:3688:10: warning: unused variable 'dir' [-Wunused-variable] vec3_t dir; ^~~ client/cl_fx.c:3687:18: warning: unused variable 's' [-Wunused-variable] float i, d, c, s; ^ client/cl_fx.c:3687:15: warning: unused variable 'c' [-Wunused-variable] float i, d, c, s; ^ client/cl_fx.c:3687:12: warning: unused variable 'd' [-Wunused-variable] float i, d, c, s; ^ client/cl_fx.c:3LIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cl_pred.o -c client/cl_pred.c 687:9: warning: unused variable 'i' [-Wunused-variable] float i, d, c, s; ^ client/cl_fx.c:3685:14: warning: unused variable 'size' [-Wunused-variable] float len, size; ^~~~ client/cl_fx.c:3684:15: warning: variable 'point' set but not used [-Wunused-but-set-variable] vec3_t vec, point, last; ^~~~~ client/cl_fx.c:3682:9: warning: unused variable 'dec' [-Wunused-variable] float dec; ^~~ client/cl_fx.c: In function 'CL_RailSmoke': client/cl_fx.c:3790:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] cparticle_t *p; ^ client/cl_fx.c: In function 'CL_RailTrail': client/cl_fx.c:3833:17: warning: unused variable 'up' [-Wunused-variable] vec3_t right, up; ^~ client/cl_fx.c:3833:10: warning: unused variable 'right' [-Wunused-variable] vec3_t right, up; ^~~~~ client/cl_fx.c:3832:9: warning: unused variable 'dec' [-Wunused-variable] float dec; ^~~ client/cl_fx.c:3831:9: warning: unused variable 'len' [-Wunused-variable] float len; ^~~ client/cl_fx.c:3830:8: warning: unused variable 'i' [-Wunused-variable] int i; ^ client/cl_fx.c:3829:15: warning: unused variable 'point' [-Wunused-variable] vec3_t vec, point; ^~~~~ client/cl_fx.c:3829:10: warning: unused variable 'vec' [-Wunused-variable] vec3_t vec, point; ^~~ client/cl_fx.c:3828:16: warning: unused variable 'last' [-Wunused-variable] vec3_t move, last; ^~~~ client/cl_fx.c:3828:10: warning: unused variable 'move' [-Wunused-variable] vec3_t move, last; ^~~~ client/cl_fx.c: In function 'CL_BubbleTrail': client/cl_fx.c:3923:14: warning: unused variable 'size' [-Wunused-variable] float dec, size; ^~~~ client/cl_fx.c: In function 'CL_FlyParticles': client/cl_fx.c:3964:21: warning: variable 'cr' set but not used [-Wunused-but-set-variable] float sr, sp, sy, cr, cp, cy; ^~ client/cl_fx.c:3964:9: warning: variable 'sr' set but not used [-Wunused-but-set-variable] float sr, sp, sy, cr, cp, cy; ^~ client/cl_fx.c: In function 'CL_BfgParticles': client/cl_fx.c:4069:21: warning: variable 'cr' set but not used [-Wunused-but-set-variable] float sr, sp, sy, cr, cp, cy; ^~ client/cl_fx.c:4069:9: warning: variable 'sr' set but not used [-Wunused-but-set-variable] float sr, sp, sy, cr, cp, cy; ^~ client/cl_fx.c: In function 'CL_TrapParticles': client/cl_fx.c:4135:2: warning: missing braces around initializer [-Wmissing-braces] { ^ 255, 200, 150, { } 255, 200, 100, { } 255, 200, 50, { } 0 { }; } client/cl_fx.c:4205:15: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] vel = 50 + rand()&63; ~~~^~~~~~~~ client/cl_fx.c: In function 'CL_FlyParticles': client/cl_fx.c:3976:22: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] avelocities[0][i] = (rand()&255) * 0.01; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ client/cl_fx.c:3975:3: note: within this loop for (i=0 ; ilightvel = lightvel; ~~~~~~~~~~~~~~~~~^~~~~~~~~~ client/cl_fx.c:2019:15: note: 'p' was declared here cparticle_t *p; ^ client/cl_fx.c: In function 'CL_Disruptor_Explosion_Particle': client/cl_fx.c:1228:18: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] plight->light = light; ~~~~~~~~~~~~~~^~~~~~~ client/cl_fx.c:2153:15: note: 'p' was declared here cparticle_t *p; ^ client/cl_fx.c: In function 'CL_RocketTrail': client/cl_fx.c:3600:10: warning: 'count' may be used uninitialized in this function [-Wmaybe-uninitialized] count ++; ~~~~~~^~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cl_tent.o -c client/cl_tent.c client/cl_parse.c: In function 'CL_ParseBaseline': client/cl_parse.c:450:31: warning: pointer targets in passing argument 1 of 'CL_ParseEntityBits' differ in signedness [-Wpointer-sign] newnum = CL_ParseEntityBits (&bits); ^~~~~ In file included from client/cl_parse.c:22: client/client.h:508:5: note: expected 'unsigned int *' but argument is of type 'int *' int CL_ParseEntityBits (unsigned *bits); ^~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cl_scrn.o -c client/cl_scrn.c ref_gl/gl_script.c: In function 'RS_Animate': ref_gl/gl_script.c:64:10: warning: unused variable 'time' [-Wunused-variable] float time = rs_realtime * 1000 - ^~~~ ref_gl/gl_script.c: In function 'RS_AnimateSkin': ref_gl/gl_script.c:82:10: warning: unused variable 'time' [-Wunused-variable] float time = rs_realtime * 1000 - ^~~~ ref_gl/gl_script.c: In function 'RS_LoadScript': ref_gl/gl_script.c:1032:16: warning: unused variable 'tcmod' [-Wunused-variable] unsigned char tcmod = 0; ^~~~~ ref_gl/gl_script.c: In function 'RS_ScanPathForScripts': ref_gl/gl_script.c:1141:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pakscripts = ri.FS_ListPak("scripts/", &npakscripts)) ^~~~~~~~~~ ref_gl/gl_script.c:1157:9: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] if ( toupper(currentScript[0])!='S' ^~~~~~~ ref_gl/gl_script.c:1139:10: warning: unused variable 'delstuff' [-Wunused-variable] void *delstuff; ^~~~~~~~ ref_gl/gl_script.c: In function 'RS_ScaleTexcoords': ref_gl/gl_script.c:1272:17: warning: unused variable 'tym' [-Wunused-variable] float txm = 0, tym = 0; ^~~ ref_gl/gl_script.c:1272:8: warning: unused variable 'txm' [-Wunused-variable] float txm = 0, tym = 0; ^~~ ref_gl/gl_script.c: In function 'RS_AlphaFunc': ref_gl/gl_script.c:1423:8: warning: unused variable 'temp' [-Wunused-variable] float temp; ^~~~ ref_gl/gl_script.c:1422:9: warning: unused variable 'forward' [-Wunused-variable] vec3_t forward, dir; ^~~~~~~ ref_gl/gl_script.c: In function 'RS_AlphaFuncAlias': ref_gl/gl_script.c:1451:8: warning: unused variable 'oldalpha' [-Wunused-variable] float oldalpha = alpha; ^~~~~~~~ ref_gl/gl_script.c:1450:9: warning: unused variable 'forward' [-Wunused-variable] vec3_t forward; ^~~~~~~ ref_gl/gl_script.c: In function 'ToggleLightmap': ref_gl/gl_script.c:1495:3: warning: implicit declaration of function 'SetVertexOverbrights'; did you mean 'GL_Overbright'? [-Wimplicit-function-declaration] SetVertexOverbrights(false); ^~~~~~~~~~~~~~~~~~~~ GL_Overbright ref_gl/gl_script.c:1497:3: warning: implicit declaration of function 'SetLightingMode' [-Wimplicit-function-declaration] SetLightingMode (); ^~~~~~~~~~~~~~~ ref_gl/gl_script.c: In function 'RS_DrawSurface': ref_gl/gl_script.c:1760:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (red>1)red=1; if (red<0) red = 0; ^~ ref_gl/gl_script.c:1760:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (red>1)red=1; if (red<0) red = 0; ^~ ref_gl/gl_script.c:1761:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (green>1client/cl_main.c: In function 'CL_Record_f': client/cl_main.c:231:17: warning: pointer targets in passing argument 2 of 'SZ_Init' differ in signedness [-Wpointer-sign] SZ_Init (&buf, buf_data, sizeof(buf_data)); ^~~~~~~~ In file included from client/ref.h:23, from client/client.h:30, from client/cl_main.c:22: client/../qcommon/qcommon.h:131:6: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void SZ_Init (sizebuf_t *buf, byte *data, int length); ^~~~~~~ client/cl_main.c: In function 'CL_Disconnect': client/cl_main.c:671:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final), final); ^~~~~ In file included from client/client.h:25, from client/cl_main.c:22: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ client/cl_main.c:672:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign])green=1; if (green<0) green = 0; ^~ ref_gl/gl_script.c:1761:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (green>1)green=1; if (green<0) green = 0; ^~ ref_gl/gl_script.c:1762:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (blue>1)blue=1; if (blue<0) blue = 0; ^~ ref_gl/gl_script.c:1762:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (blue>1)blue=1; if (blue<0) blue = 0; ^~ ref_gl/gl_script.c:1842:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (red>1)red=1; if (red<0) red = 0; ^~ ref_gl/gl_script.c:1842:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (red>1)red=1; if (red<0) red = 0; ^~ ref_gl/gl_script.c:1843:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (green>1)green=1; if (green<0) green = 0; ^~ ref_gl/gl_script.c:1843:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (green>1)green=1; if (green<0) green = 0; ^~ ref_gl/gl_script.c:1844:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (blue>1)blue=1; if (blue<0) blue = 0; ^~ ref_gl/gl_script.c:1844:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (blue>1)blue=1; if (blue<0) blue = 0; ^~ ref_gl/gl_script.c:1870:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (stage = stage->next); ^~~~~ ref_gl/gl_script.c:1511:14: warning: unused variable 'vieworg' [-Wunused-variable] vec3_t wv, vieworg, vectors[3]; ^~~~~~~ ref_gl/gl_script.c: In function 'RS_DrawSurfaceTexture': ref_gl/gl_script.c:2070:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (red>1)red=1; if (red<0) red = 0; ^~ ref_gl/gl_script.c:2070:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (red>1)red=1; if (red<0) red = 0; ^~ ref_gl/gl_script.c:2071:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (green>1)green=1; if (green<0) green = 0; ^~ ref_gl/gl_script.c:2071:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (green>1)green=1; if (green<0) green = 0; ^~ ref_gl/gl_script.c:2072:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (blue>1)blue=1; if (blue<0) blue = 0; ^~ ref_gl/gl_script.c:2072:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (blue>1)blue=1; if (blue<0) blue = 0; ^~ ref_gl/gl_script.c:2144:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (red>1)red=1; if (red<0) red = 0; ^~ ref_gl/gl_script.c:2144:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (red>1)red=1; if (red<0) red = 0; ^~ ref_gl/gl_script.c:2145:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (green>1)green=1; if (green<0) green = 0; ^~ ref_gl/gl_script.c:2145:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (green>1)green=1; if (green<0) green = 0; ^~ ref_gl/gl_script.c:2146:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (blue>1)blue=1; if (blue<0) blue = 0; ^~ ref_gl/gl_script.c:2146:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (blue>1)blue=1; if (blue<0) blue = 0; ^~ ref_gl/gl_script.c:2172:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (stage = stage->next); ^~~~~ ref_gl/gl_script.c:1892:14: warning: unused variable 'vieworg' [-Wunused-variable] vec3_t wv, vieworg, vectors[3]; ^~~~~~~ ref_gl/gl_script.c: In function 'RS_DrawSurfaceBlack': ref_gl/gl_script.c:2182:40: warning: unused variable 'glarescript' [-Wunused-variable] rscript_t *rs = surfaceScript(surf), *glarescript; ^~~~~~~~~~~ ref_gl/gl_script.c:2181:13: warning: unused variable 'ot' [-Wunused-variable] float os, ot, *v; ^~ ref_gl/gl_script.c:2181:9: warning: unused variable 'os' [-Wunused-variable] float os, ot, *v; ^~ ref_gl/gl_script.c: In function 'RS_SpecialSurface': ref_gl/gl_script.c:2322:13: warning: unused variable 'rs' [-Wunused-variable] rscript_t *rs; ^~ ref_gl/gl_script.c: In function 'rs_stage_map': ref_gl/gl_script.c:629:2: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy (stage->name, *token, sizeof(stage->name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_script.c: In function 'rs_stage_model': ref_gl/gl_script.c:636:2: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy (stage->model, *token, sizeof(stage->model)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_script.c: In function 'rs_stage_random': ref_gl/gl_script.c:743:3: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy (stage->name, *token, sizeof(stage->name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_script.c: In function 'rs_script_lightglarescript': ref_gl/gl_script.c:973:2: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy (rs->glarescript.name, *token, sizeof(rs->glarescript.name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_script.c: In function 'rs_script_lightglaretex': ref_gl/gl_script.c:982:2: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy (rs->glaretexture.name, *token, sizeof(rs->glaretexture.name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_script.c: In function 'rs_stage_anim': ref_gl/gl_script.c:776:3: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy (anim->name, *token, sizeof(anim->name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_script.c: In function 'RS_NewScript': ref_gl/gl_script.c:276:2: warning: 'strncpy' specified bound 128 equals destination client/cl_scrn.c: In function 'DrawHudString': client/cl_scrn.c:119:16: warning: implicit declaration of function 'setParams' [-Wimplicit-function-declaration] modified = setParams(modifier, &red, &green, &blue, &bold, &shadow, &italic, &reset); ^~~~~~~~~ client/cl_scrn.c: In function 'SCR_showFPS': client/cl_scrn.c:223:6: warning: unused variable 'calc' [-Wunused-variable] int calc; ^~~~ client/cl_scrn.c: In function 'SCR_DrawCenterString': client/cl_scrn.c:464:7: warning: unused variable 'x' [-Wunused-variable] int x, y; ^ client/cl_scrn.c: In function 'SCR_DrawPause': client/cl_scrn.c:711:10: warning: unused variable 'h' [-Wunused-variable] int w, h; ^ client/cl_scrn.c:711:7: warning: unused variable 'w' [-Wunused-variable] int w, h; ^ client/cl_scrn.c: In function 'SCR_DrawLoading': client/cl_scrn.c:761:10: warning: unused variable 'h' [-Wunused-variable] int w, h; ^ client/cl_scrn.c:761:7: warning: unused variable 'w' [-Wunused-variable] int w, h; ^ client/cl_scrn.c: In function 'entitycmpfnc': client/cl_scrn.c:1024:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-size [-Wstringop-truncation] strncpy (rs->name, name, sizeof(rs->name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_script.c: In function 'RS_LoadScript': ref_gl/gl_script.c:1105:8: warning: 'stage' may be used uninitialized in this function [-Wmaybe-uninitialized] rs_stagekeys[i].func (stage, &token); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_script.c: In function 'RS_DrawSurface': ref_gl/gl_script.c:1738:7: warning: 'tym' may be used uninitialized in this fun cast] return ( ( int ) a->skin - ( int ) b->skin ); ^ client/cl_scrn.c:1024:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ( ( int ) a->skin - ( int ) b->skin ); ^ client/cl_scrn.c:1028:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ( ( int ) a->model - ( int ) b->model ); ^ client/cl_scrn.c:1028:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ( ( int ) a->model - ( int ) b->model ); ^ client/cl_scrn.c: In function '_DrawHUDString': client/cl_scrn.c:1242:10: warning: variable 'len' set but not used [-Wunused-but-set-variable] int i, len; ^~~ client/cl_scrn.c:1242:7: warning: unused variable 'i' [-Wunused-variable] int i, len; ^ client/cl_scrn.c: In function 'DrawDemoMessage': client/cl_scrn.c:1684:7: warning: unused variable 'i' [-Wunused-variable] int i, len; ^ client/cl_scrn.c: In function 'SCR_UpdateScreen': client/cl_scrn.c:1753:12: warning: unused variable 'h' [-Wunused-variable] int w, h; ^ client/cl_scrn.c:1753:9: warning: unused variable 'w' [-Wunused-variable] int w, h; ^ client/cl_tent.c: In function 'CL_ParseLightning': client/cl_tent.c:546:28: warning: unused variablection [-Wmaybe-uninitialized] qglMTexCoord2fSGIS(GL_TEXTURE0, os+txm, ot+tym); ^~~~~~~ 'dec' [-Wunused-variable] int srcEnt, dstEnt, len, dec;cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cl_view.o -c client/cl_view.c ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_script.c:1671:8: warning: 'txm' may be used uninitialized in this function [-Wmaybe-uninitialized] txm += scroll; ~~~~^~~~~~~~~ ref_gl/gl_script.c: In function 'RS_DrawSurfaceTexture': ref_gl/gl_script.c:2076:7: warning: 'tym' may be used uninitialized in this function [-Wmaybe-uninitialized] qglTexCoord2f (os+txm, ot+tym); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_script.c:2076:7: warning: 'txm' may be used uninitialized in this function [-Wmaybe-uninitialized] ^~~ client/cl_tent.c:546:23: warning: unused variable 'len' [-Wunused-variable] int srcEnt, dstEnt, len, dec; ^~~ client/cl_tent.c:545:25: warning: unused variable 'vec' [-Wunused-variable] vec3_t start,end ,move,vec; ^~~ client/cl_tent.c:545:20: warning: unused variable 'move' [-Wunused-variable] vec3_t start,end ,move,vec; ^~~~ client/cl_tent.c: In function 'CL_AddExplosions': client/cl_tent.c:1977:3: warning: enumeration value 'ex_free' not handled in switch [-Wswitch] switch (ex->type) ^~~~~~ client/cl_tent.c:1977:3: warning: enumeration value 'ex_explosion' not handled in switch [-Wswitch] client/cl_tent.c: In function 'CL_ProcessSustain': client/cl_tent.c:2081:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (s->id) ^ client/cl_tent.c: In function 'CL_ParseTEnt': client/cl_tent.c:857:5: warning: 'smokesize' may be used uninitialized in this function [-Wmaybe-uninitialized] CL_GunSmokeEffect (pos, dir, smokesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/cl_tent.c:801:8: warning: 'decalsize' may be used uninitialized in this function [-Wmaybe-uninitialized] int decalsize; ^~~~~~~~~ Netchan_Transmit (&cls.netchan, strlen(final), final); ^~~~~ In file included from client/client.h:25, from client/cl_main.c:22: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ client/cl_main.c:673:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final), final); ^~~~~ In file included from client/client.h:25, from client/cl_main.c:22: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/console.o -c client/console.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/keys.o -c client/keys.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/menu.o -c client/menu.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/snd_dma.o -c client/snd_dma.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/snd_mem.o -c client/snd_mem.c client/snd_dma.c: In function 'S_Update': client/snd_dma.c:1014:13: warning: variable 'combine' set but not used [-Wunused-but-set-variable] channel_t *combine; ^~~~~~~ client/keys.c: In function 'Key_Console': client/keys.c:281:9: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] if ( ( toupper( key ) == 'V' && keydown[K_CTRL] ) || ^~~~~~~ client/keys.c: In function 'Key_Event': client/keys.c:917:18: warning: unused variable 'cursor' [-Wunused-variable] extern cursor_t cursor; ^~~~~~ client/keys.c: In function 'Key_Console': client/keys.c:410:3: warning: '__builtin_stpcpy' accessing 1 byte at offsets [0, 8192] and [0, 7936] may overlap 1 byte at offset 0 [-Wrestrict] strcpy(key_lines[edit_line], key_lines[history_line]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/keycc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/snd_mix.o -c client/snd_mix.c s.c:434:4: warning: '__builtin_stpcpy' accessing 1 byte at offsets [0, 8192] and [0, 8192] may overlap 1 byte at offset 0 [-Wrestrict] strcpy(key_lines[edit_line], key_lines[history_line]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/menu.c: In function 'addButton': client/menu.c:608:8: warning: unused variable 'name' [-Wunused-variable] char *name; ^~~~ client/menu.c: In function 'Keys_MenuInit': client/menu.c:1295:9: warning: unused variable 'BindList' [-Wunused-variable] char * BindList; ^~~~~~~~ client/menu.c:1293:6: warning: unused variable 'y' [-Wunused-variable] int y = 0; ^ client/menu.c: In function 'SetFontNames': client/menu.c:1672:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (fontfiles = FS_ListPak("fonts/", &nfonts)) ^~~~~~~~~ client/menu.c:1618:9: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ client/menu.c:1613:24: warning: unused variable 's' [-Wunused-variable] char **list = 0, *p, *s; ^ client/menu.c: In function 'QualFromKHZ': client/menu.c:1858:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (khz = 44) ^~~ client/menu.c:1860:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (khz = 22) ^~~ client/menu.c: In function 'Options_MenuInit': client/menu.c:1928:21: warning: unused variable 'explode_names' [-Wunused-variable] static const char *explode_names[] = ^~~~~~~~~~~~~ client/menu.c:1921:21: warning: unused variable 'blood_names' [-Wunused-variable] static const char *blood_names[] = ^~~~~~~~~~~ client/menu.c:1868:21: warning: unused variable 'null_names' [-Wunused-variable] static const char *null_names[] = ^~~~~~~~~~ client/menu.c: In function 'OptionsMisc_MouseClick': client/menu.c:2255:7: warning: unused variable 'crossPic' [-Wunused-variable] char crossPic[64]; ^~~~~~~~ client/menu.c: In function 'M_Credits_MenuDraw': client/menu.c:2935:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (alpha>1)alpha=1; if (alpha<0)alpha=0; ^~ client/menu.c:2935:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (alpha>1)alpha=1; if (alpha<0)alpha=0; ^~ client/menu.c:2945:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (alpha>1)alpha=1; if (alpha<0)alpha=0; ^~ client/menu.c:2945:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (alpha>1)alpha=1; if (alpha<0)alpha=0; ^~ client/menu.c:2909:7: warning: variable 'bold' set but not used [-Wunused-but-set-variable] int bold = false; ^~~~ client/menu.c:2908:7: warning: unused variable 'j' [-Wunused-variable] int j, stringoffset = 0; ^ client/menu.c: In function 'DrawMapPreview': client/menu.c:3924:28: warning: unused variable 'c' [-Wunused-variable] char scratch[MAX_QPATH], *c, *map; ^ client/menu.c: In function 'PlayerConfig_MenuInit': client/menu.c:4973:17: warning: unused variable 'team' [-Wunused-variable] extern cvar_t *team; ^~~~ client/menu.c: In function 'PlayerConfig_MouseClick': client/menu.c:5186:9: warning: unused variable 'oldhover' [-Wunused-variable] int i, oldhover, w, h, count; ^~~~~~~~ client/menu.c:5185:6: warning: unused variable 'totalheight' [-Wunused-variable] int totalheight; ^~~~~~~~~~~ client/menu.c:5184:6: warning: unused variable 'widest' [-Wunused-variable] int widest; ^~~~~~ client/menu.c:5183:6: warning: unused variable 'xoffset' [-Wunused-variable] int xoffset; ^~~~~~~ client/menu.c:5182:6: warning: unused variable 'ystart' [-Wunused-variable] int ystart; ^~~~~~ client/menu.c: In function 'PlayerConfig_MenuDraw': client/menu.c:5280:28: warning: unused variable 'bordercolor' [-Wunused-variable] int maxframe = 29, w, h, bordercolor; ^~~~~~~~~~~ client/menu.c:5280:7: warning: unused variable 'maxframe' [-Wunused-variable] int maxframe = 29, w, h, bordercolor; ^~~~~~~~ client/menu.c: In function 'Menu_DragSlideItem': client/menu.c:5649:16: warning: unused variable 'item' [-Wunused-variable] menucommon_s *item = ( menucommon_s * ) menuitem; ^~~~ client/menu.c: In function 'M_Draw': client/menu.c:5834:24: warning: unused variable 'h' [-Wunused-variable] int background, n, w, h; ^ client/menu.c:5834:21: warning: unused variable 'w' [-Wunused-variable] int background, n, w, h; ^ client/menu.c:5834:18: warning: unused variable 'n' [-Wunused-variable] int background, n, w, h; ^ client/menu.c:5834:6: warning: unused variable 'background' [-Wunused-variable] int background, n, w, h; ^~~~~~~~~~ client/menu.c: In function 'Multiplayer_MenuKey': client/menu.c:948:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: client/menu.c:1868:21: warning: 'null_names' defined but not used [-Wunused-variable] static const char *null_names[] = ^~~~~~~~~~ client/menu.c:1921:21: warning: 'blood_names' defined but not used [-Wunused-variable] static const char *blood_names[] = ^~~~~~~~~~~ client/menu.c:1928:21: warning: 'explode_names' defined but not used [-Wunused-variable] static const char *explode_names[] = ^~~~~~~~~~~~~ client/menu.c:3566:21: warning: 's_multiplayer_setup' defined but not used [-Wunused-variable] static menuaction_s s_multiplayer_setup; cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/qmenu.o -c client/qmenu.c ^~~~~~~~~~~~~~~~~~~ client/menu.c:3565:21: warning: 's_multiplayer_server' defined but not used [-Wunused-variable] static menuaction_s s_multiplayer_server; ^~~~~~~~~~~~~~~~~~~~ client/menu.c:3564:21: warning: 's_multiplayer_join' defined but not used [-Wunused-variable] static menuaction_s s_multiplayer_join; ^~~~~~~~~~~~~~~~~~ client/menu.c:1787:13: warning: 'setMenuOptionsMain' defined but not used [-Wunused-function] static void setMenuOptionsMain ( void *unused ) ^~~~~~~~~~~~~~~~~~ client/menu.c:1433:20: warning: 's_options_thirdperson_box' defined but not used [-Wunused-variable] static menulist_s s_options_thirdperson_box; ^~~~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1407:12: warning: 'currentOptionsMenu' defined but not used [-Wunused-variable] static int currentOptionsMenu; ^~~~~~~~~~~~~~~~~~ client/menu.c:1125:22: warning: 's_keys_help_computer_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_help_computer_action; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1123:22: warning: 's_keys_inv_next_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_inv_next_action; ^~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1122:22: warning: 's_keys_inv_prev_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_inv_prev_action; ^~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1121:22: warning: 's_keys_inv_drop_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_inv_drop_action; ^~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1120:22: warning: 's_keys_inv_use_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_inv_use_action; ^~~~~~~~~~~~~~~~~~~~~ client/menu.c:1119:22: warning: 's_keys_inventory_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_inventory_action; ^~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1118:22: warning: 's_keys_move_down_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_move_down_action; ^~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1117:22: warning: 's_keys_move_up_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_move_up_action; ^~~~~~~~~~~~~~~~~~~~~ client/menu.c:1116:22: warning: 's_keys_keyboard_look_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_keyboard_look_action; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1115:22: warning: 's_keys_mouse_look_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_mouse_look_action; ^~~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1114:22: warning: 's_keys_center_view_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_center_view_action; ^~~~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1113:22: warning: 's_keys_look_down_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_look_down_action; ^~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1112:22: warning: 's_keys_look_up_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_look_up_action; ^~~~~~~~~~~~~~~~~~~~~ client/menu.c:1111:22: warning: 's_keys_sidestep_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_sidestep_action; ^~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1110:22: warning: 's_keys_step_right_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_step_right_action; ^~~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1109:22: warning: 's_keys_step_left_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_step_left_action; ^~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1108:22: warning: 's_keys_run_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_run_action; ^~~~~~~~~~~~~~~~~ client/menu.c:1107:22: warning: 's_keys_turn_right_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_turn_right_action; ^~~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1106:22: warning: 's_keys_turn_left_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_turn_left_action; ^~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1105:22: warning: 's_keys_backpedal_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_backpedal_action; ^~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1104:22: warning: 's_keys_walk_forward_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_walk_forward_action; ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1103:22: warning: 's_keys_change_weapon_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_change_weapon_action; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1102:22: warning: 's_keys_attack_action' defined but not used [-Wunused-variable] static menuaction_s s_keys_attack_action; ^~~~~~~~~~~~~~~~~~~~ client/menu.c:786:13: warning: 'Multiplayer_MenuDraw' defined but not used [-Wunused-function] static void Multiplayer_MenuDraw (void) ^~~~~~~~~~~~~~~~~~~~ client/qmenu.c: In function 'stringLength': client/qmenu.c:96:36: warning: pointer targets in passing argument 2 of 'setParams' differ in signedness [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:10: note: expected 'int *' but argument is of type 'unsigned int *' qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^~~~~~~~~ client/qmenu.c:96:43: warning: pointer targets in passing argument 3 of 'setParams' differ in signedness [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:10: note: expected 'int *' but argument is of type 'unsigned int *' qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^~~~~~~~~ client/qmenu.c:96:50: warning: pointer targets in passing argument 4 of 'setParams' differ in signedness [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:10: note: expected 'int *' but argument is of type 'unsigned int *' qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^~~~~~~~~ client/qmenu.c:96:57: warning: pointer targets in passing argument 5 of 'setParams' differ in signedness [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:10: note: expected 'int *' but argument is of type 'unsigned int *' qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^~~~~~~~~ client/qmenu.c:96:64: warning: pointer targets in passing argument 6 of 'setParams' differ in signedness [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:10: note: expected 'int *' but argument is of type 'unsigned int *' qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^~~~~~~~~ client/qmenu.c:96:71: warning: pointer targets in passing argument 7 of 'setParams' differ in signedness [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:10: note: expected 'int *' but argument is of type 'unsigned int *' qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^~~~~~~~~ client/qmenu.c:96:78: warning: pointer targets in passing argument 8 of 'setParams' differ in signedness [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:10: note: expected 'int *' but argument is of type 'unsigned int *' qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^~~~~~~~~ client/qmenu.c: In function 'Field_Draw': client/qmenu.c:219:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (xtra = stringLengthExtra(f->buffer)) ^~~~ client/qmenu.c: In function 'Menu_Center': client/qmenu.c:479:25: warning: initialization of 'menucommon_s **' {aka 'struct **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types] menucommon_s **items = menu->items; ^~~~ client/qmenu.c: In function 'Menu_DrawStatusBar': client/qmenu.c:727:7: warning: unused variable 'maxrow' [-Wunused-variable] int maxrow = VID_HEIGHT / scaledVideo(MENU_FONT_SIZE); ^~~~~~ client/qmenu.c: In function 'Menu_DrawStringR2L': client/qmenu.c:877:17: warning: passing argument 1 of 'stringLen' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] x -= stringLen(string)*scaledVideo(MENU_FONT_SIZE); ^~~~~~ client/qmenu.c:56:22: note: expected 'char *' but argument is of type 'const char *' int stringLen (char *string); ~~~~~~^~~~~~ client/qmenu.c: In function 'Menu_DrawStringR2LDark': client/qmenu.c:883:17: warning: passing argument 1 of 'stringLen' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] x -= stringLen(string)*scaledVideo(MENU_FONT_SIZE); ^~~~~~ client/qmenu.c:56:22: note: expected 'char *' but argument is of type 'const char *' int stringLen (char *string); ~~~~~~^~~~~~ At top level: client/qmenu.c:1082:6: warning: 'SpinControl_DoEnter' defined but not used [-Wunused-function] void SpinControl_DoEnter( menulist_s *s ) ^~~~~~~~~~~~~~~~~~~ client/qmenu.c:991:6: warning: 'Menulist_DoEnter' defined but not used [-Wunused-function] void Menulist_DoEnter( menulist_s *l ) ^~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/m_flash.o -c game/m_flash.c game/m_flash.c:28:1: warning: missing braces around initializer [-Wmissing-braces] { ^ game/m_flash.c:30:2: 0.0, 0.0, 0.0, { } game/m_flash.c:33:2: 20.7, -18.5, 28.7, { } game/m_flash.c:35:2: 16.6, -21.5, 30.1, { } game/m_flash.c:37:2: 11.8, -23.9, 32.1, { } game/m_flash.c:39:2: 22.9, -0.7, 25.3, { } game/m_flash.c:41:2: 22.2, 6.2, 22.3, { } game/m_flash.c:43:2: 19.4, 13.1, 18.6, { } game/m_flash.c:45:2: 19.4, 18.8, 18.6, { } game/m_flash.c:47:2: 17.9, 25.0, 18.6, { } game/m_flash.c:49:2: 14.1, 30.5, 20.6, { } game/m_flash.c:51:2: 9.3, 35.3, 22.1, { } game/m_flash.c:53:2: 4.7, 38.4, 22.1, { } game/m_flash.c:55:2: -1.1, 40.4, 24.1, { } game/m_flash.c:57:2: -6.5, 41.2, 24.1, { } game/m_flash.c:59:2: 3.2, 40.1, 24.7, { } game/m_flash.c:61:2: 11.7, 36.7, 26.0, { } game/m_flash.c:63:2: 18.9, 31.3, 26.0, { } game/m_flash.c:65:2: 24.4, 24.4, 26.4, { } game/m_flash.c:67:2: 27.1, 17.1, 27.2, { } game/m_flash.c:69:2: 28.5, 9.1, 28.0, { } game/m_flash.c:71:2: 27.1, 2.2, 28.0, { } game/m_flash.c:73:2: 24.9, -2.8, 28.0, { } game/m_flash.c:75:2: 21.6, -7.0, 26.4, { } game/m_flash.c:77:2: 6.2, 29.1, 49.1, { } game/m_flash.c:79:2: 6.9, 23.8, 49.1, { } game/m_flash.c:81:2: 8.3, 17.8, 49.5, { } game/m_flash.c:84:2: 26.6, 7.1, 13.1, { } game/m_flash.c:86:2: 18.2, 7.5, 15.4, { } game/m_flash.c:88:2: 17.2, 10.3, 17.9, { } game/m_flash.c:90:2: 17.0, 12.8, 20.1, { } game/m_flash.c:92:2: 15.1, 14.1, 21.8, { } game/m_flash.c:94:2: 11.8, 17.2, 23.1, { } game/m_flash.c:96:2: 11.4, 20.2, 21.0, { } game/m_flash.c:98:2: 9.0, 23.0, 18.9, { } game/m_flash.c:100:2: 13.9, 18.6, 17.7, { } game/m_flash.c:102:2: 15.4, 15.6, 15.8, { } game/m_flash.c:104:2: 10.2, 15.2, 25.1, { } game/m_flash.c:106:2: -1.9, 15.1, 28.2, { } game/m_flash.c:108:2: -12.4, 13.0, 20.2, { } game/m_flash.c:111:2: 10.6 * 1.2, 7.7 * 1.2, 7.8 * 1.2, { } game/m_flash.c:113:2: 21.1 * 1.2, 3.6 * 1.2, 19.0 * 1.2, { } game/m_flash.c:115:2: 10.6 * 1.2, 7.7 * 1.2, 7.8 * 1.2, { } game/m_flash.c:117:2: 21.1 * 1.2, 3.6 * 1.2, 19.0 * 1.2, { } game/m_flash.c:119:2: 10.6 * 1.2, 7.7 * 1.2, 7.8 * 1.2, { } game/m_flash.c:121:2: 21.1 * 1.2, 3.6 * 1.2, 19.0 * 1.2, { } game/m_flash.c:124:2: 30.1 * 1.15, 3.9 * 1.15, 19.6 * 1.15, { } game/m_flash.c:126:2: 29.1 * 1.15, 2.5 * 1.15, 20.7 * 1.15, { } game/m_flash.c:128:2: 28.2 * 1.15, 2.5 * 1.15, 22.2 * 1.15, { } game/m_flash.c:130:2: 28.2 * 1.15, 3.6 * 1.15, 22.0 * 1.15, { } game/m_flash.c:132:2: 26.9 * 1.15, 2.0 * 1.15, 23.4 * 1.15, { } game/m_flash.c:134:2: 26.5 * 1.15, 0.6 * 1.15, 20.8 * 1.15, { } game/m_flash.c:136:2: 26.9 * 1.15, 0.5 * 1.15, 21.5 * 1.15, { } game/m_flash.c:138:2: 29.0 * 1.15, 2.4 * 1.15, 19.5 * 1.15, { } game/m_flash.c:140:2: 4.6 * 1.15, -16.8 * 1.15, 7.3 * 1.15, { } game/m_flash.c:142:2: 4.6 * 1.15, -16.8 * 1.15, 7.3 * 1.15, { } game/m_flash.c:144:2: 4.6 * 1.15, -16.8 * 1.15, 7.3 * 1.15, { } game/m_flash.c:146:2: 4.6 * 1.15, -16.8 * 1.15, 7.3 * 1.15, { } game/m_flash.c:150:2: 24.8, -9.0, 39.0, // PGM - this was incorrect in Q2 { } game/m_flash.c:153:2: 12.1, 13.4, -14.5, { } game/m_flash.c:155:2: 12.1, -7.4, -14.5, { } game/m_flash.c:158:2: 12.1, 5.4, 16.5, { } game/m_flash.c:161:2: 30.0, 18.0, 28.0, { } game/m_flash.c:164:2: 32.5, -0.8, 10.0, { } game/m_flash.c:167:2: 18.4, 7.4, 9.6, { } game/m_flash.c:170:2: 30.0, 30.0, 88.5, { } game/m_flash.c:172:2: 30.0, 30.0, 88.5, { } game/m_flash.c:174:2: 30.0, 30.0, 88.5, { } game/m_flash.c:176:2: 30.0, 30.0, 88.5, { } game/m_flash.c:178:2: 30.0, 30.0, 88.5, { } game/m_flash.c:180:2: 30.0, 30.0, 88.5, { } game/m_flash.c:182:2: 16.0, -22.5, 91.2, { } game/m_flash.c:184:2: 16.0, -33.4, 86.7, { } game/m_flash.c:186:2: 16.0, -42.8, 83.3, { } game/m_flash.c:190:2: 32, -40, 70, { } game/m_flash.c:192:2: 32, -40, 70, { } game/m_flash.c:194:2: 32, -40, 70, { } game/m_flash.c:196:2: 32, -40, 70, { } game/m_flash.c:198:2: 32, -40, 70, { } game/m_flash.c:202:2: 22.0, 16.0, 10.0, { } game/m_flash.c:204:2: 22.0, 8.0, 10.0, { } game/m_flash.c:206:2: 22.0, -8.0, 10.0, { } game/m_flash.c:208:2: 22.0, -16.0, 10.0, { } game/m_flash.c:211:2: 32.5, -0.8, 10, { } game/m_flash.c:214:2: 20.8 * 1.2, 10.1 * 1.2, -2.7 * 1.2, { } game/m_flash.c:216:2: 20.8 * 1.2, 10.1 * 1.2, -2.7 * 1.2, { } game/m_flash.c:218:2: 20.8 * 1.2, 10.1 * 1.2, -2.7 * 1.2, { } game/m_flash.c:220:2: 7.6 * 1.2, 9.3 * 1.2, 0.8 * 1.2, { } game/m_flash.c:222:2: 7.6 * 1.2, 9.3 * 1.2, 0.8 * 1.2, { } game/m_flash.c:224:2: 7.6 * 1.2, 9.3 * 1.2, 0.8 * 1.2, { } game/m_flash.c:226:2: 30.5 * 1.2, 9.9 * 1.2, -18.7 * 1.2, { } game/m_flash.c:228:2: 30.5 * 1.2, 9.9 * 1.2, -18.7 * 1.2, { } game/m_flash.c:230:2: 30.5 * 1.2, 9.9 * 1.2, -18.7 * 1.2, { } game/m_flash.c:232:2: 27.6 * 1.2, 3.4 * 1.2, -10.4 * 1.2, { } game/m_flash.c:234:2: 27.6 * 1.2, 3.4 * 1.2, -10.4 * 1.2, { } game/m_flash.c:236:2: 27.6 * 1.2, 3.4 * 1.2, -10.4 * 1.2, { } game/m_flash.c:238:2: 28.9 * 1.2, 4.6 * 1.2, -8.1 * 1.2, { } game/m_flash.c:240:2: 28.9 * 1.2, 4.6 * 1.2, -8.1 * 1.2, { } game/m_flash.c:242:2: 28.9 * 1.2, 4.6 * 1.2, -8.1 * 1.2, { } game/m_flash.c:245:2: 31.5 * 1.2, 9.6 * 1.2, 10.1 * 1.2, { } game/m_flash.c:247:2: 34.5 * 1.2, 9.6 * 1.2, 6.1 * 1.2, { } game/m_flash.c:249:2: 34.5 * 1.2, 9.6 * 1.2, 6.1 * 1.2, { } game/m_flash.c:253:2: 17, -19.5, 62.9, { } game/m_flash.c:255:2: -3.6, -24.1, 59.5, { } game/m_flash.c:257:2: -1.6, -19.3, 59.5, { } game/m_flash.c:259:2: -0.1, -14.4, 59.5, { } game/m_flash.c:261:2: 2.0, -7.6, 59.5, { } game/m_flash.c:263:2: 3.4, 1.3, 59.5, { } game/m_flash.c:265:2: 3.7, 11.1, 59.5, { } game/m_flash.c:267:2: -0.3, 22.3, 59.5, { } game/m_flash.c:269:2: -6, 33, 59.5, { } game/m_flash.c:271:2: -9.3, 36.4, 59.5, { } game/m_flash.c:273:2: -7, 35, 59.5, { } game/m_flash.c:275:2: -2.1, 29, 59.5, { } game/m_flash.c:277:2: 3.9, 17.3, 59.5, { } game/m_flash.c:279:2: 6.1, 5.8, 59.5, { } game/m_flash.c:281:2: 5.9, -4.4, 59.5, { } game/m_flash.c:283:2: 4.2, -14.1, 59.5, { } game/m_flash.c:285:2: 2.4, -18.8, 59.5, { } game/m_flash.c:287:2: -1.8, -25.5, 59.5, { } game/m_flash.c:289:2: -17.3, 7.8, 72.4, { } game/m_flash.c:292:2: 78.5, -47.1, 96, { } game/m_flash.c:294:2: 78.5, -47.1, 96, { } game/m_flash.c:296:2: 78.5, -47.1, 96, { } game/m_flash.c:298:2: 78.5, -47.1, 96, { } game/m_flash.c:300:2: 78.5, -47.1, 96, { } game/m_flash.c:302:2: 78.5, -47.1, 96, { } game/m_flash.c:304:2: 78.5, 46.7, 96, { } game/m_flash.c:306:2: 78.5, 46.7, 96, { } game/m_flash.c:308:2: 78.5, 46.7, 96, { } game/m_flash.c:310:2: 78.5, 46.7, 96, { } game/m_flash.c:312:2: 78.5, 46.7, 96, { } game/m_flash.c:314:2: 78.5, 46.7, 96, { } game/m_flash.c:316:2: 6.3, -9, 111.2, { } game/m_flash.c:319:2: 32, 40, 70, { } game/m_flash.c:321:2: 32, 40, 70, { } game/m_flash.c:323:2: 32, 40, 70, { } game/m_flash.c:325:2: 32, 40, 70, { } game/m_flash.c:327:2: 32, 40, 70, { } game/m_flash.c:335:2: 56, -32, 32, { } game/m_flash.c:337:2: 56, 32, 32, { } game/m_flash.c:339:2: 42, 24, 50, { } game/m_flash.c:341:2: 16, 0, 0, { } game/m_flash.c:343:2: 16, 0, 0, { } game/m_flash.c:345:2: 16, 0, 0, { } game/m_flash.c:347:2: 24, 0, 6, { } game/m_flash.c:349:2: 32.5, -0.8, 10.0, { } game/m_flash.c:351:2: 12.1, 5.4, 16.5, { } game/m_flash.c:353:2: 32, 0, 6, { } game/m_flash.c:355:2: 57.72, 14.50, 88.81, { } game/m_flash.c:357:2: 56, 32, 32, { } game/m_flash.c:359:2: 62, -20, 84, { } game/m_flash.c:361:2: 32, 0, 6, { } game/m_flash.c:363:2: 61, -32, 12, { } game/m_flash.c:365:2: 61, 32, 12, { } game/m_flash.c:367:2: 17, -62, 91, { } game/m_flash.c:369:2: 68, 12, 86, { } game/m_flash.c:371:2: 47.5, 56, 89, { } game/m_flash.c:373:2: 54, 52, 91, { } game/m_flash.c:375:2: 58, 40, 91, { } game/m_flash.c:377:2: 68, 30, 88, { } game/m_flash.c:379:2: 74, 20, 88, { } game/m_flash.c:381:2: 73, 11, 87, { } game/m_flash.c:383:2: 73, 3, 87, { } game/m_flash.c:385:2: 70, -12, 87, { } game/m_flash.c:387:2: 67, -20, 90, { } game/m_flash.c:389:2: -20, 76, 90, { } game/m_flash.c:391:2: -8, 74, 90, { } game/m_flash.c:393:2: 0, 72, 90, { } game/m_flash.c:395:2: 10, 71, 89, { } game/m_flash.c:397:2: 23, 70, 87, { } game/m_flash.c:399:2: 32, 64, 85, { } game/m_flash.c:401:2: 40, 58, 84, { } game/m_flash.c:403:2: 48, 50, 83, { } game/m_flash.c:405:2: 54, 42, 82, { } game/m_flash.c:407:2: 56, 34, 82, { } game/m_flash.c:409:2: 58, 26, 82, { } game/m_flash.c:411:2: 60, 16, 82, { } game/m_flash.c:413:2: 59, 6, 81, { } game/m_flash.c:415:2: 58, -2, 80, { } game/m_flash.c:417:2: 57, -10, 79, { } game/m_flash.c:419:2: 54, -18, 78, { } game/m_flash.c:421:2: 42, -32, 80, { } game/m_flash.c:423:2: 36, -40, 78, { } game/m_flash.c:425:2: 68.4, 10.88, 82.08, { } game/m_flash.c:427:2: 68.51, 8.64, 85.14, { } game/m_flash.c:429:2: 68.66, 6.38, 88.78, { } game/m_flash.c:431:2: 68.73, 5.1, 84.47, { } game/m_flash.c:433:2: 68.82, 4.79, 80.52, { } game/m_flash.c:435:2: 68.77, 6.11, 85.37, { } game/m_flash.c:437:2: 68.67, 7.99, 90.24, { } game/m_flash.c:439:2: 68.55, 9.54, 87.36, { } game/m_flash.c:441:2: 0, 0, -5, { } game/m_flash.c:443:2: 0, 0, -5, { } game/m_flash.c:445:2: 0, 0, -5, { } game/m_flash.c:447:2: 0, 0, -5, { } game/m_flash.c:450:2: 69.00, -17.63, 93.77, { } game/m_flash.c:453:2: 69.00, -17.08, 89.82, { } game/m_flash.c:456:2: 69.00, -18.40, 90.70, { } game/m_flash.c:459:2: 69.00, -18.34, 94.32, { } game/m_flash.c:462:2: 69.00, -18.30, 97.98, { } game/m_flash.c:464:2: 45.04, -59.02, 92.24, { } game/m_flash.c:466:2: 50.68, -54.70, 91.96, { } game/m_flash.c:468:2: 56.57, -47.72, 91.65, { } game/m_flash.c:470:2: 61.75, -38.75, 91.38, { } game/m_flash.c:472:2: 65.55, -28.76, 91.24, { } game/m_flash.c:474:2: 67.79, -18.90, 91.22, { } game/m_flash.c:476:2: 68.60, -9.52, 91.23, { } game/m_flash.c:478:2: 68.08, 0.18, 91.32, { } game/m_flash.c:480:2: 66.14, 9.79, 91.44, { } game/m_flash.c:482:2: 62.77, 18.91, 91.65, { } game/m_flash.c:484:2: 58.29, 27.11, 92.00, { } game/m_flash.c:487:2: 0.0, 0.0, 0.0 { }; } cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cmd.o -c qcommon/cmd.c client/console.c: In function 'Con_DrawInput': client/console.c:659:7: warning: variable 'y' set but not used [-Wunused-but-set-variable] int y; ^ client/console.c: In function 'Con_DrawNotify': client/console.c:783:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (alpha<0)alpha=0; if (alpha>255)alpha=255; ^~ client/console.c:783:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (alpha<0)alpha=0; if (alpha>255)alpha=255; ^~ client/console.c:711:7: warning: unused variable 'skip' [-Wunused-variable] int skip; ^~~~ client/console.c:707:10: warning: unused variable 'xtra' [-Wunused-variable] int x, xtra; ^~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cmodel.o -c qcommon/cmodel.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/common.o -c qcommon/common.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/crc.o -c qcommon/crc.c qcommon/cmd.c: In function 'Cbuf_InsertFromDefer': qcommon/cmd.c:161:19: warning: pointer targets in passing argument 1 of 'Cbuf_InsertText' differ in signedness [-Wpointer-sign] Cbuf_InsertText (defer_text_buf); ^~~~~~~~~~~~~~ qcommon/cmd.c:114:6: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} void Cbuf_InsertText (char *text) ^~~~~~~~cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cvar.o -c qcommon/cvar.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/files.o -c qcommon/files.c ~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/md4.o -c qcommon/md4.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/net_chan.o -c qcommon/net_chan.c qcommon/net_chan.c: In function 'Netchan_Process': qcommon/net_chan.c:302:8: warning: variable 'qport' set but not used [-Wunused-but-set-variable] int qport; ^~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_ccmds.o -c server/sv_ccmds.c qcommon/files.c: In function 'FS_ListPak': qcommon/files.c:356:9: warning: unused variable 'netpath' [-Wunused-variable] char netpath[MAX_OSPATH]; ^~~~~~~ qcommon/files.c: In function 'FS_LoadPackFile': qcommon/files.c:524:12: warning: variable 'checksum' set but not used [-Wunused-but-set-variable] unsigned checksum; ^~~~~~~~ qcommon/files.c: In function 'FS_SetGamedir': qcommon/files.c:767:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (modType("baseq2") && (!strcmp(dir,BASEDIRNAME)) || (*dir == 0)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_ents.o -c server/sv_ents.c server/sv_ents.c: In function 'SV_EmitPacketEntities': server/sv_ents.c:127:27: warning: 'newent' may be used uninitialized in this function [-Wmaybe-uninitialized] entity_state_t *oldent, *newent; ^~~~~~ server/sv_ents.c:171:4: warning: 'oldent' may be used uninitialized in this function [-Wmaybe-uninitialized] MSG_WriteDeltaEntity (oldent, newent, msg, false, newent->number <= maxclients->value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_game.o -c server/sv_game.c server/sv_ccmds.c: In function 'SV_ServerRecord_f': server/sv_ccmds.c:928:17: warning: pointer targets in passing argument 2 of 'SZ_Init' differ in signedness [-Wpointer-sign] SZ_Init (&buf, buf_data, sizeof(buf_data)); ^~~~~~~~ In file included from server/server.h:25, from server/sv_ccmds.c:21: server/../qcommon/qcommon.h:131:6: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void SZ_Init (sizebuf_t *buf, byte *data, int length); ^~~~~~~ server/sv_ccmds.c: In function 'SV_WriteServerFile': server/sv_ccmds.c:362:3: warning: 'strncat' output may be truncated copying between 0 and 31 bytes from a string of length 63 [-Wstringop-truncation] strncat (comment, sv.configstrings[CS_NAME], sizeof(comment)-1-strlen(comment) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_init.o -c server/sv_init.c server/sv_init.c: In function 'SV_Map': server/sv_init.c:462:3: warning: implicit declaration of function 'M_ForceMenuOff' [-Wimplicit-function-declaration] M_ForceMenuOff(); ^~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_main.o -c server/sv_main.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_send.o -c server/sv_send.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_user.o -c server/sv_user.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sv_world.o -c server/sv_world.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/qsh_unix.o -c unix/qsh_unix.c unix/qsh_unix.c: In function 'strlwr': unix/qsh_unix.c:156:8: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] *s = tolower(*s); ^~~~~~~ unix/qsh_unix.c:159:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ unix/qsh_unix.c: In function 'Hunk_End': unix/qsh_unix.c:102:5: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] if (n != membase) ^ unix/qsh_unix.c: In function 'Sys_FindFirst': unix/qsh_unix.c:219:28: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf (findpath, "%s/%s", findbase, d->d_name); ^~ unix/qsh_unix.c:219:5: note: 'sprintf' output between 2 and 384 bytes into a destination of size 128 sprintf (findpath, "%s/%s", findbase, d->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/qsh_unix.c: In function 'Sys_FindNext': unix/qsh_unix.c:238:28: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf (findpath, "%s/%s", findbase, d->d_name); ^~ unix/qsh_unix.c:238:5: note: 'sprintf' output between 2 and 384 bytes into a destination of size 128 sprintf (findpath, "%s/%s", findbase, d->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/vid_menu.o -c unix/vid_menu.c unix/vid_menu.c: In function 'BrightnessCallback': unix/vid_menu.c:138:7: warning: unused variable 'ref' [-Wunused-variable] int ref; ^~~ unix/vid_menu.c:132:16: warning: unused variable 'slider' [-Wunused-variable] menuslider_s *slider = ( menuslider_s * ) s; ^~~~~~ unix/vid_menu.c: In function 'ApplyChanges': unix/vid_menu.c:167:8: warning: unused variable 'gamma' [-Wunused-variable] float gamma; ^~~~~ unix/vid_menu.c: In function 'VID_MenuDraw': unix/vid_menu.c:730:9: warning: unused variable 'h' [-Wunused-variable] int w, h; ^ unix/vid_menu.c:730:6: warning: unused variable 'w' [-Wunused-variable] int w, h; ^ At top level: unix/vid_menu.c:113:22: warning: 's_back_action' defined but not used [-Wunused-variable] static menuaction_s s_back_action; ^~~~~~~~~~~~~ unix/vid_menu.c:75:22: warning: 's_vertexlight_box' defined but not used [-Wunused-variable] static menulist_s s_vertexlight_box; ^~~~~~~~~~~~~~~~~ unix/vid_menu.c:73:22: warning: 's_lightmapscale_slider' defined but not used [-Wunused-variable] static menuslider_s s_lightmapscale_slider; ^~~~~~~~~~~~~~~~~~~~~~ unix/vid_menu.c:62:13: warning: 's_current_menu_index' defined but not used [-Wunused-variable] static int s_current_menu_index; ^~~~~~~~~~~~~~~~~~~~ unix/vid_menu.c: In function 'VID_MenuInit': unix/vid_menu.c:453:39: warning: 'y' is used uninitialized in this function [-Wuninitialized] s_ref_list.generic.y = MENU_FONT_SIZE*y+2;; cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/vid_so.o -c unix/vid_so.c unix/vid_so.c: In function 'Real_IN_Init': unix/vid_so.c:481:2: warning: implicit declaration of function 'refreshCursorMenu' [-Wimplicit-function-declaration] refreshCursorMenu(); ^~~~~~~~~~~~~~~~~ unix/vid_so.c:482:2: warning: implicit declaration of function 'refreshCursorLink' [-Wimplicit-function-declaration] refreshCursorLink(); ^~~~~~~~~~~~~~~~~ unix/vid_so.c: In function 'IN_Move': unix/vid_so.c:523:4: warning: implicit declaration of function 'M_Think_MouseCursor' [-Wimplicit-function-declaration] M_Think_MouseCursor(); ^~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/sys_unix.o -c unix/sys_unix.c server/sv_world.c: In function 'SV_AreaEdicts_r': server/sv_world.c:36:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) ^ server/sv_world.c:38:28: note: in expansion of macro 'STRUCT_FROM_LINK' #define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) ^~~~~~~~~~~~~~~~ server/sv_world.c:371:11: note: in expansion of macro 'EDICT_FROM_AREA' check = EDICT_FROM_AREA(l); ^~~~~~~~~~~~~~~ server/sv_world.c:358:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count; ^~~~~ server/sv_world.c: In function 'SV_PointContents': server/sv_world.c:437:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] float *angles; ^~~~~~ unix/sys_unix.c: In function 'Sys_Printf': unix/sys_unix.c:77:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (nostdout && nostdout->value) ^~ unix/sys_unix.c:80:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (p = (unsigned char *)text; *p; p++) { ^~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/glob.o -c unix/glob.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/net_udp.o -c unix/net_udp.c unix/glob.c:51:12: warning: 'glob_pattern_p' defined but not used [-Wunused-function] static int glob_pattern_p(char *pattern) ^~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/q_shared.o -c game/q_shared.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/pmove.o -c qcommon/pmove.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cd_unix.o -c unix/cd_unix.c cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/snd_unix.o -c unix/snd_unix.c server/sv_main.c: In function 'GetClientFromAdr': server/sv_main.c:88:11: warning: 'cl' may be used uninitialized in this function [-Wmaybe-uninitialized] return cl; ^~ server/sv_main.c: In function 'SVC_DirectConnect': server/sv_main.c:418:2: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 511 [-Wstringop-truncation] strncpy (newcl->userinfo, userinfo, sizeof(newcl->userinfo)-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/snd_unix.c: In function 'SNDDMA_Init': unix/snd_unix.c:56:11: warning: unused variable 's' [-Wunused-variable] char *s; ^ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_sdl.o -c unix/gl_sdl.c -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DOPENGL cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/cd_sdl.o -c unix/cd_sdl.c -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -I/usr/local/include -o release/client/snd_sdl.o -c unix/snd_sdl.c -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE In file included from unix/gl_sdl.c:45: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from unix/gl_sdl.c:45: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 unix/gl_sdl.c: In function 'RW_IN_Commands': unix/gl_sdl.c:194:26: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if (!(mouse_buttonstate * (1<<3)) && (mouse_oldbuttonstate & (1<<3))) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ unix/gl_sdl.c:199:26: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if (!(mouse_buttonstate * (1<<4)) && (mouse_oldbuttonstate & (1<<4))) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ unix/net_udp.c: In function 'NET_GetPacket': unix/net_udp.c:302:35: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] , 0, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ In file included from unix/net_udp.c:25: /usr/include/sys/socket.h:552:9: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' ssize_t recvfrom(int, void * __restrict, size_t, int, ^~~~~~~~ unix/net_udp.c: In function 'NET_CompareBaseAdr': unix/net_udp.c:129:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ unix/net_udp.c: In function 'NET_SendPacket': unix/net_udp.c:373:8: warning: 'net_socket' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = sendto (net_socket, data, length, 0, (struct sockaddr *)&addr, sizeof(addr) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/sys_unix.c: In function 'Sys_Printf': unix/sys_unix.c:77:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (nostdout && nostdout->value) ^~ unix/sys_unix.c:80:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for (p = (unsigned char *)text; *p; p++) { ^~~ client/snd_mix.c: In function 'S_PaintChannelFrom8': client/snd_mix.c:385:6: warning: pointer targets in assignment from 'signed char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] sfx = (signed char *)sc->data + ch->pos; ^ client/snd_mem.c: In function 'FindNextChunk': client/snd_mem.c:233:16: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(data_p, name, 4)) ^~~~~~ In file included from client/client.h:25, from client/snd_mem.c:22: /usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ client/snd_mem.c: In function 'DumpChunks': client/snd_mem.c:256:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Com_Printf ("0x%x : %s (%d)\n", (int)(data_p - 4), str, iff_chunk_len); ^ client/snd_mem.c: In function 'GetWavinfo': client/snd_mem.c:283:33: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!(data_p && !strncmp(data_p+8, "WAVE", 4))) ~~~~~~^~ In file included from client/client.h:25, from client/snd_mem.c:22: /usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ client/snd_mem.c:324:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp (data_p + 28, "mark", 4)) ~~~~~~~^~~~ In file included from client/client.h:25, from client/snd_mem.c:22: /usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ server/sv_ccmds.c: In function 'SV_ServerRecord_f': server/sv_ccmds.c:928:17: warning: pointer targets in passing argument 2 of 'SZ_Init' differ in signedness [-Wpointer-sign] SZ_Init (&buf, buf_data, sizeof(buf_data)); ^~~~~~~~ In file included from server/server.h:25, from server/sv_ccmds.c:21: server/../qcommon/qcommon.h:131:6: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' void SZ_Init (sizebuf_t *buf, byte *data, int length); ^~~~~~~ server/sv_ccmds.c: In function 'SV_WriteServerFile': server/sv_ccmds.c:362:3: warning: 'strncat' output may be truncated copying between 0 and 31 bytes from a string of length 63 [-Wstringop-truncation] strncat (comment, sv.configstrings[CS_NAME], sizeof(comment)-1-strlen(comment) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -o quake2/quake2max-ded release/ded/cmd.o release/ded/cmodel.o release/ded/common.o release/ded/crc.o release/ded/cvar.o release/ded/files.o release/ded/md4.o release/ded/net_chan.o release/ded/sv_ccmds.o release/ded/sv_ents.o release/ded/sv_game.o release/ded/sv_init.o release/ded/sv_main.o release/ded/sv_send.o release/ded/sv_user.o release/ded/sv_world.o release/ded/qsh_unix.o release/ded/sys_unix.o release/ded/glob.o release/ded/net_udp.o release/ded/q_shared.o release/ded/pmove.o release/ded/cl_null.o release/ded/cd_null.o -lm -lz In file included from unix/gl_glx.c:57: /usr/local/include/X11/extensions/xf86dga.h:9:2: warning: #warning "xf86dga.h is obsolete and may be removed in the future." [-Wcpp] #warning "xf86dga.h is obsolete and may be removed in the future." ^~~~~~~ /usr/local/include/X11/extensions/xf86dga.h:10:2: warning: #warning "include instead." [-Wcpp] #warning "include instead." ^~~~~~~ unix/gl_glx.c: In function 'RW_IN_Init': unix/gl_glx.c:220:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ unix/gl_glx.c:219:6: warning: unused variable 'mtype' [-Wunused-variable] int mtype; ^~~~~ unix/gl_glx.c: In function 'signal_handler': unix/gl_glx.c:601:2: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); ^~~~~ unix/gl_glx.c:601:2: warning: incompatible implicit declaration of built-in function '_exit' unix/gl_glx.c: In function 'GLimp_SetMode': unix/gl_glx.c:638:19: warning: variable 'actualHeight' set but not used [-Wunused-but-set-variable] int actualWidth, actualHeight; ^~~~~~~~~~~~ unix/gl_glx.c:638:6: warning: variable 'actualWidth' set but not used [-Wunused-but-set-variable] int actualWidth, actualHeight; ^~~~~~~~~~~ unix/gl_glx.c: In function 'GLimp_BeginFrame': unix/gl_glx.c:896:2: warning: implicit declaration of function 'CIN_ProcessCins'; did you mean 'CRC_ProcessByte'? [-Wimplicit-function-declaration] CIN_ProcessCins(); ^~~~~~~~~~~~~~~ CRC_ProcessByte unix/gl_glx.c: At top level: unix/gl_glx.c:942:1: warning: "/*" within comment [-Wcomment] /*------------------------------------------------*/ unix/gl_glx.c:971:1: warning: "/*" within comment [-Wcomment] /*------------------------------------------------*/ unix/gl_glx.c: In function 'RW_Sys_GetClipboardData': unix/gl_glx.c:1008:18: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] ret = strdup(data); ^~~~ In file included from unix/../ref_gl/../client/../qcommon/../game/q_shared.h:38, from unix/../ref_gl/../client/../qcommon/qcommon.h:23, from unix/../ref_gl/../client/ref.h:23, from unix/../ref_gl/gl_local.h:41, from unix/gl_glx.c:44: /usr/include/string.h:99:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strdup(const char *) __malloclike; ^~~~~~ unix/gl_glx.c: At top level: unix/gl_glx.c:594:17: warning: 'GLimp_SwitchFullscreen' declared 'static' but never defined [-Wunused-function] static qboolean GLimp_SwitchFullscreen( int width, int height ); ^~~~~~~~~~~~~~~~~~~~~~ unix/gl_glx.c:93:12: warning: 'default_dotclock_vidmode' defined but not used [-Wunused-variable] static int default_dotclock_vidmode; ^~~~~~~~~~~~~~~~~~~~~~~~ client/cl_newfx.c: In function 'CL_Nukeblast': client/cl_newfx.c:586:2: warning: missing braces around initializer [-Wmissing-braces] { ^ 250, 250, 255, { } 200, 225, 255, { } 150, 175, 255, { } 100, 100, 255, { } 0 { }; } client/cl_newfx.c:582:13: warning: unused variable 'colortable2' [-Wunused-variable] static int colortable2[4] = {255, 255, 255, 255}; ^~~~~~~~~~~ client/cl_newfx.c:581:13: warning: unused variable 'colortable1' [-Wunused-variable] static int colortable1[4] = {255, 215, 185, 150}; ^~~~~~~~~~~ client/cl_newfx.c:580:13: warning: unused variable 'colortable0' [-Wunused-variable] static int colortable0[4] = {255, 215, 185, 150}; ^~~~~~~~~~~ client/cl_newfx.c: In function 'CL_WidowSplash': client/cl_newfx.c:627:13: warning: unused variable 'colortable' [-Wunused-variable] static int colortable[4] = {2*8,13*8,21*8,18*8}; ^~~~~~~~~~ At top level: client/cl_newfx.c:627:13: warning: 'colortable' defined but not used [-Wunused-variable] client/cl_newfx.c:580:13: warning: 'colortable0' defined but not used [-Wunused-variable] static int colortable0[4] = {255, 215, 185, 150}; ^~~~~~~~~~~ client/cl_newfx.c:581:13: warning: 'colortable1' defined but not used [-Wunused-variable] static int colortable1[4] = {255, 215, 185, 150}; ^~~~~~~~~~~ client/cl_newfx.c:582:13: warning: 'colortable2' defined but not used [-Wunused-variable] static int colortable2[4] = {255, 255, 255, 255}; ^~~~~~~~~~~ ==================== Linking quake2/quake2max ==================== cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -o quake2/quake2max release/client/cl_cin.o release/client/cl_ents.o release/client/cl_fx.o release/client/cl_input.o release/client/cl_inv.o release/client/cl_main.o release/client/cl_newfx.o release/client/cl_parse.o release/client/cl_pred.o release/client/cl_tent.o release/client/cl_scrn.o release/client/cl_view.o release/client/console.o release/client/keys.o release/client/menu.o release/client/snd_dma.o release/client/snd_mem.o release/client/snd_mix.o release/client/qmenu.o release/client/m_flash.o release/client/cmd.o release/client/cmodel.o release/client/common.o release/client/crc.o release/client/cvar.o release/client/files.o release/client/md4.o release/client/net_chan.o release/client/sv_ccmds.o release/client/sv_ents.o release/client/sv_game.o release/client/sv_init.o release/client/sv_main.o release/client/sv_send.o release/client/sv_user.o release/client/sv_world.o release/client/qsh_unix.o release/client/vid_menu.o release/client/vid_so.o release/client/sys_unix.o release/client/glob.o release/client/net_udp.o release/client/q_shared.o release/client/pmove.o release/client/cd_unix.o release/client/snd_unix.o -lm -lz ==================== Linking quake2/quake2max-sdl ==================== cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -o quake2/quake2max-sdl release/client/cl_cin.o release/client/cl_ents.o release/client/cl_fx.o release/client/cl_input.o release/client/cl_inv.o release/client/cl_main.o release/client/cl_newfx.o release/client/cl_parse.o release/client/cl_pred.o release/client/cl_tent.o release/client/cl_scrn.o release/client/cl_view.o release/client/console.o release/client/keys.o release/client/menu.o release/client/snd_dma.o release/client/snd_mem.o release/client/snd_mix.o release/client/qmenu.o release/client/m_flash.o release/client/cmd.o release/client/cmodel.o release/client/common.o release/client/crc.o release/client/cvar.o release/client/files.o release/client/md4.o release/client/net_chan.o release/client/sv_ccmds.o release/client/sv_ents.o release/client/sv_game.o release/client/sv_init.o release/client/sv_main.o release/client/sv_send.o release/client/sv_user.o release/client/sv_world.o release/client/qsh_unix.o release/client/vid_menu.o release/client/vid_so.o release/client/sys_unix.o release/client/glob.o release/client/net_udp.o release/client/q_shared.o release/client/pmove.o release/client/cd_sdl.o release/client/snd_sdl.o -lm -lz -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread ref_gl/gl_mesh.c: In function 'GL_DrawOutLine': ref_gl/gl_mesh.c:89:15: warning: variable 'verts' set but not used [-Wunused-but-set-variable] dtrivertx_t *verts; ^~~~~ ref_gl/gl_mesh.c: In function 'GL_DrawAliasFrameLerpShell': ref_gl/gl_mesh.c:343:22: warning: variable 'laststage' set but not used [-Wunused-but-set-variable] rs_stage_t *stage, *laststage = NULL; ^~~~~~~~~ ref_gl/gl_mesh.c:342:9: warning: unused variable 'normal' [-Wunused-variable] float *normal; ^~~~~~ ref_gl/gl_mesh.c:341:12: warning: unused variable 'tym' [-Wunused-variable] float txm,tym; ^~~ ref_gl/gl_mesh.c:341:8: warning: unused variable 'txm' [-Wunused-variable] float txm,tym; ^~~ ref_gl/gl_mesh.c:339:36: warning: variable 'is_trans' set but not used [-Wunused-but-set-variable] qboolean depthmaskrscipt = false, is_trans = false; ^~~~~~~~ ref_gl/gl_mesh.c:333:33: warning: unused variable 'lightcolor' [-Wunused-variable] vec3_t frontv, backv, viewdir, lightcolor; ^~~~~~~~~~ ref_gl/gl_mesh.c: In function 'GL_DrawAliasFrameLerp': ref_gl/gl_mesh.c:670:22: warning: variable 'laststage' set but not used [-Wunused-but-set-variable] rs_stage_t *stage, *laststage = NULL; ^~~~~~~~~ ref_gl/gl_mesh.c:669:9: warning: unused variable 'normal' [-Wunused-variable] float *normal; ^~~~~~ ref_gl/gl_mesh.c:668:12: warning: unused variable 'tym' [-Wunused-variable] float txm,tym; ^~~ ref_gl/gl_mesh.c:668:8: warning: unused variable 'txm' [-Wunused-variable] float txm,tym; ^~~ ref_gl/gl_mesh.c:652:9: warning: variable 'l' set but not used [-Wunused-but-set-variable] float l; ^ ref_gl/gl_mesh.c: In function 'CastVolumeShadow': ref_gl/gl_mesh.c:1103:21: warning: variable 'verts' set but not used [-Wunused-but-set-variable] dtrivertx_t *ov, *verts; ^~~~~ ref_gl/gl_mesh.c:1103:16: warning: unused variable 'ov' [-Wunused-variable] dtrivertx_t *ov, *verts; ^~ ref_gl/gl_mesh.c:1102:25: warning: unused variable 'oldframe' [-Wunused-variable] daliasframe_t *frame, *oldframe; ^~~~~~~~ ref_gl/gl_mesh.c:1100:9: warning: unused variable 'normvec' [-Wunused-variable] vec3_t normvec; ^~~~~~~ ref_gl/gl_mesh.c:1099:31: warning: unused variable 'blah' [-Wunused-variable] float tnorm[3], tdist, dot2, blah[3]; ^~~~ ref_gl/gl_mesh.c:1099:25: warning: unused variable 'dot2' [-Wunused-variable] float tnorm[3], tdist, dot2, blah[3]; ^~~~ ref_gl/gl_mesh.c:1099:18: warning: unused variable 'tdist' [-Wunused-variable] float tnorm[3], tdist, dot2, blah[3]; ^~~~~ ref_gl/gl_mesh.c:1099:8: warning: unused variable 'tnorm' [-Wunused-variable] float tnorm[3], tdist, dot2, blah[3]; ^~~~~ ref_gl/gl_mesh.c:1098:23: warning: unused variable 'dot1' [-Wunused-variable] float norm[3], dist, dot1; ^~~~ ref_gl/gl_mesh.c:1098:17: warning: unused variable 'dist' [-Wunused-variable] float norm[3], dist, dot1; ^~~~ ref_gl/gl_mesh.c:1098:8: warning: unused variable 'norm' [-Wunused-variable] float norm[3], dist, dot1; ^~~~ ref_gl/gl_mesh.c:1094:12: warning: unused variable 'k' [-Wunused-variable] int i, j, k; ^ ref_gl/gl_mesh.c: In function 'GL_DrawAliasShadow': ref_gl/gl_mesh.c:1234:21: warning: variable 'verts' set but not used [-Wunused-but-set-variable] dtrivertx_t *ov, *verts; ^~~~~ ref_gl/gl_mesh.c:1234:16: warning: unused variable 'ov' [-Wunused-variable] dtrivertx_t *ov, *verts; ^~ ref_gl/gl_mesh.c:1233:25: warning: variable 'oldframe' set but not used [-Wunused-but-set-variable] daliasframe_t *frame, *oldframe; ^~~~~~~~ ref_gl/gl_mesh.c:1232:15: warning: variable 't' set but not used [-Wunused-but-set-variable] dtriangle_t *t, *tris; ^ ref_gl/gl_mesh.c:1231:8: warning: unused variable 'mode' [-Wunused-variable] float mode, projected_distance = 25; ^~~~ ref_gl/gl_mesh.c:1230:7: warning: unused variable 'va' [-Wunused-variable] int va = 0, i, o; ^~ ref_gl/gl_mesh.c:1229:7: warning: unused variable 'count' [-Wunused-variable] int count; ^~~~~ ref_gl/gl_mesh.c:1228:8: warning: variable 'height' set but not used [-Wunused-but-set-variable] float height, lheight; ^~~~~~ ref_gl/gl_mesh.c:1227:29: warning: unused variable 'norm' [-Wunused-variable] vec3_t point, proj, light, norm, temp; ^~~~ ref_gl/gl_mesh.c:1227:16: warning: unused variable 'proj' [-Wunused-variable] vec3_t point, proj, light, norm, temp; ^~~~ ref_gl/gl_mesh.c:1227:9: warning: unused variable 'point' [-Wunused-variable] vec3_t point, proj, light, norm, temp; ^~~~~ ref_gl/gl_mesh.c:1226:8: warning: variable 'order' set but not used [-Wunused-but-set-variable] int *order; ^~~~~ ref_gl/gl_mesh.c: In function 'setShadeLight': ref_gl/gl_mesh.c:1846:4: warning: implicit declaration of function 'R_LightPointDynamics'; did you mean 'R_LightPointR_Clears'? [-Wimplicit-function-declaration] R_LightPointDynamics (currententity->origin, shadelight, model_dlights, ^~~~~~~~~~~~~~~~~~~~ R_LightPointR_Clears ref_gl/gl_mesh.c: In function 'R_DrawAliasShadow': ref_gl/gl_mesh.c:2075:11: warning: unused variable 'end' [-Wunused-variable] vec3_t end; ^~~ ref_gl/gl_mesh.c:2000:8: warning: unused variable 'alpha' [-Wunused-variable] float alpha; ^~~~~ ref_gl/gl_mesh.c:1998:7: warning: unused variable 'count' [-Wunused-variable] int count; ^~~~~ ref_gl/gl_mesh.c:1997:8: warning: variable 'order' set but not used [-Wunused-but-set-variable] int *order; ^~~~~ ref_gl/gl_mesh.c:1994:9: warning: unused variable 'an' [-Wunused-variable] float an; ^~ At top level: ref_gl/gl_mesh.c:1662:13: warning: 'R_FindBBox' defined but not used [-Wunused-function] static void R_FindBBox( vec3_t bbox[8], entity_t *e ) ^~~~~~~~~~ ==================== Linking quake2/rfx_glx.so ==================== ==================== Linking quake2/rfx_sdlgl.so ==================== cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -shared -o quake2/rfx_glx.so release/ref_gl/gl_cin.o release/ref_gl/gl_draw.o release/ref_gl/gl_image.o release/ref_gl/gl_light.o release/ref_gl/gl_mesh.o release/ref_gl/gl_model.o release/ref_gl/gl_rmain.o release/ref_gl/gl_rmisc.o release/ref_gl/gl_rsurf.o release/ref_gl/gl_script.o release/ref_gl/gl_vlights.o release/ref_gl/gl_warp.o release/ref_gl/sul_png.o release/ref_gl/qgl_unix.o release/ref_gl/q_shared.o release/ref_gl/qsh_unix.o release/ref_gl/glob.o release/ref_gl/gl_glx.o -L/usr/local/lib -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86vm -lGLU -ljpeg -lpng cc -pipe -O2 -fno-strict-aliasing -Wall -fcommon -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -DUNIX_VERSION='"0.45"' -shared -o quake2/rfx_sdlgl.so release/ref_gl/gl_cin.o release/ref_gl/gl_draw.o release/ref_gl/gl_image.o release/ref_gl/gl_light.o release/ref_gl/gl_mesh.o release/ref_gl/gl_model.o release/ref_gl/gl_rmain.o release/ref_gl/gl_rmisc.o release/ref_gl/gl_rsurf.o release/ref_gl/gl_script.o release/ref_gl/gl_vlights.o release/ref_gl/gl_warp.o release/ref_gl/sul_png.o release/ref_gl/qgl_unix.o release/ref_gl/q_shared.o release/ref_gl/qsh_unix.o release/ref_gl/glob.o release/ref_gl/gl_sdl.o -L/usr/local/lib -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86vm -lGLU -ljpeg -lpng -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread gmake[3]: Leaving directory '/construction/games/quake2max/Quake2maX_0.45-src_unix' gmake[2]: Leaving directory '/construction/games/quake2max/Quake2maX_0.45-src_unix' SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> quake2max-0.45_14 depends on package: quake2-data>0 - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for quake2max-0.45_14 ===> quake2max-0.45_14 depends on package: quake2-data>0 - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found ===> quake2max-0.45_14 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - found ===> Generating temporary packing list install -s -m 555 /construction/games/quake2max/Quake2maX_0.45-src_unix/quake2/quake2max /construction/games/quake2max/stage/usr/local/bin install -s -m 555 /construction/games/quake2max/Quake2maX_0.45-src_unix/quake2/quake2max-ded /construction/games/quake2max/stage/usr/local/bin install -s -m 555 /construction/games/quake2max/Quake2maX_0.45-src_unix/quake2/quake2max-sdl /construction/games/quake2max/stage/usr/local/bin install -s -m 555 /construction/games/quake2max/Quake2maX_0.45-src_unix/quake2/rfx_glx.so /construction/games/quake2max/stage/usr/local/lib/quake2max install -s -m 555 /construction/games/quake2max/Quake2maX_0.45-src_unix/quake2/rfx_sdlgl.so /construction/games/quake2max/stage/usr/local/lib/quake2max install -m 0644 /construction/games/quake2max/Quake2maX_0.45-src_unix/_maxpak.pak /construction/games/quake2max/stage/usr/local/lib/quake2max/baseq2/maxpak.pak ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Error: /usr/local/lib/quake2max/rfx_glx.so is linked to /usr/local/lib/libxcb.so.1 from x11/libxcb but it is not declared as a dependency Warning: you need USE_XORG+=xcb Error: /usr/local/lib/quake2max/rfx_glx.so is linked to /usr/local/lib/libOpenGL.so.0 from graphics/libglvnd but it is not declared as a dependency Warning: you need USE_GL+=opengl Error: /usr/local/lib/quake2max/rfx_glx.so is linked to /usr/local/lib/libXau.so.6 from x11/libXau but it is not declared as a dependency Warning: you need USE_XORG+=xau Error: /usr/local/lib/quake2max/rfx_glx.so is linked to /usr/local/lib/libXdmcp.so.6 from x11/libXdmcp but it is not declared as a dependency Warning: you need USE_XORG+=xdmcp Error: /usr/local/lib/quake2max/rfx_glx.so is linked to /usr/local/lib/libGLdispatch.so.0 from graphics/libglvnd but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libGLdispatch.so:graphics/libglvnd Error: /usr/local/lib/quake2max/rfx_sdlgl.so is linked to /usr/local/lib/libaa.so.1 from graphics/aalib but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libaa.so:graphics/aalib Error: /usr/local/lib/quake2max/rfx_sdlgl.so is linked to /usr/local/lib/libncurses.so.6 from devel/ncurses but it is not declared as a dependency Warning: you need USES+=ncurses Error: /usr/local/lib/quake2max/rfx_sdlgl.so is linked to /usr/local/lib/libtinfo.so.6 from devel/ncurses but it is not declared as a dependency Warning: you need USES+=ncurses Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for quake2max-0.45_14 file sizes/checksums [6]: 0% file sizes/checksums [6]: 100% Service unavailablepacking files [6]: 0% packing files [6]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:02 TOTAL TIME 00:00:24