=>> Building games/evq3 build started at Sun Apr 7 01:53:26 BST 2024 port directory: /usr/ports/games/evq3 package name: evq3-1.3.20080810_11 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 4100 Mar 8 2023 /usr/ports/games/evq3/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 12 ---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/12/.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 evq3-1.3.20080810_11: CURL=on: Data transfer support via cURL CURL_DLOPEN=on: Enable dynamic loading of curl DOCS=on: Build and/or install documentation GAMELIBS=off: Build game libraries (when not mandatory) OPENAL=off: Enable OpenAL (3D sound) support OPENAL_DLOPEN=off: Enable dynamic loading of OpenAL OPTIMIZED_CFLAGS=on: Use extra compiler optimizations VOIP=off: Enable Voice Over IP VORBIS=on: Ogg Vorbis audio codec support ====> Options available for the multi TYPE: you have to choose at least one of them CLIENT=on: Build client DEDICATED=on: Build dedicated server SMP=on: Build SMP (threaded) client ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@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/evq3/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/evq3/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/evq3/work/.cache HOME=/wrkdirs/usr/ports/games/evq3/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/evq3/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/evq3/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-- DEFAULT_BASEDIR="/usr/local/share/quake3" LIBDIR="/usr/local/lib/evq3" PTHREAD_LIBS="-lpthread" Q3DIR="/usr/local/share/quake3" HAVE_VM_COMPILED=true USE_CURL=1 USE_CURL_DLOPEN=1 USE_CODEC_VORBIS=1 BUILD_CLIENT=1 BUILD_SERVER=1 USE_OPTIMIZED_CFLAGS=1 BUILD_CLIENT_SMP=1 SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/evq3/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/evq3/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/evq3/work/.cache HOME=/wrkdirs/usr/ports/games/evq3/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/evq3/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/evq3/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 -DMAP_ANONYMOUS=MAP_ANON -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DMAP_ANONYMOUS=MAP_ANON -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/evq3" Q3DIR="share/quake3" PORTDOCS="" CLIENT="" DEDICATED="" GAMELIBS="@comment " SMP="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/evq3" EXAMPLESDIR="share/examples/evq3" DATADIR="share/evq3" WWWDIR="www/evq3" ETCDIR="etc/evq3" --End PLIST_SUB-- --SUB_LIST-- Q3DIR="/usr/local/share/quake3" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/evq3 DOCSDIR=/usr/local/share/doc/evq3 EXAMPLESDIR=/usr/local/share/examples/evq3 WWWDIR=/usr/local/www/evq3 ETCDIR=/usr/local/etc/evq3 --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 ===> NOTICE: The evq3 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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> evq3-1.3.20080810_11 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 ===> evq3-1.3.20080810_11 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of evq3-1.3.20080810_11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The evq3 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 ===> Fetching all distfiles required by evq3-1.3.20080810_11 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The evq3 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 ===> Fetching all distfiles required by evq3-1.3.20080810_11 for building => SHA256 Checksum OK for evq3-1.3.20080810.tar.bz2. => SHA256 Checksum OK for pak-evq3.pk3. => SHA256 Checksum OK for pak-5evq3.pk3. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The evq3 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 ===> Fetching all distfiles required by evq3-1.3.20080810_11 for building ===> Extracting for evq3-1.3.20080810_11 => SHA256 Checksum OK for evq3-1.3.20080810.tar.bz2. => SHA256 Checksum OK for pak-evq3.pk3. => SHA256 Checksum OK for pak-5evq3.pk3. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for evq3-1.3.20080810_11 ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for evq3-1.3.20080810_11 from /usr/ports/games/evq3/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> evq3-1.3.20080810_11 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 ===> evq3-1.3.20080810_11 depends on package: gmake>=4.4.1 - found ===> Returning to build of evq3-1.3.20080810_11 ===> evq3-1.3.20080810_11 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". ===> evq3-1.3.20080810_11 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of evq3-1.3.20080810_11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> evq3-1.3.20080810_11 depends on shared library: libfreetype.so - not found ===> Installing existing package /packages/All/freetype2-2.13.2.pkg [pkg-builder.dan.net.uk] Installing freetype2-2.13.2... [pkg-builder.dan.net.uk] Extracting freetype2-2.13.2: .......... done ===== Message from freetype2-2.13.2: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===> evq3-1.3.20080810_11 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> Returning to build of evq3-1.3.20080810_11 ===> evq3-1.3.20080810_11 depends on shared library: libcurl.so - not found ===> Installing existing package /packages/All/curl-8.6.0.pkg [pkg-builder.dan.net.uk] Installing curl-8.6.0... [pkg-builder.dan.net.uk] `-- Installing brotli-1.1.0,1... [pkg-builder.dan.net.uk] `-- Extracting brotli-1.1.0,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libidn2-2.3.7... [pkg-builder.dan.net.uk] | `-- Installing libunistring-1.2... [pkg-builder.dan.net.uk] | `-- Extracting libunistring-1.2: .......... done [pkg-builder.dan.net.uk] `-- Extracting libidn2-2.3.7: .......... done [pkg-builder.dan.net.uk] `-- Installing libnghttp2-1.60.0... [pkg-builder.dan.net.uk] `-- Extracting libnghttp2-1.60.0: ....... done [pkg-builder.dan.net.uk] `-- Installing librtmp-2.4.20190330_1... [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 librtmp-2.4.20190330_1: ......... done [pkg-builder.dan.net.uk] `-- Installing libssh2-1.11.0_1,3... [pkg-builder.dan.net.uk] `-- Extracting libssh2-1.11.0_1,3: .......... done [pkg-builder.dan.net.uk] `-- Installing zstd-1.5.5_1... [pkg-builder.dan.net.uk] | `-- Installing liblz4-1.9.4_1,1... [pkg-builder.dan.net.uk] | `-- Extracting liblz4-1.9.4_1,1: .......... done [pkg-builder.dan.net.uk] `-- Extracting zstd-1.5.5_1: .......... done [pkg-builder.dan.net.uk] Extracting curl-8.6.0: .......... done ===> evq3-1.3.20080810_11 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> Returning to build of evq3-1.3.20080810_11 ===> evq3-1.3.20080810_11 depends on shared library: libvorbis.so - not found ===> Installing existing package /packages/All/libvorbis-1.3.7_2,3.pkg [pkg-builder.dan.net.uk] Installing libvorbis-1.3.7_2,3... [pkg-builder.dan.net.uk] `-- Installing libogg-1.3.5,4... [pkg-builder.dan.net.uk] `-- Extracting libogg-1.3.5,4: .......... done [pkg-builder.dan.net.uk] Extracting libvorbis-1.3.7_2,3: .......... done ===> evq3-1.3.20080810_11 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) ===> Returning to build of evq3-1.3.20080810_11 ===> evq3-1.3.20080810_11 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for evq3-1.3.20080810_11 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for evq3-1.3.20080810_11 gmake[1]: Entering directory '/wrkdirs/usr/ports/games/evq3/work/evq3' Building evq3 in build/release: PLATFORM: freebsd ARCH: amd64 VERSION: 1.35 COMPILE_PLATFORM: freebsd COMPILE_ARCH: amd64 CC: cc CFLAGS: -O2 -pipe -DMAP_ANONYMOUS=MAP_ANON -fstack-protector-strong -fno-strict-aliasing -MMD -DARCH="amd64" -I/usr/local/include -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -DLIBDIR="/usr/local/lib/evq3" -DUSE_ICON -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DUSE_CODEC_VORBIS -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DDEFAULT_BASEDIR="/usr/local/share/quake3" -DPRODUCT_VERSION="1.35" -DNDEBUG -pipe -O3 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations LDFLAGS: -lm Output: build/release/evq3ded build/release/evq3 build/release/evq3-smp gmake[2]: Entering directory '/wrkdirs/usr/ports/games/evq3/work/evq3' DED_CC code/server/sv_bot.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/server/sv_client.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/server/sv_client.c:240:13: warning: variable 'addrlen' set but not used [-Wunused-but-set-variable] int index, addrlen, curbyte, netmask, cmpmask; ^ 1 warning generated. DED_CC code/server/sv_ccmds.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/server/sv_game.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/server/sv_game.c:188:14: warning: variable 'area2' set but not used [-Wunused-but-set-variable] int area1, area2; ^ code/server/sv_game.c:188:7: warning: variable 'area1' set but not used [-Wunused-but-set-variable] int area1, area2; ^ 2 warnings generated. DED_CC code/server/sv_init.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/server/sv_init.c:107:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len, i; ^ 1 warning generated. DED_CC code/server/sv_main.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/server/sv_net_chan.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/server/sv_net_chan.c:37:7: warning: variable 'reliableAcknowledge' set but not used [-Wunused-but-set-variable] long reliableAcknowledge, i, index; ^ 1 warning generated. DED_CC code/server/sv_snapshot.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/server/sv_snapshot.c:301:7: warning: variable 'c_fullsend' set but not used [-Wunused-but-set-variable] int c_fullsend; ^ 1 warning generated. DED_CC code/server/sv_world.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/server/sv_world.c:385:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count; ^ code/server/sv_world.c:663:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] float *angles; ^ 2 warnings generated. DED_CC code/qcommon/cm_load.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/qcommon/cm_patch.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/qcommon/cm_polylib.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/qcommon/cm_test.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/qcommon/cm_trace.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/cm_trace.c:738:8: warning: variable 'a' set but not used [-Wunused-but-set-variable] float a, b, c, d, sqrtd; ^ code/qcommon/cm_trace.c:826:8: warning: variable 'a' set but not used [-Wunused-but-set-variable] float a, b, c, d, sqrtd; ^ 2 warnings generated. DED_CC code/qcommon/cmd.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/cmd.c:243:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^ 1 warning generated. DED_CC code/qcommon/common.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/common.c:913:14: warning: variable 'allocSize' set but not used [-Wunused-but-set-variable] int extra, allocSize; ^ code/qcommon/common.c:1332:7: warning: variable 'sum' set but not used [-Wunused-but-set-variable] int sum; ^ code/qcommon/common.c:1449:12: warning: variable 'locsize' set but not used [-Wunused-but-set-variable] int size, locsize, numBlocks; ^ code/qcommon/common.c:2350:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] * ( int * ) 0 = 0x12345678; ^ ~~~~~~~~~~~ code/qcommon/common.c:2350:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' code/qcommon/common.c:2798:6: warning: variable 'key' set but not used [-Wunused-but-set-variable] int key; ^ 5 warnings generated. DED_CC code/qcommon/cvar.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/cvar.c:817:32: warning: 'memset' call operates on objects of type 'cvar_t' (aka 'struct cvar_s') while the size is based on a different type 'cvar_t *' (aka 'struct cvar_s *') [-Wsizeof-pointer-memaccess] Com_Memset( var, 0, sizeof( var ) ); ~~~ ^~~ code/qcommon/cvar.c:817:32: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? Com_Memset( var, 0, sizeof( var ) ); ^~~ 1 warning generated. DED_CC code/qcommon/files.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/files.c:2522:20: warning: variable 'badchecksum' set but not used [-Wunused-but-set-variable] qboolean havepak, badchecksum; ^ 1 warning generated. DED_CC code/qcommon/md4.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/qcommon/msg.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/qcommon/net_chan.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/net_chan.c:306:8: warning: variable 'qport' set but not used [-Wunused-but-set-variable] int qport; ^ 1 warning generated. DED_CC code/qcommon/net_ip.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/net_ip.c:1030:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err; ^ 1 warning generated. DED_CC code/qcommon/huffman.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/qcommon/q_math.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/q_math.c:2163:22: warning: variable 'w2' set but not used [-Wunused-but-set-variable] float x2, y2, z2, w2; ^ 1 warning generated. DED_CC code/qcommon/q_shared.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/qcommon/unzip.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/unzip.c:1418:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] fclose(s->file); ^ code/qcommon/unzip.c:1415:5: note: previous statement is here if (s->pfile_in_zip_read!=NULL) ^ code/qcommon/unzip.c:1743:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] s=(unz_s*)file; ^ code/qcommon/unzip.c:1740:5: note: previous statement is here if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP) ^ code/qcommon/unzip.c:1819:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (unzlocal_getLong(s->file,&uData) != UNZ_OK) /* date/time */ ^ code/qcommon/unzip.c:1815:5: note: previous statement is here if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) && ^ code/qcommon/unzip.c:1882:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (unzlocal_CheckCurrentFileCoherencyHeader(s,&iSizeVar, ^ code/qcommon/unzip.c:1879:5: note: previous statement is here if (s->pfile_in_zip_read != NULL) ^ code/qcommon/unzip.c:1978:43: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((pfile_in_zip_read_info->read_buffer == NULL)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ code/qcommon/unzip.c:1978:43: note: remove extraneous parentheses around the comparison to silence this warning if ((pfile_in_zip_read_info->read_buffer == NULL)) ~ ^ ~ code/qcommon/unzip.c:1978:43: note: use '=' to turn this equality comparison into an assignment if ((pfile_in_zip_read_info->read_buffer == NULL)) ^~ = code/qcommon/unzip.c:2045:16: warning: variable 'bufBefore' set but not used [-Wunused-but-set-variable] const Byte *bufBefore; ^ 6 warnings generated. DED_CC code/qcommon/vm.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/vm.c:220:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^ code/qcommon/vm.c:363:10: warning: variable 'length' set but not used [-Wunused-but-set-variable] int length; ^ 2 warnings generated. DED_CC code/qcommon/vm_interpreted.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_bspq3.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_cluster.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_debug.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_entity.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_aas_entity.c:393:7: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs(dir[0]) < 40) ^ code/botlib/be_aas_entity.c:393:7: note: use function 'fabsf' instead if (abs(dir[0]) < 40) ^~~ fabsf code/botlib/be_aas_entity.c:395:8: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs(dir[1]) < 40) ^ code/botlib/be_aas_entity.c:395:8: note: use function 'fabsf' instead if (abs(dir[1]) < 40) ^~~ fabsf 2 warnings generated. BOT_CC code/botlib/be_aas_file.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_main.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_move.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_aas_move.c:171:7: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs(DotProduct(plane->normal, origin) - plane->dist) < 3) ^ code/botlib/be_aas_move.c:171:7: note: use function 'fabsf' instead if (abs(DotProduct(plane->normal, origin) - plane->dist) < 3) ^~~ fabsf code/botlib/be_aas_move.c:521:35: warning: variable 'ax' set but not used [-Wunused-but-set-variable] int n, i, j, pc, step, swimming, ax, crouch, event, jump_frame, areanum; ^ 2 warnings generated. BOT_CC code/botlib/be_aas_optimize.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_reach.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_aas_reach.c:292:6: warning: variable 'area2num' set but not used [-Wunused-but-set-variable] int area2num, ent, bot_visualizejumppads, bestareanum; ^ code/botlib/be_aas_reach.c:840:22: warning: variable 'areasettings' set but not used [-Wunused-but-set-variable] aas_areasettings_t *areasettings; ^ code/botlib/be_aas_reach.c:1076:61: warning: variable 'water_bestface1' set but not used [-Wunused-but-set-variable] aas_face_t *groundface1, *groundface2, *ground_bestface1, *water_bestface1; ^ code/botlib/be_aas_reach.c:1076:42: warning: variable 'ground_bestface1' set but not used [-Wunused-but-set-variable] aas_face_t *groundface1, *groundface2, *ground_bestface1, *water_bestface1; ^ code/botlib/be_aas_reach.c:1065:34: warning: variable 'invgravitydot' set but not used [-Wunused-but-set-variable] float dist, dist1, dist2, diff, invgravitydot, ortdot; ^ code/botlib/be_aas_reach.c:2472:25: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] ladderface1vertical = abs(DotProduct(plane1->normal, up)) < 0.1; ^ code/botlib/be_aas_reach.c:2472:25: note: use function 'fabsf' instead ladderface1vertical = abs(DotProduct(plane1->normal, up)) < 0.1; ^~~ fabsf code/botlib/be_aas_reach.c:2473:25: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] ladderface2vertical = abs(DotProduct(plane2->normal, up)) < 0.1; ^ code/botlib/be_aas_reach.c:2473:25: note: use function 'fabsf' instead ladderface2vertical = abs(DotProduct(plane2->normal, up)) < 0.1; ^~~ fabsf code/botlib/be_aas_reach.c:2481:9: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] && abs(DotProduct(sharededgevec, up)) < 0.7) ^ code/botlib/be_aas_reach.c:2481:9: note: use function 'fabsf' instead && abs(DotProduct(sharededgevec, up)) < 0.7) ^~~ fabsf code/botlib/be_aas_reach.c:2606:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs(DotProduct(plane2->normal, up)) < 0.1) break; ^ code/botlib/be_aas_reach.c:2606:10: note: use function 'fabsf' instead if (abs(DotProduct(plane2->normal, up)) < 0.1) break; ^~~ fabsf code/botlib/be_aas_reach.c:3495:21: warning: variable 'hordist' set but not used [-Wunused-but-set-variable] float speed, zvel, hordist; ^ code/botlib/be_aas_reach.c:4000:21: warning: variable 'hordist' set but not used [-Wunused-but-set-variable] float speed, zvel, hordist; ^ 11 warnings generated. BOT_CC code/botlib/be_aas_route.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_aas_route.c:509:6: warning: variable 'starttime' set but not used [-Wunused-but-set-variable] int starttime; ^ code/botlib/be_aas_route.c:890:12: warning: variable 't' set but not used [-Wunused-but-set-variable] int i, j, t; ^ 2 warnings generated. BOT_CC code/botlib/be_aas_routealt.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_sample.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_ai_char.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_ai_chat.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_ai_chat.c:2942:19: warning: variable 'cs' set but not used [-Wunused-but-set-variable] bot_chatstate_t *cs; ^ 1 warning generated. BOT_CC code/botlib/be_ai_gen.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_ai_gen.c:54:13: warning: variable 'select' set but not used [-Wunused-but-set-variable] float sum, select; ^ 1 warning generated. BOT_CC code/botlib/be_ai_goal.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_ai_goal.c:241:19: warning: variable 'gs' set but not used [-Wunused-but-set-variable] bot_goalstate_t *gs; ^ 1 warning generated. BOT_CC code/botlib/be_ai_move.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_ai_move.c:1483:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist; ^ code/botlib/be_ai_move.c:1570:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist; ^ code/botlib/be_ai_move.c:2061:7: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs(ms->origin[2] - reach->end[2]) < sv_maxbarrier->value) ^ code/botlib/be_ai_move.c:2061:7: note: use function 'fabsf' instead if (abs(ms->origin[2] - reach->end[2]) < sv_maxbarrier->value) ^~~ fabsf code/botlib/be_ai_move.c:2870:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist, speed; ^ 4 warnings generated. BOT_CC code/botlib/be_ai_weap.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_ai_weight.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_ea.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_interface.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/l_crc.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/l_libvar.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/l_log.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/l_memory.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/l_precomp.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/l_precomp.c:1701:6: warning: variable 'lastoperatortype' set but not used [-Wunused-but-set-variable] int lastoperatortype = 0; ^ code/botlib/l_precomp.c:2456:30: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] sprintf(token.string, "%d", abs(value)); ^ code/botlib/l_precomp.c:2456:30: note: use function 'labs' instead sprintf(token.string, "%d", abs(value)); ^~~ labs code/botlib/l_precomp.c:2561:30: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] sprintf(token.string, "%d", abs(value)); ^ code/botlib/l_precomp.c:2561:30: note: use function 'labs' instead sprintf(token.string, "%d", abs(value)); ^~~ labs 3 warnings generated. BOT_CC code/botlib/l_script.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/l_struct.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/null/null_client.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/null/null_input.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/null/null_snddma.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/sys/con_log.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/sys/sys_main.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] DED_CC code/qcommon/vm_x86_64.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/vm_x86_64.c:1062:7: warning: variable 'programCounter' set but not used [-Wunused-but-set-variable] int programCounter; ^ 1 warning generated. CC code/qcommon/vm_x86_64_assembler.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/vm_x86_64_assembler.c:299:9: warning: expression which evaluates to zero treated as a null pointer constant of type 'const char *' [-Wnon-literal-null-conversion] return T_NONE; ^~~~~~ code/qcommon/vm_x86_64_assembler.c:306:10: warning: taking the absolute value of unsigned type 'u64' (aka 'unsigned long') has no effect [-Wabsolute-value] return (labs(v) <= 0x80); ^ code/qcommon/vm_x86_64_assembler.c:306:10: note: remove the call to 'labs' since unsigned values cannot be negative return (labs(v) <= 0x80); ^~~~ code/qcommon/vm_x86_64_assembler.c:316:10: warning: taking the absolute value of unsigned type 'u64' (aka 'unsigned long') has no effect [-Wabsolute-value] return (labs(v) <= 0x8000); ^ code/qcommon/vm_x86_64_assembler.c:316:10: note: remove the call to 'labs' since unsigned values cannot be negative return (labs(v) <= 0x8000); ^~~~ code/qcommon/vm_x86_64_assembler.c:326:10: warning: taking the absolute value of unsigned type 'u64' (aka 'unsigned long') has no effect [-Wabsolute-value] return (labs(v) <= 0x80000000); ^ code/qcommon/vm_x86_64_assembler.c:326:10: note: remove the call to 'labs' since unsigned values cannot be negative return (labs(v) <= 0x80000000); ^~~~ code/qcommon/vm_x86_64_assembler.c:596:11: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] else if(!arg2.v.reg & R_64) ^ ~ code/qcommon/vm_x86_64_assembler.c:596:11: note: add parentheses after the '!' to evaluate the bitwise operator first else if(!arg2.v.reg & R_64) ^ ( ) code/qcommon/vm_x86_64_assembler.c:596:11: note: add parentheses around left hand side expression to silence this warning else if(!arg2.v.reg & R_64) ^ ( ) code/qcommon/vm_x86_64_assembler.c:873:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_add = { subcode: 0, rmcode: 0x01, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:873:45: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_add = { subcode: 0, rmcode: 0x01, }; ^~~~~~~ .rmcode = code/qcommon/vm_x86_64_assembler.c:874:32: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_or = { subcode: 1, rmcode: 0x09, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:874:44: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_or = { subcode: 1, rmcode: 0x09, }; ^~~~~~~ .rmcode = code/qcommon/vm_x86_64_assembler.c:875:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_and = { subcode: 4, rmcode: 0x21, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:875:45: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_and = { subcode: 4, rmcode: 0x21, }; ^~~~~~~ .rmcode = code/qcommon/vm_x86_64_assembler.c:876:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_sub = { subcode: 5, rmcode: 0x29, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:876:45: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_sub = { subcode: 5, rmcode: 0x29, }; ^~~~~~~ .rmcode = code/qcommon/vm_x86_64_assembler.c:877:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_xor = { subcode: 6, rmcode: 0x31, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:877:45: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_xor = { subcode: 6, rmcode: 0x31, }; ^~~~~~~ .rmcode = code/qcommon/vm_x86_64_assembler.c:878:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_cmp = { subcode: 6, rmcode: 0x39, mrcode: 0x3b, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:878:45: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_cmp = { subcode: 6, rmcode: 0x39, mrcode: 0x3b, }; ^~~~~~~ .rmcode = code/qcommon/vm_x86_64_assembler.c:878:59: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_cmp = { subcode: 6, rmcode: 0x39, mrcode: 0x3b, }; ^~~~~~~ .mrcode = code/qcommon/vm_x86_64_assembler.c:879:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_dec = { subcode: 1, rcode: 0xff, rcode8: 0xfe, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:879:45: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_dec = { subcode: 1, rcode: 0xff, rcode8: 0xfe, }; ^~~~~~ .rcode = code/qcommon/vm_x86_64_assembler.c:879:58: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_dec = { subcode: 1, rcode: 0xff, rcode8: 0xfe, }; ^~~~~~~ .rcode8 = code/qcommon/vm_x86_64_assembler.c:880:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_sar = { subcode: 7, rcode: 0xd3, rcode8: 0xd2, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:880:45: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_sar = { subcode: 7, rcode: 0xd3, rcode8: 0xd2, }; ^~~~~~ .rcode = code/qcommon/vm_x86_64_assembler.c:880:58: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_sar = { subcode: 7, rcode: 0xd3, rcode8: 0xd2, }; ^~~~~~~ .rcode8 = code/qcommon/vm_x86_64_assembler.c:881:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_shl = { subcode: 4, rcode: 0xd3, rcode8: 0xd2, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:881:45: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_shl = { subcode: 4, rcode: 0xd3, rcode8: 0xd2, }; ^~~~~~ .rcode = code/qcommon/vm_x86_64_assembler.c:881:58: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_shl = { subcode: 4, rcode: 0xd3, rcode8: 0xd2, }; ^~~~~~~ .rcode8 = code/qcommon/vm_x86_64_assembler.c:882:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_shr = { subcode: 5, rcode: 0xd3, rcode8: 0xd2, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:882:45: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_shr = { subcode: 5, rcode: 0xd3, rcode8: 0xd2, }; ^~~~~~ .rcode = code/qcommon/vm_x86_64_assembler.c:882:58: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_shr = { subcode: 5, rcode: 0xd3, rcode8: 0xd2, }; ^~~~~~~ .rcode8 = code/qcommon/vm_x86_64_assembler.c:883:34: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_idiv = { subcode: 7, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:883:46: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_idiv = { subcode: 7, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~ .rcode = code/qcommon/vm_x86_64_assembler.c:883:59: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_idiv = { subcode: 7, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~~ .rcode8 = code/qcommon/vm_x86_64_assembler.c:884:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_div = { subcode: 6, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:884:45: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_div = { subcode: 6, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~ .rcode = code/qcommon/vm_x86_64_assembler.c:884:58: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_div = { subcode: 6, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~~ .rcode8 = code/qcommon/vm_x86_64_assembler.c:885:34: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_imul = { subcode: 5, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:885:46: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_imul = { subcode: 5, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~ .rcode = code/qcommon/vm_x86_64_assembler.c:885:59: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_imul = { subcode: 5, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~~ .rcode8 = code/qcommon/vm_x86_64_assembler.c:886:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_mul = { subcode: 4, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:886:45: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_mul = { subcode: 4, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~ .rcode = code/qcommon/vm_x86_64_assembler.c:886:58: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_mul = { subcode: 4, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~~ .rcode8 = code/qcommon/vm_x86_64_assembler.c:887:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_neg = { subcode: 3, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:887:45: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_neg = { subcode: 3, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~ .rcode = code/qcommon/vm_x86_64_assembler.c:887:58: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_neg = { subcode: 3, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~~ .rcode8 = code/qcommon/vm_x86_64_assembler.c:888:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_not = { subcode: 2, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~~~ .subcode = code/qcommon/vm_x86_64_assembler.c:888:45: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_not = { subcode: 2, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~ .rcode = code/qcommon/vm_x86_64_assembler.c:888:58: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_not = { subcode: 2, rcode: 0xf7, rcode8: 0xf6, }; ^~~~~~~ .rcode8 = code/qcommon/vm_x86_64_assembler.c:890:38: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_cvtsi2ss = { xmmprefix: 0xf3, rmcode: 0x2a }; ^~~~~~~~~~ .xmmprefix = code/qcommon/vm_x86_64_assembler.c:890:55: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_cvtsi2ss = { xmmprefix: 0xf3, rmcode: 0x2a }; ^~~~~~~ .rmcode = code/qcommon/vm_x86_64_assembler.c:891:39: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_cvttss2si = { xmmprefix: 0xf3, rmcode: 0x2c }; ^~~~~~~~~~ .xmmprefix = code/qcommon/vm_x86_64_assembler.c:891:56: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_cvttss2si = { xmmprefix: 0xf3, rmcode: 0x2c }; ^~~~~~~ .rmcode = code/qcommon/vm_x86_64_assembler.c:892:35: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_addss = { xmmprefix: 0xf3, mrcode: 0x58 }; ^~~~~~~~~~ .xmmprefix = code/qcommon/vm_x86_64_assembler.c:892:52: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_addss = { xmmprefix: 0xf3, mrcode: 0x58 }; ^~~~~~~ .mrcode = code/qcommon/vm_x86_64_assembler.c:893:35: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_divss = { xmmprefix: 0xf3, mrcode: 0x5e }; ^~~~~~~~~~ .xmmprefix = code/qcommon/vm_x86_64_assembler.c:893:52: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_divss = { xmmprefix: 0xf3, mrcode: 0x5e }; ^~~~~~~ .mrcode = code/qcommon/vm_x86_64_assembler.c:894:35: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_movss = { xmmprefix: 0xf3, mrcode: 0x10, rmcode: 0x11 }; ^~~~~~~~~~ .xmmprefix = code/qcommon/vm_x86_64_assembler.c:894:52: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_movss = { xmmprefix: 0xf3, mrcode: 0x10, rmcode: 0x11 }; ^~~~~~~ .mrcode = code/qcommon/vm_x86_64_assembler.c:894:66: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_movss = { xmmprefix: 0xf3, mrcode: 0x10, rmcode: 0x11 }; ^~~~~~~ .rmcode = code/qcommon/vm_x86_64_assembler.c:895:35: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_mulss = { xmmprefix: 0xf3, mrcode: 0x59 }; ^~~~~~~~~~ .xmmprefix = code/qcommon/vm_x86_64_assembler.c:895:52: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_mulss = { xmmprefix: 0xf3, mrcode: 0x59 }; ^~~~~~~ .mrcode = code/qcommon/vm_x86_64_assembler.c:896:35: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_subss = { xmmprefix: 0xf3, mrcode: 0x5c }; ^~~~~~~~~~ .xmmprefix = code/qcommon/vm_x86_64_assembler.c:896:52: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_subss = { xmmprefix: 0xf3, mrcode: 0x5c }; ^~~~~~~ .mrcode = code/qcommon/vm_x86_64_assembler.c:897:37: warning: use of GNU old-style field designator extension [-Wgnu-designator] static opparam_t params_ucomiss = { mrcode: 0x2e }; ^~~~~~~ .mrcode = code/qcommon/vm_x86_64_assembler.c:314:19: warning: unused function 'iss16' [-Wunused-function] static inline int iss16(u64 v) ^ 65 warnings generated. DED_CC code/sys/sys_unix.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/sys/sys_unix.c:323:16: warning: variable 'extLen' set but not used [-Wunused-but-set-variable] int extLen; ^ 1 warning generated. DED_CC code/sys/con_tty.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] LD build/release/evq3ded CC code/client/cl_cgame.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/client/cl_cgame.c:829:7: warning: variable 'resetTime' set but not used [-Wunused-but-set-variable] int resetTime; ^ 1 warning generated. CC code/client/cl_cin.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/client/cl_cin.c:1361:41: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (cinTable[currentHandle].shader && (abs(thisTime - cinTable[currentHandle].lastTime))>100) { ^ code/client/cl_cin.c:1361:41: note: remove the call to 'abs' since unsigned values cannot be negative if (cinTable[currentHandle].shader && (abs(thisTime - cinTable[currentHandle].lastTime))>100) { ^~~ code/client/cl_cin.c:1587:11: warning: variable 'holdatend' set but not used [-Wunused-but-set-variable] qboolean holdatend; ^ 2 warnings generated. CC code/client/cl_console.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/cl_input.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/client/cl_input.c:393:7: warning: variable 'movespeed' set but not used [-Wunused-but-set-variable] int movespeed; ^ code/client/cl_input.c:580:20: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] SCR_DebugGraph( abs(cl.viewangles[YAW] - oldAngles[YAW]), 0 ); ^ code/client/cl_input.c:580:20: note: use function 'fabsf' instead SCR_DebugGraph( abs(cl.viewangles[YAW] - oldAngles[YAW]), 0 ); ^~~ fabsf code/client/cl_input.c:583:20: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] SCR_DebugGraph( abs(cl.viewangles[PITCH] - oldAngles[PITCH]), 0 ); ^ code/client/cl_input.c:583:20: note: use function 'fabsf' instead SCR_DebugGraph( abs(cl.viewangles[PITCH] - oldAngles[PITCH]), 0 ); ^~~ fabsf code/client/cl_input.c:599:13: warning: variable 'cmd' set but not used [-Wunused-but-set-variable] usercmd_t *cmd; ^ 4 warnings generated. CC code/client/cl_keys.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/cl_main.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/client/cl_main.c:427:6: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r, index, l; ^ code/client/cl_main.c:3332:18: warning: variable 'serverStatus' set but not used [-Wunused-but-set-variable] serverStatus_t *serverStatus; ^ 2 warnings generated. CC code/client/cl_net_chan.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/cl_parse.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/cl_scrn.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/client/cl_scrn.c:384:7: warning: variable 'color' set but not used [-Wunused-but-set-variable] int color; ^ 1 warning generated. CC code/client/cl_ui.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/cl_avi.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/client/cl_avi.c:558:22: warning: use of unary operator that may be intended as compound assignment (+=) afd.a.totalBytes =+ bytesInBuffer; ^~ code/client/cl_avi.c:130:23: warning: unused function 'WRITE_1BYTES' [-Wunused-function] static ID_INLINE void WRITE_1BYTES( int x ) ^ 2 warnings generated. CC code/qcommon/cm_load.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/qcommon/cm_patch.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/qcommon/cm_polylib.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/qcommon/cm_test.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/qcommon/cm_trace.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/cm_trace.c:738:8: warning: variable 'a' set but not used [-Wunused-but-set-variable] float a, b, c, d, sqrtd; ^ code/qcommon/cm_trace.c:826:8: warning: variable 'a' set but not used [-Wunused-but-set-variable] float a, b, c, d, sqrtd; ^ 2 warnings generated. CC code/qcommon/cmd.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/cmd.c:243:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^ 1 warning generated. CC code/qcommon/common.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/common.c:913:14: warning: variable 'allocSize' set but not used [-Wunused-but-set-variable] int extra, allocSize; ^ code/qcommon/common.c:1332:7: warning: variable 'sum' set but not used [-Wunused-but-set-variable] int sum; ^ code/qcommon/common.c:1449:12: warning: variable 'locsize' set but not used [-Wunused-but-set-variable] int size, locsize, numBlocks; ^ code/qcommon/common.c:2350:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] * ( int * ) 0 = 0x12345678; ^ ~~~~~~~~~~~ code/qcommon/common.c:2350:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' code/qcommon/common.c:2450:15: warning: implicit declaration of function 'umask' is invalid in C99 [-Wimplicit-function-declaration] savedumask = umask(0077); ^ code/qcommon/common.c:2798:6: warning: variable 'key' set but not used [-Wunused-but-set-variable] int key; ^ 6 warnings generated. CC code/qcommon/cvar.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/cvar.c:817:32: warning: 'memset' call operates on objects of type 'cvar_t' (aka 'struct cvar_s') while the size is based on a different type 'cvar_t *' (aka 'struct cvar_s *') [-Wsizeof-pointer-memaccess] Com_Memset( var, 0, sizeof( var ) ); ~~~ ^~~ code/qcommon/cvar.c:817:32: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? Com_Memset( var, 0, sizeof( var ) ); ^~~ 1 warning generated. CC code/qcommon/files.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/files.c:2522:20: warning: variable 'badchecksum' set but not used [-Wunused-but-set-variable] qboolean havepak, badchecksum; ^ 1 warning generated. CC code/qcommon/md4.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/qcommon/md5.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/md5.c:256:27: warning: 'memset' call operates on objects of type 'struct MD5Context' while the size is based on a different type 'struct MD5Context *' [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ~~~ ^~~ code/qcommon/md5.c:256:27: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^~~ 1 warning generated. CC code/qcommon/msg.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/qcommon/net_chan.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/net_chan.c:306:8: warning: variable 'qport' set but not used [-Wunused-but-set-variable] int qport; ^ 1 warning generated. CC code/qcommon/net_ip.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/net_ip.c:1030:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err; ^ 1 warning generated. CC code/qcommon/huffman.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/snd_adpcm.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/snd_dma.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/snd_mem.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/snd_mix.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/snd_wavelet.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/snd_main.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/snd_codec.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/snd_codec_wav.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/client/snd_codec_wav.c:134:6: warning: variable 'wav_format' set but not used [-Wunused-but-set-variable] int wav_format; ^ 1 warning generated. CC code/client/snd_codec_ogg.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/qal.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/snd_openal.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/client/cl_curl.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/server/sv_bot.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/server/sv_ccmds.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/server/sv_client.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/server/sv_client.c:240:13: warning: variable 'addrlen' set but not used [-Wunused-but-set-variable] int index, addrlen, curbyte, netmask, cmpmask; ^ 1 warning generated. CC code/server/sv_game.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/server/sv_game.c:188:14: warning: variable 'area2' set but not used [-Wunused-but-set-variable] int area1, area2; ^ code/server/sv_game.c:188:7: warning: variable 'area1' set but not used [-Wunused-but-set-variable] int area1, area2; ^ 2 warnings generated. CC code/server/sv_init.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/server/sv_init.c:107:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len, i; ^ 1 warning generated. CC code/server/sv_main.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/server/sv_net_chan.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/server/sv_net_chan.c:37:7: warning: variable 'reliableAcknowledge' set but not used [-Wunused-but-set-variable] long reliableAcknowledge, i, index; ^ 1 warning generated. CC code/server/sv_snapshot.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/server/sv_snapshot.c:301:7: warning: variable 'c_fullsend' set but not used [-Wunused-but-set-variable] int c_fullsend; ^ 1 warning generated. CC code/server/sv_world.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/server/sv_world.c:385:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count; ^ code/server/sv_world.c:663:10: warning: variable 'angles' set but not used [-Wunused-but-set-variable] float *angles; ^ 2 warnings generated. CC code/qcommon/q_math.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/q_math.c:2163:22: warning: variable 'w2' set but not used [-Wunused-but-set-variable] float x2, y2, z2, w2; ^ 1 warning generated. CC code/qcommon/q_shared.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/qcommon/unzip.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/unzip.c:1418:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] fclose(s->file); ^ code/qcommon/unzip.c:1415:5: note: previous statement is here if (s->pfile_in_zip_read!=NULL) ^ code/qcommon/unzip.c:1743:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] s=(unz_s*)file; ^ code/qcommon/unzip.c:1740:5: note: previous statement is here if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP) ^ code/qcommon/unzip.c:1819:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (unzlocal_getLong(s->file,&uData) != UNZ_OK) /* date/time */ ^ code/qcommon/unzip.c:1815:5: note: previous statement is here if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) && ^ code/qcommon/unzip.c:1882:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (unzlocal_CheckCurrentFileCoherencyHeader(s,&iSizeVar, ^ code/qcommon/unzip.c:1879:5: note: previous statement is here if (s->pfile_in_zip_read != NULL) ^ code/qcommon/unzip.c:1978:43: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((pfile_in_zip_read_info->read_buffer == NULL)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ code/qcommon/unzip.c:1978:43: note: remove extraneous parentheses around the comparison to silence this warning if ((pfile_in_zip_read_info->read_buffer == NULL)) ~ ^ ~ code/qcommon/unzip.c:1978:43: note: use '=' to turn this equality comparison into an assignment if ((pfile_in_zip_read_info->read_buffer == NULL)) ^~ = code/qcommon/unzip.c:2045:16: warning: variable 'bufBefore' set but not used [-Wunused-but-set-variable] const Byte *bufBefore; ^ 6 warnings generated. CC code/qcommon/puff.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/qcommon/vm.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/vm.c:220:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^ code/qcommon/vm.c:363:10: warning: variable 'length' set but not used [-Wunused-but-set-variable] int length; ^ 2 warnings generated. CC code/qcommon/vm_interpreted.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_bspq3.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_cluster.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_debug.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_entity.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_aas_entity.c:393:7: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs(dir[0]) < 40) ^ code/botlib/be_aas_entity.c:393:7: note: use function 'fabsf' instead if (abs(dir[0]) < 40) ^~~ fabsf code/botlib/be_aas_entity.c:395:8: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs(dir[1]) < 40) ^ code/botlib/be_aas_entity.c:395:8: note: use function 'fabsf' instead if (abs(dir[1]) < 40) ^~~ fabsf 2 warnings generated. BOT_CC code/botlib/be_aas_file.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_main.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_move.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_aas_move.c:171:7: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs(DotProduct(plane->normal, origin) - plane->dist) < 3) ^ code/botlib/be_aas_move.c:171:7: note: use function 'fabsf' instead if (abs(DotProduct(plane->normal, origin) - plane->dist) < 3) ^~~ fabsf code/botlib/be_aas_move.c:521:35: warning: variable 'ax' set but not used [-Wunused-but-set-variable] int n, i, j, pc, step, swimming, ax, crouch, event, jump_frame, areanum; ^ 2 warnings generated. BOT_CC code/botlib/be_aas_optimize.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_reach.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_aas_reach.c:292:6: warning: variable 'area2num' set but not used [-Wunused-but-set-variable] int area2num, ent, bot_visualizejumppads, bestareanum; ^ code/botlib/be_aas_reach.c:840:22: warning: variable 'areasettings' set but not used [-Wunused-but-set-variable] aas_areasettings_t *areasettings; ^ code/botlib/be_aas_reach.c:1076:61: warning: variable 'water_bestface1' set but not used [-Wunused-but-set-variable] aas_face_t *groundface1, *groundface2, *ground_bestface1, *water_bestface1; ^ code/botlib/be_aas_reach.c:1076:42: warning: variable 'ground_bestface1' set but not used [-Wunused-but-set-variable] aas_face_t *groundface1, *groundface2, *ground_bestface1, *water_bestface1; ^ code/botlib/be_aas_reach.c:1065:34: warning: variable 'invgravitydot' set but not used [-Wunused-but-set-variable] float dist, dist1, dist2, diff, invgravitydot, ortdot; ^ code/botlib/be_aas_reach.c:2472:25: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] ladderface1vertical = abs(DotProduct(plane1->normal, up)) < 0.1; ^ code/botlib/be_aas_reach.c:2472:25: note: use function 'fabsf' instead ladderface1vertical = abs(DotProduct(plane1->normal, up)) < 0.1; ^~~ fabsf code/botlib/be_aas_reach.c:2473:25: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] ladderface2vertical = abs(DotProduct(plane2->normal, up)) < 0.1; ^ code/botlib/be_aas_reach.c:2473:25: note: use function 'fabsf' instead ladderface2vertical = abs(DotProduct(plane2->normal, up)) < 0.1; ^~~ fabsf code/botlib/be_aas_reach.c:2481:9: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] && abs(DotProduct(sharededgevec, up)) < 0.7) ^ code/botlib/be_aas_reach.c:2481:9: note: use function 'fabsf' instead && abs(DotProduct(sharededgevec, up)) < 0.7) ^~~ fabsf code/botlib/be_aas_reach.c:2606:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs(DotProduct(plane2->normal, up)) < 0.1) break; ^ code/botlib/be_aas_reach.c:2606:10: note: use function 'fabsf' instead if (abs(DotProduct(plane2->normal, up)) < 0.1) break; ^~~ fabsf code/botlib/be_aas_reach.c:3495:21: warning: variable 'hordist' set but not used [-Wunused-but-set-variable] float speed, zvel, hordist; ^ code/botlib/be_aas_reach.c:4000:21: warning: variable 'hordist' set but not used [-Wunused-but-set-variable] float speed, zvel, hordist; ^ 11 warnings generated. BOT_CC code/botlib/be_aas_route.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_aas_route.c:509:6: warning: variable 'starttime' set but not used [-Wunused-but-set-variable] int starttime; ^ code/botlib/be_aas_route.c:890:12: warning: variable 't' set but not used [-Wunused-but-set-variable] int i, j, t; ^ 2 warnings generated. BOT_CC code/botlib/be_aas_routealt.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_aas_sample.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_ai_char.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_ai_chat.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_ai_chat.c:2942:19: warning: variable 'cs' set but not used [-Wunused-but-set-variable] bot_chatstate_t *cs; ^ 1 warning generated. BOT_CC code/botlib/be_ai_gen.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_ai_gen.c:54:13: warning: variable 'select' set but not used [-Wunused-but-set-variable] float sum, select; ^ 1 warning generated. BOT_CC code/botlib/be_ai_goal.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_ai_goal.c:241:19: warning: variable 'gs' set but not used [-Wunused-but-set-variable] bot_goalstate_t *gs; ^ 1 warning generated. BOT_CC code/botlib/be_ai_move.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/be_ai_move.c:1483:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist; ^ code/botlib/be_ai_move.c:1570:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist; ^ code/botlib/be_ai_move.c:2061:7: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (abs(ms->origin[2] - reach->end[2]) < sv_maxbarrier->value) ^ code/botlib/be_ai_move.c:2061:7: note: use function 'fabsf' instead if (abs(ms->origin[2] - reach->end[2]) < sv_maxbarrier->value) ^~~ fabsf code/botlib/be_ai_move.c:2870:8: warning: variable 'dist' set but not used [-Wunused-but-set-variable] float dist, speed; ^ 4 warnings generated. BOT_CC code/botlib/be_ai_weap.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_ai_weight.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_ea.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/be_interface.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/l_crc.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/l_libvar.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/l_log.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/l_memory.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/l_precomp.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/botlib/l_precomp.c:1701:6: warning: variable 'lastoperatortype' set but not used [-Wunused-but-set-variable] int lastoperatortype = 0; ^ code/botlib/l_precomp.c:2456:30: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] sprintf(token.string, "%d", abs(value)); ^ code/botlib/l_precomp.c:2456:30: note: use function 'labs' instead sprintf(token.string, "%d", abs(value)); ^~~ labs code/botlib/l_precomp.c:2561:30: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] sprintf(token.string, "%d", abs(value)); ^ code/botlib/l_precomp.c:2561:30: note: use function 'labs' instead sprintf(token.string, "%d", abs(value)); ^~~ labs 3 warnings generated. BOT_CC code/botlib/l_script.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] BOT_CC code/botlib/l_struct.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jcapimin.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jcapistd.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jchuff.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jcinit.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jccoefct.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jccolor.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jfdctflt.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jcdctmgr.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jcphuff.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jcmainct.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jcmarker.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jcmaster.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jcomapi.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jcparam.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jcprepct.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jcsample.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jdapimin.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jdapistd.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jdatasrc.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jdcoefct.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jdcolor.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jddctmgr.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jdhuff.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/jpeg-6/jdhuff.c:379:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value] { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1, ~~~~^ code/jpeg-6/jdhuff.c:379:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1, ~~~~^ code/jpeg-6/jdhuff.c:379:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1, ~~~~^ code/jpeg-6/jdhuff.c:379:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value] { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1, ~~~~^ code/jpeg-6/jdhuff.c:380:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1, ~~~~^ code/jpeg-6/jdhuff.c:380:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1, ~~~~^ code/jpeg-6/jdhuff.c:380:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1, ~~~~^ code/jpeg-6/jdhuff.c:380:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1, ~~~~^ code/jpeg-6/jdhuff.c:381:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1, ~~~~^ code/jpeg-6/jdhuff.c:381:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1, ~~~~^ code/jpeg-6/jdhuff.c:381:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1, ~~~~^ code/jpeg-6/jdhuff.c:381:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1, ~~~~^ code/jpeg-6/jdhuff.c:382:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 }; ~~~~^ code/jpeg-6/jdhuff.c:382:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 }; ~~~~^ code/jpeg-6/jdhuff.c:382:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 }; ~~~~^ 15 warnings generated. CC code/jpeg-6/jdinput.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jdmainct.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jdmarker.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jdmaster.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jdpostct.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jdsample.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jdtrans.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jerror.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/jpeg-6/jerror.c:16: In file included from code/jpeg-6/../renderer/tr_local.h:31: In file included from code/jpeg-6/../renderer/qgl.h:33: /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 ^ In file included from code/jpeg-6/jerror.c:16: code/jpeg-6/../renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/jpeg-6/../renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/jpeg-6/../renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/jpeg-6/../renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/jpeg-6/../renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/jpeg-6/../renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/jpeg-6/../renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/jpeg-6/../renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/jpeg-6/../renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/jpeg-6/../renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/jpeg-6/../renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/jpeg-6/jidctflt.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jmemmgr.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/jpeg-6/jmemnobs.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/jpeg-6/jmemnobs.c:18: In file included from code/jpeg-6/../renderer/tr_local.h:31: In file included from code/jpeg-6/../renderer/qgl.h:33: /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 ^ In file included from code/jpeg-6/jmemnobs.c:18: code/jpeg-6/../renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/jpeg-6/../renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/jpeg-6/../renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/jpeg-6/../renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/jpeg-6/../renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/jpeg-6/../renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/jpeg-6/../renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/jpeg-6/../renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/jpeg-6/../renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/jpeg-6/../renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/jpeg-6/../renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/jpeg-6/jutils.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/renderer/tr_animation.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_animation.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_animation.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/renderer/tr_backend.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_backend.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_backend.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_backend.c:625:18: warning: variable 'oldSort' set but not used [-Wunused-but-set-variable] int oldSort; ^ code/renderer/tr_backend.c:2125:3: warning: implicit declaration of function 'GL_SetVertexAttribs' is invalid in C99 [-Wimplicit-function-declaration] GL_SetVertexAttribs(); ^ code/renderer/tr_backend.c:2168:3: warning: implicit declaration of function 'GL_SetVertexAttribs' is invalid in C99 [-Wimplicit-function-declaration] GL_SetVertexAttribs(); ^ 15 warnings generated. CC code/renderer/tr_bsp.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_bsp.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_bsp.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_bsp.c:191:18: warning: variable 'sumIntensity' set but not used [-Wunused-but-set-variable] double sumIntensity = 0; ^ code/renderer/tr_bsp.c:363:12: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] shaderNum = LittleLong(shaderNum); ~~~~~~~~~ ^ ~~~~~~~~~ code/renderer/tr_bsp.c:2709:82: warning: if statement has empty body [-Wempty-body] if((numOmniLights + numProjLights + numDirectLights) < s_worldData.numDlights); ^ code/renderer/tr_bsp.c:2709:82: note: put the semicolon on a separate line to silence this warning code/renderer/tr_bsp.c:4101:28: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] void R_PrecacheInteractions() ^ 16 warnings generated. CC code/renderer/tr_cmds.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_cmds.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_cmds.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/renderer/tr_curve.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_curve.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_curve.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/renderer/tr_fbo.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_fbo.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_fbo.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/renderer/tr_flares.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_flares.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_flares.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_flares.c:119:22: warning: variable 'oldest' set but not used [-Wunused-but-set-variable] flare_t *f, *oldest; ^ 13 warnings generated. CC code/renderer/tr_font.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_font.c:71: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_font.c:71: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_font.c:343:12: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] int readInt() ^ code/renderer/tr_font.c:357:16: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] float readFloat() ^ code/renderer/tr_font.c:393:18: warning: variable 'glyphScale' set but not used [-Wunused-but-set-variable] float glyphScale = 72.0f / dpi; // change the scale to be relative to 1 based on 72 dpi ( so dpi of 144 means a scale of .5 ) ^ code/renderer/tr_font.c:596:20: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] void R_InitFreeType() ^ code/renderer/tr_font.c:608:20: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] void R_DoneFreeType() ^ 17 warnings generated. CC code/renderer/tr_image.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_image.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_image.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_image.c:2092:18: warning: variable 'g' set but not used [-Wunused-but-set-variable] float g; ^ 13 warnings generated. CC code/renderer/tr_image_png.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_image_png.c:22: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_image_png.c:22: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_image_png.c:2275:8: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if(!ChunkHeaderLength == 2) ^ ~~ code/renderer/tr_image_png.c:2275:8: note: add parentheses after the '!' to evaluate the comparison first if(!ChunkHeaderLength == 2) ^ ( ) code/renderer/tr_image_png.c:2275:8: note: add parentheses around left hand side expression to silence this warning if(!ChunkHeaderLength == 2) ^ ( ) code/renderer/tr_image_png.c:2297:8: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if(!ChunkHeaderLength == 6) ^ ~~ code/renderer/tr_image_png.c:2297:8: note: add parentheses after the '!' to evaluate the comparison first if(!ChunkHeaderLength == 6) ^ ( ) code/renderer/tr_image_png.c:2297:8: note: add parentheses around left hand side expression to silence this warning if(!ChunkHeaderLength == 6) ^ ( ) code/renderer/tr_image_png.c:2275:27: warning: result of comparison of constant 2 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] if(!ChunkHeaderLength == 2) ~~~~~~~~~~~~~~~~~~ ^ ~ code/renderer/tr_image_png.c:2297:27: warning: result of comparison of constant 6 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] if(!ChunkHeaderLength == 6) ~~~~~~~~~~~~~~~~~~ ^ ~ 16 warnings generated. CC code/renderer/tr_image_jpg.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_image_jpg.c:23: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_image_jpg.c:23: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/renderer/tr_image_tga.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_image_tga.c:23: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_image_tga.c:23: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/renderer/tr_init.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_init.c:25: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_init.c:25: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_init.c:1245:43: warning: passing 'int[128]' to parameter of type 'GLuint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] qglGenQueriesARB(MAX_OCCLUSION_QUERIES, tr.occlusionQueryObjects); ^~~~~~~~~~~~~~~~~~~~~~~~ code/renderer/tr_init.c:1287:47: warning: passing 'int[128]' to parameter of type 'const GLuint *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] qglDeleteQueriesARB(MAX_OCCLUSION_QUERIES, tr.occlusionQueryObjects); ^~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. CC code/renderer/tr_light.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_light.c:25: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_light.c:25: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/renderer/tr_main.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_main.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_main.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_main.c:1222:18: warning: variable 'pointOr' set but not used [-Wunused-but-set-variable] unsigned int pointOr = 0; ^ code/renderer/tr_main.c:1784:29: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] void R_AddSlightInteractions() ^ code/renderer/tr_main.c:1893:29: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] void R_AddDlightInteractions() ^ 15 warnings generated. CC code/renderer/tr_marks.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_marks.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_marks.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/renderer/tr_mesh.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_mesh.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_mesh.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/renderer/tr_model.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_model.c:25: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_model.c:25: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_model.c:145:19: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^ code/renderer/tr_model.c:91:18: warning: variable 'bufferLen' set but not used [-Wunused-but-set-variable] int bufferLen; ^ 14 warnings generated. CC code/renderer/tr_noise.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_noise.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_noise.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/renderer/tr_scene.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_scene.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_scene.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/renderer/tr_shade.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_shade.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_shade.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_shade.c:184:72: warning: passing 'int *' to parameter of type 'GLenum *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] qglGetActiveUniformARB(program, i, sizeof(uniformName), NULL, &size, &type, uniformName); ^~~~~ code/renderer/tr_shade.c:1020:25: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] void GL_SetVertexAttribs() ^ code/renderer/tr_shade.c:3380:32: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting() ^ code/renderer/tr_shade.c:3624:31: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric() ^ code/renderer/tr_shade.c:4274:18: warning: too many arguments in call to 'DrawTris' DrawTris(&tess); ~~~~~~~~ ^ code/renderer/tr_shade.c:4278:21: warning: too many arguments in call to 'DrawNormals' DrawNormals(&tess); ~~~~~~~~~~~ ^ code/renderer/tr_shade.c:4282:27: warning: too many arguments in call to 'DrawTangentSpaces' DrawTangentSpaces(&tess); ~~~~~~~~~~~~~~~~~ ^ 19 warnings generated. CC code/renderer/tr_shade_calc.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_shade_calc.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_shade_calc.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_shade_calc.c:1088:18: warning: variable 'c' set but not used [-Wunused-but-set-variable] int c; ^ code/renderer/tr_shade_calc.c:1096:2: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] invModulate[3] = 255 - backEnd.currentEntity->e.shaderRGBA[3]; // this trashes alpha, but the AGEN block fixes it ^ ~ code/renderer/tr_shade_calc.c:1087:2: note: array 'invModulate' declared here unsigned char invModulate[3]; ^ 14 warnings generated. CC code/renderer/tr_shader.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_shader.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_shader.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/renderer/tr_sky.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_sky.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_sky.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_sky.c:262:26: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] void Tess_ClipSkyPolygons() ^ code/renderer/tr_sky.c:596:18: warning: variable 'shader' set but not used [-Wunused-but-set-variable] shader_t *shader; ^ 14 warnings generated. CC code/renderer/tr_surface.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_surface.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_surface.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_surface.c:46:19: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] void Tess_EndBegin() ^ code/renderer/tr_surface.c:311:17: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ~~ code/renderer/tr_surface.c:311:17: note: add parentheses after the '!' to evaluate the comparison first if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ( ) code/renderer/tr_surface.c:311:17: note: add parentheses around left hand side expression to silence this warning if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ( ) code/renderer/tr_surface.c:581:17: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ~~ code/renderer/tr_surface.c:581:17: note: add parentheses after the '!' to evaluate the comparison first if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ( ) code/renderer/tr_surface.c:581:17: note: add parentheses around left hand side expression to silence this warning if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ( ) code/renderer/tr_surface.c:851:17: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ~~ code/renderer/tr_surface.c:851:17: note: add parentheses after the '!' to evaluate the comparison first if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ( ) code/renderer/tr_surface.c:851:17: note: add parentheses around left hand side expression to silence this warning if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ( ) code/renderer/tr_surface.c:1546:16: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ~~ code/renderer/tr_surface.c:1546:16: note: add parentheses after the '!' to evaluate the comparison first if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ( ) code/renderer/tr_surface.c:1546:16: note: add parentheses around left hand side expression to silence this warning if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ( ) code/renderer/tr_surface.c:1704:23: warning: assigning to 'int *' from 'glIndex_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] for(i = 0, indices = tess.indexes + tess.numIndexes; i < numIndexes; i += 3, indices += 3) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/renderer/tr_surface.c:1448:18: warning: variable 'model' set but not used [-Wunused-but-set-variable] mdxModel_t *model; ^ code/renderer/tr_surface.c:1846:16: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ~~ code/renderer/tr_surface.c:1846:16: note: add parentheses after the '!' to evaluate the comparison first if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ( ) code/renderer/tr_surface.c:1846:16: note: add parentheses around left hand side expression to silence this warning if(d > 0 && !tess.surfaceShader->cullType == CT_BACK_SIDED) ^ ( ) code/renderer/tr_surface.c:2012:23: warning: assigning to 'int *' from 'glIndex_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] for(i = 0, indices = tess.indexes + tess.numIndexes; i < numIndexes; i += 3, indices += 3) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 warnings generated. CC code/renderer/tr_world.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/renderer/tr_world.c:24: In file included from code/renderer/tr_local.h:31: In file included from code/renderer/qgl.h:33: /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 ^ In file included from code/renderer/tr_world.c:24: code/renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/renderer/tr_world.c:961:20: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes] void R_ShutdownVBOs() ^ 13 warnings generated. CC code/sdl/sdl_gamma.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/sdl/sdl_gamma.c:29: In file included from code/sdl/../renderer/tr_local.h:31: In file included from code/sdl/../renderer/qgl.h:33: /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 ^ In file included from code/sdl/sdl_gamma.c:29: code/sdl/../renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/sdl/../renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/sdl/../renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/sdl/../renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/sdl/../renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/sdl/../renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/sdl/../renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/sdl/../renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/sdl/../renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/sdl/../renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/sdl/../renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/sdl/sdl_input.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/sdl/sdl_input.c:33: In file included from code/sdl/../renderer/tr_local.h:31: In file included from code/sdl/../renderer/qgl.h:33: /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 ^ In file included from code/sdl/sdl_input.c:33: code/sdl/../renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/sdl/../renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/sdl/../renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/sdl/../renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/sdl/../renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/sdl/../renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/sdl/../renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/sdl/../renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/sdl/../renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/sdl/../renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/sdl/../renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void 12 warnings generated. CC code/sdl/sdl_snd.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/sys/con_passive.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/sys/con_log.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/sys/sys_main.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] CC code/qcommon/vm_x86_64.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/qcommon/vm_x86_64.c:1062:7: warning: variable 'programCounter' set but not used [-Wunused-but-set-variable] int programCounter; ^ 1 warning generated. CC code/sys/sys_unix.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] code/sys/sys_unix.c:323:16: warning: variable 'extLen' set but not used [-Wunused-but-set-variable] int extLen; ^ 1 warning generated. CC code/sdl/sdl_glimp.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/sdl/sdl_glimp.c:47: In file included from code/sdl/../renderer/tr_local.h:31: In file included from code/sdl/../renderer/qgl.h:33: /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 ^ In file included from code/sdl/sdl_glimp.c:47: code/sdl/../renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/sdl/../renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/sdl/../renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/sdl/../renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/sdl/../renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/sdl/../renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/sdl/../renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/sdl/../renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/sdl/../renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/sdl/../renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/sdl/../renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/sdl/sdl_glimp.c:796:48: warning: passing 'const GLubyte *' (aka 'const 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] Q_strncpyz(glConfig2.shadingLanguageVersion, qglGetString(GL_SHADING_LANGUAGE_VERSION_ARB), sizeof(glConfig2.shadingLanguageVersion)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/sdl/../renderer/qgl.h:350:22: note: expanded from macro 'qglGetString' #define qglGetString glGetString ^ code/sdl/../sys/../qcommon/q_shared.h:881:52: note: passing argument to parameter 'src' here void Q_strncpyz(char *dest, const char *src, int destsize); ^ 13 warnings generated. LD build/release/evq3 SMP_CC code/sdl/sdl_glimp.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from code/sdl/sdl_glimp.c:47: In file included from code/sdl/../renderer/tr_local.h:31: In file included from code/sdl/../renderer/qgl.h:33: /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 ^ In file included from code/sdl/sdl_glimp.c:47: code/sdl/../renderer/tr_local.h:770:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*optimalStageIteratorFunc) (); ^ void code/sdl/../renderer/tr_local.h:2176:36: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DeleteSurfaceVBOs(); ^ void code/sdl/../renderer/tr_local.h:2286:46: warning: this function declaration is not a prototype [-Wstrict-prototypes] void (*currentStageIteratorFunc) (); ^ void code/sdl/../renderer/tr_local.h:2302:34: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_InitGPUShaders(); ^ void code/sdl/../renderer/tr_local.h:2303:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void RB_ShutdownGPUShaders(); ^ void code/sdl/../renderer/tr_local.h:2305:43: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorLighting(); ^ void code/sdl/../renderer/tr_local.h:2306:42: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorGeneric(); ^ void code/sdl/../renderer/tr_local.h:2307:38: warning: this function declaration is not a prototype [-Wstrict-prototypes] void Tess_StageIteratorSky(); ^ void code/sdl/../renderer/tr_local.h:2330:22: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_ShutdownVBOs(); ^ void code/sdl/../renderer/tr_local.h:2689:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_InitFreeType(); ^ void code/sdl/../renderer/tr_local.h:2690:31: warning: this function declaration is not a prototype [-Wstrict-prototypes] void R_DoneFreeType(); ^ void code/sdl/sdl_glimp.c:796:48: warning: passing 'const GLubyte *' (aka 'const 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] Q_strncpyz(glConfig2.shadingLanguageVersion, qglGetString(GL_SHADING_LANGUAGE_VERSION_ARB), sizeof(glConfig2.shadingLanguageVersion)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/sdl/../renderer/qgl.h:350:22: note: expanded from macro 'qglGetString' #define qglGetString glGetString ^ code/sdl/../sys/../qcommon/q_shared.h:881:52: note: passing argument to parameter 'src' here void Q_strncpyz(char *dest, const char *src, int destsize); ^ 13 warnings generated. LD build/release/evq3-smp gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/evq3/work/evq3' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/evq3/work/evq3' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> evq3-1.3.20080810_11 depends on file: /usr/local/share/quake3/baseq3/pak1.pk3 - not found ===> Installing existing package /packages/All/quake3-data-1.32.b.3_2.pkg [pkg-builder.dan.net.uk] Installing quake3-data-1.32.b.3_2... [pkg-builder.dan.net.uk] Extracting quake3-data-1.32.b.3_2: .......... done ===== Message from quake3-data-1.32.b.3_2: -- To complete the installation of this port you need to copy the file "baseq3/pak0.pk3" from the original Quake III Arena distribution to /usr/local/share/quake3/baseq3. If you have the expansion pack then you have to copy the file "missionpack/pak0.pk3" from the original Quake III Team Arena distribution to /usr/local/share/quake3/missionpack. -- ===> NOTICE: The quake3-data 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 ===> evq3-1.3.20080810_11 depends on file: /usr/local/share/quake3/baseq3/pak1.pk3 - found ===> Returning to build of evq3-1.3.20080810_11 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for evq3-1.3.20080810_11 ===> Generating temporary packing list install -m 0644 /portdistfiles/pak-evq3.pk3 /portdistfiles/pak-5evq3.pk3 /wrkdirs/usr/ports/games/evq3/work/stage/usr/local/lib/evq3/baseq3 install -s -m 555 /wrkdirs/usr/ports/games/evq3/work/evq3/build/release/evq3 /wrkdirs/usr/ports/games/evq3/work/stage/usr/local/bin install -s -m 555 /wrkdirs/usr/ports/games/evq3/work/evq3/build/release/evq3ded /wrkdirs/usr/ports/games/evq3/work/stage/usr/local/bin install -s -m 555 /wrkdirs/usr/ports/games/evq3/work/evq3/build/release/evq3-smp /wrkdirs/usr/ports/games/evq3/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/games/evq3/work/evq3/README /wrkdirs/usr/ports/games/evq3/work/stage/usr/local/share/doc/evq3 ====> 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-07T00:53:26+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' '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 evq3-1.3.20080810_11 ===> Building evq3-1.3.20080810_11 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for evq3-1.3.20080810_11 build of games/evq3 | evq3-1.3.20080810_11 ended at Sun Apr 7 02:14:34 BST 2024 build time: 00:21:09