=>> Building games/quake2-lights build started at Tue Apr 2 13:48:05 BST 2024 port directory: /usr/ports/games/quake2-lights package name: quake2-lights-1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: danfe@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1289 Mar 8 2023 /usr/ports/games/quake2-lights/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 11 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/11/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for quake2-lights-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=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/quake2-lights/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2-lights/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/quake2-lights/work/.cache HOME=/wrkdirs/usr/ports/games/quake2-lights/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/quake2-lights/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/quake2-lights/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- Q2DIR="/usr/local/share/quake2" XDG_DATA_HOME=/wrkdirs/usr/ports/games/quake2-lights/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2-lights/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/quake2-lights/work/.cache HOME=/wrkdirs/usr/ports/games/quake2-lights/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/quake2-lights/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/quake2-lights/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- Q2DIR="share/quake2" PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/quake2-lights" EXAMPLESDIR="share/examples/lights" DATADIR="share/lights" WWWDIR="www/lights" ETCDIR="etc/lights" --End PLIST_SUB-- --SUB_LIST-- Q2DIR="/usr/local/share/quake2" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/lights DOCSDIR=/usr/local/share/doc/quake2-lights EXAMPLESDIR=/usr/local/share/examples/lights WWWDIR=/usr/local/www/lights ETCDIR=/usr/local/etc/lights --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> quake2-lights-1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> quake2-lights-1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of quake2-lights-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-lights-1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by quake2-lights-1 for building => SHA256 Checksum OK for Lights.v1.Linux.tar.bz2. => SHA256 Checksum OK for Lights-Bots.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-lights-1 for building ===> Extracting for quake2-lights-1 => SHA256 Checksum OK for Lights.v1.Linux.tar.bz2. => SHA256 Checksum OK for Lights-Bots.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-lights-1 ===> Applying FreeBSD patches for quake2-lights-1 from /usr/ports/games/quake2-lights/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> quake2-lights-1 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> quake2-lights-1 depends on package: gmake>=4.4.1 - found ===> Returning to build of quake2-lights-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-lights-1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for quake2-lights-1 gmake targets BUILDDIR=release CFLAGS+="-fcommon -fomit-frame-pointer" gmake[1]: Entering directory '/wrkdirs/usr/ports/games/quake2-lights/work/quake2-lights-1/lights/src' cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/acebot_ai.o -c ace/acebot_ai.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/acebot_cmds.o -c ace/acebot_cmds.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/acebot_compress.o -c ace/acebot_compress.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/acebot_items.o -c ace/acebot_items.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/acebot_movement.o -c ace/acebot_movement.c ace/acebot_movement.c:613:7: warning: address of function 'M_CheckBottom' will always evaluate to 'true' [-Wpointer-bool-conversion] if(!M_CheckBottom || !self->groundentity) // if there is ground continue otherwise wait for next move ~^~~~~~~~~~~~~ ace/acebot_movement.c:613:7: note: prefix with the address-of operator to silence this warning if(!M_CheckBottom || !self->groundentity) // if there is ground continue otherwise wait for next move ^ & 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/acebot_nodes.o -c ace/acebot_nodes.c ace/acebot_nodes.c:660:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ace/acebot_nodes.c:710:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/acebot_spawn.o -c ace/acebot_spawn.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/decoy.o -c decoy.c decoy.c:322:33: warning: expression result unused [-Wunused-value] self->monsterinfo.aiflags & AI_GOOD_GUY; ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/defense_laser.o -c defense_laser.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/flashlight_shock_laser.o -c flashlight_shock_laser.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/grapple.o -c grapple.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_ai.o -c g_ai.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_chase.o -c g_chase.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_cmds.o -c g_cmds.c g_cmds.c:1506:8: warning: implicit declaration of function 'Cmd_Chasecam_Toggle' is invalid in C99 [-Wimplicit-function-declaration] Cmd_Chasecam_Toggle (ent); ^ g_cmds.c:1508:8: warning: implicit declaration of function 'Cmd_Chasecam_Zoom' is invalid in C99 [-Wimplicit-function-declaration] Cmd_Chasecam_Zoom(ent, "out"); ^ g_cmds.c:1512:8: warning: implicit declaration of function 'Cmd_Chasecam_Viewlock' is invalid in C99 [-Wimplicit-function-declaration] Cmd_Chasecam_Viewlock(ent); ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_combat.o -c g_combat.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_func.o -c g_func.c g_func.c:859:25: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] while ((t = G_Find (t, FOFS(targetname), self->target))) ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_items.o -c g_items.c g_items.c:32:10: warning: implicit declaration of function 'Jet_Active' is invalid in C99 [-Wimplicit-function-declaration] if ( Jet_Active(ent) ) ^ g_items.c:207:12: warning: implicit declaration of function 'Jet_Active' is invalid in C99 [-Wimplicit-function-declaration] if ( Jet_Active(other) ) ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_main.o -c g_main.c g_main.c:268:23: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] ent = G_Find (NULL, FOFS(classname), "target_changelevel"); ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_misc.o -c g_misc.c g_misc.c:1371:24: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] viper = G_Find (NULL, FOFS(classname), "misc_viper"); ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #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] self->enemy = G_Find (NULL, FOFS(targetname), self->target); ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #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] dest = G_Find (NULL, FOFS(targetname), self->target); ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_monster.o -c g_monster.c g_monster.c:601:36: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] while ((target = G_Find (target, FOFS(targetname), self->target)) != NULL) ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_monster.c:625:36: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] while ((target = G_Find (target, FOFS(targetname), self->combattarget)) != NULL) ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_phys.o -c g_phys.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_save.o -c g_save.c g_save.c:28:16: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"classname", FOFS(classname), F_LSTRING}, ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:29:12: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"model", FOFS(model), F_LSTRING}, ^~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:30:17: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] {"spawnflags", FOFS(spawnflags), F_INT}, ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:31:12: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"speed", FOFS(speed), F_FLOAT}, ^~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:32:12: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"accel", FOFS(accel), F_FLOAT}, ^~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:33:12: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"decel", FOFS(decel), F_FLOAT}, ^~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:34:13: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"target", FOFS(target), F_LSTRING}, ^~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:35:17: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"targetname", FOFS(targetname), F_LSTRING}, ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:36:17: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"pathtarget", FOFS(pathtarget), F_LSTRING}, ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:37:18: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"deathtarget", FOFS(deathtarget), F_LSTRING}, ^~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:38:17: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"killtarget", FOFS(killtarget), F_LSTRING}, ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:39:19: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"combattarget", FOFS(combattarget), F_LSTRING}, ^~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:40:14: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"message", FOFS(message), F_LSTRING}, ^~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:41:11: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"team", FOFS(team), F_LSTRING}, ^~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:42:11: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"wait", FOFS(wait), F_FLOAT}, ^~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:43:12: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"delay", FOFS(delay), F_FLOAT}, ^~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:44:13: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"random", FOFS(random), F_FLOAT}, ^~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:45:18: warning: cast to smaller integer type 'int' from 'vec3_t *' (aka 'float (*)[3]') [-Wpointer-to-int-cast] {"move_origin", FOFS(move_origin), F_VECTOR}, ^~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:46:18: warning: cast to smaller integer type 'int' from 'vec3_t *' (aka 'float (*)[3]') [-Wpointer-to-int-cast] {"move_angles", FOFS(move_angles), F_VECTOR}, ^~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:47:12: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] {"style", FOFS(style), F_INT}, ^~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:48:12: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] {"count", FOFS(count), F_INT}, ^~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:49:13: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] {"health", FOFS(health), F_INT}, ^~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:50:13: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] {"sounds", FOFS(sounds), F_INT}, ^~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:52:10: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] {"dmg", FOFS(dmg), F_INT}, ^~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:53:11: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] {"mass", FOFS(mass), F_INT}, ^~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:54:13: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"volume", FOFS(volume), F_FLOAT}, ^~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:55:18: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"attenuation", FOFS(attenuation), F_FLOAT}, ^~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:56:10: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"map", FOFS(map), F_LSTRING}, ^~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:57:13: warning: cast to smaller integer type 'int' from 'vec3_t *' (aka 'float (*)[3]') [-Wpointer-to-int-cast] {"origin", FOFS(s.origin), F_VECTOR}, ^~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:58:13: warning: cast to smaller integer type 'int' from 'vec3_t *' (aka 'float (*)[3]') [-Wpointer-to-int-cast] {"angles", FOFS(s.angles), F_VECTOR}, ^~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:59:12: warning: cast to smaller integer type 'int' from 'vec3_t *' (aka 'float (*)[3]') [-Wpointer-to-int-cast] {"angle", FOFS(s.angles), F_ANGLEHACK}, ^~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:61:17: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"goalentity", FOFS(goalentity), F_EDICT, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:62:17: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"movetarget", FOFS(movetarget), F_EDICT, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:63:12: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"enemy", FOFS(enemy), F_EDICT, FFL_NOSPAWN}, ^~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:64:15: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"oldenemy", FOFS(oldenemy), F_EDICT, FFL_NOSPAWN}, ^~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:65:16: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"activator", FOFS(activator), F_EDICT, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:66:19: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"groundentity", FOFS(groundentity), F_EDICT, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:67:16: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"teamchain", FOFS(teamchain), F_EDICT, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:68:17: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"teammaster", FOFS(teammaster), F_EDICT, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:69:12: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"owner", FOFS(owner), F_EDICT, FFL_NOSPAWN}, ^~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:70:14: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"mynoise", FOFS(mynoise), F_EDICT, FFL_NOSPAWN}, ^~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:71:15: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"mynoise2", FOFS(mynoise2), F_EDICT, FFL_NOSPAWN}, ^~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:72:17: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"target_ent", FOFS(target_ent), F_EDICT, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:73:12: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"chain", FOFS(chain), F_EDICT, FFL_NOSPAWN}, ^~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:75:15: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] {"prethink", FOFS(prethink), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:76:12: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] {"think", FOFS(think), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:77: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] {"blocked", FOFS(blocked), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:78: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] {"touch", FOFS(touch), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:79: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] {"use", FOFS(use), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:80: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] {"pain", FOFS(pain), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:81: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] {"die", FOFS(die), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:83:12: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] {"stand", FOFS(monsterinfo.stand), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:84:11: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] {"idle", FOFS(monsterinfo.idle), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:85:13: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] {"search", FOFS(monsterinfo.search), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:86:11: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] {"walk", FOFS(monsterinfo.walk), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:87:10: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] {"run", FOFS(monsterinfo.run), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:88: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] {"dodge", FOFS(monsterinfo.dodge), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:89:13: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] {"attack", FOFS(monsterinfo.attack), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:90:12: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] {"melee", FOFS(monsterinfo.melee), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:91: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] {"sight", FOFS(monsterinfo.sight), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:92:18: warning: cast to smaller integer type 'int' from 'qboolean (**)(edict_t *)' (aka 'qboolean (**)(struct edict_s *)') [-Wpointer-to-int-cast] {"checkattack", FOFS(monsterinfo.checkattack), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:93:18: warning: cast to smaller integer type 'int' from 'mmove_t **' [-Wpointer-to-int-cast] {"currentmove", FOFS(monsterinfo.currentmove), F_MMOVE, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:95:14: warning: cast to smaller integer type 'int' from 'void (**)(edict_t *)' (aka 'void (**)(struct edict_s *)') [-Wpointer-to-int-cast] {"endfunc", FOFS(moveinfo.endfunc), F_FUNCTION, FFL_NOSPAWN}, ^~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:98:10: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] {"lip", STOFS(lip), F_INT, FFL_SPAWNTEMP}, ^~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:99:15: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] {"distance", STOFS(distance), F_INT, FFL_SPAWNTEMP}, ^~~~~~~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:100:13: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] {"height", STOFS(height), F_INT, FFL_SPAWNTEMP}, ^~~~~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:101:12: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"noise", STOFS(noise), F_LSTRING, FFL_SPAWNTEMP}, ^~~~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:102:16: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"pausetime", STOFS(pausetime), F_FLOAT, FFL_SPAWNTEMP}, ^~~~~~~~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:103:11: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"item", STOFS(item), F_LSTRING, FFL_SPAWNTEMP}, ^~~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:106:11: warning: cast to smaller integer type 'int' from 'gitem_t **' (aka 'struct gitem_s **') [-Wpointer-to-int-cast] {"item", FOFS(item), F_ITEM}, ^~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:108:14: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"gravity", STOFS(gravity), F_LSTRING, FFL_SPAWNTEMP}, ^~~~~~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:109:10: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"sky", STOFS(sky), F_LSTRING, FFL_SPAWNTEMP}, ^~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:110:16: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"skyrotate", STOFS(skyrotate), F_FLOAT, FFL_SPAWNTEMP}, ^~~~~~~~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:111:14: warning: cast to smaller integer type 'int' from 'vec3_t *' (aka 'float (*)[3]') [-Wpointer-to-int-cast] {"skyaxis", STOFS(skyaxis), F_VECTOR, FFL_SPAWNTEMP}, ^~~~~~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:112:13: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"minyaw", STOFS(minyaw), F_FLOAT, FFL_SPAWNTEMP}, ^~~~~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:113:13: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"maxyaw", STOFS(maxyaw), F_FLOAT, FFL_SPAWNTEMP}, ^~~~~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:114:15: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"minpitch", STOFS(minpitch), F_FLOAT, FFL_SPAWNTEMP}, ^~~~~~~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:115:15: warning: cast to smaller integer type 'int' from 'float *' [-Wpointer-to-int-cast] {"maxpitch", STOFS(maxpitch), F_FLOAT, FFL_SPAWNTEMP}, ^~~~~~~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:116:14: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"nextmap", STOFS(nextmap), F_LSTRING, FFL_SPAWNTEMP}, ^~~~~~~~~~~~~~ ./g_local.h:510:18: note: expanded from macro 'STOFS' #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:124:16: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] {"changemap", LLOFS(changemap), F_LSTRING}, ^~~~~~~~~~~~~~~~ ./g_local.h:511:18: note: expanded from macro 'LLOFS' #define LLOFS(x) (int)&(((level_locals_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:126:19: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"sight_client", LLOFS(sight_client), F_EDICT}, ^~~~~~~~~~~~~~~~~~~ ./g_local.h:511:18: note: expanded from macro 'LLOFS' #define LLOFS(x) (int)&(((level_locals_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:127:19: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"sight_entity", LLOFS(sight_entity), F_EDICT}, ^~~~~~~~~~~~~~~~~~~ ./g_local.h:511:18: note: expanded from macro 'LLOFS' #define LLOFS(x) (int)&(((level_locals_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:128:19: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"sound_entity", LLOFS(sound_entity), F_EDICT}, ^~~~~~~~~~~~~~~~~~~ ./g_local.h:511:18: note: expanded from macro 'LLOFS' #define LLOFS(x) (int)&(((level_locals_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:129:20: warning: cast to smaller integer type 'int' from 'edict_t **' (aka 'struct edict_s **') [-Wpointer-to-int-cast] {"sound2_entity", LLOFS(sound2_entity), F_EDICT}, ^~~~~~~~~~~~~~~~~~~~ ./g_local.h:511:18: note: expanded from macro 'LLOFS' #define LLOFS(x) (int)&(((level_locals_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:136:18: warning: cast to smaller integer type 'int' from 'gitem_t **' (aka 'struct gitem_s **') [-Wpointer-to-int-cast] {"pers.weapon", CLOFS(pers.weapon), F_ITEM}, ^~~~~~~~~~~~~~~~~~ ./g_local.h:512:18: note: expanded from macro 'CLOFS' #define CLOFS(x) (int)&(((gclient_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:137:22: warning: cast to smaller integer type 'int' from 'gitem_t **' (aka 'struct gitem_s **') [-Wpointer-to-int-cast] {"pers.lastweapon", CLOFS(pers.lastweapon), F_ITEM}, ^~~~~~~~~~~~~~~~~~~~~~ ./g_local.h:512:18: note: expanded from macro 'CLOFS' #define CLOFS(x) (int)&(((gclient_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ g_save.c:138:16: warning: cast to smaller integer type 'int' from 'gitem_t **' (aka 'struct gitem_s **') [-Wpointer-to-int-cast] {"newweapon", CLOFS(newweapon), F_ITEM}, ^~~~~~~~~~~~~~~~ ./g_local.h:512:18: note: expanded from macro 'CLOFS' #define CLOFS(x) (int)&(((gclient_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_spawn.o -c g_spawn.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_svcmds.o -c g_svcmds.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_target.o -c g_target.c g_target.c:637:24: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] ent = G_Find (NULL, FOFS(targetname), self->target); ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_target.c:710:19: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] e = G_Find (e, FOFS(targetname), self->target); ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_trigger.o -c g_trigger.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_turret.o -c g_turret.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_utils.o -c g_utils.c g_utils.c:132:22: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] ent = G_Find (ent, FOFS(targetname), targetname); ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_utils.c:220:26: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] while ((t = G_Find (t, FOFS(targetname), ent->killtarget))) ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ g_utils.c:237:26: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] while ((t = G_Find (t, FOFS(targetname), ent->target))) ^~~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/g_weapon.o -c g_weapon.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/jet.o -c jet.c jet.c:20:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( success=(trace.plane.normal[2]==0) ) /*no ceiling?*/ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jet.c:20:15: note: place parentheses around the assignment to silence this warning if ( success=(trace.plane.normal[2]==0) ) /*no ceiling?*/ ^ ( ) jet.c:20:15: note: use '==' to turn this assignment into an equality comparison if ( success=(trace.plane.normal[2]==0) ) /*no ceiling?*/ ^ == 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_actor.o -c m_actor.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_berserk.o -c m_berserk.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_boss2.o -c m_boss2.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_boss3.o -c m_boss3.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_boss31.o -c m_boss31.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_boss32.o -c m_boss32.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_brain.o -c m_brain.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_chick.o -c m_chick.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_flash.o -c m_flash.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_flipper.o -c m_flipper.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_float.o -c m_float.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_flyer.o -c m_flyer.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_gladiator.o -c m_gladiator.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_gunner.o -c m_gunner.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_hover.o -c m_hover.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_infantry.o -c m_infantry.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_insane.o -c m_insane.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_medic.o -c m_medic.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_move.o -c m_move.c m_move.c:444:28: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) ^ m_move.c:444:28: note: use function 'fabsf' instead if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) ^~~ fabsf m_move.c:444:40: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) ^ m_move.c:444:40: note: use function 'fabsf' instead if ( ((rand()&3) & 1) || abs(deltay)>abs(deltax)) ^~~ fabsf 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_mutant.o -c m_mutant.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_parasite.o -c m_parasite.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_soldier.o -c m_soldier.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_supertank.o -c m_supertank.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/m_tank.o -c m_tank.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/p_client.o -c p_client.c p_client.c:50:23: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] spot = G_Find(spot, FOFS(classname), "info_player_start"); ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:584:8: warning: implicit declaration of function 'Jet_Active' is invalid in C99 [-Wimplicit-function-declaration] if ( Jet_Active(self) ) ^ p_client.c:586:5: warning: implicit declaration of function 'Jet_BecomeExplosion' is invalid in C99 [-Wimplicit-function-declaration] Jet_BecomeExplosion( self, damage ); ^ p_client.c:787:31: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] while ((spot = G_Find (spot, FOFS(classname), "info_player_deathmatch")) != NULL) ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:818:24: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] spot = G_Find (spot, FOFS(classname), "info_player_deathmatch"); ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:842:31: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] while ((spot = G_Find (spot, FOFS(classname), "info_player_deathmatch")) != NULL) ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:860:23: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] spot = G_Find (NULL, FOFS(classname), "info_player_deathmatch"); ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:891:24: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] spot = G_Find (spot, FOFS(classname), "info_player_coop"); ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:930:32: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] while ((spot = G_Find (spot, FOFS(classname), "info_player_start")) != NULL) ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:946:26: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] spot = G_Find (spot, FOFS(classname), "info_player_start"); ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ p_client.c:1739:16: warning: implicit declaration of function 'ApplyThrust' is invalid in C99 [-Wimplicit-function-declaration] ApplyThrust (ent); ^ p_client.c:1774:8: warning: implicit declaration of function 'Jet_Active' is invalid in C99 [-Wimplicit-function-declaration] if ( Jet_Active(ent) ) ^ p_client.c:1775:5: warning: implicit declaration of function 'Jet_ApplyJet' is invalid in C99 [-Wimplicit-function-declaration] Jet_ApplyJet( ent, ucmd ); ^ p_client.c:1821:12: warning: implicit declaration of function 'Jet_AvoidGround' is invalid in C99 [-Wimplicit-function-declaration] if ( Jet_AvoidGround(ent) ) /*then lift us if possible*/ ^ 14 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/p_hud.o -c p_hud.c p_hud.c:130:22: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] ent = G_Find (NULL, FOFS(classname), "info_player_intermission"); ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ p_hud.c:133:23: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] ent = G_Find (NULL, FOFS(classname), "info_player_start"); ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ p_hud.c:135:24: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] ent = G_Find (NULL, FOFS(classname), "info_player_deathmatch"); ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ p_hud.c:142:23: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] ent = G_Find (ent, FOFS(classname), "info_player_intermission"); ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ p_hud.c:144:24: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] ent = G_Find (ent, FOFS(classname), "info_player_intermission"); ^~~~~~~~~~~~~~~ ./g_local.h:509:17: note: expanded from macro 'FOFS' #define FOFS(x) (int)&(((edict_t *)0)->x) ^~~~~~~~~~~~~~~~~~~~~~~~~ p_hud.c:476:8: warning: implicit declaration of function 'Jet_Active' is invalid in C99 [-Wimplicit-function-declaration] if ( Jet_Active(ent) ) ^ 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/p_trail.o -c p_trail.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/p_view.o -c p_view.c p_view.c:456:9: warning: implicit declaration of function 'Jet_Active' is invalid in C99 [-Wimplicit-function-declaration] if ( Jet_Active(ent) ) ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/p_weapon.o -c p_weapon.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/s_cam.o -c s_cam.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/scanner.o -c scanner.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -fPIC -o release/q_shared.o -c q_shared.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fcommon -fomit-frame-pointer -shared -o release/lights/game.so release/acebot_ai.o release/acebot_cmds.o release/acebot_compress.o release/acebot_items.o release/acebot_movement.o release/acebot_nodes.o release/acebot_spawn.o release/decoy.o release/defense_laser.o release/flashlight_shock_laser.o release/grapple.o 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/jet.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_client.o release/p_hud.o release/p_trail.o release/p_view.o release/p_weapon.o release/s_cam.o release/scanner.o release/q_shared.o gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/quake2-lights/work/quake2-lights-1/lights/src' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> quake2-lights-1 depends on package: quake2-data>0 - not found ===> Installing existing package /packages/All/quake2-data-3.20_3.pkg [pkg-builder.dan.net.uk] Installing quake2-data-3.20_3... [pkg-builder.dan.net.uk] Extracting quake2-data-3.20_3: .......... done ===== Message from quake2-data-3.20_3: -- To complete the installation of this port you need to copy the file "baseq2/pak0.pak" from the original Quake II distribution to /usr/local/share/quake2/baseq2. ===> quake2-lights-1 depends on package: quake2-data>0 - found ===> Returning to build of quake2-lights-1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for quake2-lights-1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/quake2-lights/work/quake2-lights-1/lights/src/release/lights/game.so /wrkdirs/usr/ports/games/quake2-lights/work/stage/usr/local/share/quake2/lights install -m 0644 /wrkdirs/usr/ports/games/quake2-lights/work/quake2-lights-1/lights/pak99.pak /wrkdirs/usr/ports/games/quake2-lights/work/stage/usr/local/share/quake2/lights cd /wrkdirs/usr/ports/games/quake2-lights/work/quake2-lights-1/quake2/lights && cp -f -a autoexec.cfg demos pics sprites /wrkdirs/usr/ports/games/quake2-lights/work/stage/usr/local/share/quake2/lights install -m 0644 /wrkdirs/usr/ports/games/quake2-lights/work/quake2-lights-1/quake2/lights/Readme. /wrkdirs/usr/ports/games/quake2-lights/work/stage/usr/local/share/doc/quake2-lights/readme.txt ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-02T12:48:06+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for quake2-lights-1 ===> Building quake2-lights-1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for quake2-lights-1 build of games/quake2-lights | quake2-lights-1 ended at Tue Apr 2 13:48:33 BST 2024 build time: 00:00:29