* Package: games-fps/qudos-0.40.1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 dedicated elibc_glibc ipv6 kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking QuDos-0.40.1-src.tar.bz2 to /var/tmp/portage/games-fps/qudos-0.40.1/work >>> Source unpacked in /var/tmp/portage/games-fps/qudos-0.40.1/work >>> Preparing source in /var/tmp/portage/games-fps/qudos-0.40.1/work/QuDos-0.40.1-src ... * Applying qudos-0.40.1-libpng15.patch ... [ ok ] * Applying qudos-0.40.1-gnusource.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-fps/qudos-0.40.1/work/QuDos-0.40.1-src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-fps/qudos-0.40.1/work/QuDos-0.40.1-src ... make -j2 BUILD_QUAKE2=NO BUILD_DEDICATED=YES BUILD_GLX=NO BUILD_SDLGL=NO BUILD_ALSA_SND=NO BUILD_SDL_SND=NO BUILD_OSS_SND=NO WITH_XMMS=NO WITH_DGA_MOUSE=NO WITH_JOYSTICK=NO TYPE=release DATADIR=usr/share/quake2 LOCALBASE=/usr LIBDIR=/usr/lib64/qudos WITH_QMAX=NO BUILD_3ZB2=NO BUILD_CTF=NO BUILD_JABOT=NO BUILD_ROGUE=NO BUILD_XATRIX=NO BUILD_ZAERO=NO WITH_BOTS=NO HAVE_IPV6=YES CC=x86_64-pc-linux-gnu-gcc WITH_X86_ASM=NO WITH_DATADIR=YES WITH_LIBDIR=YES BUILD_DEBUG_DIR=release BUILD_RELEASE_DIR=release x86_64-pc-linux-gnu-gcc -MM -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX src/game/b_coopcam.c src/game/g_ai.c src/game/g_chase.c src/game/g_cmds.c src/game/g_combat.c src/game/g_func.c src/game/g_items.c src/game/g_main.c src/game/g_misc.c src/game/g_monster.c src/game/g_phys.c src/game/g_save.c src/game/g_spawn.c src/game/g_svcmds.c src/game/g_target.c src/game/g_trigger.c src/game/g_turret.c src/game/g_utils.c src/game/g_weapon.c src/game/m_actor.c src/game/m_berserk.c src/game/m_boss2.c src/game/m_boss3.c src/game/m_boss31.c src/game/m_boss32.c src/game/m_brain.c src/game/m_chick.c src/game/m_flash.c src/game/m_flipper.c src/game/m_float.c src/game/m_flyer.c src/game/m_gladiator.c src/game/m_gunner.c src/game/m_hover.c src/game/m_infantry.c src/game/m_insane.c src/game/m_medic.c src/game/m_move.c src/game/m_mutant.c src/game/m_parasite.c src/game/m_soldier.c src/game/m_supertank.c src/game/m_tank.c src/game/p_client.c src/game/p_hud.c src/game/p_trail.c src/game/p_view.c src/game/p_weapon.c src/game/q_shared.c | sed -e 's|^\(..*\.o\)|QuDos-build/game/\1|' | awk -f rules.awk -v rule='\t$(CC) -c $(CFLAGS) $(SHLIB_CFLAGS) -o $@ $<' > QuDos-build/game/.depend x86_64-pc-linux-gnu-gcc -MM -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN src/game/q_shared.c src/qcommon/cmd.c src/qcommon/cmodel.c src/qcommon/common.c src/qcommon/crc.c src/qcommon/cvar.c src/qcommon/files.c src/qcommon/md4.c src/qcommon/net_chan.c src/qcommon/pmove.c src/qcommon/unzip/ioapi.c src/qcommon/unzip/unzip.c src/qcommon/wildcard.c src/server/sv_ccmds.c src/server/sv_ents.c src/server/sv_game.c src/server/sv_init.c src/server/sv_main.c src/server/sv_send.c src/server/sv_user.c src/server/sv_world.c src/unix/net_udp.c src/unix/qsh_unix.c src/unix/sys_unix.c src/null/cd_null.c src/null/cl_null.c | sed -e 's|^\(..*\.o\)|QuDos-build/QuDos_ded/\1|' | awk -f rules.awk -v rule='\t$(CC) -c $(QuDos_ded_CFLAGS) -o $@ $<' > QuDos-build/QuDos_ded/.depend x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/q_shared.o src/game/q_shared.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/cmd.o src/qcommon/cmd.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/cmodel.o src/qcommon/cmodel.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/common.o src/qcommon/common.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/crc.o src/qcommon/crc.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/cvar.o src/qcommon/cvar.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/files.o src/qcommon/files.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/md4.o src/qcommon/md4.c src/qcommon/files.c: In function ‘FS_LoadPAK’: src/qcommon/files.c:976:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 976 | fread(&header, 1, sizeof(dpackheader_t), handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/qcommon/files.c:993:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 993 | fread(info, 1, header.dirlen, handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/net_chan.o src/qcommon/net_chan.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/pmove.o src/qcommon/pmove.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/ioapi.o src/qcommon/unzip/ioapi.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/unzip.o src/qcommon/unzip/unzip.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/wildcard.o src/qcommon/wildcard.c src/qcommon/unzip/unzip.c: In function ‘unzOpenCurrentFile3’: src/qcommon/unzip/unzip.c:1212:32: warning: assignment to ‘const long unsigned int *’ from incompatible pointer type ‘const z_crc_t *’ {aka ‘const unsigned int *’} [-Wincompatible-pointer-types] 1212 | s->pcrc_32_tab = get_crc_table(); | ^ x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/sv_ccmds.o src/server/sv_ccmds.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/sv_ents.o src/server/sv_ents.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/sv_game.o src/server/sv_game.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/sv_init.o src/server/sv_init.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/sv_main.o src/server/sv_main.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/sv_send.o src/server/sv_send.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/sv_user.o src/server/sv_user.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/sv_world.o src/server/sv_world.c src/server/sv_world.c: In function ‘SV_AreaEdicts_r’: src/server/sv_world.c:39:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 39 | #define STRUCT_FROM_LINK(l,t,m) ((t *)((byte *)l - (int)&(((t *)0)->m))) | ^ src/server/sv_world.c:41:28: note: in expansion of macro ‘STRUCT_FROM_LINK’ 41 | #define EDICT_FROM_AREA(l) STRUCT_FROM_LINK(l,edict_t,area) | ^~~~~~~~~~~~~~~~ src/server/sv_world.c:355:25: note: in expansion of macro ‘EDICT_FROM_AREA’ 355 | check = EDICT_FROM_AREA(l); | ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/net_udp.o src/unix/net_udp.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/qsh_unix.o src/unix/qsh_unix.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/sys_unix.o src/unix/sys_unix.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/cd_null.o src/null/cd_null.c src/unix/sys_unix.c: In function ‘Sys_GetGameAPI’: src/unix/sys_unix.c:221:9: warning: ignoring return value of ‘setreuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 221 | setreuid(getuid(), getuid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/unix/sys_unix.c:222:9: warning: ignoring return value of ‘setegid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 222 | setegid(getgid()); | ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -DDEDICATED_ONLY -DQ2DED_BIN -o QuDos-build/QuDos_ded/cl_null.o src/null/cl_null.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/b_coopcam.o src/game/b_coopcam.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_ai.o src/game/g_ai.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_chase.o src/game/g_chase.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_cmds.o src/game/g_cmds.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_combat.o src/game/g_combat.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_func.o src/game/g_func.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_items.o src/game/g_items.c In file included from src/game/g_func.c:20: src/game/g_func.c: In function ‘door_use_areaportals’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_func.c:845:31: note: in expansion of macro ‘FOFS’ 845 | while ((t = G_Find(t, FOFS(targetname), self->target))) { | ^~~~ x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_main.o src/game/g_main.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_misc.o src/game/g_misc.c In file included from src/game/g_main.c:21: src/game/g_main.c: In function ‘EndDMLevel’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_main.c:276:36: note: in expansion of macro ‘FOFS’ 276 | ent = G_Find(NULL, FOFS(classname), "target_changelevel"); | ^~~~ In file included from src/game/g_misc.c:22: src/game/g_misc.c: In function ‘misc_viper_bomb_use’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_misc.c:1371:30: note: in expansion of macro ‘FOFS’ 1371 | viper = G_Find(NULL, FOFS(classname), "misc_viper"); | ^~~~ src/game/g_misc.c: In function ‘func_clock_think’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_misc.c:1691:44: note: in expansion of macro ‘FOFS’ 1691 | self->enemy = G_Find(NULL, FOFS(targetname), self->target); | ^~~~ src/game/g_misc.c: In function ‘teleporter_touch’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_misc.c:1794:29: note: in expansion of macro ‘FOFS’ 1794 | dest = G_Find(NULL, FOFS(targetname), self->target); | ^~~~ x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_monster.o src/game/g_monster.c In file included from src/game/g_monster.c:20: src/game/g_monster.c: In function ‘monster_start_go’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_monster.c:582:49: note: in expansion of macro ‘FOFS’ 582 | while ((target = G_Find(target, FOFS(targetname), self->target)) != NULL) { | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_monster.c:600:49: note: in expansion of macro ‘FOFS’ 600 | while ((target = G_Find(target, FOFS(targetname), self->combattarget)) != NULL) { | ^~~~ x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_phys.o src/game/g_phys.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_save.o src/game/g_save.c In file included from src/game/g_save.c:21: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:28:23: note: in expansion of macro ‘FOFS’ 28 | {"classname", FOFS(classname), F_LSTRING}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:29:19: note: in expansion of macro ‘FOFS’ 29 | {"model", FOFS(model), F_LSTRING}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:30:24: note: in expansion of macro ‘FOFS’ 30 | {"spawnflags", FOFS(spawnflags), F_INT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:31:19: note: in expansion of macro ‘FOFS’ 31 | {"speed", FOFS(speed), F_FLOAT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:32:19: note: in expansion of macro ‘FOFS’ 32 | {"accel", FOFS(accel), F_FLOAT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:33:19: note: in expansion of macro ‘FOFS’ 33 | {"decel", FOFS(decel), F_FLOAT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:34:20: note: in expansion of macro ‘FOFS’ 34 | {"target", FOFS(target), F_LSTRING}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:35:24: note: in expansion of macro ‘FOFS’ 35 | {"targetname", FOFS(targetname), F_LSTRING}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:36:24: note: in expansion of macro ‘FOFS’ 36 | {"pathtarget", FOFS(pathtarget), F_LSTRING}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:37:25: note: in expansion of macro ‘FOFS’ 37 | {"deathtarget", FOFS(deathtarget), F_LSTRING}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:38:24: note: in expansion of macro ‘FOFS’ 38 | {"killtarget", FOFS(killtarget), F_LSTRING}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:39:26: note: in expansion of macro ‘FOFS’ 39 | {"combattarget", FOFS(combattarget), F_LSTRING}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:40:21: note: in expansion of macro ‘FOFS’ 40 | {"message", FOFS(message), F_LSTRING}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:41:18: note: in expansion of macro ‘FOFS’ 41 | {"team", FOFS(team), F_LSTRING}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:42:18: note: in expansion of macro ‘FOFS’ 42 | {"wait", FOFS(wait), F_FLOAT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:43:19: note: in expansion of macro ‘FOFS’ 43 | {"delay", FOFS(delay), F_FLOAT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:44:20: note: in expansion of macro ‘FOFS’ 44 | {"random", FOFS(random), F_FLOAT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:45:25: note: in expansion of macro ‘FOFS’ 45 | {"move_origin", FOFS(move_origin), F_VECTOR}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:46:25: note: in expansion of macro ‘FOFS’ 46 | {"move_angles", FOFS(move_angles), F_VECTOR}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:47:19: note: in expansion of macro ‘FOFS’ 47 | {"style", FOFS(style), F_INT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:48:19: note: in expansion of macro ‘FOFS’ 48 | {"count", FOFS(count), F_INT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:49:20: note: in expansion of macro ‘FOFS’ 49 | {"health", FOFS(health), F_INT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:50:20: note: in expansion of macro ‘FOFS’ 50 | {"sounds", FOFS(sounds), F_INT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:52:17: note: in expansion of macro ‘FOFS’ 52 | {"dmg", FOFS(dmg), F_INT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:53:18: note: in expansion of macro ‘FOFS’ 53 | {"mass", FOFS(mass), F_INT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:54:20: note: in expansion of macro ‘FOFS’ 54 | {"volume", FOFS(volume), F_FLOAT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:55:25: note: in expansion of macro ‘FOFS’ 55 | {"attenuation", FOFS(attenuation), F_FLOAT}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:56:17: note: in expansion of macro ‘FOFS’ 56 | {"map", FOFS(map), F_LSTRING}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:57:20: note: in expansion of macro ‘FOFS’ 57 | {"origin", FOFS(s.origin), F_VECTOR}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:58:20: note: in expansion of macro ‘FOFS’ 58 | {"angles", FOFS(s.angles), F_VECTOR}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:59:19: note: in expansion of macro ‘FOFS’ 59 | {"angle", FOFS(s.angles), F_ANGLEHACK}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:61:24: note: in expansion of macro ‘FOFS’ 61 | {"goalentity", FOFS(goalentity), F_EDICT, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:62:24: note: in expansion of macro ‘FOFS’ 62 | {"movetarget", FOFS(movetarget), F_EDICT, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:63:19: note: in expansion of macro ‘FOFS’ 63 | {"enemy", FOFS(enemy), F_EDICT, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:64:22: note: in expansion of macro ‘FOFS’ 64 | {"oldenemy", FOFS(oldenemy), F_EDICT, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:65:23: note: in expansion of macro ‘FOFS’ 65 | {"activator", FOFS(activator), F_EDICT, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:66:26: note: in expansion of macro ‘FOFS’ 66 | {"groundentity", FOFS(groundentity), F_EDICT, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:67:23: note: in expansion of macro ‘FOFS’ 67 | {"teamchain", FOFS(teamchain), F_EDICT, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:68:24: note: in expansion of macro ‘FOFS’ 68 | {"teammaster", FOFS(teammaster), F_EDICT, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:69:19: note: in expansion of macro ‘FOFS’ 69 | {"owner", FOFS(owner), F_EDICT, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:70:21: note: in expansion of macro ‘FOFS’ 70 | {"mynoise", FOFS(mynoise), F_EDICT, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:71:22: note: in expansion of macro ‘FOFS’ 71 | {"mynoise2", FOFS(mynoise2), F_EDICT, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:72:24: note: in expansion of macro ‘FOFS’ 72 | {"target_ent", FOFS(target_ent), F_EDICT, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:73:19: note: in expansion of macro ‘FOFS’ 73 | {"chain", FOFS(chain), F_EDICT, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:75:22: note: in expansion of macro ‘FOFS’ 75 | {"prethink", FOFS(prethink), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:76:19: note: in expansion of macro ‘FOFS’ 76 | {"think", FOFS(think), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:77:21: note: in expansion of macro ‘FOFS’ 77 | {"blocked", FOFS(blocked), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:78:19: note: in expansion of macro ‘FOFS’ 78 | {"touch", FOFS(touch), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:79:17: note: in expansion of macro ‘FOFS’ 79 | {"use", FOFS(use), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:80:18: note: in expansion of macro ‘FOFS’ 80 | {"pain", FOFS(pain), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:81:17: note: in expansion of macro ‘FOFS’ 81 | {"die", FOFS(die), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:83:19: note: in expansion of macro ‘FOFS’ 83 | {"stand", FOFS(monsterinfo.stand), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:84:18: note: in expansion of macro ‘FOFS’ 84 | {"idle", FOFS(monsterinfo.idle), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:85:20: note: in expansion of macro ‘FOFS’ 85 | {"search", FOFS(monsterinfo.search), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:86:18: note: in expansion of macro ‘FOFS’ 86 | {"walk", FOFS(monsterinfo.walk), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:87:17: note: in expansion of macro ‘FOFS’ 87 | {"run", FOFS(monsterinfo.run), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:88:19: note: in expansion of macro ‘FOFS’ 88 | {"dodge", FOFS(monsterinfo.dodge), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:89:20: note: in expansion of macro ‘FOFS’ 89 | {"attack", FOFS(monsterinfo.attack), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:90:19: note: in expansion of macro ‘FOFS’ 90 | {"melee", FOFS(monsterinfo.melee), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:91:19: note: in expansion of macro ‘FOFS’ 91 | {"sight", FOFS(monsterinfo.sight), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:92:25: note: in expansion of macro ‘FOFS’ 92 | {"checkattack", FOFS(monsterinfo.checkattack), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:93:25: note: in expansion of macro ‘FOFS’ 93 | {"currentmove", FOFS(monsterinfo.currentmove), F_MMOVE, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:95:21: note: in expansion of macro ‘FOFS’ 95 | {"endfunc", FOFS(moveinfo.endfunc), F_FUNCTION, FFL_NOSPAWN}, | ^~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:98:17: note: in expansion of macro ‘STOFS’ 98 | {"lip", STOFS(lip), F_INT, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:99:22: note: in expansion of macro ‘STOFS’ 99 | {"distance", STOFS(distance), F_INT, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:100:20: note: in expansion of macro ‘STOFS’ 100 | {"height", STOFS(height), F_INT, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:101:19: note: in expansion of macro ‘STOFS’ 101 | {"noise", STOFS(noise), F_LSTRING, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:102:23: note: in expansion of macro ‘STOFS’ 102 | {"pausetime", STOFS(pausetime), F_FLOAT, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:103:18: note: in expansion of macro ‘STOFS’ 103 | {"item", STOFS(item), F_LSTRING, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_save.c:109:18: note: in expansion of macro ‘FOFS’ 109 | {"item", FOFS(item), F_ITEM}, | ^~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:111:21: note: in expansion of macro ‘STOFS’ 111 | {"gravity", STOFS(gravity), F_LSTRING, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:112:17: note: in expansion of macro ‘STOFS’ 112 | {"sky", STOFS(sky), F_LSTRING, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:113:23: note: in expansion of macro ‘STOFS’ 113 | {"skyrotate", STOFS(skyrotate), F_FLOAT, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:114:21: note: in expansion of macro ‘STOFS’ 114 | {"skyaxis", STOFS(skyaxis), F_VECTOR, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:115:20: note: in expansion of macro ‘STOFS’ 115 | {"minyaw", STOFS(minyaw), F_FLOAT, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:116:20: note: in expansion of macro ‘STOFS’ 116 | {"maxyaw", STOFS(maxyaw), F_FLOAT, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:117:22: note: in expansion of macro ‘STOFS’ 117 | {"minpitch", STOFS(minpitch), F_FLOAT, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:118:22: note: in expansion of macro ‘STOFS’ 118 | {"maxpitch", STOFS(maxpitch), F_FLOAT, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:497:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 497 | #define STOFS(x) (int)&(((spawn_temp_t *)0)->x) | ^ src/game/g_save.c:119:21: note: in expansion of macro ‘STOFS’ 119 | {"nextmap", STOFS(nextmap), F_LSTRING, FFL_SPAWNTEMP}, | ^~~~~ src/game/g_local.h:498:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 498 | #define LLOFS(x) (int)&(((level_locals_t *)0)->x) | ^ src/game/g_save.c:127:23: note: in expansion of macro ‘LLOFS’ 127 | {"changemap", LLOFS(changemap), F_LSTRING}, | ^~~~~ src/game/g_local.h:498:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 498 | #define LLOFS(x) (int)&(((level_locals_t *)0)->x) | ^ src/game/g_save.c:129:26: note: in expansion of macro ‘LLOFS’ 129 | {"sight_client", LLOFS(sight_client), F_EDICT}, | ^~~~~ src/game/g_local.h:498:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 498 | #define LLOFS(x) (int)&(((level_locals_t *)0)->x) | ^ src/game/g_save.c:130:26: note: in expansion of macro ‘LLOFS’ 130 | {"sight_entity", LLOFS(sight_entity), F_EDICT}, | ^~~~~ src/game/g_local.h:498:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 498 | #define LLOFS(x) (int)&(((level_locals_t *)0)->x) | ^ src/game/g_save.c:131:26: note: in expansion of macro ‘LLOFS’ 131 | {"sound_entity", LLOFS(sound_entity), F_EDICT}, | ^~~~~ src/game/g_local.h:498:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 498 | #define LLOFS(x) (int)&(((level_locals_t *)0)->x) | ^ src/game/g_save.c:132:27: note: in expansion of macro ‘LLOFS’ 132 | {"sound2_entity", LLOFS(sound2_entity), F_EDICT}, | ^~~~~ src/game/g_local.h:499:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 499 | #define CLOFS(x) (int)&(((gclient_t *)0)->x) | ^ src/game/g_save.c:139:25: note: in expansion of macro ‘CLOFS’ 139 | {"pers.weapon", CLOFS(pers.weapon), F_ITEM}, | ^~~~~ src/game/g_local.h:499:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 499 | #define CLOFS(x) (int)&(((gclient_t *)0)->x) | ^ src/game/g_save.c:140:29: note: in expansion of macro ‘CLOFS’ 140 | {"pers.lastweapon", CLOFS(pers.lastweapon), F_ITEM}, | ^~~~~ src/game/g_local.h:499:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 499 | #define CLOFS(x) (int)&(((gclient_t *)0)->x) | ^ src/game/g_save.c:141:23: note: in expansion of macro ‘CLOFS’ 141 | {"newweapon", CLOFS(newweapon), F_ITEM}, | ^~~~~ src/game/g_save.c: In function ‘ReadField’: src/game/g_save.c:367:25: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 367 | fread(*(char **)p, len, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/g_save.c: In function ‘ReadClient’: src/game/g_save.c:457:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 457 | fread(client, sizeof(*client), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/g_save.c: In function ‘ReadGame’: src/game/g_save.c:518:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 518 | fread(str, sizeof(str), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/g_save.c:528:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 528 | fread(&game, sizeof(game), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/g_save.c: In function ‘ReadEdict’: src/game/g_save.c:610:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 610 | fread(ent, sizeof(*ent), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/g_save.c: In function ‘ReadLevelLocals’: src/game/g_save.c:628:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 628 | fread(&level, sizeof(level), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/g_save.c: In function ‘ReadLevel’: src/game/g_save.c:713:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 713 | fread(&i, sizeof(i), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/g_save.c:719:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 719 | fread(&base, sizeof(base), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_spawn.o src/game/g_spawn.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_svcmds.o src/game/g_svcmds.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_target.o src/game/g_target.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_trigger.o src/game/g_trigger.c In file included from src/game/g_target.c:20: src/game/g_target.c: In function ‘target_laser_start’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_target.c:632:44: note: in expansion of macro ‘FOFS’ 632 | ent = G_Find(NULL, FOFS(targetname), self->target); | ^~~~ src/game/g_target.c: In function ‘target_lightramp_use’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_target.c:702:39: note: in expansion of macro ‘FOFS’ 702 | e = G_Find(e, FOFS(targetname), self->target); | ^~~~ x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_turret.o src/game/g_turret.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_utils.o src/game/g_utils.c In file included from src/game/g_utils.c:22: src/game/g_utils.c: In function ‘G_PickTarget’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_utils.c:127:35: note: in expansion of macro ‘FOFS’ 127 | ent = G_Find(ent, FOFS(targetname), targetname); | ^~~~ src/game/g_utils.c: In function ‘G_UseTargets’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_utils.c:208:39: note: in expansion of macro ‘FOFS’ 208 | while ((t = G_Find(t, FOFS(targetname), ent->killtarget))) { | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/g_utils.c:221:39: note: in expansion of macro ‘FOFS’ 221 | while ((t = G_Find(t, FOFS(targetname), ent->target))) { | ^~~~ x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/g_weapon.o src/game/g_weapon.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_actor.o src/game/m_actor.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_berserk.o src/game/m_berserk.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_boss2.o src/game/m_boss2.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_boss3.o src/game/m_boss3.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_boss31.o src/game/m_boss31.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_boss32.o src/game/m_boss32.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_brain.o src/game/m_brain.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_chick.o src/game/m_chick.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_flash.o src/game/m_flash.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_flipper.o src/game/m_flipper.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_float.o src/game/m_float.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_flyer.o src/game/m_flyer.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_gladiator.o src/game/m_gladiator.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_gunner.o src/game/m_gunner.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_hover.o src/game/m_hover.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_infantry.o src/game/m_infantry.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_insane.o src/game/m_insane.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_medic.o src/game/m_medic.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_move.o src/game/m_move.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_mutant.o src/game/m_mutant.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_parasite.o src/game/m_parasite.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_soldier.o src/game/m_soldier.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_supertank.o src/game/m_supertank.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/m_tank.o src/game/m_tank.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/p_client.o src/game/p_client.c In file included from src/game/p_client.c:20: src/game/p_client.c: In function ‘SP_FixCoopSpots’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/p_client.c:52:37: note: in expansion of macro ‘FOFS’ 52 | spot = G_Find(spot, FOFS(classname), "info_player_start"); | ^~~~ src/game/p_client.c: In function ‘SelectRandomDeathmatchSpawnPoint’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/p_client.c:753:37: note: in expansion of macro ‘FOFS’ 753 | while ((spot = G_Find(spot, FOFS(classname), "info_player_deathmatch")) != NULL) { | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/p_client.c:777:37: note: in expansion of macro ‘FOFS’ 777 | spot = G_Find(spot, FOFS(classname), "info_player_deathmatch"); | ^~~~ src/game/p_client.c: In function ‘SelectFarthestDeathmatchSpawnPoint’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/p_client.c:801:37: note: in expansion of macro ‘FOFS’ 801 | while ((spot = G_Find(spot, FOFS(classname), "info_player_deathmatch")) != NULL) { | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/p_client.c:815:29: note: in expansion of macro ‘FOFS’ 815 | spot = G_Find(NULL, FOFS(classname), "info_player_deathmatch"); | ^~~~ src/game/p_client.c: In function ‘SelectCoopSpawnPoint’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/p_client.c:847:37: note: in expansion of macro ‘FOFS’ 847 | spot = G_Find(spot, FOFS(classname), "info_player_coop"); | ^~~~ src/game/p_client.c: In function ‘SelectSpawnPoint’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/p_client.c:885:45: note: in expansion of macro ‘FOFS’ 885 | while ((spot = G_Find(spot, FOFS(classname), "info_player_start")) != NULL) { | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/p_client.c:900:53: note: in expansion of macro ‘FOFS’ 900 | spot = G_Find(spot, FOFS(classname), "info_player_start"); | ^~~~ x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/p_hud.o src/game/p_hud.c In file included from src/game/p_hud.c:20: src/game/p_hud.c: In function ‘BeginIntermission’: src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/p_hud.c:119:28: note: in expansion of macro ‘FOFS’ 119 | ent = G_Find(NULL, FOFS(classname), "info_player_intermission"); | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/p_hud.c:122:36: note: in expansion of macro ‘FOFS’ 122 | ent = G_Find(NULL, FOFS(classname), "info_player_start"); | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/p_hud.c:124:44: note: in expansion of macro ‘FOFS’ 124 | ent = G_Find(NULL, FOFS(classname), "info_player_deathmatch"); | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/p_hud.c:128:43: note: in expansion of macro ‘FOFS’ 128 | ent = G_Find(ent, FOFS(classname), "info_player_intermission"); | ^~~~ src/game/g_local.h:496:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 496 | #define FOFS(x) (int)&(((edict_t *)0)->x) | ^ src/game/p_hud.c:130:51: note: in expansion of macro ‘FOFS’ 130 | ent = G_Find(ent, FOFS(classname), "info_player_intermission"); | ^~~~ x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/p_trail.o src/game/p_trail.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/p_view.o src/game/p_view.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/p_weapon.o src/game/p_weapon.c x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -Og -g -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DDATADIR='"usr/share/quake2"' -DGAME_MOD -DLIBDIR='"/usr/lib64/qudos"' -DRETEX -fPIC -o QuDos-build/game/q_shared.o src/game/q_shared.c x86_64-pc-linux-gnu-gcc -o quake2/QuDos-ded QuDos-build/QuDos_ded/q_shared.o QuDos-build/QuDos_ded/cmd.o QuDos-build/QuDos_ded/cmodel.o QuDos-build/QuDos_ded/common.o QuDos-build/QuDos_ded/crc.o QuDos-build/QuDos_ded/cvar.o QuDos-build/QuDos_ded/files.o QuDos-build/QuDos_ded/md4.o QuDos-build/QuDos_ded/net_chan.o QuDos-build/QuDos_ded/pmove.o QuDos-build/QuDos_ded/ioapi.o QuDos-build/QuDos_ded/unzip.o QuDos-build/QuDos_ded/wildcard.o QuDos-build/QuDos_ded/sv_ccmds.o QuDos-build/QuDos_ded/sv_ents.o QuDos-build/QuDos_ded/sv_game.o QuDos-build/QuDos_ded/sv_init.o QuDos-build/QuDos_ded/sv_main.o QuDos-build/QuDos_ded/sv_send.o QuDos-build/QuDos_ded/sv_user.o QuDos-build/QuDos_ded/sv_world.o QuDos-build/QuDos_ded/net_udp.o QuDos-build/QuDos_ded/qsh_unix.o QuDos-build/QuDos_ded/sys_unix.o QuDos-build/QuDos_ded/cd_null.o QuDos-build/QuDos_ded/cl_null.o -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/X11R6/lib -lm -ldl -lz x86_64-pc-linux-gnu-gcc -o quake2/baseq2/game.so QuDos-build/game/b_coopcam.o QuDos-build/game/g_ai.o QuDos-build/game/g_chase.o QuDos-build/game/g_cmds.o QuDos-build/game/g_combat.o QuDos-build/game/g_func.o QuDos-build/game/g_items.o QuDos-build/game/g_main.o QuDos-build/game/g_misc.o QuDos-build/game/g_monster.o QuDos-build/game/g_phys.o QuDos-build/game/g_save.o QuDos-build/game/g_spawn.o QuDos-build/game/g_svcmds.o QuDos-build/game/g_target.o QuDos-build/game/g_trigger.o QuDos-build/game/g_turret.o QuDos-build/game/g_utils.o QuDos-build/game/g_weapon.o QuDos-build/game/m_actor.o QuDos-build/game/m_berserk.o QuDos-build/game/m_boss2.o QuDos-build/game/m_boss3.o QuDos-build/game/m_boss31.o QuDos-build/game/m_boss32.o QuDos-build/game/m_brain.o QuDos-build/game/m_chick.o QuDos-build/game/m_flash.o QuDos-build/game/m_flipper.o QuDos-build/game/m_float.o QuDos-build/game/m_flyer.o QuDos-build/game/m_gladiator.o QuDos-build/game/m_gunner.o QuDos-build/game/m_hover.o QuDos-build/game/m_infantry.o QuDos-build/game/m_insane.o QuDos-build/game/m_medic.o QuDos-build/game/m_move.o QuDos-build/game/m_mutant.o QuDos-build/game/m_parasite.o QuDos-build/game/m_soldier.o QuDos-build/game/m_supertank.o QuDos-build/game/m_tank.o QuDos-build/game/p_client.o QuDos-build/game/p_hud.o QuDos-build/game/p_trail.o QuDos-build/game/p_view.o QuDos-build/game/p_weapon.o QuDos-build/game/q_shared.o -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/X11R6/lib -lm -ldl >>> Source compiled. >>> Test phase [not enabled]: games-fps/qudos-0.40.1 >>> Install games-fps/qudos-0.40.1 into /var/tmp/portage/games-fps/qudos-0.40.1/image rm: cannot remove '/var/tmp/portage/games-fps/qudos-0.40.1/image/usr/lib64/qudos/QuDos': No such file or directory * ERROR: games-fps/qudos-0.40.1::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_install * environment, line 2125: Called die * The specific snippet of code: * rm "${ED}/usr/$(get_libdir)"/${PN}/QuDos || die; * * If you need support, post the output of `emerge --info '=games-fps/qudos-0.40.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-fps/qudos-0.40.1::gentoo'`. * The complete build log is located at '/var/log/portage/games-fps:qudos-0.40.1:20210523-022258.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-fps/qudos-0.40.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-fps/qudos-0.40.1/temp/environment'. * Working directory: '/var/tmp/portage/games-fps/qudos-0.40.1/work/QuDos-0.40.1-src' * S: '/var/tmp/portage/games-fps/qudos-0.40.1/work/QuDos-0.40.1-src'