=>> Building games/joequake build started at Wed Apr 3 12:54:11 BST 2024 port directory: /usr/ports/games/joequake package name: joequake-0.15b1329_12 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 2575 Jul 29 2023 /usr/ports/games/joequake/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 664a2fa1e5 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 14 ---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/14/.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 joequake-0.15b1329_12: DOCS=on: Build and/or install documentation HUD=off: High quality HUD images (for OpenGL) HUD_SA=off: Same for Scourge of Armagon (hipnotic) OPTIMIZED_CFLAGS=on: Use extra compiler optimizations X86_ASM=on: Enable x86 assembly code ====> Options available for the multi UI: you have to choose at least one of them OPENGL=on: 2D/3D rendering support via OpenGL X11=on: X11 (graphics) support ===> 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 XDG_DATA_HOME=/wrkdirs/usr/ports/games/joequake/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/joequake/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/joequake/work/.cache HOME=/wrkdirs/usr/ports/games/joequake/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/joequake/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/joequake/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-- Q1DIR="/usr/local/share/quake" USE_OPTIMIZED_CFLAGS=YES USE_X86_ASM=YES XDG_DATA_HOME=/wrkdirs/usr/ports/games/joequake/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/joequake/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/joequake/work/.cache HOME=/wrkdirs/usr/ports/games/joequake/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/joequake/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/joequake/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 -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fcommon -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-- Q1DIR="share/quake" PORTDOCS="" GLX="" HUD="@comment " HUD_SA="@comment " HUD_DIR="@comment " X11="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/joequake" EXAMPLESDIR="share/examples/joequake" DATADIR="share/joequake" WWWDIR="www/joequake" ETCDIR="etc/joequake" --End PLIST_SUB-- --SUB_LIST-- Q1DIR="/usr/local/share/quake" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/joequake DOCSDIR=/usr/local/share/doc/joequake EXAMPLESDIR=/usr/local/share/examples/joequake WWWDIR=/usr/local/www/joequake ETCDIR=/usr/local/etc/joequake --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 joequake 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 ===> joequake-0.15b1329_12 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 ===> joequake-0.15b1329_12 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of joequake-0.15b1329_12 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The joequake 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 joequake-0.15b1329_12 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The joequake 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 joequake-0.15b1329_12 for building => SHA256 Checksum OK for joequake/joequake-v0.15b1329-source.zip. => SHA256 Checksum OK for joequake/joequake-v0.15b1331-linux.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The joequake 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 joequake-0.15b1329_12 for building ===> Extracting for joequake-0.15b1329_12 => SHA256 Checksum OK for joequake/joequake-v0.15b1329-source.zip. => SHA256 Checksum OK for joequake/joequake-v0.15b1331-linux.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for joequake-0.15b1329_12 ===> Applying FreeBSD patches for joequake-0.15b1329_12 from /usr/ports/games/joequake/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> joequake-0.15b1329_12 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 ===> joequake-0.15b1329_12 depends on package: gmake>=4.4.1 - found ===> Returning to build of joequake-0.15b1329_12 ===> joequake-0.15b1329_12 depends on package: xorgproto>=0 - not found ===> Installing existing package /packages/All/xorgproto-2023.2.pkg [pkg-builder.dan.net.uk] Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] Extracting xorgproto-2023.2: .......... done ===> joequake-0.15b1329_12 depends on package: xorgproto>=0 - found ===> Returning to build of joequake-0.15b1329_12 ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.7_1,1.pkg [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] | `-- 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 ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of joequake-0.15b1329_12 ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.6,1.pkg [pkg-builder.dan.net.uk] Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] Extracting libXext-1.3.6,1: .......... done ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of joequake-0.15b1329_12 ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - not found ===> Installing existing package /packages/All/libXxf86dga-1.1.6_1.pkg [pkg-builder.dan.net.uk] Installing libXxf86dga-1.1.6_1... [pkg-builder.dan.net.uk] Extracting libXxf86dga-1.1.6_1: .......... done ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - found ===> Returning to build of joequake-0.15b1329_12 ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - not found ===> Installing existing package /packages/All/libXxf86vm-1.1.4_4.pkg [pkg-builder.dan.net.uk] Installing libXxf86vm-1.1.4_4... [pkg-builder.dan.net.uk] Extracting libXxf86vm-1.1.4_4: .......... done ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found ===> Returning to build of joequake-0.15b1329_12 ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> joequake-0.15b1329_12 depends on shared library: libpng.so - not found ===> Installing existing package /packages/All/png-1.6.43.pkg [pkg-builder.dan.net.uk] Installing png-1.6.43... [pkg-builder.dan.net.uk] Extracting png-1.6.43: .......... done ===> joequake-0.15b1329_12 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> Returning to build of joequake-0.15b1329_12 ===> joequake-0.15b1329_12 depends on shared library: libGL.so - not found ===> Installing existing package /packages/All/libglvnd-1.7.0.pkg [pkg-builder.dan.net.uk] Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] Extracting libglvnd-1.7.0: .......... done ===> joequake-0.15b1329_12 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> Returning to build of joequake-0.15b1329_12 ===> joequake-0.15b1329_12 depends on shared library: libjpeg.so - not found ===> Installing existing package /packages/All/jpeg-turbo-3.0.2.pkg [pkg-builder.dan.net.uk] Installing jpeg-turbo-3.0.2... [pkg-builder.dan.net.uk] Extracting jpeg-turbo-3.0.2: .......... done ===> joequake-0.15b1329_12 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> Returning to build of joequake-0.15b1329_12 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for joequake-0.15b1329_12 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for joequake-0.15b1329_12 mkdir -p release_glx cc -c -o release_glx/cd_linux.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include cd_linux.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/chase.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include chase.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/cl_demo.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include cl_demo.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/cl_input.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include cl_input.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/cl_main.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include cl_main.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/cl_parse.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include cl_parse.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/cl_tent.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include cl_tent.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/cmd.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include cmd.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cmd.c:1545:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = buf, i = 0 ; *s ; s++, i++) ^ ~~~ cmd.c:1555:12: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy (tmp, s + 1); ^~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ cmd.c:1555:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy (tmp, s + 1); ^~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ cmd.c:1559:17: warning: passing 'unsigned char[256]' 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] strcat (buf, tmp); ^~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ 4 warnings generated. cc -c -o release_glx/common.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include common.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/console.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include console.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/crc.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include crc.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/cvar.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include cvar.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/gl_draw.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include gl_draw.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gl_draw.c:486:7: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] src = draw_chars; ^ ~~~~~~~~~~ gl_draw.c:495:59: warning: passing 'char[32768]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char_texture = GL_LoadTexture ("pic:charset", 128, 256, buf, TEX_ALPHA, 1); ^~~ ./glquake.h:62:68: note: passing argument to parameter 'data' here int GL_LoadTexture (char *identifier, int width, int height, byte *data, int mode, int bytesperpixel); ^ gl_draw.c:1371:10: warning: assigning to 'unsigned int *' from 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] inrow = (int *)indata + inwidth * (i * inheight / outheight); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl_draw.c:1770:9: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char[64]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (c = basename ; *c ; c++) ^ ~~~~~~~~ 4 warnings generated. cc -c -o release_glx/gl_mesh.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include gl_mesh.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/gl_model.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include gl_model.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gl_model.c:623:35: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (com_filesize < 8 || strncmp(data, "QLIT", 4)) ^~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ 1 warning generated. cc -c -o release_glx/gl_refrag.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include gl_refrag.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/gl_rlight.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include gl_rlight.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/gl_rmain.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include gl_rmain.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gl_rmain.c:1410:3: warning: expression result unused [-Wunused-value] *tris++; ^~~~~~~ gl_rmain.c:1427:4: warning: expression result unused [-Wunused-value] *tris++; ^~~~~~~ gl_rmain.c:1501:4: warning: expression result unused [-Wunused-value] *tris++; ^~~~~~~ gl_rmain.c:2055:10: warning: enumeration values 'mod_brush', 'mod_sprite', and 'mod_spr32' not handled in switch [-Wswitch] switch (currententity->model->type) ^~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. cc -c -o release_glx/gl_rmisc.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include gl_rmisc.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/gl_rpart.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include gl_rpart.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/gl_rsurf.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include gl_rsurf.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/gl_screen.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include gl_screen.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/gl_warp.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include gl_warp.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/host.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include host.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] host.c:486:11: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buf.data = message; ^ ~~~~~~~ 1 warning generated. cc -c -o release_glx/host_cmd.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include host_cmd.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] host_cmd.c:799:13: warning: passing 'unsigned char[64]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (text, "%c(%s): ", 1, save->name); ^~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ host_cmd.c:801:13: warning: passing 'unsigned char[64]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (text, "%c%s: ", 1, save->name); ^~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ host_cmd.c:805:12: warning: passing 'unsigned char[64]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (text, "%c<%s> ", 1, hostname.string); ^~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ host_cmd.c:808:33: warning: passing 'unsigned char[64]' 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] j = sizeof(text) - 2 - strlen (text); // -2 for /n and null terminator ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ host_cmd.c:812:10: warning: passing 'unsigned char[64]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat (text, p); ^~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ host_cmd.c:813:10: warning: passing 'unsigned char[64]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat (text, "\n"); ^~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ 6 warnings generated. cc -c -o release_glx/keys.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include keys.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/mathlib.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include mathlib.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/menu.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include menu.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] menu.c:325:6: warning: address of array 'prevdir' will always evaluate to 'true' [-Wpointer-bool-conversion] if (prevdir) ~~ ^~~~~~~ 1 warning generated. cc -c -o release_glx/nehahra.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include nehahra.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] nehahra.c:311:11: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lmplabel = MSG_ReadString (); ^ ~~~~~~~~~~~~~~~~~ nehahra.c:314:56: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (showlmp[i].isactive && !strcmp(showlmp[i].label, lmplabel)) ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ nehahra.c:328:10: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy (lmplabel, MSG_ReadString()); ^~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ nehahra.c:329:10: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy (picname, MSG_ReadString()); ^~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ nehahra.c:337:34: warning: passing 'byte[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(showlmp[i].label, lmplabel)) ^~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ nehahra.c:353:28: warning: passing 'byte[256]' (aka 'unsigned char[256]') 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] strcpy (showlmp[k].label, lmplabel); ^~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ nehahra.c:354:26: warning: passing 'byte[256]' (aka 'unsigned char[256]') 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] strcpy (showlmp[k].pic, picname); ^~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ 7 warnings generated. cc -c -o release_glx/net_bsd.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include net_bsd.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/net_dgrm.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include net_dgrm.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] net_dgrm.c:1281:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return Datagram_Reject (va("<9D><9F>\nYou must use JoeQuake v%s (build %i) or above\nand set cl_password to the server password\n", JOEQUAKE_VERSION, build_number()), acceptsock, &clientaddr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net_dgrm.c:1284:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return Datagram_Reject (va("<9D><9F>\nYou must use JoeQuake v%s (build %i) or above\n", JOEQUAKE_VERSION, build_number()), acceptsock, &clientaddr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -c -o release_glx/net_loop.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include net_loop.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/net_main.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include net_main.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] net_main.c:76:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char[8192]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sizebuf_t rcon_message = {false, false, rcon_buff, RCON_BUFF_SIZE, 0}; ^~~~~~~~~ 1 warning generated. cc -c -o release_glx/net_udp.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include net_udp.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] net_udp.c:246:64: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret = recvfrom (socket, buf, len, 0, (struct sockaddr *)addr, &addrlen); ^~~~~~~~ /usr/include/sys/socket.h:695:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ net_udp.c:335:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockname(socket, (struct sockaddr *)addr, &addrlen); ^~~~~~~~ /usr/include/sys/socket.h:691:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 2 warnings generated. cc -c -o release_glx/net_vcr.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include net_vcr.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/pr_cmds.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include pr_cmds.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/pr_edict.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include pr_edict.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] pr_edict.c:416:23: warning: trigraph ignored [-Wtrigraphs] sprintf (line, "%i(???)", ofs); ^ pr_edict.c:439:23: warning: trigraph ignored [-Wtrigraphs] sprintf (line, "%i(???)", ofs); ^ 2 warnings generated. cc -c -o release_glx/pr_exec.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include pr_exec.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/r_part.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include r_part.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/sbar.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include sbar.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/snd_dma.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include snd_dma.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/snd_linux.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include snd_linux.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/snd_mem.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include snd_mem.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] snd_mem.c:211:16: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strncmp(data_p, name, 4)) ^~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ snd_mem.c:234:35: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] Con_Printf ("0x%x : %s (%d)\n", (int)(data_p - 4), str, iff_chunk_len); ^~~~~~~~~~~~~~~~~ snd_mem.c:261:27: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(data_p && !strncmp(data_p+8, "WAVE", 4))) ^~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ snd_mem.c:302:18: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strncmp (data_p + 28, "mark", 4)) ^~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ 4 warnings generated. cc -c -o release_glx/snd_mix.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include snd_mix.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] snd_mix.c:342:6: warning: assigning to 'unsigned char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] sfx = (signed char *)sc->data + ch->pos; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -c -o release_glx/sv_main.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include sv_main.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] sv_main.c:191:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf (message, pr_strings + sv.edicts->v.message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sv_main.c:191:20: note: treat the string as an argument to avoid this sprintf (message, pr_strings + sv.edicts->v.message); ^ "%s", sv_main.c:971:11: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char[128]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msg.data = data; ^ ~~~~ 2 warnings generated. cc -c -o release_glx/sv_move.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include sv_move.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] sv_move.c:312:29: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (((rand() & 3) & 1) || abs(deltay) > abs(deltax)) ^ sv_move.c:312:29: note: use function 'fabsf' instead if (((rand() & 3) & 1) || abs(deltay) > abs(deltax)) ^~~ fabsf sv_move.c:312:43: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (((rand() & 3) & 1) || abs(deltay) > abs(deltax)) ^ sv_move.c:312:43: note: use function 'fabsf' instead if (((rand() & 3) & 1) || abs(deltay) > abs(deltax)) ^~~ fabsf 2 warnings generated. cc -c -o release_glx/sv_phys.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include sv_phys.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/sv_user.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include sv_user.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/sys_linux.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include sys_linux.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/vid_common_gl.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include vid_common_gl.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] vid_common_gl.c:62:40: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!gl_extensions && !(gl_extensions = glGetString(GL_EXTENSIONS))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ vid_common_gl.c:68:37: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (start = gl_extensions ; where = strstr(start, extension) ; start = terminator) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ vid_common_gl.c:68:37: note: place parentheses around the assignment to silence this warning for (start = gl_extensions ; where = strstr(start, extension) ; start = terminator) ^ ( ) vid_common_gl.c:68:37: note: use '==' to turn this assignment into an equality comparison for (start = gl_extensions ; where = strstr(start, extension) ; start = terminator) ^ == vid_common_gl.c:84:24: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] qglMultiTexCoord2f = (void *)qglGetProcAddress ("glMultiTexCoord2fARB"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vid_common_gl.c:85:22: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] qglActiveTexture = (void *)qglGetProcAddress ("glActiveTextureARB"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vid_common_gl.c:114:12: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] gl_vendor = glGetString (GL_VENDOR); ^ ~~~~~~~~~~~~~~~~~~~~~~~ vid_common_gl.c:116:14: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] gl_renderer = glGetString (GL_RENDERER); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ vid_common_gl.c:118:13: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] gl_version = glGetString (GL_VERSION); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ vid_common_gl.c:120:16: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] gl_extensions = glGetString (GL_EXTENSIONS); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. cc -c -o release_glx/vid_glx.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include vid_glx.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from vid_glx.c:41: /usr/local/include/X11/extensions/xf86dga.h:9:2: warning: "xf86dga.h is obsolete and may be removed in the future." [-W#warnings] #warning "xf86dga.h is obsolete and may be removed in the future." ^ /usr/local/include/X11/extensions/xf86dga.h:10:2: warning: "include instead." [-W#warnings] #warning "include instead." ^ 2 warnings generated. cc -c -o release_glx/view.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include view.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/wad.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include wad.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/world.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include world.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] world.c:264:11: warning: cast to smaller integer type 'int' from 'link_t *' (aka 'struct link_s *') [-Wpointer-to-int-cast] touch = EDICT_FROM_AREA(l); ^~~~~~~~~~~~~~~~~~ ./progs.h:50:28: note: expanded from macro 'EDICT_FROM_AREA' #define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:85:52: note: expanded from macro 'STRUCT_FROM_LINK' #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) ^~~~~~~~~~~~~~~~~~~ world.c:671:11: warning: cast to smaller integer type 'int' from 'link_t *' (aka 'struct link_s *') [-Wpointer-to-int-cast] touch = EDICT_FROM_AREA(l); ^~~~~~~~~~~~~~~~~~ ./progs.h:50:28: note: expanded from macro 'EDICT_FROM_AREA' #define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:85:52: note: expanded from macro 'STRUCT_FROM_LINK' #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) ^~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -c -o release_glx/zone.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include zone.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/image.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include image.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/version.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include version.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/security.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include security.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/iplog.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include iplog.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_glx/cl_slist.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -DGLQUAKE -I/usr/local/include cl_slist.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -o release_glx/joequake-gl.glx release_glx/cd_linux.o release_glx/chase.o release_glx/cl_demo.o release_glx/cl_input.o release_glx/cl_main.o release_glx/cl_parse.o release_glx/cl_tent.o release_glx/cmd.o release_glx/common.o release_glx/console.o release_glx/crc.o release_glx/cvar.o release_glx/gl_draw.o release_glx/gl_mesh.o release_glx/gl_model.o release_glx/gl_refrag.o release_glx/gl_rlight.o release_glx/gl_rmain.o release_glx/gl_rmisc.o release_glx/gl_rpart.o release_glx/gl_rsurf.o release_glx/gl_screen.o release_glx/gl_warp.o release_glx/host.o release_glx/host_cmd.o release_glx/keys.o release_glx/mathlib.o release_glx/menu.o release_glx/nehahra.o release_glx/net_bsd.o release_glx/net_dgrm.o release_glx/net_loop.o release_glx/net_main.o release_glx/net_udp.o release_glx/net_vcr.o release_glx/pr_cmds.o release_glx/pr_edict.o release_glx/pr_exec.o release_glx/r_part.o release_glx/sbar.o release_glx/snd_dma.o release_glx/snd_linux.o release_glx/snd_mem.o release_glx/snd_mix.o release_glx/sv_main.o release_glx/sv_move.o release_glx/sv_phys.o release_glx/sv_user.o release_glx/sys_linux.o release_glx/vid_common_gl.o release_glx/vid_glx.o release_glx/view.o release_glx/wad.o release_glx/world.o release_glx/zone.o release_glx/image.o release_glx/version.o release_glx/security.o release_glx/iplog.o release_glx/cl_slist.o -lm -L/usr/local/lib -lGL -lX11 -lXext -lXxf86dga -lXxf86vm -L/usr/local/lib -lpng -ljpeg mkdir -p release_x11 cc -c -o release_x11/cl_demo.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include cl_demo.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/cl_input.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include cl_input.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/cl_main.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include cl_main.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/cl_parse.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include cl_parse.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/cl_tent.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include cl_tent.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/chase.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include chase.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/cmd.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include cmd.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cmd.c:1545:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = buf, i = 0 ; *s ; s++, i++) ^ ~~~ cmd.c:1555:12: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy (tmp, s + 1); ^~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ cmd.c:1555:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy (tmp, s + 1); ^~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ cmd.c:1559:17: warning: passing 'unsigned char[256]' 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] strcat (buf, tmp); ^~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ 4 warnings generated. cc -c -o release_x11/common.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include common.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/console.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include console.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/crc.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include crc.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/cvar.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include cvar.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/d_edge.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include d_edge.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] d_edge.c:178:27: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] D_DrawSolidSurface (s, (int)s->data & 0xFF); ^~~~~~~~~~~~ 1 warning generated. cc -c -o release_x11/d_fill.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include d_fill.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/d_init.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include d_init.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/d_modech.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include d_modech.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/d_polyse.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include d_polyse.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/d_scan.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include d_scan.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/d_sky.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include d_sky.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/d_sprite.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include d_sprite.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/d_surf.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include d_surf.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] d_surf.c:135:9: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] size = (int)&((surfcache_t *)0)->data[size]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -c -o release_x11/d_vars.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include d_vars.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/d_zpoint.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include d_zpoint.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/host.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include host.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] host.c:486:11: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buf.data = message; ^ ~~~~~~~ 1 warning generated. cc -c -o release_x11/host_cmd.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include host_cmd.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] host_cmd.c:799:13: warning: passing 'unsigned char[64]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (text, "%c(%s): ", 1, save->name); ^~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ host_cmd.c:801:13: warning: passing 'unsigned char[64]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (text, "%c%s: ", 1, save->name); ^~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ host_cmd.c:805:12: warning: passing 'unsigned char[64]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (text, "%c<%s> ", 1, hostname.string); ^~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ host_cmd.c:808:33: warning: passing 'unsigned char[64]' 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] j = sizeof(text) - 2 - strlen (text); // -2 for /n and null terminator ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ host_cmd.c:812:10: warning: passing 'unsigned char[64]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat (text, p); ^~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ host_cmd.c:813:10: warning: passing 'unsigned char[64]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat (text, "\n"); ^~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ 6 warnings generated. cc -c -o release_x11/keys.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include keys.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/menu.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include menu.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] menu.c:325:6: warning: address of array 'prevdir' will always evaluate to 'true' [-Wpointer-bool-conversion] if (prevdir) ~~ ^~~~~~~ 1 warning generated. cc -c -o release_x11/mathlib.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include mathlib.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/net_dgrm.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include net_dgrm.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] net_dgrm.c:1281:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return Datagram_Reject (va("<9D><9F>\nYou must use JoeQuake v%s (build %i) or above\nand set cl_password to the server password\n", JOEQUAKE_VERSION, build_number()), acceptsock, &clientaddr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net_dgrm.c:1284:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return Datagram_Reject (va("<9D><9F>\nYou must use JoeQuake v%s (build %i) or above\n", JOEQUAKE_VERSION, build_number()), acceptsock, &clientaddr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -c -o release_x11/net_loop.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include net_loop.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/net_main.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include net_main.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] net_main.c:76:41: warning: initializing 'byte *' (aka 'unsigned char *') with an expression of type 'char[8192]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sizebuf_t rcon_message = {false, false, rcon_buff, RCON_BUFF_SIZE, 0}; ^~~~~~~~~ 1 warning generated. cc -c -o release_x11/net_vcr.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include net_vcr.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/net_udp.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include net_udp.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] net_udp.c:246:64: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret = recvfrom (socket, buf, len, 0, (struct sockaddr *)addr, &addrlen); ^~~~~~~~ /usr/include/sys/socket.h:695:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ net_udp.c:335:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] getsockname(socket, (struct sockaddr *)addr, &addrlen); ^~~~~~~~ /usr/include/sys/socket.h:691:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 2 warnings generated. cc -c -o release_x11/net_bsd.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include net_bsd.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/pr_cmds.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include pr_cmds.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/pr_edict.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include pr_edict.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] pr_edict.c:416:23: warning: trigraph ignored [-Wtrigraphs] sprintf (line, "%i(???)", ofs); ^ pr_edict.c:439:23: warning: trigraph ignored [-Wtrigraphs] sprintf (line, "%i(???)", ofs); ^ 2 warnings generated. cc -c -o release_x11/pr_exec.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include pr_exec.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_aclip.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_aclip.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_alias.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_alias.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_bsp.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_bsp.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_draw.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_draw.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_light.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_light.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_efrag.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_efrag.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_edge.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_edge.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] r_edge.c:655:25: warning: signed shift result (0x7D0000000) requires 36 bits to represent, but 'int' only has 32 bits [-Wshift-overflow] edge_sentinel.u = 2000 << 24; // make sure nothing sorts past this ~~~~ ^ ~~ 1 warning generated. cc -c -o release_x11/r_main.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_main.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_misc.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_misc.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_model.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_model.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_rast.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_rast.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_sky.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_sky.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_sprite.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_sprite.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_surf.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_surf.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_part.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_part.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_vars.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_vars.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/r_screen.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include r_screen.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/sbar.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include sbar.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/sv_main.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include sv_main.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] sv_main.c:191:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf (message, pr_strings + sv.edicts->v.message); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sv_main.c:191:20: note: treat the string as an argument to avoid this sprintf (message, pr_strings + sv.edicts->v.message); ^ "%s", sv_main.c:971:11: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char[128]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msg.data = data; ^ ~~~~ 2 warnings generated. cc -c -o release_x11/sv_phys.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include sv_phys.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/sv_move.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include sv_move.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] sv_move.c:312:29: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (((rand() & 3) & 1) || abs(deltay) > abs(deltax)) ^ sv_move.c:312:29: note: use function 'fabsf' instead if (((rand() & 3) & 1) || abs(deltay) > abs(deltax)) ^~~ fabsf sv_move.c:312:43: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (((rand() & 3) & 1) || abs(deltay) > abs(deltax)) ^ sv_move.c:312:43: note: use function 'fabsf' instead if (((rand() & 3) & 1) || abs(deltay) > abs(deltax)) ^~~ fabsf 2 warnings generated. cc -c -o release_x11/sv_user.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include sv_user.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/zone.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include zone.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/view.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include view.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/wad.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include wad.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/world.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include world.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] world.c:264:11: warning: cast to smaller integer type 'int' from 'link_t *' (aka 'struct link_s *') [-Wpointer-to-int-cast] touch = EDICT_FROM_AREA(l); ^~~~~~~~~~~~~~~~~~ ./progs.h:50:28: note: expanded from macro 'EDICT_FROM_AREA' #define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:85:52: note: expanded from macro 'STRUCT_FROM_LINK' #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) ^~~~~~~~~~~~~~~~~~~ world.c:671:11: warning: cast to smaller integer type 'int' from 'link_t *' (aka 'struct link_s *') [-Wpointer-to-int-cast] touch = EDICT_FROM_AREA(l); ^~~~~~~~~~~~~~~~~~ ./progs.h:50:28: note: expanded from macro 'EDICT_FROM_AREA' #define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:85:52: note: expanded from macro 'STRUCT_FROM_LINK' #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) ^~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -c -o release_x11/cd_linux.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include cd_linux.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/sys_linux.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include sys_linux.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/vid_x11.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include vid_x11.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] vid_x11.c:196:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] src = &framebuf->data[yi*framebuf->bytes_per_line]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vid_x11.c:214:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] src = &framebuf->data[yi*framebuf->bytes_per_line]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vid_x11.c:591:13: warning: assigning to 'pixel_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vid.buffer = x_framebuffer[0]->data; ^ ~~~~~~~~~~~~~~~~~~~~~~ vid_x11.c:878:14: warning: assigning to 'pixel_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vid.buffer = x_framebuffer[current_framebuffer]->data; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vid_x11.c:905:14: warning: assigning to 'pixel_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vid.buffer = x_framebuffer[current_framebuffer]->data; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. cc -c -o release_x11/snd_dma.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include snd_dma.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/snd_mem.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include snd_mem.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] snd_mem.c:211:16: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strncmp(data_p, name, 4)) ^~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ snd_mem.c:234:35: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast] Con_Printf ("0x%x : %s (%d)\n", (int)(data_p - 4), str, iff_chunk_len); ^~~~~~~~~~~~~~~~~ snd_mem.c:261:27: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(data_p && !strncmp(data_p+8, "WAVE", 4))) ^~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ snd_mem.c:302:18: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strncmp (data_p + 28, "mark", 4)) ^~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ 4 warnings generated. cc -c -o release_x11/snd_mix.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include snd_mix.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] snd_mix.c:342:6: warning: assigning to 'unsigned char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] sfx = (signed char *)sc->data + ch->pos; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -c -o release_x11/snd_linux.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include snd_linux.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/image.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include image.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/version.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include version.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/security.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include security.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/iplog.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include iplog.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -c -o release_x11/cl_slist.o -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -DNDEBUG -DDATADIR='"/usr/local/share/quake"' -O1 -funsigned-char -funroll-loops -fomit-frame-pointer -ffast-math -fno-strength-reduce -fexpensive-optimizations -I/usr/local/include cl_slist.c cc: warning: optimization flag '-fno-strength-reduce' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -o release_x11/joequake.x11 release_x11/cl_demo.o release_x11/cl_input.o release_x11/cl_main.o release_x11/cl_parse.o release_x11/cl_tent.o release_x11/chase.o release_x11/cmd.o release_x11/common.o release_x11/console.o release_x11/crc.o release_x11/cvar.o release_x11/d_edge.o release_x11/d_fill.o release_x11/d_init.o release_x11/d_modech.o release_x11/d_polyse.o release_x11/d_scan.o release_x11/d_sky.o release_x11/d_sprite.o release_x11/d_surf.o release_x11/d_vars.o release_x11/d_zpoint.o release_x11/host.o release_x11/host_cmd.o release_x11/keys.o release_x11/menu.o release_x11/mathlib.o release_x11/net_dgrm.o release_x11/net_loop.o release_x11/net_main.o release_x11/net_vcr.o release_x11/net_udp.o release_x11/net_bsd.o release_x11/pr_cmds.o release_x11/pr_edict.o release_x11/pr_exec.o release_x11/r_aclip.o release_x11/r_alias.o release_x11/r_bsp.o release_x11/r_draw.o release_x11/r_light.o release_x11/r_efrag.o release_x11/r_edge.o release_x11/r_main.o release_x11/r_misc.o release_x11/r_model.o release_x11/r_rast.o release_x11/r_sky.o release_x11/r_sprite.o release_x11/r_surf.o release_x11/r_part.o release_x11/r_vars.o release_x11/r_screen.o release_x11/sbar.o release_x11/sv_main.o release_x11/sv_phys.o release_x11/sv_move.o release_x11/sv_user.o release_x11/zone.o release_x11/view.o release_x11/wad.o release_x11/world.o release_x11/cd_linux.o release_x11/sys_linux.o release_x11/vid_x11.o release_x11/snd_dma.o release_x11/snd_mem.o release_x11/snd_mix.o release_x11/snd_linux.o release_x11/image.o release_x11/version.o release_x11/security.o release_x11/iplog.o release_x11/cl_slist.o -lm -L/usr/local/lib -lX11 -lXext -L/usr/local/lib -lpng =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> joequake-0.15b1329_12 depends on file: /usr/local/share/quake/id1/pak0.pak - not found ===> Installing existing package /packages/All/quake-data-1.0.6_2.pkg [pkg-builder.dan.net.uk] Installing quake-data-1.0.6_2... [pkg-builder.dan.net.uk] Extracting quake-data-1.0.6_2: .......... done ===== Message from quake-data-1.0.6_2: -- ===> NOTICE: The quake-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 ===> joequake-0.15b1329_12 depends on file: /usr/local/share/quake/id1/pak0.pak - found ===> Returning to build of joequake-0.15b1329_12 ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/xxf86dga.pc - found ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> joequake-0.15b1329_12 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for joequake-0.15b1329_12 ===> Generating temporary packing list /bin/mkdir -p /wrkdirs/usr/ports/games/joequake/work/stage/usr/local/share/quake/joequake install -m 0644 /wrkdirs/usr/ports/games/joequake/work/joequake/pak0.pak /wrkdirs/usr/ports/games/joequake/work/stage/usr/local/share/quake/joequake install -s -m 555 /wrkdirs/usr/ports/games/joequake/work/src/release_glx/joequake-gl.glx /wrkdirs/usr/ports/games/joequake/work/stage/usr/local/bin/joequake-glx install -s -m 555 /wrkdirs/usr/ports/games/joequake/work/src/release_x11/joequake.x11 /wrkdirs/usr/ports/games/joequake/work/stage/usr/local/bin/joequake-x11 /bin/mkdir -p /wrkdirs/usr/ports/games/joequake/work/stage/usr/local/share/doc/joequake install -m 0644 /wrkdirs/usr/ports/games/joequake/work/joequake/doc/*.txt /wrkdirs/usr/ports/games/joequake/work/stage/usr/local/share/doc/joequake ====> 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-03T11:54:11+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=664a2fa1e5' '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 joequake-0.15b1329_12 ===> Building joequake-0.15b1329_12 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for joequake-0.15b1329_12 build of games/joequake | joequake-0.15b1329_12 ended at Wed Apr 3 12:59:30 BST 2024 build time: 00:05:29