=>> Building games/quake2max build started at Sat Apr 6 04:10:47 BST 2024 port directory: /usr/ports/games/quake2max package name: quake2max-0.45_16 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: danfe@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 3279 Jan 25 05:29 /usr/ports/games/quake2max/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: a22f7c00b7 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 17 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/17/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for quake2max-0.45_16: 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 ---End OPTIONS List--- --MAINTAINER-- danfe@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/quake2max/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2max/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/quake2max/work/.cache HOME=/wrkdirs/usr/ports/games/quake2max/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/quake2max/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/quake2max/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --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=/wrkdirs/usr/ports/games/quake2max/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2max/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/quake2max/work/.cache HOME=/wrkdirs/usr/ports/games/quake2max/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/quake2max/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/quake2max/work/.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 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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" --End MAKE_ENV-- --PLIST_SUB-- LIBDIR="lib/quake2max" CLIENT="" DEDICATED="" GAME="@comment " GLX="" SDLCLIENT="" SDLGL="" Q2DIR="share/quake2" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/quake2max" EXAMPLESDIR="share/examples/quake2max" DATADIR="share/quake2max" WWWDIR="www/quake2max" ETCDIR="etc/quake2max" --End PLIST_SUB-- --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 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> quake2max-0.45_16 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> quake2max-0.45_16 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of quake2max-0.45_16 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by quake2max-0.45_16 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by quake2max-0.45_16 for building => SHA256 Checksum OK for Quake2maX_0.45-src_unix.tar.bz2. => SHA256 Checksum OK for quake2max.044.rar. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> quake2max-0.45_16 depends on executable: unrar - not found ===> Installing existing package /packages/All/unrar-7.00,6.pkg [pkg-builder.dan.net.uk] Installing unrar-7.00,6... [pkg-builder.dan.net.uk] `-- Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] `-- Extracting openssl-3.0.13_1,1: .......... done [pkg-builder.dan.net.uk] Extracting unrar-7.00,6: . done ===> quake2max-0.45_16 depends on executable: unrar - found ===> Returning to build of quake2max-0.45_16 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by quake2max-0.45_16 for building ===> Extracting for quake2max-0.45_16 => SHA256 Checksum OK for Quake2maX_0.45-src_unix.tar.bz2. => SHA256 Checksum OK for quake2max.044.rar. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for quake2max-0.45_16 ===> Applying FreeBSD patches for quake2max-0.45_16 from /usr/ports/games/quake2max/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> quake2max-0.45_16 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> quake2max-0.45_16 depends on package: gmake>=4.4.1 - found ===> Returning to build of quake2max-0.45_16 ===> quake2max-0.45_16 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_17,2.pkg [pkg-builder.dan.net.uk] Installing sdl-1.2.15_17,2... [pkg-builder.dan.net.uk] `-- Installing aalib-1.4.r5_14... [pkg-builder.dan.net.uk] `-- Extracting aalib-1.4.r5_14: .......... done [pkg-builder.dan.net.uk] `-- Installing libGLU-9.0.2_2... [pkg-builder.dan.net.uk] | `-- Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] | | `-- Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] | | `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | | | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | | | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | | | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] | | `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libX11-1.8.7_1,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] | | `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libglvnd-1.7.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting libGLU-9.0.2_2: ..... done [pkg-builder.dan.net.uk] `-- Installing libXrandr-1.5.2_1... [pkg-builder.dan.net.uk] | `-- Installing libXrender-0.9.10_2... [pkg-builder.dan.net.uk] | `-- Extracting libXrender-0.9.10_2: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXrandr-1.5.2_1: .......... done [pkg-builder.dan.net.uk] Extracting sdl-1.2.15_17,2: .......... done ===== Message from aalib-1.4.r5_14: -- ===> 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 ===== Message from sdl-1.2.15_17,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". ===> quake2max-0.45_16 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of quake2max-0.45_16 ===> quake2max-0.45_16 depends on package: xorgproto>=0 - found ===> quake2max-0.45_16 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> quake2max-0.45_16 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> quake2max-0.45_16 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - not found ===> Installing existing package /packages/All/libXxf86vm-1.1.4_4.pkg [pkg-builder.dan.net.uk] Installing libXxf86vm-1.1.4_4... [pkg-builder.dan.net.uk] Extracting libXxf86vm-1.1.4_4: .......... done ===> quake2max-0.45_16 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found ===> Returning to build of quake2max-0.45_16 ===> quake2max-0.45_16 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - not found ===> Installing existing package /packages/All/libXxf86dga-1.1.6_1.pkg [pkg-builder.dan.net.uk] Installing libXxf86dga-1.1.6_1... [pkg-builder.dan.net.uk] Extracting libXxf86dga-1.1.6_1: .......... done ===> quake2max-0.45_16 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - found ===> Returning to build of quake2max-0.45_16 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> quake2max-0.45_16 depends on shared library: libpng.so - not found ===> Installing existing package /packages/All/png-1.6.43.pkg [pkg-builder.dan.net.uk] Installing png-1.6.43... [pkg-builder.dan.net.uk] Extracting png-1.6.43: .......... done ===> quake2max-0.45_16 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> Returning to build of quake2max-0.45_16 ===> quake2max-0.45_16 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> quake2max-0.45_16 depends on shared library: libjpeg.so - not found ===> Installing existing package /packages/All/jpeg-turbo-3.0.2.pkg [pkg-builder.dan.net.uk] Installing jpeg-turbo-3.0.2... [pkg-builder.dan.net.uk] Extracting jpeg-turbo-3.0.2: .......... done ===> quake2max-0.45_16 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> Returning to build of quake2max-0.45_16 ===> quake2max-0.45_16 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for quake2max-0.45_16 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for quake2max-0.45_16 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[1]: Entering directory '/wrkdirs/usr/ports/games/quake2max/work/Quake2maX_0.45-src_unix' cc -O2 -pipe -fstack-protector-strong -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 ref_gl/gl_cin.c:497:78: warning: for loop has empty body [-Wempty-body] for( cin->p2_width = 2 ; cin->p2_width <= cin->width ; cin->p2_width <<= 1 ); ^ ref_gl/gl_cin.c:497:78: note: put the semicolon on a separate line to silence this warning ref_gl/gl_cin.c:505:82: warning: for loop has empty body [-Wempty-body] for( cin->p2_height = 2 ; cin->p2_height <= cin->height ; cin->p2_height <<= 1 ); ^ ref_gl/gl_cin.c:505:82: note: put the semicolon on a separate line to silence this warning 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 ref_gl/gl_draw.c:260:8: warning: unused variable 'txm' [-Wunused-variable] float txm,tym, alpha,s,t; ^ ref_gl/gl_draw.c:260:12: warning: unused variable 'tym' [-Wunused-variable] float txm,tym, alpha,s,t; ^ ref_gl/gl_draw.c:535:2: warning: implicit declaration of function 'R_RenderFrame' is invalid in C99 [-Wimplicit-function-declaration] R_RenderFrame( &refdef ); ^ ref_gl/gl_draw.c:396:7: warning: unused variable 'scratch' [-Wunused-variable] char scratch[MAX_QPATH]; ^ ref_gl/gl_draw.c:397:6: warning: unused variable 'maxframe' [-Wunused-variable] int maxframe = 29; ^ 5 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 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:1497:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (image = GL_FindImage(va("%s%s", basename, image_types[i]), type)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_image.c:1497:13: note: place parentheses around the assignment to silence this warning if (image = GL_FindImage(va("%s%s", basename, image_types[i]), type)) ^ ( ) ref_gl/gl_image.c:1497:13: note: use '==' to turn this assignment into an equality comparison 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:1506:9: warning: unused variable 'j' [-Wunused-variable] int i,j, len, spot; ^ ref_gl/gl_image.c:1684:25: warning: passing 'int *' to parameter of type 'const GLuint *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] qglDeleteTextures (1, &image->texnum); ^~~~~~~~~~~~~~ ref_gl/gl_image.c:1848:25: warning: passing 'int *' to parameter of type 'const GLuint *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] qglDeleteTextures (1, &image->texnum); ^~~~~~~~~~~~~~ ref_gl/gl_image.c:1836:19: warning: unused variable 'c' [-Wunused-variable] image_t *image, *c; ^ 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 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:401:16: warning: unused variable 'wl' [-Wunused-variable] worldLight_t *wl; ^ 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:717:16: warning: variable 'style' set but not used [-Wunused-but-set-variable] lightstyle_t *style; ^ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 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:341:8: warning: unused variable 'txm' [-Wunused-variable] float txm,tym; ^ ref_gl/gl_mesh.c:333:33: warning: unused variable 'lightcolor' [-Wunused-variable] vec3_t frontv, backv, viewdir, lightcolor; ^ 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:341:12: warning: unused variable 'tym' [-Wunused-variable] float txm,tym; ^ ref_gl/gl_mesh.c:342:9: warning: unused variable 'normal' [-Wunused-variable] float *normal; ^ 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:652:9: warning: variable 'l' set but not used [-Wunused-but-set-variable] float l; ^ ref_gl/gl_mesh.c:668:8: warning: unused variable 'txm' [-Wunused-variable] float txm,tym; ^ ref_gl/gl_mesh.c:668:12: warning: unused variable 'tym' [-Wunused-variable] float txm,tym; ^ 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:1094:12: warning: unused variable 'k' [-Wunused-variable] int i, j, k; ^ ref_gl/gl_mesh.c:1098:8: warning: unused variable 'norm' [-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:23: warning: unused variable 'dot1' [-Wunused-variable] float norm[3], dist, dot1; ^ 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:1099:18: warning: unused variable 'tdist' [-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:31: warning: unused variable 'blah' [-Wunused-variable] float tnorm[3], tdist, dot2, blah[3]; ^ ref_gl/gl_mesh.c:1100:9: warning: unused variable 'normvec' [-Wunused-variable] vec3_t normvec; ^ ref_gl/gl_mesh.c:1102:25: warning: unused variable 'oldframe' [-Wunused-variable] daliasframe_t *frame, *oldframe; ^ ref_gl/gl_mesh.c:1103:16: warning: unused variable 'ov' [-Wunused-variable] dtrivertx_t *ov, *verts; ^ 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:1226:8: warning: variable 'order' set but not used [-Wunused-but-set-variable] int *order; ^ 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:1227:16: warning: unused variable 'proj' [-Wunused-variable] vec3_t point, proj, light, norm, temp; ^ 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:1228:8: warning: variable 'height' set but not used [-Wunused-but-set-variable] float height, lheight; ^ ref_gl/gl_mesh.c:1229:7: warning: unused variable 'count' [-Wunused-variable] int count; ^ ref_gl/gl_mesh.c:1230:7: warning: unused variable 'va' [-Wunused-variable] int va = 0, i, o; ^ ref_gl/gl_mesh.c:1231:8: warning: unused variable 'mode' [-Wunused-variable] float mode, projected_distance = 25; ^ 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:1233:25: warning: variable 'oldframe' set but not used [-Wunused-but-set-variable] daliasframe_t *frame, *oldframe; ^ ref_gl/gl_mesh.c:1234:16: warning: unused variable 'ov' [-Wunused-variable] dtrivertx_t *ov, *verts; ^ 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:1846:4: warning: implicit declaration of function 'R_LightPointDynamics' is invalid in C99 [-Wimplicit-function-declaration] R_LightPointDynamics (currententity->origin, shadelight, model_dlights, ^ ref_gl/gl_mesh.c:2075:11: warning: unused variable 'end' [-Wunused-variable] vec3_t end; ^ ref_gl/gl_mesh.c:1994:9: warning: unused variable 'an' [-Wunused-variable] float an; ^ 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:1998:7: warning: unused variable 'count' [-Wunused-variable] int count; ^ ref_gl/gl_mesh.c:2000:8: warning: unused variable 'alpha' [-Wunused-variable] float alpha; ^ ref_gl/gl_mesh.c:1662:13: warning: unused function 'R_FindBBox' [-Wunused-function] static void R_FindBBox( vec3_t bbox[8], entity_t *e ) ^ 43 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 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:180:27: warning: unused variable 'color' [-Wunused-variable] vec3_t origin = {0,0,0}, color = {0,0,0}; ^ ref_gl/gl_model.c:230:33: warning: incompatible pointer types assigning to 'struct rscript_t *' from '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: incompatible pointer types assigning to 'rscript_t *' (aka 'struct rscript_s *') from '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: incompatible pointer types assigning to 'struct rscript_t *' from '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:462:21: warning: incompatible pointer types assigning to 'struct rscript_t *' from 'rscript_t *' (aka 'struct rscript_s *') [-Wincompatible-pointer-types] mod->script[i] = RS_FindScript(rs); ^ ~~~~~~~~~~~~~~~~~ ref_gl/gl_model.c:830:11: warning: unused variable 'j' [-Wunused-variable] int i, j, count, surfnum; ^ ref_gl/gl_model.c:833:11: warning: unused variable 'lit' [-Wunused-variable] qboolean lit; ^ ref_gl/gl_model.c:1153:15: warning: implicit declaration of function 'PlaneTypeForNormal' is invalid in C99 [-Wimplicit-function-declaration] out->type = PlaneTypeForNormal(out->normal); ^ ref_gl/gl_model.c:1377:18: warning: incompatible pointer types assigning to 'struct rscript_t *' from 'rscript_t *' (aka 'struct rscript_s *') [-Wincompatible-pointer-types] mod->script[i] = RS_FindScript(rs); ^ ~~~~~~~~~~~~~~~~~ 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_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; ^ 15 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 ref_gl/gl_rmain.c:363:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ref_gl/gl_rmain.c:480:11: warning: unused variable 'entinwater' [-Wunused-variable] qboolean entinwater, is_weapmodel = false; ^ 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:521:6: warning: unused variable 'closer' [-Wunused-variable] int closer = 0; ^ ref_gl/gl_rmain.c:550:6: warning: unused variable 'closer' [-Wunused-variable] int closer = 0; ^ 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: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:874:11: warning: unused variable 'partinwater' [-Wunused-variable] qboolean partinwater; ^ ref_gl/gl_rmain.c:1349:8: warning: unused variable 'txm' [-Wunused-variable] float txm,tym, alpha,s,t; ^ 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:12: warning: unused variable 'tym' [-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:1351:7: warning: unused variable 'scriptname' [-Wunused-variable] char scriptname [MAX_QPATH]; ^ ref_gl/gl_rmain.c:1547:13: warning: unused variable 'rs' [-Wunused-variable] rscript_t *rs = NULL; ^ ref_gl/gl_rmain.c:1650:10: warning: unused variable 'angl_coord' [-Wunused-variable] vec3_t angl_coord[4]; ^ 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:1669:10: warning: unused variable 'angl_coord' [-Wunused-variable] vec3_t angl_coord[4], old_coord[2]; ^ 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: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:2510:50: warning: unused variable 'found' [-Wunused-variable] sortedelement_t *temp, *element, *last = NULL, *found = NULL; ^ ref_gl/gl_rmain.c:2838:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ ref_gl/gl_rmain.c:2839:14: warning: unused variable 'surf' [-Wunused-variable] msurface_t *surf; ^ ref_gl/gl_rmain.c:3309:30: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_mode->value, fullscreen ) ) == rserr_ok ) ^~~~~~~~~~ ref_gl/gl_local.h:564:30: note: passing argument to parameter 'pwidth' here int GLimp_SetMode( int *pwidth, int *pheight, int mode, qboolean fullscreen ); ^ ref_gl/gl_rmain.c:3309:42: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_mode->value, fullscreen ) ) == rserr_ok ) ^~~~~~~~~~~ ref_gl/gl_local.h:564:43: note: passing argument to parameter 'pheight' here int GLimp_SetMode( int *pwidth, int *pheight, int mode, qboolean fullscreen ); ^ ref_gl/gl_rmain.c:3320:32: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_mode->value, false ) ) == rserr_ok ) ^~~~~~~~~~ ref_gl/gl_local.h:564:30: note: passing argument to parameter 'pwidth' here int GLimp_SetMode( int *pwidth, int *pheight, int mode, qboolean fullscreen ); ^ ref_gl/gl_rmain.c:3320:44: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_mode->value, false ) ) == rserr_ok ) ^~~~~~~~~~~ ref_gl/gl_local.h:564:43: note: passing argument to parameter 'pheight' here int GLimp_SetMode( int *pwidth, int *pheight, int mode, qboolean fullscreen ); ^ ref_gl/gl_rmain.c:3331:31: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_state.prev_mode, false ) ) != rserr_ok ) ^~~~~~~~~~ ref_gl/gl_local.h:564:30: note: passing argument to parameter 'pwidth' here int GLimp_SetMode( int *pwidth, int *pheight, int mode, qboolean fullscreen ); ^ ref_gl/gl_rmain.c:3331:43: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( ( err = GLimp_SetMode( &vid.width, &vid.height, gl_state.prev_mode, false ) ) != rserr_ok ) ^~~~~~~~~~~ ref_gl/gl_local.h:564:43: note: passing argument to parameter 'pheight' here int GLimp_SetMode( int *pwidth, int *pheight, int mode, qboolean fullscreen ); ^ ref_gl/gl_rmain.c:3397:26: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] gl_config.vendor_string = qglGetString (GL_VENDOR); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_rmain.c:3399:28: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] gl_config.renderer_string = qglGetString (GL_RENDERER); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_rmain.c:3401:27: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] gl_config.version_string = qglGetString (GL_VERSION); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_rmain.c:3403:30: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] gl_config.extensions_string = qglGetString (GL_EXTENSIONS); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_rmain.c:3407:2: warning: implicit declaration of function 'strlwr' is invalid in C99 [-Wimplicit-function-declaration] strlwr( renderer_buffer ); ^ ref_gl/gl_rmain.c:3436:7: warning: implicitly declaring library function 'toupper' with type 'int (int)' [-Wimplicit-function-declaration] if ( toupper( gl_monolightmap->string[1] ) != 'F' ) ^ ref_gl/gl_rmain.c:3436:7: note: include the header or explicitly provide a declaration for 'toupper' ref_gl/gl_rmain.c:3800:4: warning: implicit declaration of function 'UpdateHardwareGamma' is invalid in C99 [-Wimplicit-function-declaration] UpdateHardwareGamma(); ^ ref_gl/gl_rmain.c:3077:13: warning: unused function 'GL_DrawStereoPattern' [-Wunused-function] static void GL_DrawStereoPattern( void ) ^ 44 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 ref_gl/gl_rmisc.c:55:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 255, ^~~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:56:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 255, ^~~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:57:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 255, ^~~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:60:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 170, ^~~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:61:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 170, ^~~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:62:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 170, ^~~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:63:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 170, ^~~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:64:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 170, ^~~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:67:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 85, ^~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:68:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 85, ^~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:69:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 85, ^~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:70:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 85, ^~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:71:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 85, ^~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:72:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 85, ^~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:73:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 85, ^~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:74:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 85, ^~~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:77:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, ^~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:78:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, ^~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:79:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, ^~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:80:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, ^~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:81:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, ^~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:82:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, ^~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:83:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, ^~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:84:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, ^~~~~~~~~~~~~~~~~ { } ref_gl/gl_rmisc.c:85:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 255, 0, ^~~~~~~~~ { } ref_gl/gl_rmisc.c:86:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 255, 0, ^~~~~~~~~ { } ref_gl/gl_rmisc.c:87:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 255, 0, ^~~~~~~~~ { } ref_gl/gl_rmisc.c:88:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 255, 0, ^~~~~~~~~ { } ref_gl/gl_rmisc.c:89:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 255, 0, ^~~~~~~~~ { } ref_gl/gl_rmisc.c:90:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 255, 0, ^~~~~~~~~ { } ref_gl/gl_rmisc.c:91:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 255, 0, ^~~~~~~~~ { } ref_gl/gl_rmisc.c:92:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 255, 0, ^~~~~~~~~ { } 32 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 ref_gl/gl_rsurf.c:451:14: warning: implicitly declaring library function 'toupper' with type 'int (int)' [-Wimplicit-function-declaration] switch ( toupper( gl_monolightmap->string[0] ) ) ^ ref_gl/gl_rsurf.c:451:14: note: include the header or explicitly provide a declaration for 'toupper' ref_gl/gl_rsurf.c:665:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( ( fa->dlightframe == r_framecount ) ) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ref_gl/gl_rsurf.c:665:25: note: remove extraneous parentheses around the comparison to silence this warning if ( ( fa->dlightframe == r_framecount ) ) ~~ ^ ~~ ref_gl/gl_rsurf.c:665:25: note: use '=' to turn this equality comparison into an assignment if ( ( fa->dlightframe == r_framecount ) ) ^~ = ref_gl/gl_rsurf.c:941:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( ( surf->dlightframe == r_framecount ) ) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ref_gl/gl_rsurf.c:941:27: note: remove extraneous parentheses around the comparison to silence this warning if ( ( surf->dlightframe == r_framecount ) ) ~~ ^ ~~ ref_gl/gl_rsurf.c:941:27: note: use '=' to turn this equality comparison into an assignment if ( ( surf->dlightframe == r_framecount ) ) ^~ = ref_gl/gl_rsurf.c:931:12: warning: unused variable 'p' [-Wunused-variable] glpoly_t *p; ^ ref_gl/gl_rsurf.c:1010:29: warning: variable 'v' is uninitialized when used here [-Wuninitialized] RenderPolyFunc(surf, nv, v, scroll); ^ ref_gl/gl_rsurf.c:927:10: note: initialize the variable 'v' to silence this warning float *v; ^ = NULL ref_gl/gl_rsurf.c:1350:12: warning: unused variable 'image' [-Wunused-variable] image_t *image; ^ 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:1841:8: warning: variable 'vertpage' set but not used [-Wunused-but-set-variable] int vertpage; ^ 9 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 ref_gl/gl_script.c:64:10: warning: unused variable 'time' [-Wunused-variable] float time = rs_realtime * 1000 - ^ ref_gl/gl_script.c:82:10: warning: unused variable 'time' [-Wunused-variable] float time = rs_realtime * 1000 - ^ ref_gl/gl_script.c:1032:16: warning: unused variable 'tcmod' [-Wunused-variable] unsigned char tcmod = 0; ^ ref_gl/gl_script.c:1141:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pakscripts = ri.FS_ListPak("scripts/", &npakscripts)) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ref_gl/gl_script.c:1141:17: note: place parentheses around the assignment to silence this warning if (pakscripts = ri.FS_ListPak("scripts/", &npakscripts)) ^ ( ) ref_gl/gl_script.c:1141:17: note: use '==' to turn this assignment into an equality comparison if (pakscripts = ri.FS_ListPak("scripts/", &npakscripts)) ^ == ref_gl/gl_script.c:1157:9: warning: implicitly declaring library function 'toupper' with type 'int (int)' [-Wimplicit-function-declaration] if ( toupper(currentScript[0])!='S' ^ ref_gl/gl_script.c:1157:9: note: include the header or explicitly provide a declaration for 'toupper' ref_gl/gl_script.c:1139:10: warning: unused variable 'delstuff' [-Wunused-variable] void *delstuff; ^ ref_gl/gl_script.c:1272:8: warning: unused variable 'txm' [-Wunused-variable] float txm = 0, tym = 0; ^ ref_gl/gl_script.c:1272:17: warning: unused variable 'tym' [-Wunused-variable] float txm = 0, tym = 0; ^ ref_gl/gl_script.c:1422:9: warning: unused variable 'forward' [-Wunused-variable] vec3_t forward, dir; ^ ref_gl/gl_script.c:1423:8: warning: unused variable 'temp' [-Wunused-variable] float temp; ^ ref_gl/gl_script.c:1450:9: warning: unused variable 'forward' [-Wunused-variable] vec3_t forward; ^ ref_gl/gl_script.c:1451:8: warning: unused variable 'oldalpha' [-Wunused-variable] float oldalpha = alpha; ^ ref_gl/gl_script.c:1495:3: warning: implicit declaration of function 'SetVertexOverbrights' is invalid in C99 [-Wimplicit-function-declaration] SetVertexOverbrights(false); ^ ref_gl/gl_script.c:1497:3: warning: implicit declaration of function 'SetLightingMode' is invalid in C99 [-Wimplicit-function-declaration] SetLightingMode (); ^ ref_gl/gl_script.c:1502:3: warning: implicit declaration of function 'SetVertexOverbrights' is invalid in C99 [-Wimplicit-function-declaration] SetVertexOverbrights(true); ^ ref_gl/gl_script.c:1526:3: warning: implicit declaration of function 'SetVertexOverbrights' is invalid in C99 [-Wimplicit-function-declaration] SetVertexOverbrights(true); ^ ref_gl/gl_script.c:1870:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (stage = stage->next); ~~~~~~^~~~~~~~~~~~~ ref_gl/gl_script.c:1870:17: note: place parentheses around the assignment to silence this warning } while (stage = stage->next); ^ ( ) ref_gl/gl_script.c:1870:17: note: use '==' to turn this assignment into an equality comparison } 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:1907:2: warning: implicit declaration of function 'SetVertexOverbrights' is invalid in C99 [-Wimplicit-function-declaration] SetVertexOverbrights(true); ^ ref_gl/gl_script.c:2172:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (stage = stage->next); ~~~~~~^~~~~~~~~~~~~ ref_gl/gl_script.c:2172:17: note: place parentheses around the assignment to silence this warning } while (stage = stage->next); ^ ( ) ref_gl/gl_script.c:2172:17: note: use '==' to turn this assignment into an equality comparison } 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:2204:3: warning: implicit declaration of function 'SetVertexOverbrights' is invalid in C99 [-Wimplicit-function-declaration] SetVertexOverbrights(true); ^ ref_gl/gl_script.c:2181:9: warning: unused variable 'os' [-Wunused-variable] float os, ot, *v; ^ ref_gl/gl_script.c:2181:13: warning: unused variable 'ot' [-Wunused-variable] float os, ot, *v; ^ ref_gl/gl_script.c:2182:40: warning: unused variable 'glarescript' [-Wunused-variable] rscript_t *rs = surfaceScript(surf), *glarescript; ^ ref_gl/gl_script.c:2322:13: warning: unused variable 'rs' [-Wunused-variable] rscript_t *rs; ^ 26 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 ref_gl/gl_warp.c:961:6: warning: implicit declaration of function 'GL_Spheremap' is invalid in C99 [-Wimplicit-function-declaration] GL_Spheremap(true); ^ ref_gl/gl_warp.c:941:10: warning: unused variable 'txm' [-Wunused-variable] float txm,tym, alpha,s,t; ^ ref_gl/gl_warp.c:941:14: warning: unused variable 'tym' [-Wunused-variable] float txm,tym, alpha,s,t; ^ ref_gl/gl_warp.c:942:10: warning: unused variable 'xoff' [-Wunused-variable] float xoff, yoff; ^ ref_gl/gl_warp.c:942:16: warning: unused variable 'yoff' [-Wunused-variable] float xoff, yoff; ^ ref_gl/gl_warp.c:787:10: warning: unused variable 'l' [-Wunused-variable] int i, l; ^ 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -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/sul_png.c:123:12: warning: unused variable 'j' [-Wunused-variable] int i, j, k; ^ ref_gl/sul_png.c:274:17: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] my_png->tmpBuf = raw; //buf = whole file content ^ ~~~ ref_gl/sul_png.c:281:29: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'png_uint_32 *' (aka 'unsigned int *') [-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 ); ^~~~~~~~~~~~~~ /usr/local/include/png.h:2035:45: note: passing argument to parameter 'width' here png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, ^ ref_gl/sul_png.c:281:45: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'png_uint_32 *' (aka 'unsigned int *') [-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 ); ^~~~~~~~~~~~~~~ /usr/local/include/png.h:2035:65: note: passing argument to parameter 'height' here png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height, ^ ref_gl/sul_png.c:287:3: warning: implicit declaration of function 'png_set_gray_1_2_4_to_8' is invalid in C99 [-Wimplicit-function-declaration] png_set_gray_1_2_4_to_8(png); ^ ref_gl/sul_png.c:322:7: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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; ^ 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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:91:12: warning: variable 'n' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if (new_size < old_size) ^~~~~~~~~~~~~~~~~~~ unix/qsh_unix.c:102:6: note: uninitialized use occurs here if (n != membase) ^ unix/qsh_unix.c:91:8: note: remove the 'if' if its condition is always true else if (new_size < old_size) ^~~~~~~~~~~~~~~~~~~~~~~~ unix/qsh_unix.c:79:9: note: initialize the variable 'n' to silence this warning byte *n; ^ = NULL unix/qsh_unix.c:156:8: warning: implicitly declaring library function 'tolower' with type 'int (int)' [-Wimplicit-function-declaration] *s = tolower(*s); ^ unix/qsh_unix.c:156:8: note: include the header or explicitly provide a declaration for 'tolower' 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 unix/glob.c:51:12: warning: unused function 'glob_pattern_p' [-Wunused-function] static int glob_pattern_p(char *pattern) ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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 In file included from unix/gl_glx.c:57: /usr/local/include/X11/extensions/xf86dga.h:9:2: warning: "xf86dga.h is obsolete and may be removed in the future." [-W#warnings] #warning "xf86dga.h is obsolete and may be removed in the future." ^ /usr/local/include/X11/extensions/xf86dga.h:10:2: warning: "include instead." [-W#warnings] #warning "include instead." ^ 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:470:6: warning: variable 'mouse_buttonstate' set but not used [-Wunused-but-set-variable] int mouse_buttonstate; ^ unix/gl_glx.c:527:5: warning: variable 'mouse_buttonstate' is uninitialized when used here [-Wuninitialized] mouse_buttonstate |= 1< or explicitly provide a declaration for '_exit' unix/gl_glx.c:638:6: warning: variable 'actualWidth' set but not used [-Wunused-but-set-variable] int actualWidth, actualHeight; ^ unix/gl_glx.c:638:19: warning: variable 'actualHeight' set but not used [-Wunused-but-set-variable] int actualWidth, actualHeight; ^ unix/gl_glx.c:896:2: warning: implicit declaration of function 'CIN_ProcessCins' is invalid in C99 [-Wimplicit-function-declaration] CIN_ProcessCins(); ^ unix/gl_glx.c:942:1: warning: '/*' within block comment [-Wcomment] /*------------------------------------------------*/ ^ unix/gl_glx.c:971:1: warning: '/*' within block comment [-Wcomment] /*------------------------------------------------*/ ^ unix/gl_glx.c:1008:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = strdup(data); ^~~~ /usr/include/string.h:91:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ unix/gl_glx.c:93:12: warning: unused variable 'default_dotclock_vidmode' [-Wunused-variable] static int default_dotclock_vidmode; ^ unix/gl_glx.c:594:17: warning: unused function 'GLimp_SwitchFullscreen' [-Wunused-function] static qboolean GLimp_SwitchFullscreen( int width, int height ); ^ 15 warnings generated. ==================== Linking quake2/rfx_glx.so ==================== cc -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 qcommon/cmd.c:161:19: warning: passing 'byte[32768]' (aka 'unsigned char[32768]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Cbuf_InsertText (defer_text_buf); ^~~~~~~~~~~~~~ qcommon/cmd.c:114:29: note: passing argument to parameter 'text' here void Cbuf_InsertText (char *text) ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 qcommon/files.c:356:9: warning: unused variable 'netpath' [-Wunused-variable] char netpath[MAX_OSPATH]; ^ qcommon/files.c:524:12: warning: variable 'checksum' set but not used [-Wunused-but-set-variable] unsigned checksum; ^ qcommon/files.c:767:24: warning: '&&' within '||' [-Wlogical-op-parentheses] if (modType("baseq2") && (!strcmp(dir,BASEDIRNAME)) || (*dir == 0)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ qcommon/files.c:767:24: note: place parentheses around the '&&' expression to silence this warning if (modType("baseq2") && (!strcmp(dir,BASEDIRNAME)) || (*dir == 0)) ^ ( ) 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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 qcommon/net_chan.c:302:8: warning: variable 'qport' set but not used [-Wunused-but-set-variable] int qport; ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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 server/sv_ccmds.c:928:17: warning: passing 'char[32768]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] SZ_Init (&buf, buf_data, sizeof(buf_data)); ^~~~~~~~ server/../qcommon/qcommon.h:131:37: note: passing argument to parameter 'data' here void SZ_Init (sizebuf_t *buf, byte *data, int length); ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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:371:11: warning: cast to smaller integer type 'int' from 'link_t *' (aka 'struct link_s *') [-Wpointer-to-int-cast] check = EDICT_FROM_AREA(l); ^~~~~~~~~~~~~~~~~~ server/sv_world.c:38:28: note: expanded from macro 'EDICT_FROM_AREA' #define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/sv_world.c:36:52: note: expanded from macro 'STRUCT_FROM_LINK' #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) ^~~~~~~~~~~~~~~~~~~ server/sv_world.c:358:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count; ^ server/sv_world.c:437:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] float *angles; ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 unix/qsh_unix.c:91:12: warning: variable 'n' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if (new_size < old_size) ^~~~~~~~~~~~~~~~~~~ unix/qsh_unix.c:102:6: note: uninitialized use occurs here if (n != membase) ^ unix/qsh_unix.c:91:8: note: remove the 'if' if its condition is always true else if (new_size < old_size) ^~~~~~~~~~~~~~~~~~~~~~~~ unix/qsh_unix.c:79:9: note: initialize the variable 'n' to silence this warning byte *n; ^ = NULL unix/qsh_unix.c:156:8: warning: implicitly declaring library function 'tolower' with type 'int (int)' [-Wimplicit-function-declaration] *s = tolower(*s); ^ unix/qsh_unix.c:156:8: note: include the header or explicitly provide a declaration for 'tolower' 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 unix/sys_unix.c:80:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] for (p = (unsigned char *)text; *p; p++) { ^ unix/sys_unix.c:77:5: note: previous statement is here if (nostdout && nostdout->value) ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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 unix/glob.c:51:12: warning: unused function 'glob_pattern_p' [-Wunused-function] static int glob_pattern_p(char *pattern) ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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/net_udp.c:182:53: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] *(int *)&((struct sockaddr_in *)sadr)->sin_addr = inet_addr(copy); ^ unix/net_udp.c:302:35: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] , 0, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ /usr/include/sys/socket.h:695:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ unix/net_udp.c:362:11: warning: variable 'net_socket' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if (to.type == NA_BROADCAST_IPX) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/net_udp.c:373:16: note: uninitialized use occurs here ret = sendto (net_socket, data, length, 0, (struct sockaddr *)&addr, sizeof(addr) ); ^~~~~~~~~~ unix/net_udp.c:362:7: note: remove the 'if' if its condition is always true else if (to.type == NA_BROADCAST_IPX) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/net_udp.c:336:17: note: initialize the variable 'net_socket' to silence this warning int net_socket; ^ = 0 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 null/cl_null.c:55:35: warning: unknown escape sequence '\^' [-Wunknown-escape-sequence] Com_Printf ("Unknown command \"%s\^r\n", cmd); ^~ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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 client/cl_cin.c:558:26: warning: passing 'char[768]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] re.CinematicSetPalette(cl.cinematicpalette); ^~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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 client/cl_ents.c:361:6: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] || abs(state->origin[0] - ent->current.origin[0]) > 512 ^ client/cl_ents.c:361:6: note: use function 'fabsf' instead || abs(state->origin[0] - ent->current.origin[0]) > 512 ^~~ fabsf client/cl_ents.c:362:6: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] || abs(state->origin[1] - ent->current.origin[1]) > 512 ^ client/cl_ents.c:362:6: note: use function 'fabsf' instead || abs(state->origin[1] - ent->current.origin[1]) > 512 ^~~ fabsf client/cl_ents.c:363:6: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] || abs(state->origin[2] - ent->current.origin[2]) > 512 ^ client/cl_ents.c:363:6: note: use function 'fabsf' instead || abs(state->origin[2] - ent->current.origin[2]) > 512 ^~~ fabsf client/cl_ents.c:431:32: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] newnum = CL_ParseEntityBits (&bits); ^~~~~ client/cl_ents.c:218:35: note: passing argument to parameter 'bits' here int CL_ParseEntityBits (unsigned *bits) ^ client/cl_ents.c:890:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ client/cl_ents.c:1120:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] float len; ^ client/cl_ents.c:1522:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] V_AddLight (saber_origin, size, light_color[0], light_color[1], light_color[2]); ^ client/cl_ents.c:1482:6: note: previous statement is here for (i=0;i<3;i++) ^ client/cl_ents.c:1957:7: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if ( fabs(ops->pmove.origin[0] - ps->pmove.origin[0]) > 256*8 ^ client/cl_ents.c:1957:7: note: use function 'abs' instead if ( fabs(ops->pmove.origin[0] - ps->pmove.origin[0]) > 256*8 ^~~~ abs client/cl_ents.c:1944:13: warning: variable 'ent' set but not used [-Wunused-but-set-variable] centity_t *ent; ^ 9 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 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:1294:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ client/cl_fx.c:1355:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] cparticle_t *p; ^ 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: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:1534:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] cparticle_t *p; ^ client/cl_fx.c:1572:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] cparticle_t *p; ^ client/cl_fx.c:1666:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] cparticle_t *p; ^ client/cl_fx.c:1957:8: warning: unused variable 'oldsize' [-Wunused-variable] float oldsize = size, scale = cl_explosion_scale->value; ^ client/cl_fx.c:1983:8: warning: unused variable 'oldsize' [-Wunused-variable] float oldsize = size, scale = cl_explosion_scale->value; ^ client/cl_fx.c:2205:9: warning: unused variable 'lightsize' [-Wunused-variable] float lightsize = size/150.0; ^ client/cl_fx.c:2237:14: warning: unused variable 'ang' [-Wunused-variable] vec3_t len, ang; ^ client/cl_fx.c:2236:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ client/cl_fx.c:2343:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ 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:2636:9: warning: unused variable 'angle' [-Wunused-variable] vec3_t angle, color = { color8red(color8), color8green(color8), color8blue(color8)}; ^ client/cl_fx.c:2737:9: warning: variable 'd' set but not used [-Wunused-but-set-variable] float d; ^ client/cl_fx.c:2807:8: warning: unused variable 'decalimage' [-Wunused-variable] int decalimage; ^ client/cl_fx.c:2831:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ client/cl_fx.c:3536:4: warning: variable 'count' is uninitialized when used here [-Wuninitialized] count ++; ^~~~~ client/cl_fx.c:3520:13: note: initialize the variable 'count' to silence this warning int count; ^ = 0 client/cl_fx.c:3687:9: warning: unused variable 'i' [-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:3688:10: warning: unused variable 'dir' [-Wunused-variable] vec3_t dir; ^ client/cl_fx.c:3682:9: warning: unused variable 'dec' [-Wunused-variable] float dec; ^ client/cl_fx.c:3687:15: warning: unused variable 'c' [-Wunused-variable] float i, d, c, s; ^ client/cl_fx.c:3687:18: warning: unused variable 's' [-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:3790:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] cparticle_t *p; ^ client/cl_fx.c:3832:9: warning: unused variable 'dec' [-Wunused-variable] float dec; ^ client/cl_fx.c:3829:15: warning: unused variable 'point' [-Wunused-variable] vec3_t vec, point; ^ client/cl_fx.c:3828:10: warning: unused variable 'move' [-Wunused-variable] vec3_t move, last; ^ client/cl_fx.c:3830:8: warning: unused variable 'i' [-Wunused-variable] int i; ^ client/cl_fx.c:3833:10: warning: unused variable 'right' [-Wunused-variable] vec3_t right, up; ^ client/cl_fx.c:3828:16: warning: unused variable 'last' [-Wunused-variable] vec3_t move, last; ^ client/cl_fx.c:3833:17: warning: unused variable 'up' [-Wunused-variable] vec3_t right, up; ^ client/cl_fx.c:3831:9: warning: unused variable 'len' [-Wunused-variable] float len; ^ client/cl_fx.c:3829:10: warning: unused variable 'vec' [-Wunused-variable] vec3_t vec, point; ^ client/cl_fx.c:3923:14: warning: unused variable 'size' [-Wunused-variable] float dec, size; ^ 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:4069:9: warning: variable 'sr' set but not used [-Wunused-but-set-variable] float sr, sp, sy, cr, cp, cy; ^ 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:4136:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] 255, 200, 150, ^~~~~~~~~~~~~ { } client/cl_fx.c:4137:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] 255, 200, 100, ^~~~~~~~~~~~~ { } client/cl_fx.c:4138:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] 255, 200, 50, ^~~~~~~~~~~~ { } client/cl_fx.c:4139:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0 ^ {} client/cl_fx.c:4156:8: warning: implicit conversion from 'double' to 'int' changes value from 2.5 to 2 [-Wliteral-conversion] dec = 2.5; ~ ^~~ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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 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; ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 client/cl_main.c:231:17: warning: passing 'char[1400]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] SZ_Init (&buf, buf_data, sizeof(buf_data)); ^~~~~~~~ client/../qcommon/qcommon.h:131:37: note: passing argument to parameter 'data' here void SZ_Init (sizebuf_t *buf, byte *data, int length); ^ client/cl_main.c:671:41: warning: passing 'byte[32]' (aka 'unsigned char[32]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final), final); ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ client/cl_main.c:672:41: warning: passing 'byte[32]' (aka 'unsigned char[32]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final), final); ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ client/cl_main.c:673:41: warning: passing 'byte[32]' (aka 'unsigned char[32]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Netchan_Transmit (&cls.netchan, strlen(final), final); ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ client/cl_main.c:1684:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (f, va("// generated by %s, do not modify\n", GAMENAME)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/cl_main.c:1684:14: note: treat the string as an argument to avoid this fprintf (f, va("// generated by %s, do not modify\n", GAMENAME)); ^ "%s", client/cl_main.c:1715:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (f, va("// generated by %s, do not modify\n", GAMENAME)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/cl_main.c:1715:15: note: treat the string as an argument to avoid this fprintf (f, va("// generated by %s, do not modify\n", GAMENAME)); ^ "%s", 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 client/cl_newfx.c:587:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] 250, 250, 255, ^~~~~~~~~~~~~ { } client/cl_newfx.c:588:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] 200, 225, 255, ^~~~~~~~~~~~~ { } client/cl_newfx.c:589:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] 150, 175, 255, ^~~~~~~~~~~~~ { } client/cl_newfx.c:590:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] 100, 100, 255, ^~~~~~~~~~~~~ { } client/cl_newfx.c:591:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] 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:627:13: warning: unused variable 'colortable' [-Wunused-variable] static int colortable[4] = {2*8,13*8,21*8,18*8}; ^ 9 warnings generated. cc -O2 -pipe -fstack-protector-strong -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_parse.c:450:31: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] newnum = CL_ParseEntityBits (&bits); ^~~~~ client/client.h:508:35: note: passing argument to parameter 'bits' here int CL_ParseEntityBits (unsigned *bits); ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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_pred.o -c client/cl_pred.c cc -O2 -pipe -fstack-protector-strong -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_tent.c:546:28: warning: unused variable 'dec' [-Wunused-variable] int srcEnt, dstEnt, len, dec; ^ 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:810:17: warning: implicit conversion from 'double' to 'int' changes value from 2.5 to 2 [-Wliteral-conversion] decalsize = 2.5; ~ ^~~ client/cl_tent.c:820:17: warning: implicit conversion from 'double' to 'int' changes value from 3.5 to 3 [-Wliteral-conversion] decalsize = 3.5; ~ ^~~ client/cl_tent.c:1977:11: warning: enumeration values 'ex_free' and 'ex_explosion' not handled in switch [-Wswitch] switch (ex->type) ^~~~~~~~ client/cl_tent.c:2087:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (s->endtime < cl.time) ^ 8 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 client/cl_scrn.c:119:16: warning: implicit declaration of function 'setParams' is invalid in C99 [-Wimplicit-function-declaration] modified = setParams(modifier, &red, &green, &blue, &bold, &shadow, &italic, &reset); ^ client/cl_scrn.c:139:24: warning: result of comparison of constant 128 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare] if (bold && character<128) ~~~~~~~~~^~~~ client/cl_scrn.c:141:29: warning: result of comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] else if (bold && character>128) ~~~~~~~~~^~~~ client/cl_scrn.c:182:16: warning: implicit declaration of function 'setParams' is invalid in C99 [-Wimplicit-function-declaration] modified = setParams(modifier, &red, &green, &blue, &bold, &shadow, &italic, &reset); ^ client/cl_scrn.c:202:24: warning: result of comparison of constant 128 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare] if (bold && character<128) ~~~~~~~~~^~~~ client/cl_scrn.c:204:29: warning: result of comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] else if (bold && character>128) ~~~~~~~~~^~~~ client/cl_scrn.c:223:6: warning: unused variable 'calc' [-Wunused-variable] int calc; ^ client/cl_scrn.c:464:7: warning: unused variable 'x' [-Wunused-variable] int x, y; ^ client/cl_scrn.c:711:7: warning: unused variable 'w' [-Wunused-variable] int w, h; ^ client/cl_scrn.c:711:10: warning: unused variable 'h' [-Wunused-variable] int w, h; ^ 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:1024:12: warning: cast to smaller integer type 'int' from 'struct image_s *' [-Wpointer-to-int-cast] return ( ( int ) a->skin - ( int ) b->skin ); ^~~~~~~~~~~~~~~ client/cl_scrn.c:1024:30: warning: cast to smaller integer type 'int' from 'struct image_s *' [-Wpointer-to-int-cast] return ( ( int ) a->skin - ( int ) b->skin ); ^~~~~~~~~~~~~~~ client/cl_scrn.c:1028:12: warning: cast to smaller integer type 'int' from 'struct model_s *' [-Wpointer-to-int-cast] return ( ( int ) a->model - ( int ) b->model ); ^~~~~~~~~~~~~~~~ client/cl_scrn.c:1028:31: warning: cast to smaller integer type 'int' from 'struct model_s *' [-Wpointer-to-int-cast] return ( ( int ) a->model - ( int ) b->model ); ^~~~~~~~~~~~~~~~ client/cl_scrn.c:1242:7: warning: unused variable 'i' [-Wunused-variable] int i, len; ^ client/cl_scrn.c:1242:10: warning: variable 'len' set but not used [-Wunused-but-set-variable] int i, len; ^ client/cl_scrn.c:1684:7: warning: unused variable 'i' [-Wunused-variable] int i, len; ^ client/cl_scrn.c:1753:9: warning: unused variable 'w' [-Wunused-variable] int w, h; ^ client/cl_scrn.c:1753:12: warning: unused variable 'h' [-Wunused-variable] int w, h; ^ 21 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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 client/console.c:177:24: warning: result of comparison of constant 128 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare] if (bold && character<128) ~~~~~~~~~^~~~ client/console.c:179:29: warning: result of comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] else if (bold && character>128) ~~~~~~~~~^~~~ client/console.c:240:24: warning: result of comparison of constant 128 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare] if (bold && character<128) ~~~~~~~~~^~~~ client/console.c:242:29: warning: result of comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] else if (bold && character>128) ~~~~~~~~~^~~~ client/console.c:659:7: warning: variable 'y' set but not used [-Wunused-but-set-variable] int y; ^ client/console.c:707:10: warning: unused variable 'xtra' [-Wunused-variable] int x, xtra; ^ client/console.c:711:7: warning: unused variable 'skip' [-Wunused-variable] int skip; ^ 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 client/keys.c:281:9: warning: implicitly declaring library function 'toupper' with type 'int (int)' [-Wimplicit-function-declaration] if ( ( toupper( key ) == 'V' && keydown[K_CTRL] ) || ^ client/keys.c:281:9: note: include the header or explicitly provide a declaration for 'toupper' 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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 client/menu.c:608:8: warning: unused variable 'name' [-Wunused-variable] char *name; ^ client/menu.c:948:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ client/menu.c:1293:6: warning: unused variable 'y' [-Wunused-variable] int y = 0; ^ client/menu.c:1295:9: warning: unused variable 'BindList' [-Wunused-variable] char * BindList; ^ client/menu.c:1672:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fontfiles = FS_ListPak("fonts/", &nfonts)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/menu.c:1672:16: note: place parentheses around the assignment to silence this warning if (fontfiles = FS_ListPak("fonts/", &nfonts)) ^ ( ) client/menu.c:1672:16: note: use '==' to turn this assignment into an equality comparison 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:1858:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (khz = 44) ~~~~^~~~ client/menu.c:1858:10: note: place parentheses around the assignment to silence this warning if (khz = 44) ^ ( ) client/menu.c:1858:10: note: use '==' to turn this assignment into an equality comparison if (khz = 44) ^ == client/menu.c:1860:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (khz = 22) ~~~~^~~~ client/menu.c:1860:15: note: place parentheses around the assignment to silence this warning else if (khz = 22) ^ ( ) client/menu.c:1860:15: note: use '==' to turn this assignment into an equality comparison else if (khz = 22) ^ == client/menu.c:1868:21: warning: unused variable 'null_names' [-Wunused-variable] static const char *null_names[] = ^ client/menu.c:1921:21: warning: unused variable 'blood_names' [-Wunused-variable] static const char *blood_names[] = ^ client/menu.c:1928:21: warning: unused variable 'explode_names' [-Wunused-variable] static const char *explode_names[] = ^ client/menu.c:2255:7: warning: unused variable 'crossPic' [-Wunused-variable] char crossPic[64]; ^ client/menu.c:2908:7: warning: unused variable 'j' [-Wunused-variable] int j, stringoffset = 0; ^ client/menu.c:2909:7: warning: variable 'bold' set but not used [-Wunused-but-set-variable] int bold = false; ^ client/menu.c:3924:28: warning: unused variable 'c' [-Wunused-variable] char scratch[MAX_QPATH], *c, *map; ^ client/menu.c:5182:6: warning: unused variable 'ystart' [-Wunused-variable] int ystart; ^ client/menu.c:5183:6: warning: unused variable 'xoffset' [-Wunused-variable] int xoffset; ^ client/menu.c:5184:6: warning: unused variable 'widest' [-Wunused-variable] int widest; ^ client/menu.c:5185:6: warning: unused variable 'totalheight' [-Wunused-variable] int totalheight; ^ client/menu.c:5186:9: warning: unused variable 'oldhover' [-Wunused-variable] int i, oldhover, w, h, count; ^ client/menu.c:5280:7: warning: unused variable 'maxframe' [-Wunused-variable] int maxframe = 29, w, h, bordercolor; ^ client/menu.c:5280:28: warning: unused variable 'bordercolor' [-Wunused-variable] int maxframe = 29, w, h, bordercolor; ^ client/menu.c:5649:16: warning: unused variable 'item' [-Wunused-variable] menucommon_s *item = ( menucommon_s * ) menuitem; ^ client/menu.c:5834:6: warning: unused variable 'background' [-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:21: warning: unused variable 'w' [-Wunused-variable] int background, n, w, h; ^ client/menu.c:5834:24: warning: unused variable 'h' [-Wunused-variable] int background, n, w, h; ^ client/menu.c:786:13: warning: unused function 'Multiplayer_MenuDraw' [-Wunused-function] static void Multiplayer_MenuDraw (void) ^ client/menu.c:1102:22: warning: unused variable 's_keys_attack_action' [-Wunused-variable] static menuaction_s s_keys_attack_action; ^ client/menu.c:1103:22: warning: unused variable 's_keys_change_weapon_action' [-Wunused-variable] static menuaction_s s_keys_change_weapon_action; ^ client/menu.c:1104:22: warning: unused variable 's_keys_walk_forward_action' [-Wunused-variable] static menuaction_s s_keys_walk_forward_action; ^ client/menu.c:1105:22: warning: unused variable 's_keys_backpedal_action' [-Wunused-variable] static menuaction_s s_keys_backpedal_action; ^ client/menu.c:1106:22: warning: unused variable 's_keys_turn_left_action' [-Wunused-variable] static menuaction_s s_keys_turn_left_action; ^ client/menu.c:1107:22: warning: unused variable 's_keys_turn_right_action' [-Wunused-variable] static menuaction_s s_keys_turn_right_action; ^ client/menu.c:1108:22: warning: unused variable 's_keys_run_action' [-Wunused-variable] static menuaction_s s_keys_run_action; ^ client/menu.c:1109:22: warning: unused variable 's_keys_step_left_action' [-Wunused-variable] static menuaction_s s_keys_step_left_action; ^ client/menu.c:1110:22: warning: unused variable 's_keys_step_right_action' [-Wunused-variable] static menuaction_s s_keys_step_right_action; ^ client/menu.c:1111:22: warning: unused variable 's_keys_sidestep_action' [-Wunused-variable] static menuaction_s s_keys_sidestep_action; ^ client/menu.c:1112:22: warning: unused variable 's_keys_look_up_action' [-Wunused-variable] static menuaction_s s_keys_look_up_action; ^ client/menu.c:1113:22: warning: unused variable 's_keys_look_down_action' [-Wunused-variable] static menuaction_s s_keys_look_down_action; ^ client/menu.c:1114:22: warning: unused variable 's_keys_center_view_action' [-Wunused-variable] static menuaction_s s_keys_center_view_action; ^ client/menu.c:1115:22: warning: unused variable 's_keys_mouse_look_action' [-Wunused-variable] static menuaction_s s_keys_mouse_look_action; ^ client/menu.c:1116:22: warning: unused variable 's_keys_keyboard_look_action' [-Wunused-variable] static menuaction_s s_keys_keyboard_look_action; ^ client/menu.c:1117:22: warning: unused variable 's_keys_move_up_action' [-Wunused-variable] static menuaction_s s_keys_move_up_action; ^ client/menu.c:1118:22: warning: unused variable 's_keys_move_down_action' [-Wunused-variable] static menuaction_s s_keys_move_down_action; ^ client/menu.c:1119:22: warning: unused variable 's_keys_inventory_action' [-Wunused-variable] static menuaction_s s_keys_inventory_action; ^ client/menu.c:1120:22: warning: unused variable 's_keys_inv_use_action' [-Wunused-variable] static menuaction_s s_keys_inv_use_action; ^ client/menu.c:1121:22: warning: unused variable 's_keys_inv_drop_action' [-Wunused-variable] static menuaction_s s_keys_inv_drop_action; ^ client/menu.c:1122:22: warning: unused variable 's_keys_inv_prev_action' [-Wunused-variable] static menuaction_s s_keys_inv_prev_action; ^ client/menu.c:1123:22: warning: unused variable 's_keys_inv_next_action' [-Wunused-variable] static menuaction_s s_keys_inv_next_action; ^ client/menu.c:1125:22: warning: unused variable 's_keys_help_computer_action' [-Wunused-variable] static menuaction_s s_keys_help_computer_action; ^ client/menu.c:1407:12: warning: unused variable 'currentOptionsMenu' [-Wunused-variable] static int currentOptionsMenu; ^ client/menu.c:1433:20: warning: unused variable 's_options_thirdperson_box' [-Wunused-variable] static menulist_s s_options_thirdperson_box; ^ client/menu.c:1787:13: warning: unused function 'setMenuOptionsMain' [-Wunused-function] static void setMenuOptionsMain ( void *unused ) ^ client/menu.c:3564:21: warning: unused variable 's_multiplayer_join' [-Wunused-variable] static menuaction_s s_multiplayer_join; ^ client/menu.c:3565:21: warning: unused variable 's_multiplayer_server' [-Wunused-variable] static menuaction_s s_multiplayer_server; ^ client/menu.c:3566:21: warning: unused variable 's_multiplayer_setup' [-Wunused-variable] static menuaction_s s_multiplayer_setup; ^ 58 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 client/snd_dma.c:1014:13: warning: variable 'combine' set but not used [-Wunused-but-set-variable] channel_t *combine; ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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_mem.c:233:16: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strncmp(data_p, name, 4)) ^~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ client/snd_mem.c:256:35: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] Com_Printf ("0x%x : %s (%d)\n", (int)(data_p - 4), str, iff_chunk_len); ^~~~~~~~~~~~~~~~~ client/snd_mem.c:283:27: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(data_p && !strncmp(data_p+8, "WAVE", 4))) ^~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ client/snd_mem.c:324:18: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strncmp (data_p + 28, "mark", 4)) ^~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 client/snd_mix.c:385:6: warning: assigning to 'unsigned char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] sfx = (signed char *)sc->data + ch->pos; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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/qmenu.c:66:15: warning: result of comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if (modifier>128) ~~~~~~~~^~~~ client/qmenu.c:96:36: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:40: note: passing argument to parameter 'red' here qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^ client/qmenu.c:96:43: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:50: note: passing argument to parameter 'green' here qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^ client/qmenu.c:96:50: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:62: note: passing argument to parameter 'blue' here qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^ client/qmenu.c:96:57: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:73: note: passing argument to parameter 'bold' here qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^ client/qmenu.c:96:64: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:84: note: passing argument to parameter 'shadow' here qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^ client/qmenu.c:96:71: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:97: note: passing argument to parameter 'italic' here qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^ client/qmenu.c:96:78: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] modified = setParams(modifier, &temp, &temp, &temp, &temp, &temp, &temp, &temp); ^~~~~ client/qmenu.c:28:110: note: passing argument to parameter 'reset' here qboolean setParams(char modifier, int *red, int *green, int *blue, int *bold, int *shadow, int *italic, int *reset); ^ client/qmenu.c:219:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (xtra = stringLengthExtra(f->buffer)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/qmenu.c:219:11: note: place parentheses around the assignment to silence this warning if (xtra = stringLengthExtra(f->buffer)) ^ ( ) client/qmenu.c:219:11: note: use '==' to turn this assignment into an equality comparison if (xtra = stringLengthExtra(f->buffer)) ^ == client/qmenu.c:479:17: warning: incompatible pointer types initializing 'menucommon_s **' with an expression of type 'void *[64]' [-Wincompatible-pointer-types] menucommon_s **items = menu->items; ^ ~~~~~~~~~~~ client/qmenu.c:727:7: warning: unused variable 'maxrow' [-Wunused-variable] int maxrow = VID_HEIGHT / scaledVideo(MENU_FONT_SIZE); ^ client/qmenu.c:802:24: warning: result of comparison of constant 128 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare] if (bold && character<128) ~~~~~~~~~^~~~ client/qmenu.c:804:29: warning: result of comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] else if (bold && character>128) ~~~~~~~~~^~~~ client/qmenu.c:864:24: warning: result of comparison of constant 128 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare] if (bold && character<128) ~~~~~~~~~^~~~ client/qmenu.c:866:29: warning: result of comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] else if (bold && character>128) ~~~~~~~~~^~~~ client/qmenu.c:877:17: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] x -= stringLen(string)*scaledVideo(MENU_FONT_SIZE); ^~~~~~ client/qmenu.c:56:22: note: passing argument to parameter 'string' here int stringLen (char *string); ^ client/qmenu.c:883:17: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] x -= stringLen(string)*scaledVideo(MENU_FONT_SIZE); ^~~~~~ client/qmenu.c:56:22: note: passing argument to parameter 'string' here int stringLen (char *string); ^ client/qmenu.c:991:6: warning: unused function 'Menulist_DoEnter' [-Wunused-function] void Menulist_DoEnter( menulist_s *l ) ^ client/qmenu.c:1082:6: warning: unused function 'SpinControl_DoEnter' [-Wunused-function] void SpinControl_DoEnter( menulist_s *s ) ^ 19 warnings generated. cc -O2 -pipe -fstack-protector-strong -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:30:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0.0, 0.0, 0.0, ^~~~~~~~~~~~~ { } game/m_flash.c:33:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20.7, -18.5, 28.7, ^~~~~~~~~~~~~~~~~ { } game/m_flash.c:35:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 16.6, -21.5, 30.1, ^~~~~~~~~~~~~~~~~ { } game/m_flash.c:37:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 11.8, -23.9, 32.1, ^~~~~~~~~~~~~~~~~ { } game/m_flash.c:39:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 22.9, -0.7, 25.3, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:41:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 22.2, 6.2, 22.3, ^~~~~~~~~~~~~~~ { } game/m_flash.c:43:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19.4, 13.1, 18.6, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:45:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 19.4, 18.8, 18.6, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:47:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 17.9, 25.0, 18.6, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:49:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 14.1, 30.5, 20.6, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:51:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 9.3, 35.3, 22.1, ^~~~~~~~~~~~~~~ { } game/m_flash.c:53:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 4.7, 38.4, 22.1, ^~~~~~~~~~~~~~~ { } game/m_flash.c:55:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -1.1, 40.4, 24.1, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:57:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -6.5, 41.2, 24.1, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:59:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 3.2, 40.1, 24.7, ^~~~~~~~~~~~~~~ { } game/m_flash.c:61:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 11.7, 36.7, 26.0, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:63:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 18.9, 31.3, 26.0, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:65:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 24.4, 24.4, 26.4, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:67:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 27.1, 17.1, 27.2, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:69:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 28.5, 9.1, 28.0, ^~~~~~~~~~~~~~~ { } game/m_flash.c:71:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 27.1, 2.2, 28.0, ^~~~~~~~~~~~~~~ { } game/m_flash.c:73:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 24.9, -2.8, 28.0, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:75:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 21.6, -7.0, 26.4, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:77:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 6.2, 29.1, 49.1, ^~~~~~~~~~~~~~~ { } game/m_flash.c:79:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 6.9, 23.8, 49.1, ^~~~~~~~~~~~~~~ { } game/m_flash.c:81:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 8.3, 17.8, 49.5, ^~~~~~~~~~~~~~~ { } game/m_flash.c:84:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 26.6, 7.1, 13.1, ^~~~~~~~~~~~~~~ { } game/m_flash.c:86:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 18.2, 7.5, 15.4, ^~~~~~~~~~~~~~~ { } game/m_flash.c:88:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 17.2, 10.3, 17.9, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:90:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 17.0, 12.8, 20.1, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:92:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15.1, 14.1, 21.8, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:94:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 11.8, 17.2, 23.1, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:96:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 11.4, 20.2, 21.0, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:98:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 9.0, 23.0, 18.9, ^~~~~~~~~~~~~~~ { } game/m_flash.c:100:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 13.9, 18.6, 17.7, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:102:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 15.4, 15.6, 15.8, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:104:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 10.2, 15.2, 25.1, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:106:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -1.9, 15.1, 28.2, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:108:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -12.4, 13.0, 20.2, ^~~~~~~~~~~~~~~~~ { } game/m_flash.c:111:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 10.6 * 1.2, 7.7 * 1.2, 7.8 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:113:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 21.1 * 1.2, 3.6 * 1.2, 19.0 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:115:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 10.6 * 1.2, 7.7 * 1.2, 7.8 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:117:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 21.1 * 1.2, 3.6 * 1.2, 19.0 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:119:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 10.6 * 1.2, 7.7 * 1.2, 7.8 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:121:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 21.1 * 1.2, 3.6 * 1.2, 19.0 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:124:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 30.1 * 1.15, 3.9 * 1.15, 19.6 * 1.15, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:126:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 29.1 * 1.15, 2.5 * 1.15, 20.7 * 1.15, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:128:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 28.2 * 1.15, 2.5 * 1.15, 22.2 * 1.15, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:130:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 28.2 * 1.15, 3.6 * 1.15, 22.0 * 1.15, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:132:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 26.9 * 1.15, 2.0 * 1.15, 23.4 * 1.15, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:134:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 26.5 * 1.15, 0.6 * 1.15, 20.8 * 1.15, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:136:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 26.9 * 1.15, 0.5 * 1.15, 21.5 * 1.15, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:138:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 29.0 * 1.15, 2.4 * 1.15, 19.5 * 1.15, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:140:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 4.6 * 1.15, -16.8 * 1.15, 7.3 * 1.15, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:142:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 4.6 * 1.15, -16.8 * 1.15, 7.3 * 1.15, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:144:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 4.6 * 1.15, -16.8 * 1.15, 7.3 * 1.15, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:146:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 4.6 * 1.15, -16.8 * 1.15, 7.3 * 1.15, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:150:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 24.8, -9.0, 39.0, // PGM - this was incorrect in Q2 ^~~~~~~~~~~~~~~~ { } game/m_flash.c:153:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 12.1, 13.4, -14.5, ^~~~~~~~~~~~~~~~~ { } game/m_flash.c:155:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 12.1, -7.4, -14.5, ^~~~~~~~~~~~~~~~~ { } game/m_flash.c:158:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 12.1, 5.4, 16.5, ^~~~~~~~~~~~~~~ { } game/m_flash.c:161:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 30.0, 18.0, 28.0, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:164:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32.5, -0.8, 10.0, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:167:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 18.4, 7.4, 9.6, ^~~~~~~~~~~~~~ { } game/m_flash.c:170:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 30.0, 30.0, 88.5, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:172:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 30.0, 30.0, 88.5, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:174:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 30.0, 30.0, 88.5, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:176:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 30.0, 30.0, 88.5, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:178:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 30.0, 30.0, 88.5, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:180:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 30.0, 30.0, 88.5, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:182:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 16.0, -22.5, 91.2, ^~~~~~~~~~~~~~~~~ { } game/m_flash.c:184:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 16.0, -33.4, 86.7, ^~~~~~~~~~~~~~~~~ { } game/m_flash.c:186:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 16.0, -42.8, 83.3, ^~~~~~~~~~~~~~~~~ { } game/m_flash.c:190:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32, -40, 70, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:192:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32, -40, 70, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:194:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32, -40, 70, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:196:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32, -40, 70, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:198:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32, -40, 70, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:202:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 22.0, 16.0, 10.0, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:204:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 22.0, 8.0, 10.0, ^~~~~~~~~~~~~~~ { } game/m_flash.c:206:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 22.0, -8.0, 10.0, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:208:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 22.0, -16.0, 10.0, ^~~~~~~~~~~~~~~~~ { } game/m_flash.c:211:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32.5, -0.8, 10, ^~~~~~~~~~~~~~ { } game/m_flash.c:214:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20.8 * 1.2, 10.1 * 1.2, -2.7 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:216:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20.8 * 1.2, 10.1 * 1.2, -2.7 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:218:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 20.8 * 1.2, 10.1 * 1.2, -2.7 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:220:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 7.6 * 1.2, 9.3 * 1.2, 0.8 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:222:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 7.6 * 1.2, 9.3 * 1.2, 0.8 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:224:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 7.6 * 1.2, 9.3 * 1.2, 0.8 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:226:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 30.5 * 1.2, 9.9 * 1.2, -18.7 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:228:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 30.5 * 1.2, 9.9 * 1.2, -18.7 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:230:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 30.5 * 1.2, 9.9 * 1.2, -18.7 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:232:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 27.6 * 1.2, 3.4 * 1.2, -10.4 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:234:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 27.6 * 1.2, 3.4 * 1.2, -10.4 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:236:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 27.6 * 1.2, 3.4 * 1.2, -10.4 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:238:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 28.9 * 1.2, 4.6 * 1.2, -8.1 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:240:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 28.9 * 1.2, 4.6 * 1.2, -8.1 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:242:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 28.9 * 1.2, 4.6 * 1.2, -8.1 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:245:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 31.5 * 1.2, 9.6 * 1.2, 10.1 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:247:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 34.5 * 1.2, 9.6 * 1.2, 6.1 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:249:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 34.5 * 1.2, 9.6 * 1.2, 6.1 * 1.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:253:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 17, -19.5, 62.9, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:255:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -3.6, -24.1, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:257:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -1.6, -19.3, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:259:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -0.1, -14.4, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:261:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2.0, -7.6, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:263:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 3.4, 1.3, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:265:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 3.7, 11.1, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:267:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -0.3, 22.3, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:269:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -6, 33, 59.5, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:271:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -9.3, 36.4, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:273:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -7, 35, 59.5, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:275:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -2.1, 29, 59.5, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:277:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 3.9, 17.3, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:279:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 6.1, 5.8, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:281:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 5.9, -4.4, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:283:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 4.2, -14.1, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:285:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2.4, -18.8, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:287:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -1.8, -25.5, 59.5, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:289:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -17.3, 7.8, 72.4, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:292:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78.5, -47.1, 96, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:294:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78.5, -47.1, 96, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:296:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78.5, -47.1, 96, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:298:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78.5, -47.1, 96, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:300:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78.5, -47.1, 96, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:302:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78.5, -47.1, 96, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:304:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78.5, 46.7, 96, ^~~~~~~~~~~~~~~~~ { } game/m_flash.c:306:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78.5, 46.7, 96, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:308:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78.5, 46.7, 96, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:310:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78.5, 46.7, 96, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:312:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78.5, 46.7, 96, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:314:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 78.5, 46.7, 96, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:316:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 6.3, -9, 111.2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:319:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32, 40, 70, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:321:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32, 40, 70, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:323:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32, 40, 70, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:325:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32, 40, 70, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:327:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32, 40, 70, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:335:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 56, -32, 32, ^~~~~~~~~~~~~~~ { } game/m_flash.c:337:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 56, 32, 32, ^~~~~~~~~~~~~~ { } game/m_flash.c:339:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 42, 24, 50, ^~~~~~~~~~~~~~ { } game/m_flash.c:341:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 16, 0, 0, ^~~~~~~~ { } game/m_flash.c:343:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 16, 0, 0, ^~~~~~~~ { } game/m_flash.c:345:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 16, 0, 0, ^~~~~~~~ { } game/m_flash.c:347:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 24, 0, 6, ^~~~~~~~ { } game/m_flash.c:349:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32.5, -0.8, 10.0, ^~~~~~~~~~~~~~~~ { } game/m_flash.c:351:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 12.1, 5.4, 16.5, ^~~~~~~~~~~~~~~ { } game/m_flash.c:353:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32, 0, 6, ^~~~~~~~ { } game/m_flash.c:355:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 57.72, 14.50, 88.81, ^~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:357:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 56, 32, 32, ^~~~~~~~~~~~~~ { } game/m_flash.c:359:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 62, -20, 84, ^~~~~~~~~~~ { } game/m_flash.c:361:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32, 0, 6, ^~~~~~~~ { } game/m_flash.c:363:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 61, -32, 12, ^~~~~~~~~~~~~~~ { } game/m_flash.c:365:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 61, 32, 12, ^~~~~~~~~~~~~~ { } game/m_flash.c:367:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 17, -62, 91, ^~~~~~~~~~~ { } game/m_flash.c:369:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68, 12, 86, ^~~~~~~~~~ { } game/m_flash.c:371:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 47.5, 56, 89, ^~~~~~~~~~~~ { } game/m_flash.c:373:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 54, 52, 91, ^~~~~~~~~~ { } game/m_flash.c:375:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 58, 40, 91, ^~~~~~~~~~ { } game/m_flash.c:377:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68, 30, 88, ^~~~~~~~~~ { } game/m_flash.c:379:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 74, 20, 88, ^~~~~~~~~~ { } game/m_flash.c:381:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 73, 11, 87, ^~~~~~~~~~ { } game/m_flash.c:383:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 73, 3, 87, ^~~~~~~~~ { } game/m_flash.c:385:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 70, -12, 87, ^~~~~~~~~~~ { } game/m_flash.c:387:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 67, -20, 90, ^~~~~~~~~~~ { } game/m_flash.c:389:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -20, 76, 90, ^~~~~~~~~~~ { } game/m_flash.c:391:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] -8, 74, 90, ^~~~~~~~~~ { } game/m_flash.c:393:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 72, 90, ^~~~~~~~~ { } game/m_flash.c:395:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 10, 71, 89, ^~~~~~~~~~ { } game/m_flash.c:397:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 23, 70, 87, ^~~~~~~~~~ { } game/m_flash.c:399:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 32, 64, 85, ^~~~~~~~~~ { } game/m_flash.c:401:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 40, 58, 84, ^~~~~~~~~~ { } game/m_flash.c:403:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 48, 50, 83, ^~~~~~~~~~ { } game/m_flash.c:405:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 54, 42, 82, ^~~~~~~~~~ { } game/m_flash.c:407:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 56, 34, 82, ^~~~~~~~~~ { } game/m_flash.c:409:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 58, 26, 82, ^~~~~~~~~~ { } game/m_flash.c:411:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 60, 16, 82, ^~~~~~~~~~ { } game/m_flash.c:413:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 59, 6, 81, ^~~~~~~~~ { } game/m_flash.c:415:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 58, -2, 80, ^~~~~~~~~~ { } game/m_flash.c:417:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 57, -10, 79, ^~~~~~~~~~~ { } game/m_flash.c:419:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 54, -18, 78, ^~~~~~~~~~~ { } game/m_flash.c:421:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 42, -32, 80, ^~~~~~~~~~~ { } game/m_flash.c:423:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 36, -40, 78, ^~~~~~~~~~~ { } game/m_flash.c:425:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68.4, 10.88, 82.08, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:427:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68.51, 8.64, 85.14, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:429:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68.66, 6.38, 88.78, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:431:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68.73, 5.1, 84.47, ^~~~~~~~~~~~~~~~~ { } game/m_flash.c:433:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68.82, 4.79, 80.52, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:435:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68.77, 6.11, 85.37, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:437:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68.67, 7.99, 90.24, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:439:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68.55, 9.54, 87.36, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:441:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, -5, ^~~~~~~~ { } game/m_flash.c:443:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, -5, ^~~~~~~~ { } game/m_flash.c:445:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, -5, ^~~~~~~~ { } game/m_flash.c:447:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, 0, -5, ^~~~~~~~ { } game/m_flash.c:450:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 69.00, -17.63, 93.77, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:453:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 69.00, -17.08, 89.82, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:456:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 69.00, -18.40, 90.70, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:459:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 69.00, -18.34, 94.32, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:462:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 69.00, -18.30, 97.98, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:464:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 45.04, -59.02, 92.24, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:466:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 50.68, -54.70, 91.96, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:468:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 56.57, -47.72, 91.65, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:470:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 61.75, -38.75, 91.38, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:472:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 65.55, -28.76, 91.24, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:474:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 67.79, -18.90, 91.22, ^~~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:476:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68.60, -9.52, 91.23, ^~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:478:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 68.08, 0.18, 91.32, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:480:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 66.14, 9.79, 91.44, ^~~~~~~~~~~~~~~~~~ { } game/m_flash.c:482:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 62.77, 18.91, 91.65, ^~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:484:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 58.29, 27.11, 92.00, ^~~~~~~~~~~~~~~~~~~ { } game/m_flash.c:487:2: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0.0, 0.0, 0.0 ^~~~~~~~~~~~~ { } 212 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 qcommon/cmd.c:161:19: warning: passing 'byte[32768]' (aka 'unsigned char[32768]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Cbuf_InsertText (defer_text_buf); ^~~~~~~~~~~~~~ qcommon/cmd.c:114:29: note: passing argument to parameter 'text' here void Cbuf_InsertText (char *text) ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 qcommon/files.c:356:9: warning: unused variable 'netpath' [-Wunused-variable] char netpath[MAX_OSPATH]; ^ qcommon/files.c:524:12: warning: variable 'checksum' set but not used [-Wunused-but-set-variable] unsigned checksum; ^ qcommon/files.c:767:24: warning: '&&' within '||' [-Wlogical-op-parentheses] if (modType("baseq2") && (!strcmp(dir,BASEDIRNAME)) || (*dir == 0)) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ qcommon/files.c:767:24: note: place parentheses around the '&&' expression to silence this warning if (modType("baseq2") && (!strcmp(dir,BASEDIRNAME)) || (*dir == 0)) ^ ( ) 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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:302:8: warning: variable 'qport' set but not used [-Wunused-but-set-variable] int qport; ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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 server/sv_ccmds.c:928:17: warning: passing 'char[32768]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] SZ_Init (&buf, buf_data, sizeof(buf_data)); ^~~~~~~~ server/../qcommon/qcommon.h:131:37: note: passing argument to parameter 'data' here void SZ_Init (sizebuf_t *buf, byte *data, int length); ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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:462:3: warning: implicit declaration of function 'M_ForceMenuOff' is invalid in C99 [-Wimplicit-function-declaration] M_ForceMenuOff(); ^ server/sv_init.c:477:3: warning: implicit declaration of function 'M_ForceMenuOff' is invalid in C99 [-Wimplicit-function-declaration] M_ForceMenuOff(); ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 server/sv_world.c:371:11: warning: cast to smaller integer type 'int' from 'link_t *' (aka 'struct link_s *') [-Wpointer-to-int-cast] check = EDICT_FROM_AREA(l); ^~~~~~~~~~~~~~~~~~ server/sv_world.c:38:28: note: expanded from macro 'EDICT_FROM_AREA' #define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/sv_world.c:36:52: note: expanded from macro 'STRUCT_FROM_LINK' #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) ^~~~~~~~~~~~~~~~~~~ server/sv_world.c:358:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count; ^ server/sv_world.c:437:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] float *angles; ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -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:91:12: warning: variable 'n' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if (new_size < old_size) ^~~~~~~~~~~~~~~~~~~ unix/qsh_unix.c:102:6: note: uninitialized use occurs here if (n != membase) ^ unix/qsh_unix.c:91:8: note: remove the 'if' if its condition is always true else if (new_size < old_size) ^~~~~~~~~~~~~~~~~~~~~~~~ unix/qsh_unix.c:79:9: note: initialize the variable 'n' to silence this warning byte *n; ^ = NULL unix/qsh_unix.c:156:8: warning: implicitly declaring library function 'tolower' with type 'int (int)' [-Wimplicit-function-declaration] *s = tolower(*s); ^ unix/qsh_unix.c:156:8: note: include the header or explicitly provide a declaration for 'tolower' 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -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: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:167:8: warning: unused variable 'gamma' [-Wunused-variable] float gamma; ^ unix/vid_menu.c:453:40: warning: variable 'y' is uninitialized when used here [-Wuninitialized] s_ref_list.generic.y = MENU_FONT_SIZE*y+2;; ^ unix/vid_menu.c:367:7: note: initialize the variable 'y' to silence this warning int y; ^ = 0 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; ^ unix/vid_menu.c:62:13: warning: unused variable 's_current_menu_index' [-Wunused-variable] static int s_current_menu_index; ^ unix/vid_menu.c:73:22: warning: unused variable 's_lightmapscale_slider' [-Wunused-variable] static menuslider_s s_lightmapscale_slider; ^ unix/vid_menu.c:75:22: warning: unused variable 's_vertexlight_box' [-Wunused-variable] static menulist_s s_vertexlight_box; ^ unix/vid_menu.c:78:22: warning: unused variable 's_back_action' [-Wunused-variable] static menuaction_s s_back_action; ^ 10 warnings generated. cc -O2 -pipe -fstack-protector-strong -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:481:2: warning: implicit declaration of function 'refreshCursorMenu' is invalid in C99 [-Wimplicit-function-declaration] refreshCursorMenu(); ^ unix/vid_so.c:482:2: warning: implicit declaration of function 'refreshCursorLink' is invalid in C99 [-Wimplicit-function-declaration] refreshCursorLink(); ^ unix/vid_so.c:523:4: warning: implicit declaration of function 'M_Think_MouseCursor' is invalid in C99 [-Wimplicit-function-declaration] M_Think_MouseCursor(); ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 unix/sys_unix.c:80:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] for (p = (unsigned char *)text; *p; p++) { ^ unix/sys_unix.c:77:5: note: previous statement is here if (nostdout && nostdout->value) ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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 unix/glob.c:51:12: warning: unused function 'glob_pattern_p' [-Wunused-function] static int glob_pattern_p(char *pattern) ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -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/net_udp.c:182:53: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] *(int *)&((struct sockaddr_in *)sadr)->sin_addr = inet_addr(copy); ^ unix/net_udp.c:302:35: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] , 0, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ /usr/include/sys/socket.h:695:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ unix/net_udp.c:362:11: warning: variable 'net_socket' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if (to.type == NA_BROADCAST_IPX) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/net_udp.c:373:16: note: uninitialized use occurs here ret = sendto (net_socket, data, length, 0, (struct sockaddr *)&addr, sizeof(addr) ); ^~~~~~~~~~ unix/net_udp.c:362:7: note: remove the 'if' if its condition is always true else if (to.type == NA_BROADCAST_IPX) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/net_udp.c:336:17: note: initialize the variable 'net_socket' to silence this warning int net_socket; ^ = 0 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 unix/snd_unix.c:56:11: warning: unused variable 's' [-Wunused-variable] char *s; ^ 1 warning generated. ==================== Linking quake2/quake2max ==================== cc -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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 In file included from unix/gl_sdl.c:45: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ 1 warning generated. ==================== Linking quake2/rfx_sdlgl.so ==================== cc -O2 -pipe -fstack-protector-strong -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 cc -O2 -pipe -fstack-protector-strong -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 -O2 -pipe -fstack-protector-strong -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 ==================== Linking quake2/quake2max-sdl ==================== cc -O2 -pipe -fstack-protector-strong -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 gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/quake2max/work/Quake2maX_0.45-src_unix' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> quake2max-0.45_16 depends on package: quake2-data>0 - not found ===> Installing existing package /packages/All/quake2-data-3.20_3.pkg [pkg-builder.dan.net.uk] Installing quake2-data-3.20_3... [pkg-builder.dan.net.uk] Extracting quake2-data-3.20_3: .......... done ===== 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. ===> quake2max-0.45_16 depends on package: quake2-data>0 - found ===> Returning to build of quake2max-0.45_16 ===> quake2max-0.45_16 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> quake2max-0.45_16 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> quake2max-0.45_16 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found ===> quake2max-0.45_16 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for quake2max-0.45_16 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/quake2max/work/Quake2maX_0.45-src_unix/quake2/quake2max /wrkdirs/usr/ports/games/quake2max/work/stage/usr/local/bin install -s -m 555 /wrkdirs/usr/ports/games/quake2max/work/Quake2maX_0.45-src_unix/quake2/quake2max-ded /wrkdirs/usr/ports/games/quake2max/work/stage/usr/local/bin install -s -m 555 /wrkdirs/usr/ports/games/quake2max/work/Quake2maX_0.45-src_unix/quake2/quake2max-sdl /wrkdirs/usr/ports/games/quake2max/work/stage/usr/local/bin install -s -m 555 /wrkdirs/usr/ports/games/quake2max/work/Quake2maX_0.45-src_unix/quake2/rfx_glx.so /wrkdirs/usr/ports/games/quake2max/work/stage/usr/local/lib/quake2max install -s -m 555 /wrkdirs/usr/ports/games/quake2max/work/Quake2maX_0.45-src_unix/quake2/rfx_sdlgl.so /wrkdirs/usr/ports/games/quake2max/work/stage/usr/local/lib/quake2max install -m 0644 /wrkdirs/usr/ports/games/quake2max/work/Quake2maX_0.45-src_unix/_maxpak.pak /wrkdirs/usr/ports/games/quake2max/work/stage/usr/local/lib/quake2max/baseq2/maxpak.pak ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-06T03:10:47+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=a22f7c00b7' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for quake2max-0.45_16 ===> Building quake2max-0.45_16 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for quake2max-0.45_16 build of games/quake2max | quake2max-0.45_16 ended at Sat Apr 6 04:11:37 BST 2024 build time: 00:00:50