=>> Building games/quake2-matrix build started at Fri Dec 12 00:20:41 EST 2025 port directory: /usr/ports/games/quake2-matrix package name: quake2-matrix-1 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: danfe@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 987 Aug 27 2024 /usr/ports/games/quake2-matrix/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: d56127bdfc7d Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 14 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 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.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/14/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 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 quake2-matrix-1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- danfe@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/quake2-matrix/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2-matrix/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/quake2-matrix/work/.cache HOME=/wrkdirs/usr/ports/games/quake2-matrix/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/quake2-matrix/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/quake2-matrix/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- Q2DIR="/usr/local/share/quake2" XDG_DATA_HOME=/wrkdirs/usr/ports/games/quake2-matrix/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2-matrix/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/quake2-matrix/work/.cache HOME=/wrkdirs/usr/ports/games/quake2-matrix/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/quake2-matrix/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/quake2-matrix/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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-- Q2DIR="share/quake2" PORTDOCS="" OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/quake2-matrix" EXAMPLESDIR="share/examples/matrix" DATADIR="share/matrix" WWWDIR="www/matrix" ETCDIR="etc/matrix" --End PLIST_SUB-- --SUB_LIST-- Q2DIR="/usr/local/share/quake2" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/matrix DOCSDIR=/usr/local/share/doc/quake2-matrix EXAMPLESDIR=/usr/local/share/examples/matrix WWWDIR=/usr/local/www/matrix ETCDIR=/usr/local/etc/matrix --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> quake2-matrix-1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> quake2-matrix-1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of quake2-matrix-1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by quake2-matrix-1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by quake2-matrix-1 for building => SHA256 Checksum OK for Matrix-v1.fixed.Linux.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by quake2-matrix-1 for building ===> Extracting for quake2-matrix-1 => SHA256 Checksum OK for Matrix-v1.fixed.Linux.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for quake2-matrix-1 ===> Applying FreeBSD patches for quake2-matrix-1 from /usr/ports/games/quake2-matrix/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> quake2-matrix-1 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.23.1... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.23.1: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> quake2-matrix-1 depends on package: gmake>=4.4.1 - found ===> Returning to build of quake2-matrix-1 ===> quake2-matrix-1 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> quake2-matrix-1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of quake2-matrix-1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for quake2-matrix-1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for quake2-matrix-1 /usr/local/bin/gmake targets BUILDDIR=release CFLAGS+="-Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations" gmake[1]: Entering directory '/wrkdirs/usr/ports/games/quake2-matrix/work/matrix/MatrixFixSource' cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_ai.o -c g_ai.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_chase.o -c g_chase.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_cmds.o -c g_cmds.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_combat.o -c g_combat.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_func.o -c g_func.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_items.o -c g_items.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_main.o -c g_main.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_misc.o -c g_misc.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_monster.o -c g_monster.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_phys.o -c g_phys.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_save.o -c g_save.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_spawn.o -c g_spawn.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_svcmds.o -c g_svcmds.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_target.o -c g_target.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_trigger.o -c g_trigger.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_turret.o -c g_turret.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_utils.o -c g_utils.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/g_weapon.o -c g_weapon.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/leper_think.o -c leper_think.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_autobuy.o -c matrix_autobuy.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_cam.o -c matrix_cam.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_cmds.o -c matrix_cmds.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_findtarget.o -c matrix_findtarget.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_gweap.o -c matrix_gweap.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_items.o -c matrix_items.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_kungfu.o -c matrix_kungfu.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_locadam.o -c matrix_locadam.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_main.o -c matrix_main.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_match.o -c matrix_match.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_menu.o -c matrix_menu.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_misc.o -c matrix_misc.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_movement.o -c matrix_movement.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_pweap.o -c matrix_pweap.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_scanner.o -c matrix_scanner.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_spells.o -c matrix_spells.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_stamina.o -c matrix_stamina.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_tank.o -c matrix_tank.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/matrix_team.o -c matrix_team.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_actor.o -c m_actor.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_berserk.o -c m_berserk.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_boss2.o -c m_boss2.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_boss3.o -c m_boss3.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_boss31.o -c m_boss31.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_boss32.o -c m_boss32.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_brain.o -c m_brain.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_chick.o -c m_chick.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_flash.o -c m_flash.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_flipper.o -c m_flipper.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_float.o -c m_float.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_flyer.o -c m_flyer.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_gladiator.o -c m_gladiator.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_gunner.o -c m_gunner.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_hover.o -c m_hover.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_infantry.o -c m_infantry.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_insane.o -c m_insane.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_medic.o -c m_medic.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_move.o -c m_move.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_mutant.o -c m_mutant.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_parasite.o -c m_parasite.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_soldier.o -c m_soldier.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_supertank.o -c m_supertank.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/m_tank.o -c m_tank.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/p_chase.o -c p_chase.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/p_client.o -c p_client.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] matrix_misc.c:20:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 20 | if (motd_file = fopen(file_name, "r")) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ matrix_misc.c:20:16: note: place parentheses around the assignment to silence this warning 20 | if (motd_file = fopen(file_name, "r")) | ^ | ( ) matrix_misc.c:20:16: note: use '==' to turn this assignment into an equality comparison 20 | if (motd_file = fopen(file_name, "r")) | ^ | == 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/p_hud.o -c p_hud.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/p_menu.o -c p_menu.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/p_trail.o -c p_trail.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/p_view.o -c p_view.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] matrix_menu.c:7:2: warning: call to undeclared function 'Cmd_BuySpeed_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 7 | Cmd_BuySpeed_f(ent); | ^ matrix_menu.c:14:2: warning: call to undeclared function 'Cmd_BuyDamage_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | Cmd_BuyDamage_f(ent); | ^ matrix_menu.c:20:2: warning: call to undeclared function 'Cmd_BuyStamina_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | Cmd_BuyStamina_f(ent); | ^ matrix_menu.c:26:2: warning: call to undeclared function 'Cmd_BuyHealth_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | Cmd_BuyHealth_f(ent); | ^ matrix_menu.c:51:2: warning: call to undeclared function 'MatrixStartSwap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | MatrixStartSwap(ent); | ^ matrix_menu.c:57:2: warning: call to undeclared function 'Cmd_StopBullets_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | Cmd_StopBullets_f(ent); | ^ matrix_menu.c:63:2: warning: call to undeclared function 'Cmd_Jump_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | Cmd_Jump_f(ent); | ^ matrix_menu.c:69:2: warning: call to undeclared function 'Cmd_Infrared_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | Cmd_Infrared_f(ent); | ^ matrix_menu.c:75:2: warning: call to undeclared function 'Cmd_Cloak_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | Cmd_Cloak_f(ent); | ^ matrix_menu.c:81:2: warning: call to undeclared function 'Cmd_Lights_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | Cmd_Lights_f(ent); | ^ matrix_menu.c:116:2: warning: call to undeclared function 'Cmd_AutoBuy_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | Cmd_AutoBuy_f(ent); | ^ matrix_menu.c:153:2: warning: call to undeclared function 'MatrixTankDropItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | MatrixTankDropItem(ent,IT_STAMINA); | ^ matrix_menu.c:165:2: warning: call to undeclared function 'MatrixTankDropItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | MatrixTankDropItem(ent,IT_ARMOR); | ^ matrix_menu.c:177:2: warning: call to undeclared function 'MatrixTankDropItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | MatrixTankDropItem(ent,IT_POWERUP); | ^ matrix_menu.c:190:2: warning: call to undeclared function 'MatrixTankDropItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | MatrixTankDropItem(ent,IT_WEAPON); | ^ 15 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/p_weapon.o -c p_weapon.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] matrix_match.c:68:3: warning: call to undeclared function 'EndDMLevel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | EndDMLevel(); | ^ matrix_match.c:85:6: warning: call to undeclared function 'IsNeutral'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | if (IsNeutral(self)) | ^ matrix_match.c:93:11: warning: call to undeclared function 'IsFemale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | else if (IsFemale(self)) | ^ matrix_match.c:126:2: warning: call to undeclared function 'TossClientWeapon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | TossClientWeapon (self); | ^ matrix_match.c:127:2: warning: call to undeclared function 'ClientObituary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | ClientObituary (self, attacker, attacker); | ^ matrix_match.c:137:4: warning: call to undeclared function 'CopyToBodyQue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | CopyToBodyQue (self); | ^ matrix_match.c:157:3: warning: call to undeclared function 'SV_AddBlend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | SV_AddBlend (0, 0.4, 0, 0.08, self->client->ps.blend); | ^ 7 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] matrix_findtarget.c:39:12: warning: while loop has empty body [-Wempty-body] 39 | while(1); | ^ matrix_findtarget.c:39:12: note: put the semicolon on a separate line to silence this warning 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fPIC -o release/q_shared.o -c q_shared.c cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] matrix_kungfu.c:107:8: warning: call to undeclared function 'IsBlocking'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | if(IsBlocking(target)) | ^ matrix_kungfu.c:156:10: warning: call to undeclared function 'IsBlocking'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | if(IsBlocking(target)) | ^ matrix_kungfu.c:216:9: warning: call to undeclared function 'IsBlocking'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | if(IsBlocking(tr.ent)) | ^ matrix_kungfu.c:218:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 218 | else | ^ matrix_kungfu.c:249:9: warning: call to undeclared function 'IsBlocking'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | if(IsBlocking(tr.ent)) | ^ matrix_kungfu.c:251:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 251 | else | ^ matrix_kungfu.c:283:9: warning: call to undeclared function 'IsBlocking'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 283 | if(IsBlocking(tr.ent)) | ^ matrix_kungfu.c:285:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 285 | else | ^ matrix_kungfu.c:317:10: warning: call to undeclared function 'IsBlocking'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | if(IsBlocking(tr.ent)) | ^ matrix_kungfu.c:319:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 319 | else | ^ 10 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] matrix_items.c:302:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 302 | else | ^ 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_main.c:242:23: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 242 | ent = G_Find (NULL, FOFS(classname), "target_changelevel"); | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_main.c:425:2: warning: call to undeclared function 'MatrixFrame'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | MatrixFrame(); | ^ 2 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] m_chick.c:564:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 564 | else | ^ 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] matrix_autobuy.c:212:3: warning: call to undeclared function 'MatrixStartSwap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | MatrixStartSwap(ent); | ^ matrix_autobuy.c:214:3: warning: call to undeclared function 'Cmd_StopBullets_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | Cmd_StopBullets_f(ent); | ^ matrix_autobuy.c:216:3: warning: call to undeclared function 'Cmd_Infrared_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | Cmd_Infrared_f (ent); | ^ matrix_autobuy.c:218:3: warning: call to undeclared function 'Cmd_Cloak_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | Cmd_Cloak_f (ent); | ^ matrix_autobuy.c:220:3: warning: call to undeclared function 'Cmd_BuySpeed_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | Cmd_BuySpeed_f (ent); | ^ matrix_autobuy.c:222:3: warning: call to undeclared function 'Cmd_Lights_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | Cmd_Lights_f (ent); | ^ matrix_autobuy.c:224:3: warning: call to undeclared function 'Cmd_BuyDamage_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | Cmd_BuyDamage_f (ent); | ^ matrix_autobuy.c:226:3: warning: call to undeclared function 'Cmd_BuyHealth_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | Cmd_BuyHealth_f (ent); | ^ matrix_autobuy.c:228:3: warning: call to undeclared function 'Cmd_BuyStamina_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | Cmd_BuyStamina_f (ent); | ^ matrix_autobuy.c:54:3: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 54 | Choose[Mana] -=100; | ^ ~~~~ matrix_autobuy.c:18:2: note: array 'Choose' declared here 18 | int Choose[9]; | ^ matrix_autobuy.c:76:3: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 76 | Choose[Mana] -=100; | ^ ~~~~ matrix_autobuy.c:18:2: note: array 'Choose' declared here 18 | int Choose[9]; | ^ matrix_autobuy.c:170:3: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 170 | Choose[Mana] += random()*20; | ^ ~~~~ matrix_autobuy.c:18:2: note: array 'Choose' declared here 18 | int Choose[9]; | ^ matrix_autobuy.c:227:20: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 227 | if(FinalChoice == Choose[Mana]) | ^ ~~~~ matrix_autobuy.c:18:2: note: array 'Choose' declared here 18 | int Choose[9]; | ^ 13 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] leper_think.c:68:22: warning: call to undeclared function 'IsGenderless'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | if(!leper->value || IsGenderless(ent)) | ^ leper_think.c:83:6: warning: call to undeclared function 'IsNeutral'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | if (IsNeutral(ent)) | ^ leper_think.c:101:11: warning: call to undeclared function 'IsFemale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | else if (IsFemale(ent)) | ^ leper_think.c:163:3: warning: call to undeclared function 'stuffcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | stuffcmd (ent, "cl_forwardspeed 20\n"); | ^ leper_think.c:168:3: warning: call to undeclared function 'stuffcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | stuffcmd (ent, "cl_forwardspeed 200\n"); | ^ leper_think.c:247:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 247 | else if(lepmod == LOC_BACK) | ^ leper_think.c:265:7: warning: call to undeclared function 'IsFemale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 265 | if(IsFemale(targ)) | ^ leper_think.c:267:12: warning: call to undeclared function 'IsNeutral'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | else if(IsNeutral(targ)) | ^ leper_think.c:283:7: warning: call to undeclared function 'IsFemale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 283 | if(IsFemale(targ)) | ^ leper_think.c:285:12: warning: call to undeclared function 'IsNeutral'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | else if(IsNeutral(targ)) | ^ leper_think.c:307:7: warning: call to undeclared function 'IsFemale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | if(IsFemale(targ)) | ^ leper_think.c:309:12: warning: call to undeclared function 'IsNeutral'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | else if(IsNeutral(targ)) | ^ leper_think.c:334:5: warning: call to undeclared function 'IsFemale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | if(IsFemale(targ)) | ^ leper_think.c:336:12: warning: call to undeclared function 'IsNeutral'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 336 | else if(IsNeutral(targ)) | ^ leper_think.c:359:6: warning: call to undeclared function 'IsFemale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 359 | if(IsFemale(targ)) | ^ leper_think.c:361:12: warning: call to undeclared function 'IsNeutral'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | else if(IsNeutral(targ)) | ^ leper_think.c:381:5: warning: call to undeclared function 'IsFemale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 381 | if(IsFemale(targ)) | ^ leper_think.c:383:12: warning: call to undeclared function 'IsNeutral'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 383 | else if(IsNeutral(targ)) | ^ leper_think.c:401:5: warning: call to undeclared function 'IsFemale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 401 | if(IsFemale(targ)) | ^ leper_think.c:403:12: warning: call to undeclared function 'IsNeutral'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | else if(IsNeutral(targ)) | ^ 20 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] m_insane.c:513:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 513 | else | ^ 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] matrix_cmds.c:11:2: warning: call to undeclared function 'Decide_attack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | Decide_attack (ent); | ^ 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_combat.c:435:11: warning: call to undeclared function 'MatrixDamage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 435 | damage = MatrixDamage(targ, attacker, damage); | ^ g_combat.c:452:23: warning: call to undeclared function 'MatrixApplyLocationDamage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 452 | meansOfDeath = mod + MatrixApplyLocationDamage(targ, point, mod, damage); | ^ g_combat.c:455:2: warning: call to undeclared function 'Leper_TDamage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 455 | Leper_TDamage (targ, attacker, point, damage, MatrixApplyLocationDamage(targ, point, mod, damage)); | ^ g_combat.c:509:5: warning: call to undeclared function 'IsBlocking'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 509 | && IsBlocking(targ)) | ^ 4 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] matrix_team.c:75:3: warning: call to undeclared function 'spectator_respawn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | spectator_respawn(ent); | ^ 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] p_chase.c:92:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 92 | else | ^ 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] matrix_main.c:110:4: warning: call to undeclared function 'stuffcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | stuffcmd (ent, "disconnect\n"); | ^ matrix_main.c:128:2: warning: call to undeclared function 'heavybreathing'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | heavybreathing(ent);//sound to indicate stamina/mana | ^ matrix_main.c:129:2: warning: call to undeclared function 'MatrixCheckSpeed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | MatrixCheckSpeed(ent);//was used to slow people down but stopped them using cl_forwardspeeed | ^ matrix_main.c:130:2: warning: call to undeclared function 'MatrixStamina'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | MatrixStamina(ent);//stamina think | ^ matrix_main.c:131:2: warning: call to undeclared function 'MatrixStopBullets'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | MatrixStopBullets(ent); | ^ matrix_main.c:132:2: warning: call to undeclared function 'MatrixSwapThink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | MatrixSwapThink (ent); | ^ matrix_main.c:134:2: warning: call to undeclared function 'MatrixKungfu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | MatrixKungfu (ent); | ^ matrix_main.c:135:2: warning: call to undeclared function 'MatrixScreenTilt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | MatrixScreenTilt (ent); | ^ matrix_main.c:184:2: warning: call to undeclared function 'Matrix_MOTD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | Matrix_MOTD(ent); | ^ matrix_main.c:188:3: warning: call to undeclared function 'Cmd_JoinMenu_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | Cmd_JoinMenu_f(ent); | ^ matrix_main.c:190:2: warning: call to undeclared function 'stuffcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | stuffcmd(ent, "alias +button0 onbutton0\nalias -button0 offbutton0\nalias +button1 onbutton1\nalias -button1 offbutton1\nalias +boot booton\nalias -boot bootoff\nalias +attack2 booton\nalias -attack2 bootoff"); | ^ matrix_main.c:202:2: warning: call to undeclared function 'MatrixMatchThink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | MatrixMatchThink(); | ^ matrix_main.c:203:2: warning: call to undeclared function 'MatrixTankThink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | MatrixTankThink(); | ^ matrix_main.c:549:4: warning: call to undeclared function 'SV_AddBlend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 549 | SV_AddBlend (1, 0, 0, 0.2, ent->client->ps.blend); | ^ 14 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] m_boss31.c:12:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | extern SP_monster_makron (edict_t *self); | ~~~~~~ ^ | int 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] matrix_movement.c:109:56: warning: address of array 'ent->velocity' will always evaluate to 'true' [-Wpointer-bool-conversion] 109 | || ent->matrixflip == RUN_RIGHT_ALONG_WALL) && !ent->velocity) | ~~~~~~^~~~~~~~ matrix_movement.c:112:54: warning: address of array 'ent->velocity' will always evaluate to 'true' [-Wpointer-bool-conversion] 112 | if (ent->matrixflip == RUN_RIGHT_ALONG_WALL && ent->velocity) | ~~ ~~~~~^~~~~~~~ matrix_movement.c:115:58: warning: address of array 'ent->velocity' will always evaluate to 'true' [-Wpointer-bool-conversion] 115 | else if (ent->matrixflip == RUN_LEFT_ALONG_WALL && ent->velocity) | ~~ ~~~~~^~~~~~~~ matrix_movement.c:117:17: warning: address of array 'ent->velocity' will always evaluate to 'true' [-Wpointer-bool-conversion] 117 | else if (!ent->velocity) | ~~~~~~^~~~~~~~ matrix_movement.c:426:10: warning: address of array 'ent->velocity' will always evaluate to 'true' [-Wpointer-bool-conversion] 426 | if(!ent->velocity) | ~~~~~~^~~~~~~~ matrix_movement.c:466:10: warning: address of array 'ent->velocity' will always evaluate to 'true' [-Wpointer-bool-conversion] 466 | if(!ent->velocity) | ~~~~~~^~~~~~~~ matrix_movement.c:616:5: warning: call to undeclared function 'IsFemale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 616 | if(IsFemale(ent)) | ^ matrix_movement.c:618:10: warning: call to undeclared function 'IsNeutral'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 618 | else if(IsNeutral(ent)) | ^ 8 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] matrix_spells.c:212:8: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 212 | if ((!Q_stricmp(bullet->classname, "bolt") == 0) && | ^ ~~ matrix_spells.c:212:8: note: add parentheses after the '!' to evaluate the comparison first 212 | if ((!Q_stricmp(bullet->classname, "bolt") == 0) && | ^ | ( ) matrix_spells.c:212:8: note: add parentheses around left hand side expression to silence this warning 212 | if ((!Q_stricmp(bullet->classname, "bolt") == 0) && | ^ | ( ) matrix_spells.c:213:5: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 213 | (!Q_stricmp(bullet->classname, "grenade") == 0) && | ^ ~~ matrix_spells.c:213:5: note: add parentheses after the '!' to evaluate the comparison first 213 | (!Q_stricmp(bullet->classname, "grenade") == 0) && | ^ | ( ) matrix_spells.c:213:5: note: add parentheses around left hand side expression to silence this warning 213 | (!Q_stricmp(bullet->classname, "grenade") == 0) && | ^ | ( ) matrix_spells.c:214:5: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 214 | (!Q_stricmp(bullet->classname, "hgrenade") == 0) && | ^ ~~ matrix_spells.c:214:5: note: add parentheses after the '!' to evaluate the comparison first 214 | (!Q_stricmp(bullet->classname, "hgrenade") == 0) && | ^ | ( ) matrix_spells.c:214:5: note: add parentheses around left hand side expression to silence this warning 214 | (!Q_stricmp(bullet->classname, "hgrenade") == 0) && | ^ | ( ) matrix_spells.c:215:5: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 215 | (!Q_stricmp(bullet->classname, "rocket") == 0) && | ^ ~~ matrix_spells.c:215:5: note: add parentheses after the '!' to evaluate the comparison first 215 | (!Q_stricmp(bullet->classname, "rocket") == 0) && | ^ | ( ) matrix_spells.c:215:5: note: add parentheses around left hand side expression to silence this warning 215 | (!Q_stricmp(bullet->classname, "rocket") == 0) && | ^ | ( ) matrix_spells.c:216:5: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 216 | (!Q_stricmp(bullet->classname, "bullet") == 0) && | ^ ~~ matrix_spells.c:216:5: note: add parentheses after the '!' to evaluate the comparison first 216 | (!Q_stricmp(bullet->classname, "bullet") == 0) && | ^ | ( ) matrix_spells.c:216:5: note: add parentheses around left hand side expression to silence this warning 216 | (!Q_stricmp(bullet->classname, "bullet") == 0) && | ^ | ( ) matrix_spells.c:217:5: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 217 | (!Q_stricmp(bullet->classname, "bfg blast") == 0)) | ^ ~~ matrix_spells.c:217:5: note: add parentheses after the '!' to evaluate the comparison first 217 | (!Q_stricmp(bullet->classname, "bfg blast") == 0)) | ^ | ( ) matrix_spells.c:217:5: note: add parentheses around left hand side expression to silence this warning 217 | (!Q_stricmp(bullet->classname, "bfg blast") == 0)) | ^ | ( ) 6 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_ai.c:770:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 770 | else | ^ 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_utils.c:113:22: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 113 | ent = G_Find (ent, FOFS(targetname), targetname); | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_utils.c:196:26: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 196 | while ((t = G_Find (t, FOFS(targetname), ent->killtarget))) | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_utils.c:213:26: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 213 | while ((t = G_Find (t, FOFS(targetname), ent->target))) | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] m_boss32.c:573:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 573 | else | ^ 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_monster.c:392:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 392 | else | ^ g_monster.c:584:36: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 584 | while ((target = G_Find (target, FOFS(targetname), self->target)) != NULL) | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_monster.c:608:36: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 608 | while ((target = G_Find (target, FOFS(targetname), self->combattarget)) != NULL) | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_spawn.c:270:2: warning: call to undeclared function 'MatrixReplaceItems'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | MatrixReplaceItems(ent); | ^ g_spawn.c:279:4: warning: call to undeclared function 'MatrixSetupItems'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | MatrixSetupItems(ent); | ^ g_spawn.c:356:12: warning: 6 enumeration values not handled in switch: 'F_GSTRING', 'F_EDICT', 'F_ITEM'... [-Wswitch] 356 | switch (f->type) | ^~~~~~~ 3 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_target.c:598:24: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 598 | ent = G_Find (NULL, FOFS(targetname), self->target); | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_target.c:671:19: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 671 | e = G_Find (e, FOFS(targetname), self->target); | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_cmds.c:484:3: warning: call to undeclared function 'MatrixOpenTankMenu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 484 | MatrixOpenTankMenu (ent); | ^ g_cmds.c:496:3: warning: call to undeclared function 'Cmd_JoinMenu_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 496 | Cmd_JoinMenu_f(ent); | ^ g_cmds.c:507:3: warning: call to undeclared function 'MatrixOpenMenu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 507 | MatrixOpenMenu(ent); | ^ g_cmds.c:1035:31: warning: passing arguments to 'Cmd_ToggleHud' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | Cmd_ToggleHud (ent); | ^ g_cmds.c:1042:3: warning: call to undeclared function 'Cmd_BuyStamina_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1042 | Cmd_BuyStamina_f (ent); | ^ g_cmds.c:1044:3: warning: call to undeclared function 'Cmd_BuyHealth_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1044 | Cmd_BuyHealth_f (ent); | ^ g_cmds.c:1046:3: warning: call to undeclared function 'Cmd_BuyDamage_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1046 | Cmd_BuyDamage_f (ent); | ^ g_cmds.c:1048:3: warning: call to undeclared function 'Cmd_BuySpeed_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1048 | Cmd_BuySpeed_f (ent); | ^ g_cmds.c:1052:3: warning: call to undeclared function 'MatrixStartSwap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1052 | MatrixStartSwap(ent); | ^ g_cmds.c:1056:3: warning: call to undeclared function 'Cmd_StopBullets_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1056 | Cmd_StopBullets_f(ent); | ^ g_cmds.c:1058:3: warning: call to undeclared function 'Cmd_Infrared_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1058 | Cmd_Infrared_f (ent); | ^ g_cmds.c:1060:3: warning: call to undeclared function 'Cmd_Cloak_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1060 | Cmd_Cloak_f (ent); | ^ g_cmds.c:1064:3: warning: call to undeclared function 'Cmd_AutoBuy_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1064 | Cmd_AutoBuy_f (ent); | ^ 13 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_weapon.c:218:6: warning: call to undeclared function 'Matrix_SpawnDeadBullet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | Matrix_SpawnDeadBullet (self, dir, tr.ent); | ^ 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_save.c:9:16: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 9 | {"classname", FOFS(classname), F_LSTRING}, | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:10:12: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 10 | {"model", FOFS(model), F_LSTRING}, | ^~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:11:17: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] 11 | {"spawnflags", FOFS(spawnflags), F_INT}, | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:12:12: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 12 | {"speed", FOFS(speed), F_FLOAT}, | ^~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:13:12: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 13 | {"accel", FOFS(accel), F_FLOAT}, | ^~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:14:12: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 14 | {"decel", FOFS(decel), F_FLOAT}, | ^~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:15:13: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 15 | {"target", FOFS(target), F_LSTRING}, | ^~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:16:17: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 16 | {"targetname", FOFS(targetname), F_LSTRING}, | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:17:17: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 17 | {"pathtarget", FOFS(pathtarget), F_LSTRING}, | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:18:18: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 18 | {"deathtarget", FOFS(deathtarget), F_LSTRING}, | ^~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:19:17: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 19 | {"killtarget", FOFS(killtarget), F_LSTRING}, | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:20:19: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 20 | {"combattarget", FOFS(combattarget), F_LSTRING}, | ^~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:21:14: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 21 | {"message", FOFS(message), F_LSTRING}, | ^~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:22:11: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 22 | {"team", FOFS(team), F_LSTRING}, | ^~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:23:11: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 23 | {"wait", FOFS(wait), F_FLOAT}, | ^~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:24:12: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 24 | {"delay", FOFS(delay), F_FLOAT}, | ^~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:25:13: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 25 | {"random", FOFS(random), F_FLOAT}, | ^~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:26:18: warning: cast to smaller integer type 'int' from 'vec3_t *' (aka 'float (*)[3]') [-Wpointer-to-int-cast] 26 | {"move_origin", FOFS(move_origin), F_VECTOR}, | ^~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:27:18: warning: cast to smaller integer type 'int' from 'vec3_t *' (aka 'float (*)[3]') [-Wpointer-to-int-cast] 27 | {"move_angles", FOFS(move_angles), F_VECTOR}, | ^~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:28:12: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] 28 | {"style", FOFS(style), F_INT}, | ^~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:29:12: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] 29 | {"count", FOFS(count), F_INT}, | ^~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:30:13: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] 30 | {"health", FOFS(health), F_INT}, | ^~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:31:13: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] 31 | {"sounds", FOFS(sounds), F_INT}, | ^~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:33:10: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] 33 | {"dmg", FOFS(dmg), F_INT}, | ^~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:34:11: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] 34 | {"mass", FOFS(mass), F_INT}, | ^~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:35:13: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 35 | {"volume", FOFS(volume), F_FLOAT}, | ^~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:36:18: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 36 | {"attenuation", FOFS(attenuation), F_FLOAT}, | ^~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:37:10: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 37 | {"map", FOFS(map), F_LSTRING}, | ^~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:38:13: warning: cast to smaller integer type 'int' from 'vec3_t *' (aka 'float (*)[3]') [-Wpointer-to-int-cast] 38 | {"origin", FOFS(s.origin), F_VECTOR}, | ^~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:39:13: warning: cast to smaller integer type 'int' from 'vec3_t *' (aka 'float (*)[3]') [-Wpointer-to-int-cast] 39 | {"angles", FOFS(s.angles), F_VECTOR}, | ^~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:40:12: warning: cast to smaller integer type 'int' from 'vec3_t *' (aka 'float (*)[3]') [-Wpointer-to-int-cast] 40 | {"angle", FOFS(s.angles), F_ANGLEHACK}, | ^~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:42:17: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 42 | {"goalentity", FOFS(goalentity), F_EDICT, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:43:17: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 43 | {"movetarget", FOFS(movetarget), F_EDICT, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:44:12: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 44 | {"enemy", FOFS(enemy), F_EDICT, FFL_NOSPAWN}, | ^~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:45:15: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 45 | {"oldenemy", FOFS(oldenemy), F_EDICT, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:46:16: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 46 | {"activator", FOFS(activator), F_EDICT, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:47:19: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 47 | {"groundentity", FOFS(groundentity), F_EDICT, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:48:16: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 48 | {"teamchain", FOFS(teamchain), F_EDICT, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:49:17: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 49 | {"teammaster", FOFS(teammaster), F_EDICT, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:50:12: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 50 | {"owner", FOFS(owner), F_EDICT, FFL_NOSPAWN}, | ^~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:51:14: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 51 | {"mynoise", FOFS(mynoise), F_EDICT, FFL_NOSPAWN}, | ^~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:52:15: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 52 | {"mynoise2", FOFS(mynoise2), F_EDICT, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:53:17: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 53 | {"target_ent", FOFS(target_ent), F_EDICT, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:54:12: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 54 | {"chain", FOFS(chain), F_EDICT, FFL_NOSPAWN}, | ^~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:56:15: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] 56 | {"prethink", FOFS(prethink), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:57:12: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] 57 | {"think", FOFS(think), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:58:14: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *, edict_t *)' (aka 'void (**)(struct edict_s *, struct edict_s *)') [-Wpointer-to-int-cast] 58 | {"blocked", FOFS(blocked), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:59:12: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *, edict_t *, cplane_t *, csurface_t *)' (aka 'void (**)(struct edict_s *, struct edict_s *, struct cplane_s *, struct csurface_s *)') [-Wpointer-to-int-cast] 59 | {"touch", FOFS(touch), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:60:10: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *, edict_t *, edict_t *)' (aka 'void (**)(struct edict_s *, struct edict_s *, struct edict_s *)') [-Wpointer-to-int-cast] 60 | {"use", FOFS(use), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:61:11: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *, edict_t *, float, int)' (aka 'void (**)(struct edict_s *, struct edict_s *, float, int)') [-Wpointer-to-int-cast] 61 | {"pain", FOFS(pain), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:62:10: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *, edict_t *, edict_t *, int, vec_t *)' (aka 'void (**)(struct edict_s *, struct edict_s *, struct edict_s *, int, float *)') [-Wpointer-to-int-cast] 62 | {"die", FOFS(die), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:64:12: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] 64 | {"stand", FOFS(monsterinfo.stand), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:65:11: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] 65 | {"idle", FOFS(monsterinfo.idle), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:66:13: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] 66 | {"search", FOFS(monsterinfo.search), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:67:11: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] 67 | {"walk", FOFS(monsterinfo.walk), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:68:10: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] 68 | {"run", FOFS(monsterinfo.run), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:69:12: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *, edict_t *, float)' (aka 'void (**)(struct edict_s *, struct edict_s *, float)') [-Wpointer-to-int-cast] 69 | {"dodge", FOFS(monsterinfo.dodge), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:70:13: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] 70 | {"attack", FOFS(monsterinfo.attack), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:71:12: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] 71 | {"melee", FOFS(monsterinfo.melee), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:72:12: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *, edict_t *)' (aka 'void (**)(struct edict_s *, struct edict_s *)') [-Wpointer-to-int-cast] 72 | {"sight", FOFS(monsterinfo.sight), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:73:18: warning: cast to smaller integer type 'int' from 'qboolean (**)(edict_t *)' (aka 'qboolean (**)(struct edict_s *)') [-Wpointer-to-int-cast] 73 | {"checkattack", FOFS(monsterinfo.checkattack), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:74:18: warning: cast to smaller integer type 'int' from 'mmove_t **' [-Wpointer-to-int-cast] 74 | {"currentmove", FOFS(monsterinfo.currentmove), F_MMOVE, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:76:14: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] 76 | {"endfunc", FOFS(moveinfo.endfunc), F_FUNCTION, FFL_NOSPAWN}, | ^~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:79:10: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] 79 | {"lip", STOFS(lip), F_INT, FFL_SPAWNTEMP}, | ^~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:80:15: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] 80 | {"distance", STOFS(distance), F_INT, FFL_SPAWNTEMP}, | ^~~~~~~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:81:13: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] 81 | {"height", STOFS(height), F_INT, FFL_SPAWNTEMP}, | ^~~~~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:82:12: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 82 | {"noise", STOFS(noise), F_LSTRING, FFL_SPAWNTEMP}, | ^~~~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:83:16: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 83 | {"pausetime", STOFS(pausetime), F_FLOAT, FFL_SPAWNTEMP}, | ^~~~~~~~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:84:11: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 84 | {"item", STOFS(item), F_LSTRING, FFL_SPAWNTEMP}, | ^~~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:87:11: warning: cast to smaller integer type 'int' from 'gitem_t **' (aka 'struct gitem_s **') [-Wpointer-to-int-cast] 87 | {"item", FOFS(item), F_ITEM}, | ^~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:89:14: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 89 | {"gravity", STOFS(gravity), F_LSTRING, FFL_SPAWNTEMP}, | ^~~~~~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:90:10: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 90 | {"sky", STOFS(sky), F_LSTRING, FFL_SPAWNTEMP}, | ^~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:91:16: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 91 | {"skyrotate", STOFS(skyrotate), F_FLOAT, FFL_SPAWNTEMP}, | ^~~~~~~~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:92:14: warning: cast to smaller integer type 'int' from 'vec3_t *' (aka 'float (*)[3]') [-Wpointer-to-int-cast] 92 | {"skyaxis", STOFS(skyaxis), F_VECTOR, FFL_SPAWNTEMP}, | ^~~~~~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:93:13: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 93 | {"minyaw", STOFS(minyaw), F_FLOAT, FFL_SPAWNTEMP}, | ^~~~~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:94:13: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 94 | {"maxyaw", STOFS(maxyaw), F_FLOAT, FFL_SPAWNTEMP}, | ^~~~~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:95:15: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 95 | {"minpitch", STOFS(minpitch), F_FLOAT, FFL_SPAWNTEMP}, | ^~~~~~~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:96:15: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] 96 | {"maxpitch", STOFS(maxpitch), F_FLOAT, FFL_SPAWNTEMP}, | ^~~~~~~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:97:14: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 97 | {"nextmap", STOFS(nextmap), F_LSTRING, FFL_SPAWNTEMP}, | ^~~~~~~~~~~~~~ ./g_local.h:515:18: note: expanded from macro 'STOFS' 515 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:105:16: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 105 | {"changemap", LLOFS(changemap), F_LSTRING}, | ^~~~~~~~~~~~~~~~ ./g_local.h:516:18: note: expanded from macro 'LLOFS' 516 | #define LLOFS(x) (int)&(((level_locals_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:107:19: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 107 | {"sight_client", LLOFS(sight_client), F_EDICT}, | ^~~~~~~~~~~~~~~~~~~ ./g_local.h:516:18: note: expanded from macro 'LLOFS' 516 | #define LLOFS(x) (int)&(((level_locals_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:108:19: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 108 | {"sight_entity", LLOFS(sight_entity), F_EDICT}, | ^~~~~~~~~~~~~~~~~~~ ./g_local.h:516:18: note: expanded from macro 'LLOFS' 516 | #define LLOFS(x) (int)&(((level_locals_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:109:19: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 109 | {"sound_entity", LLOFS(sound_entity), F_EDICT}, | ^~~~~~~~~~~~~~~~~~~ ./g_local.h:516:18: note: expanded from macro 'LLOFS' 516 | #define LLOFS(x) (int)&(((level_locals_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:110:20: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] 110 | {"sound2_entity", LLOFS(sound2_entity), F_EDICT}, | ^~~~~~~~~~~~~~~~~~~~ ./g_local.h:516:18: note: expanded from macro 'LLOFS' 516 | #define LLOFS(x) (int)&(((level_locals_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:117:18: warning: cast to smaller integer type 'int' from 'gitem_t **' (aka 'struct gitem_s **') [-Wpointer-to-int-cast] 117 | {"pers.weapon", CLOFS(pers.weapon), F_ITEM}, | ^~~~~~~~~~~~~~~~~~ ./g_local.h:517:18: note: expanded from macro 'CLOFS' 517 | #define CLOFS(x) (int)&(((gclient_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:118:22: warning: cast to smaller integer type 'int' from 'gitem_t **' (aka 'struct gitem_s **') [-Wpointer-to-int-cast] 118 | {"pers.lastweapon", CLOFS(pers.lastweapon), F_ITEM}, | ^~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:517:18: note: expanded from macro 'CLOFS' 517 | #define CLOFS(x) (int)&(((gclient_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:119:16: warning: cast to smaller integer type 'int' from 'gitem_t **' (aka 'struct gitem_s **') [-Wpointer-to-int-cast] 119 | {"newweapon", CLOFS(newweapon), F_ITEM}, | ^~~~~~~~~~~~~~~~ ./g_local.h:517:18: note: expanded from macro 'CLOFS' 517 | #define CLOFS(x) (int)&(((gclient_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:209:2: warning: call to undeclared function 'MatrixInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | MatrixInit(); | ^ g_save.c:296:10: warning: 11 enumeration values not handled in switch: 'F_INT', 'F_FLOAT', 'F_GSTRING'... [-Wswitch] 296 | switch (field->type) | ^~~~~~~~~~~ 89 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] m_move.c:425:28: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 425 | if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) | ^ m_move.c:425:28: note: use function 'fabsf' instead 425 | if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) | ^~~ | fabsf m_move.c:425:40: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 425 | if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) | ^ m_move.c:425:40: note: use function 'fabsf' instead 425 | if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) | ^~~ | fabsf 2 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_phys.c:693:3: warning: call to undeclared function 'Matrix_Rocket_Think'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 693 | Matrix_Rocket_Think(ent); | ^ 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] p_hud.c:120:22: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 120 | ent = G_Find (NULL, FOFS(classname), "info_player_intermission"); | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ p_hud.c:123:23: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 123 | ent = G_Find (NULL, FOFS(classname), "info_player_start"); | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ p_hud.c:125:24: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 125 | ent = G_Find (NULL, FOFS(classname), "info_player_deathmatch"); | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ p_hud.c:132:23: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 132 | ent = G_Find (ent, FOFS(classname), "info_player_intermission"); | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ p_hud.c:134:24: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 134 | ent = G_Find (ent, FOFS(classname), "info_player_intermission"); | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ p_hud.c:261:3: warning: call to undeclared function 'TeamplayScoreboardMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 261 | TeamplayScoreboardMessage (ent, ent->enemy); | ^ p_hud.c:562:2: warning: call to undeclared function 'MatrixSetStats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 562 | MatrixSetStats(ent); | ^ 7 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_misc.c:1371:24: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 1371 | viper = G_Find (NULL, FOFS(classname), "misc_viper"); | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_misc.c:1679:31: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 1679 | self->enemy = G_Find (NULL, FOFS(targetname), self->target); | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ g_misc.c:1790:23: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 1790 | dest = G_Find (NULL, FOFS(targetname), self->target); | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] p_view.c:479:2: warning: call to undeclared function 'MatrixBlend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 479 | MatrixBlend(ent); | ^ p_view.c:778:2: warning: call to undeclared function 'Leper_Effects'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 778 | Leper_Effects(ent); | ^ p_view.c:1133:4: warning: call to undeclared function 'TeamplayScoreboardMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1133 | TeamplayScoreboardMessage (ent, ent->enemy); | ^ p_view.c:1141:2: warning: call to undeclared function 'MatrixClientFrame'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1141 | MatrixClientFrame(ent); | ^ 4 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_func.c:840:25: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 840 | while ((t = G_Find (t, FOFS(targetname), self->target))) | ^~~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] g_items.c:574:3: warning: call to undeclared function 'Leper_NoLegs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 574 | Leper_NoLegs (other); | ^ g_items.c:580:3: warning: call to undeclared function 'Leper_NoLegs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 580 | Leper_NoLegs (other); | ^ g_items.c:588:4: warning: call to undeclared function 'NoAmmoWeaponChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 588 | NoAmmoWeaponChange (other); | ^ g_items.c:599:4: warning: call to undeclared function 'NoAmmoWeaponChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 599 | NoAmmoWeaponChange (other); | ^ 4 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] p_weapon.c:409:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 409 | if ((ent->client->ps.gunindex == gi.modelindex(ent->client->pers.weapon->akimbo_model))) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_weapon.c:409:32: note: remove extraneous parentheses around the comparison to silence this warning 409 | if ((ent->client->ps.gunindex == gi.modelindex(ent->client->pers.weapon->akimbo_model))) | ~ ^ ~ p_weapon.c:409:32: note: use '=' to turn this equality comparison into an assignment 409 | if ((ent->client->ps.gunindex == gi.modelindex(ent->client->pers.weapon->akimbo_model))) | ^~ | = p_weapon.c:714:5: warning: call to undeclared function 'weapon_grenade_fire'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 714 | weapon_grenade_fire (ent, true); | ^ p_weapon.c:738:4: warning: call to undeclared function 'weapon_grenade_fire'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 738 | weapon_grenade_fire (ent, false); | ^ 3 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] matrix_pweap.c:189:5: warning: call to undeclared function 'NoAmmoWeaponChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | NoAmmoWeaponChange (ent); | ^ matrix_pweap.c:508:6: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 508 | if (!(self->owner->client->buttons) & BUTTON_ATTACK) | ^ ~ matrix_pweap.c:508:6: note: add parentheses after the '!' to evaluate the bitwise operator first 508 | if (!(self->owner->client->buttons) & BUTTON_ATTACK) | ^ | ( ) matrix_pweap.c:508:6: note: add parentheses around left hand side expression to silence this warning 508 | if (!(self->owner->client->buttons) & BUTTON_ATTACK) | ^ | ( ) matrix_pweap.c:818:113: warning: address of array 'ent->velocity' will always evaluate to 'true' [-Wpointer-bool-conversion] 818 | if ( !((ent->client->latched_buttons|ent->client->buttons) & BUTTON_ATTACK) || ent->secondaryfire && (ent->velocity)) | ~~ ~~~~~^~~~~~~~ matrix_pweap.c:935:4: warning: call to undeclared function 'Matrix_SniperZoom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 935 | Matrix_SniperZoom (ent); | ^ matrix_pweap.c:1017:2: warning: call to undeclared function 'Weapon_Generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1017 | Weapon_Generic (ent, 8, 21, 41, 50, pause_frames, fire_frames, Matrix_Sniper_Fire, ammo_sniper->value); | ^ matrix_pweap.c:1031:2: warning: call to undeclared function 'Weapon_Generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1031 | Weapon_Generic (ent, 3, 5, 45, 49, pause_frames, fire_frames, Matrix_ak_92f_Fire); | ^ matrix_pweap.c:1140:3: warning: call to undeclared function 'Weapon_Generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1140 | Weapon_Generic (ent, 9, 12, 41, 43, pause_frames, fire_frames, Matrix_ak_mk23_Fire, ammo_mk23->value); | ^ matrix_pweap.c:1202:2: warning: call to undeclared function 'KickBack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1202 | KickBack(ent, forward, kickback); | ^ matrix_pweap.c:1217:2: warning: call to undeclared function 'KickBack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1217 | KickBack(ent, forward, kickback); | ^ matrix_pweap.c:1265:3: warning: call to undeclared function 'Weapon_Generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1265 | Weapon_Generic (ent, 10, 12, 39, 44, pause_frames, fire_frames, Matrix_m4_Fire, ammo_m4->value); | ^ matrix_pweap.c:1371:3: warning: call to undeclared function 'Weapon_Generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1371 | Weapon_Generic (ent, 10, 12, 47, 51, pause_frames, fire_frames, Matrix_mp5_Fire, ammo_mp5->value); | ^ matrix_pweap.c:1463:3: warning: call to undeclared function 'NoAmmoWeaponChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1463 | NoAmmoWeaponChange (ent); | ^ matrix_pweap.c:1527:2: warning: call to undeclared function 'Weapon_Generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1527 | Weapon_Generic (ent, 4, 31, 61, 64, pause_frames, fire_frames, Matrix_SMC_Fire, ammo_smc->value); | ^ matrix_pweap.c:1575:25: warning: call to undeclared function 'knife_throw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1575 | knife_throw (ent, start, forward, damage, 1200); | ^ matrix_pweap.c:1614:3: warning: call to undeclared function 'Weapon_Generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1614 | Weapon_Generic (ent, 5, 12, 52, 59, pause_frames, fire_frames, Matrix_Knives_Fire, ammo_knife->value); | ^ matrix_pweap.c:1721:3: warning: call to undeclared function 'Weapon_Generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1721 | Weapon_Generic (ent, 7, 15, 35, 41, pause_frames, fire_frames, Matrix_Pumps_Fire, ammo_pumps->value); | ^ matrix_pweap.c:1782:1: warning: call to undeclared function 'swoosh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1782 | swoosh (ent);//swoosh noise | ^ matrix_pweap.c:1791:3: warning: call to undeclared function 'Weapon_Generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1791 | Weapon_Generic (ent, 5, 20, 52, 58, pause_frames, fire_frames, Matrix_Fists_Fire, 0); | ^ matrix_pweap.c:1898:3: warning: call to undeclared function 'Weapon_Generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1898 | Weapon_Generic (ent, 9, 13, 41, 43, pause_frames, fire_frames, Matrix_Deserts_Fire, ammo_deserts->value); | ^ matrix_pweap.c:1948:3: warning: call to undeclared function 'matrix_fire_rocket'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1948 | matrix_fire_rocket (ent, start, forward, damage, 400, damage_radius, radius_damage); | ^ matrix_pweap.c:1951:3: warning: call to undeclared function 'matrix_fire_rocket'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1951 | matrix_fire_rocket (ent, start, forward, damage, 400, damage_radius, radius_damage); | ^ matrix_pweap.c:1978:2: warning: call to undeclared function 'KickBack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1978 | KickBack(ent, forward, 10); | ^ matrix_pweap.c:2004:3: warning: call to undeclared function 'NoAmmoWeaponChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2004 | NoAmmoWeaponChange (ent); | ^ matrix_pweap.c:2034:3: warning: call to undeclared function 'Weapon_Generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2034 | Weapon_Generic (ent, 4, 12, 50, 54, pause_frames, fire_frames, Matrix_SSMRack_Fire, ammo_rack->value); | ^ matrix_pweap.c:2053:3: warning: call to undeclared function 'NoAmmoWeaponChange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2053 | NoAmmoWeaponChange (ent); | ^ matrix_pweap.c:2116:2: warning: call to undeclared function 'Weapon_Generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2116 | Weapon_Generic (ent, 7, 15, 39, 41, pause_frames, fire_frames, weapon_grenade_fire, ammo_grenade->value); | ^ matrix_pweap.c:2157:2: warning: call to undeclared function 'fire_kuml'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2157 | fire_kuml (ent, start, forward, damage, kick, DEFAULT_SHOTGUN_HSPREAD, DEFAULT_SHOTGUN_VSPREAD, DEFAULT_SSHOTGUN_COUNT/2, MOD_SSHOTGUN); | ^ matrix_pweap.c:2191:2: warning: call to undeclared function 'Weapon_Generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2191 | Weapon_Generic (ent, 6, 17, 57, 61, pause_frames, fire_frames, weapon_kuml_fire, 0); | ^ 28 warnings generated. cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] p_client.c:29:23: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 29 | spot = G_Find(spot, FOFS(classname), "info_player_start"); | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:1446:31: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 1446 | while ((spot = G_Find (spot, FOFS(classname), "info_player_deathmatch")) != NULL) | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:1477:24: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 1477 | spot = G_Find (spot, FOFS(classname), "info_player_deathmatch"); | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:1501:31: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 1501 | while ((spot = G_Find (spot, FOFS(classname), "info_player_deathmatch")) != NULL) | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:1519:23: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 1519 | spot = G_Find (NULL, FOFS(classname), "info_player_deathmatch"); | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:1550:24: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 1550 | spot = G_Find (spot, FOFS(classname), "info_player_coop"); | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:1589:32: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 1589 | while ((spot = G_Find (spot, FOFS(classname), "info_player_start")) != NULL) | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:1605:26: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] 1605 | spot = G_Find (spot, FOFS(classname), "info_player_start"); | ^~~~~~~~~~~~~~~ ./g_local.h:514:17: note: expanded from macro 'FOFS' 514 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:2024:2: warning: call to undeclared function 'MatrixClientInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2024 | MatrixClientInit(ent); | ^ p_client.c:2063:2: warning: call to undeclared function 'MatrixBeginDM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2063 | MatrixBeginDM (ent); | ^ p_client.c:2091:1: warning: call to undeclared function 'stuffcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2091 | stuffcmd(ent, "alias +button0 onbutton0\nalias -button0 offbutton0\nalias +button1 onbutton1\nalias -button1 offbutton1\nalias +boot booton\nalias -boot bootoff\nalias +attack2 booton\nalias -attack2 bootoff"); | ^ p_client.c:2181:3: warning: call to undeclared function 'AssignSkin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2181 | AssignSkin(ent, s); | ^ p_client.c:2319:2: warning: call to undeclared function 'MatrixDoAtDeath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2319 | MatrixDoAtDeath(ent); | ^ p_client.c:2394:1: warning: call to undeclared function 'Leper_Think'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2394 | Leper_Think(ent); | ^ p_client.c:2578:5: warning: call to undeclared function 'kick_attack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2578 | kick_attack (ent, ent->s.origin, dir , 1, 100, MOD_HYPERBLASTER); | ^ 15 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dstricmp=strcasecmp -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -shared -o release/matrix/game.so release/g_ai.o release/g_chase.o release/g_cmds.o release/g_combat.o release/g_func.o release/g_items.o release/g_main.o release/g_misc.o release/g_monster.o release/g_phys.o release/g_save.o release/g_spawn.o release/g_svcmds.o release/g_target.o release/g_trigger.o release/g_turret.o release/g_utils.o release/g_weapon.o release/leper_think.o release/matrix_autobuy.o release/matrix_cam.o release/matrix_cmds.o release/matrix_findtarget.o release/matrix_gweap.o release/matrix_items.o release/matrix_kungfu.o release/matrix_locadam.o release/matrix_main.o release/matrix_match.o release/matrix_menu.o release/matrix_misc.o release/matrix_movement.o release/matrix_pweap.o release/matrix_scanner.o release/matrix_spells.o release/matrix_stamina.o release/matrix_tank.o release/matrix_team.o release/m_actor.o release/m_berserk.o release/m_boss2.o release/m_boss3.o release/m_boss31.o release/m_boss32.o release/m_brain.o release/m_chick.o release/m_flash.o release/m_flipper.o release/m_float.o release/m_flyer.o release/m_gladiator.o release/m_gunner.o release/m_hover.o release/m_infantry.o release/m_insane.o release/m_medic.o release/m_move.o release/m_mutant.o release/m_parasite.o release/m_soldier.o release/m_supertank.o release/m_tank.o release/p_chase.o release/p_client.o release/p_hud.o release/p_menu.o release/p_trail.o release/p_view.o release/p_weapon.o release/q_shared.o -lm gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/quake2-matrix/work/matrix/MatrixFixSource' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> quake2-matrix-1 depends on package: quake2-data>0 - not found ===> Installing existing package /packages/All/quake2-data-3.20_3.pkg [pkg.DaveG.ca] Installing quake2-data-3.20_3... [pkg.DaveG.ca] Extracting quake2-data-3.20_3: .......... done ===== Message from quake2-data-3.20_3: -- To complete the installation of this port you need to copy the file "baseq2/pak0.pak" from the original Quake II distribution to /usr/local/share/quake2/baseq2. ===> quake2-matrix-1 depends on package: quake2-data>0 - found ===> Returning to build of quake2-matrix-1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for quake2-matrix-1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/quake2-matrix/work/matrix/MatrixFixSource/release/matrix/game.so /wrkdirs/usr/ports/games/quake2-matrix/work/stage/usr/local/share/quake2/matrix cd /wrkdirs/usr/ports/games/quake2-matrix/work/matrix && install -m 0644 *.cfg *.ini *.pak /wrkdirs/usr/ports/games/quake2-matrix/work/stage/usr/local/share/quake2/matrix install -m 0644 /wrkdirs/usr/ports/games/quake2-matrix/work/matrix/docs/* /wrkdirs/usr/ports/games/quake2-matrix/work/stage/usr/local/share/doc/quake2-matrix ====> 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=2025-12-12T05:20:41+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=d56127bdfc7d' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for quake2-matrix-1 ===> Building quake2-matrix-1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for quake2-matrix-1 build of games/quake2-matrix | quake2-matrix-1 ended at Fri Dec 12 00:20:55 EST 2025 build time: 00:00:15