=>> Building games/bloodfrontier build started at Fri Mar 13 05:01:44 EDT 2026 port directory: /usr/ports/games/bloodfrontier package name: bloodfrontier-b2_12 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: amdmi3@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1955 Aug 27 2024 /usr/ports/games/bloodfrontier/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: bbab7f59e963 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 08 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/08/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for bloodfrontier-b2_12: OPTIMIZED_CFLAGS=on: Use extra compiler optimizations ====> Options available for the multi COMPONENTS: you have to choose at least one of them CLIENT=on: Build client DEDICATED=on: Build dedicated server ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- amdmi3@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/bloodfrontier/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/bloodfrontier/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/bloodfrontier/work/.cache HOME=/wrkdirs/usr/ports/games/bloodfrontier/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/bloodfrontier/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/bloodfrontier/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/bloodfrontier/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/bloodfrontier/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/bloodfrontier/work/.cache HOME=/wrkdirs/usr/ports/games/bloodfrontier/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/bloodfrontier/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/bloodfrontier/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 -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 " CXXSTD=c++14 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-- OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/bloodfrontier" EXAMPLESDIR="share/examples/bloodfrontier" DATADIR="share/bloodfrontier" WWWDIR="www/bloodfrontier" ETCDIR="etc/bloodfrontier" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/bloodfrontier DOCSDIR=/usr/local/share/doc/bloodfrontier EXAMPLESDIR=/usr/local/share/examples/bloodfrontier WWWDIR=/usr/local/www/bloodfrontier ETCDIR=/usr/local/etc/bloodfrontier --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) 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 ===> bloodfrontier-b2_12 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> bloodfrontier-b2_12 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of bloodfrontier-b2_12 =========================================================================== =================================================== ===== 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 bloodfrontier-b2_12 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by bloodfrontier-b2_12 for building => SHA256 Checksum OK for bloodfrontier-B2-linux.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by bloodfrontier-b2_12 for building ===> Extracting for bloodfrontier-b2_12 => SHA256 Checksum OK for bloodfrontier-B2-linux.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for bloodfrontier-b2_12 ===> Applying FreeBSD patches for bloodfrontier-b2_12 from /usr/ports/games/bloodfrontier/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bloodfrontier-b2_12 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> bloodfrontier-b2_12 depends on package: gmake>=4.4.1 - found ===> Returning to build of bloodfrontier-b2_12 ===> bloodfrontier-b2_12 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_17,2.pkg [pkg.DaveG.ca] Installing sdl-1.2.15_17,2... [pkg.DaveG.ca] `-- Installing aalib-1.4.r5_14... [pkg.DaveG.ca] `-- Extracting aalib-1.4.r5_14: .......... done [pkg.DaveG.ca] `-- Installing libGLU-9.0.3... [pkg.DaveG.ca] | `-- Installing libglvnd-1.7.0... [pkg.DaveG.ca] | | `-- Installing libX11-1.8.12,1... [pkg.DaveG.ca] | | `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | | | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | | | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | | | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] | | `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] | | `-- Extracting libX11-1.8.12,1: .......... done [pkg.DaveG.ca] | | `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] | | `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] | `-- Extracting libglvnd-1.7.0: .......... done [pkg.DaveG.ca] `-- Extracting libGLU-9.0.3: ..... done [pkg.DaveG.ca] `-- Installing libXrandr-1.5.4... [pkg.DaveG.ca] | `-- Installing libXrender-0.9.12... [pkg.DaveG.ca] | `-- Extracting libXrender-0.9.12: ....... done [pkg.DaveG.ca] `-- Extracting libXrandr-1.5.4: .......... done [pkg.DaveG.ca] Extracting sdl-1.2.15_17,2: .......... done ===== Message from aalib-1.4.r5_14: -- ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===== Message from sdl-1.2.15_17,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ===> bloodfrontier-b2_12 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of bloodfrontier-b2_12 ===> bloodfrontier-b2_12 depends on package: xorgproto>=0 - found ===> bloodfrontier-b2_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> bloodfrontier-b2_12 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> bloodfrontier-b2_12 depends on file: /usr/local/bin/ccache - found ===> Returning to build of bloodfrontier-b2_12 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bloodfrontier-b2_12 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> bloodfrontier-b2_12 depends on shared library: libSDL_image.so - not found ===> Installing existing package /packages/All/sdl_image-1.2.12_14.pkg [pkg.DaveG.ca] Installing sdl_image-1.2.12_14... [pkg.DaveG.ca] `-- Installing jpeg-turbo-3.1.3... [pkg.DaveG.ca] `-- Extracting jpeg-turbo-3.1.3: .......... done [pkg.DaveG.ca] `-- Installing png-1.6.55... [pkg.DaveG.ca] `-- Extracting png-1.6.55: .......... done [pkg.DaveG.ca] `-- Installing tiff-4.7.1... [pkg.DaveG.ca] | `-- Installing jbigkit-2.1_3... [pkg.DaveG.ca] | `-- Extracting jbigkit-2.1_3: .......... done [pkg.DaveG.ca] | `-- Installing lerc-4.0.0... [pkg.DaveG.ca] | `-- Extracting lerc-4.0.0: ..... done [pkg.DaveG.ca] | `-- Installing libdeflate-1.25... [pkg.DaveG.ca] | `-- Extracting libdeflate-1.25: .......... done [pkg.DaveG.ca] | `-- Installing zstd-1.5.7_1... [pkg.DaveG.ca] | `-- Extracting zstd-1.5.7_1: .......... done [pkg.DaveG.ca] `-- Extracting tiff-4.7.1: .......... done [pkg.DaveG.ca] `-- Installing webp-1.6.0... [pkg.DaveG.ca] | `-- Installing giflib-5.2.2... [pkg.DaveG.ca] | `-- Extracting giflib-5.2.2: .......... done [pkg.DaveG.ca] `-- Extracting webp-1.6.0: .......... done [pkg.DaveG.ca] Extracting sdl_image-1.2.12_14: ....... done ===> bloodfrontier-b2_12 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> Returning to build of bloodfrontier-b2_12 ===> bloodfrontier-b2_12 depends on shared library: libSDL_mixer.so - not found ===> Installing existing package /packages/All/sdl_mixer-1.2.12_15.pkg [pkg.DaveG.ca] Installing sdl_mixer-1.2.12_15... [pkg.DaveG.ca] `-- Installing flac-1.5.0,1... [pkg.DaveG.ca] | `-- Installing libogg-1.3.6,4... [pkg.DaveG.ca] | `-- Extracting libogg-1.3.6,4: .......... done [pkg.DaveG.ca] `-- Extracting flac-1.5.0,1: .......... done [pkg.DaveG.ca] `-- Installing libmikmod-3.3.13... [pkg.DaveG.ca] `-- Extracting libmikmod-3.3.13: ....... done [pkg.DaveG.ca] `-- Installing libvorbis-1.3.7_2,3... [pkg.DaveG.ca] `-- Extracting libvorbis-1.3.7_2,3: .......... done [pkg.DaveG.ca] `-- Installing smpeg-0.4.4_18... [pkg.DaveG.ca] `-- Extracting smpeg-0.4.4_18: .......... done [pkg.DaveG.ca] `-- Installing timidity-0.2i_1... [pkg.DaveG.ca] `-- Extracting timidity-0.2i_1: .......... done [pkg.DaveG.ca] Extracting sdl_mixer-1.2.12_15: ...... done ===== Message from timidity-0.2i_1: -- ===> NOTICE: The timidity port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> bloodfrontier-b2_12 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of bloodfrontier-b2_12 ===> bloodfrontier-b2_12 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for bloodfrontier-b2_12 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether /usr/local/bin/gmake sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by /usr/local/bin/gmake... GNU checking dependency style of cc... gcc3 checking for ranlib... ranlib checking for gethostbyaddr_r... yes checking for gethostbyname_r... yes checking for poll... (cached) yes checking for fcntl... (cached) yes checking for inet_pton... yes checking for inet_ntop... (cached) yes checking for struct msghdr.msg_flags... yes checking for socklen_t... (cached) yes checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking whether to use CRC32... no configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating include/enet/Makefile config.status: executing depfiles commands =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for bloodfrontier-b2_12 /usr/local/bin/gmake -C enet/ all c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o shared/crypto.o shared/crypto.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o shared/geom.o shared/geom.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o shared/stream.o shared/stream.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o shared/tools.o shared/tools.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o shared/zip.o shared/zip.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/bih.o engine/bih.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/blend.o engine/blend.cpp gmake[1]: Entering directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet' c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/blob.o engine/blob.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/client.o engine/client.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/command.o engine/command.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/console.o engine/console.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/decal.o engine/decal.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/dynlight.o engine/dynlight.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/glare.o engine/glare.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/grass.o engine/grass.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/irc.o engine/irc.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/lightmap.o engine/lightmap.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/main.o engine/main.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/material.o engine/material.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/menus.o engine/menus.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/movie.o engine/movie.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/normal.o engine/normal.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/octa.o engine/octa.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/octaedit.o engine/octaedit.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/octarender.o engine/octarender.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/physics.o engine/physics.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/pvs.o engine/pvs.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/rendergl.o engine/rendergl.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/rendermodel.o engine/rendermodel.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/renderparticles.o engine/renderparticles.cpp Making all in include c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/rendersky.o engine/rendersky.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/rendertext.o engine/rendertext.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/renderva.o engine/renderva.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/server.o engine/server.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/serverbrowser.o engine/serverbrowser.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/shader.o engine/shader.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/shadowmap.o engine/shadowmap.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/sound.o engine/sound.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/texture.o engine/texture.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/ui.o engine/ui.cpp gmake[2]: Entering directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet/include' c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/water.o engine/water.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/world.o engine/world.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o engine/worldio.o engine/worldio.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o game/ai.o game/ai.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o game/client.o game/client.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o game/ctf.o game/ctf.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o game/entities.o game/entities.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o game/game.o game/game.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o game/hud.o game/hud.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o game/physics.o game/physics.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o game/projs.o game/projs.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o game/server.o game/server.cpp Making all in enet c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o game/stf.o game/stf.cpp gmake[3]: Entering directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet/include/enet' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet/include/enet' gmake[3]: Entering directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet/include' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet/include' c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DINTERFACE -DIRC -Ishared -Iengine -Igame -Ienet/include -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -c -o game/weapons.o game/weapons.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o shared/crypto-standalone.o shared/crypto.cpp gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet/include' c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o shared/stream-standalone.o shared/stream.cpp gmake[2]: Entering directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet' cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -MT host.o -MD -MP -MF .deps/host.Tpo -c -o host.o host.c c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o shared/tools-standalone.o shared/tools.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o engine/command-standalone.o engine/command.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o engine/irc-standalone.o engine/irc.cpp cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o engine/master-standalone.o engine/master.cpp c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o engine/server-standalone.o engine/server.cpp cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -MT callbacks.o -MD -MP -MF .deps/callbacks.Tpo -c -o callbacks.o callbacks.c mv -f .deps/callbacks.Tpo .deps/callbacks.Po cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -MT packet.o -MD -MP -MF .deps/packet.Tpo -c -o packet.o packet.c mv -f .deps/list.Tpo .deps/list.Po cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -MT peer.o -MD -MP -MF .deps/peer.Tpo -c -o peer.o peer.c mv -f .deps/host.Tpo .deps/host.Po cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -MT protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.c In file included from shared/tools.cpp:3: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from shared/tools.cpp:3: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from shared/tools.cpp:3: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ shared/tools.cpp:21:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 21 | register uint x = (seed | 1U) & 0xFFFFFFFFU, *s = state; | ^~~~~~~~ shared/tools.cpp:21:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 21 | register uint x = (seed | 1U) & 0xFFFFFFFFU, *s = state; | ^~~~~~~~ shared/tools.cpp:22:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 22 | register int j; | ^~~~~~~~ shared/tools.cpp:28:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 28 | register uint *p0=state, *p2=state+2, *pM=state+M, s0, s1; | ^~~~~~~~ shared/tools.cpp:28:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 28 | register uint *p0=state, *p2=state+2, *pM=state+M, s0, s1; | ^~~~~~~~ shared/tools.cpp:28:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 28 | register uint *p0=state, *p2=state+2, *pM=state+M, s0, s1; | ^~~~~~~~ shared/tools.cpp:28:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 28 | register uint *p0=state, *p2=state+2, *pM=state+M, s0, s1; | ^~~~~~~~ shared/tools.cpp:28:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 28 | register uint *p0=state, *p2=state+2, *pM=state+M, s0, s1; | ^~~~~~~~ shared/tools.cpp:29:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 29 | register int j; | ^~~~~~~~ 12 warnings generated. c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o game/server-standalone.o game/server.cpp In file included from engine/client.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/client.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/client.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/client.cpp:3: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -MT unix.o -MD -MP -MF .deps/unix.Tpo -c -o unix.o unix.c mv -f .deps/packet.Tpo .deps/packet.Po In file included from shared/stream.cpp:1: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from shared/stream.cpp:1: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from shared/stream.cpp:1: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ shared/stream.cpp:515:22: warning: expression result unused [-Wunused-value] 515 | for(; *mode; *mode++) | ^~~~~~~ 4 warnings generated. cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -MT win32.o -MD -MP -MF .deps/win32.Tpo -c -o win32.o win32.c In file included from engine/bih.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/bih.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/bih.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/bih.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from shared/stream.cpp:1: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from shared/stream.cpp:1: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from shared/stream.cpp:1: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ shared/stream.cpp:515:22: warning: expression result unused [-Wunused-value] 515 | for(; *mode; *mode++) | ^~~~~~~ 4 warnings generated. In file included from engine/dynlight.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/dynlight.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/dynlight.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/dynlight.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from shared/geom.cpp:1: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from shared/geom.cpp:1: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from shared/geom.cpp:1: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ 3 warnings generated. In file included from shared/tools.cpp:3: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from shared/tools.cpp:3: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from shared/tools.cpp:3: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ shared/tools.cpp:21:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 21 | register uint x = (seed | 1U) & 0xFFFFFFFFU, *s = state; | ^~~~~~~~ shared/tools.cpp:21:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 21 | register uint x = (seed | 1U) & 0xFFFFFFFFU, *s = state; | ^~~~~~~~ shared/tools.cpp:22:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 22 | register int j; | ^~~~~~~~ shared/tools.cpp:28:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 28 | register uint *p0=state, *p2=state+2, *pM=state+M, s0, s1; | ^~~~~~~~ shared/tools.cpp:28:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 28 | register uint *p0=state, *p2=state+2, *pM=state+M, s0, s1; | ^~~~~~~~ shared/tools.cpp:28:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 28 | register uint *p0=state, *p2=state+2, *pM=state+M, s0, s1; | ^~~~~~~~ shared/tools.cpp:28:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 28 | register uint *p0=state, *p2=state+2, *pM=state+M, s0, s1; | ^~~~~~~~ shared/tools.cpp:28:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 28 | register uint *p0=state, *p2=state+2, *pM=state+M, s0, s1; | ^~~~~~~~ shared/tools.cpp:29:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 29 | register int j; | ^~~~~~~~ 12 warnings generated. In file included from engine/glare.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/glare.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/glare.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/glare.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. mv -f .deps/win32.Tpo .deps/win32.Po In file included from engine/sound.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/sound.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/sound.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/sound.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/shadowmap.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/shadowmap.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/shadowmap.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/shadowmap.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/rendersky.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/rendersky.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/rendersky.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/rendersky.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/rendersky.cpp:7:7: warning: variable 'fail' set but not used [-Wunused-but-set-variable] 7 | bool fail = false; | ^ 6 warnings generated. In file included from engine/grass.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/grass.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/grass.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/grass.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/blob.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/blob.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/blob.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/blob.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/master.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/master.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/master.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ 3 warnings generated. In file included from shared/zip.cpp:1: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from shared/zip.cpp:1: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from shared/zip.cpp:1: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ 3 warnings generated. In file included from engine/serverbrowser.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/serverbrowser.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/serverbrowser.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/serverbrowser.cpp:3: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. mv -f .deps/peer.Tpo .deps/peer.Po In file included from engine/blend.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/blend.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/blend.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/blend.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/normal.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/normal.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/normal.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/normal.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/material.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/material.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/material.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/material.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/rendertext.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/rendertext.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/rendertext.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/rendertext.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/main.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/main.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/main.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/main.cpp:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. protocol.c:47:16: warning: 7 enumeration values not handled in switch: 'ENET_PEER_STATE_DISCONNECTED', 'ENET_PEER_STATE_CONNECTING', 'ENET_PEER_STATE_ACKNOWLEDGING_CONNECT'... [-Wswitch] 47 | switch (currentPeer -> state) | ^~~~~~~~~~~~~~~~~~~~ protocol.c:712:13: warning: 7 enumeration values not handled in switch: 'ENET_PEER_STATE_DISCONNECTED', 'ENET_PEER_STATE_CONNECTING', 'ENET_PEER_STATE_CONNECTION_PENDING'... [-Wswitch] 712 | switch (peer -> state) | ^~~~~~~~~~~~~ 2 warnings generated. In file included from engine/irc.cpp:2: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/irc.cpp:2: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/irc.cpp:2: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/irc.cpp:2: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/irc.cpp:165:68: warning: address of array 'n->passkey' will always evaluate to 'true' [-Wpointer-bool-conversion] 165 | if(!s || !*s) { conoutf("%s current password is: %s", n->name, n->passkey && *n->passkey ? "" : ""); return; } | ~~~^~~~~~~ ~~ shared/command.h:224:73: note: expanded from macro 'ICOMMAND' 224 | #define ICOMMAND(n, g, proto, b) _COMMAND(ID_COMMAND, , n, n, g, proto, b, IDF_COMPLETE) | ^ shared/command.h:222:33: note: expanded from macro '_COMMAND' 222 | static void run proto { b; } \ | ^ engine/irc.cpp:251:88: warning: address of array 'c->passkey' will always evaluate to 'true' [-Wpointer-bool-conversion] 251 | if(!s || !*s) { conoutf("%s channel %s current password is: %s", n->name, c->name, c->passkey && *c->passkey ? "" : ""); return; } | ~~~^~~~~~~ ~~ shared/command.h:224:73: note: expanded from macro 'ICOMMAND' 224 | #define ICOMMAND(n, g, proto, b) _COMMAND(ID_COMMAND, , n, n, g, proto, b, IDF_COMPLETE) | ^ shared/command.h:222:33: note: expanded from macro '_COMMAND' 222 | static void run proto { b; } \ | ^ 7 warnings generated. mv -f .deps/protocol.Tpo .deps/protocol.Po In file included from game/stf.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from game/stf.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from game/stf.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from game/stf.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/irc.cpp:2: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/irc.cpp:2: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/irc.cpp:2: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ engine/irc.cpp:165:68: warning: address of array 'n->passkey' will always evaluate to 'true' [-Wpointer-bool-conversion] 165 | if(!s || !*s) { conoutf("%s current password is: %s", n->name, n->passkey && *n->passkey ? "" : ""); return; } | ~~~^~~~~~~ ~~ shared/command.h:224:73: note: expanded from macro 'ICOMMAND' 224 | #define ICOMMAND(n, g, proto, b) _COMMAND(ID_COMMAND, , n, n, g, proto, b, IDF_COMPLETE) | ^ shared/command.h:222:33: note: expanded from macro '_COMMAND' 222 | static void run proto { b; } \ | ^ engine/irc.cpp:251:88: warning: address of array 'c->passkey' will always evaluate to 'true' [-Wpointer-bool-conversion] 251 | if(!s || !*s) { conoutf("%s channel %s current password is: %s", n->name, c->name, c->passkey && *c->passkey ? "" : ""); return; } | ~~~^~~~~~~ ~~ shared/command.h:224:73: note: expanded from macro 'ICOMMAND' 224 | #define ICOMMAND(n, g, proto, b) _COMMAND(ID_COMMAND, , n, n, g, proto, b, IDF_COMPLETE) | ^ shared/command.h:222:33: note: expanded from macro '_COMMAND' 222 | static void run proto { b; } \ | ^ 5 warnings generated. mv -f .deps/unix.Tpo .deps/unix.Po In file included from engine/movie.cpp:14: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/movie.cpp:14: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/movie.cpp:14: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/movie.cpp:14: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. rm -f libenet.a ar cru libenet.a host.o list.o callbacks.o packet.o peer.o protocol.o unix.o win32.o ranlib libenet.a gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet' gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/enet' In file included from engine/console.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/console.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/console.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/console.cpp:3: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/server.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/server.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/server.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/server.cpp:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/server.cpp:341:10: warning: variable 'reliable' set but not used [-Wunused-but-set-variable] 341 | bool reliable = false; | ^ 6 warnings generated. In file included from engine/rendergl.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/rendergl.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/rendergl.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/rendergl.cpp:3: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/decal.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/decal.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/decal.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/decal.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/worldio.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/worldio.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/worldio.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/worldio.cpp:3: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/worldio.cpp:1177:10: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 1177 | if(!&mmi) conoutf("\frcould not find map model: %d", mmindex); | ~ ^~~ engine/worldio.cpp:636:9: warning: variable 'samegame' set but not used [-Wunused-but-set-variable] 636 | bool samegame = true; | ^ 7 warnings generated. In file included from game/weapons.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from game/weapons.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from game/weapons.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from game/weapons.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/server.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/server.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/server.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ engine/server.cpp:341:10: warning: variable 'reliable' set but not used [-Wunused-but-set-variable] 341 | bool reliable = false; | ^ 4 warnings generated. In file included from engine/menus.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/menus.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/menus.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/menus.cpp:3: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from game/projs.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from game/projs.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from game/projs.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from game/projs.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ game/projs.cpp:337:39: warning: unused variable 'orig' [-Wunused-variable] 337 | vec dir = vec(proj.to).sub(proj.o), orig = proj.o; | ^~~~ game/projs.cpp:449:28: warning: address of array 'weaptype[weap].time' will always evaluate to 'true' [-Wpointer-bool-conversion] 449 | else if(!weaptype[weap].time || life) | ~~~~~~~~~~~~~~~~^~~~ game/projs.cpp:1201:10: warning: unused variable 'pos' [-Wunused-variable] 1201 | vec pos = vec(proj.o).sub(vec(proj.vel).normalize().mul(3.f)); | ^~~ 8 warnings generated. In file included from engine/pvs.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/pvs.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/pvs.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/pvs.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/world.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/world.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/world.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/world.cpp:3: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/water.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/water.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/water.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/water.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from shared/crypto.cpp:1: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from shared/crypto.cpp:1: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from shared/crypto.cpp:1: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ 3 warnings generated. In file included from engine/ui.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/ui.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/ui.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/ui.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ In file included from engine/ui.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:369:28: warning: source of this 'memcpy' call is a pointer to dynamic class 'gui'; vtable pointer will be copied [-Wdynamic-class-memaccess] 369 | memcpy(newbuf, buf, olen*sizeof(T)); | ~~~~~~ ^ shared/tools.h:302:24: note: in instantiation of member function 'vector::vrealloc' requested here 302 | if(ulen==alen) vrealloc(ulen+1); | ^ engine/ui.cpp:885:17: note: in instantiation of member function 'vector::add' requested here 885 | gui &g = guis.add(); | ^ shared/tools.h:369:28: note: explicitly cast the pointer to silence this warning 369 | memcpy(newbuf, buf, olen*sizeof(T)); | ^ | (void*) 6 warnings generated. In file included from game/physics.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from game/physics.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from game/physics.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from game/physics.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ game/physics.cpp:836:8: warning: unused variable 'vel' [-Wunused-variable] 836 | vec vel(pl->vel); | ^~~ 6 warnings generated. In file included from engine/renderva.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/renderva.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/renderva.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/renderva.cpp:3: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/renderva.cpp:419:6: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 419 | if(&mmi) rendermodel(&e.light, mmi.name, anim, e.o, (float)(e.attrs[1]%360), 0, (float)(e.attrs[2]%360), flags, NULL, NULL, basetime, 0, e.attrs[3] ? min(e.attrs[3]/100.f, 1.f) : 1.f, e.attrs[4] ? max(e.attrs[4]/100.f, 1e-3f) : 1.f); | ~~ ^~~ engine/renderva.cpp:2229:51: warning: variable 'prevva' set but not used [-Wunused-but-set-variable] 2229 | if(oqbatch && !reflecting) for(vtxarray **prevva = &FIRSTVA, *va = FIRSTVA; va; prevva = &NEXTVA, va = NEXTVA) | ^ engine/renderva.cpp:2269:24: warning: variable 'prevva' set but not used [-Wunused-but-set-variable] 2269 | for(vtxarray **prevva = &FIRSTVA, *va = FIRSTVA; va; prevva = &NEXTVA, va = NEXTVA) | ^ 8 warnings generated. In file included from engine/command.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/command.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/command.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/command.cpp:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from shared/crypto.cpp:1: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from shared/crypto.cpp:1: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from shared/crypto.cpp:1: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ 3 warnings generated. In file included from engine/octa.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/octa.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/octa.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/octa.cpp:3: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from game/ai.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from game/ai.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from game/ai.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from game/ai.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/command.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/command.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/command.cpp:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ 3 warnings generated. In file included from game/ctf.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from game/ctf.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from game/ctf.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from game/ctf.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from game/client.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from game/client.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from game/client.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from game/client.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ game/client.cpp:1007:8: warning: variable 'mapchanged' set but not used [-Wunused-but-set-variable] 1007 | bool mapchanged = false; | ^ 6 warnings generated. In file included from engine/shader.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/shader.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/shader.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/shader.cpp:3: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/shader.cpp:81:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 81 | if(msg && err!=-1) | ^ engine/shader.cpp:79:5: note: previous statement is here 79 | if(type!=GL_VERTEX_PROGRAM_ARB || !apple_vp_bug) | ^ engine/shader.cpp:126:3: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 126 | glDeleteObject_(obj); | ^ engine/shader.cpp:125:9: note: previous statement is here 125 | if(msg) showglslinfo(obj, tname, name); | ^ 7 warnings generated. In file included from engine/octarender.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/octarender.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/octarender.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/octarender.cpp:3: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/octarender.cpp:44:20: warning: unused function 'hthash' [-Wunused-function] 44 | static inline uint hthash(GLuint key) | ^~~~~~ engine/octarender.cpp:49:20: warning: unused function 'htcmp' [-Wunused-function] 49 | static inline bool htcmp(GLuint x, GLuint y) | ^~~~~ 7 warnings generated. In file included from game/hud.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from game/hud.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from game/hud.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from game/hud.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/lightmap.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/lightmap.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/lightmap.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/lightmap.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/physics.cpp:6: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/physics.cpp:6: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/physics.cpp:6: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/physics.cpp:6: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/octaedit.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/octaedit.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/octaedit.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/octaedit.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from game/game.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from game/game.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from game/game.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from game/game.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ game/game.cpp:913:65: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 913 | case 1: if(isme || m_duke(gamemode, mutators)) show = true; break; | ^ game/game.cpp:911:4: note: previous statement is here 911 | else switch(showobituaries) | ^ 6 warnings generated. In file included from game/entities.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from game/entities.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from game/entities.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from game/entities.cpp:1: In file included from game/game.h:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from engine/renderparticles.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/renderparticles.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/renderparticles.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/renderparticles.cpp:3: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/renderparticles.cpp:136:15: warning: 'listrenderer::cleanup' hides overloaded virtual function [-Woverloaded-virtual] 136 | virtual void cleanup(T *p) | ^ engine/explosion.h:395:27: note: in instantiation of template class 'listrenderer' requested here 395 | struct fireballrenderer : sharedlistrenderer | ^ engine/renderparticles.cpp:62:15: note: hidden overloaded virtual function 'partrenderer::cleanup' declared here: different number of parameters (0 vs 1) 62 | virtual void cleanup() {} | ^ In file included from engine/renderparticles.cpp:248: engine/explosion.h:412:10: warning: 'fireballrenderer::cleanup' hides overloaded virtual function [-Woverloaded-virtual] 412 | void cleanup() | ^ engine/renderparticles.cpp:136:15: note: hidden overloaded virtual function 'listrenderer::cleanup' declared here: different number of parameters (1 vs 0) 136 | virtual void cleanup(T *p) | ^ engine/renderparticles.cpp:136:15: warning: 'listrenderer::cleanup' hides overloaded virtual function [-Woverloaded-virtual] 136 | virtual void cleanup(T *p) | ^ engine/renderparticles.cpp:308:25: note: in instantiation of template class 'listrenderer' requested here 308 | struct portalrenderer : listrenderer | ^ engine/renderparticles.cpp:62:15: note: hidden overloaded virtual function 'partrenderer::cleanup' declared here: different number of parameters (0 vs 1) 62 | virtual void cleanup() {} | ^ engine/renderparticles.cpp:136:15: warning: 'listrenderer::cleanup' hides overloaded virtual function [-Woverloaded-virtual] 136 | virtual void cleanup(T *p) | ^ engine/renderparticles.cpp:363:23: note: in instantiation of template class 'listrenderer' requested here 363 | struct iconrenderer : listrenderer | ^ engine/renderparticles.cpp:62:15: note: hidden overloaded virtual function 'partrenderer::cleanup' declared here: different number of parameters (0 vs 1) 62 | virtual void cleanup() {} | ^ engine/renderparticles.cpp:136:15: warning: 'listrenderer::cleanup' hides overloaded virtual function [-Woverloaded-virtual] 136 | virtual void cleanup(T *p) | ^ engine/renderparticles.cpp:720:32: note: in instantiation of template class 'listrenderer' requested here 720 | struct lineprimitiverenderer : listrenderer | ^ engine/renderparticles.cpp:62:15: note: hidden overloaded virtual function 'partrenderer::cleanup' declared here: different number of parameters (0 vs 1) 62 | virtual void cleanup() {} | ^ engine/renderparticles.cpp:136:15: warning: 'listrenderer::cleanup' hides overloaded virtual function [-Woverloaded-virtual] 136 | virtual void cleanup(T *p) | ^ engine/renderparticles.cpp:775:32: note: in instantiation of template class 'listrenderer' requested here 775 | struct trisprimitiverenderer : listrenderer | ^ engine/renderparticles.cpp:62:15: note: hidden overloaded virtual function 'partrenderer::cleanup' declared here: different number of parameters (0 vs 1) 62 | virtual void cleanup() {} | ^ engine/renderparticles.cpp:136:15: warning: 'listrenderer::cleanup' hides overloaded virtual function [-Woverloaded-virtual] 136 | virtual void cleanup(T *p) | ^ engine/renderparticles.cpp:840:32: note: in instantiation of template class 'listrenderer' requested here 840 | struct loopprimitiverenderer : listrenderer | ^ engine/renderparticles.cpp:62:15: note: hidden overloaded virtual function 'partrenderer::cleanup' declared here: different number of parameters (0 vs 1) 62 | virtual void cleanup() {} | ^ engine/renderparticles.cpp:136:15: warning: 'listrenderer::cleanup' hides overloaded virtual function [-Woverloaded-virtual] 136 | virtual void cleanup(T *p) | ^ engine/renderparticles.cpp:914:32: note: in instantiation of template class 'listrenderer' requested here 914 | struct coneprimitiverenderer : listrenderer | ^ engine/renderparticles.cpp:62:15: note: hidden overloaded virtual function 'partrenderer::cleanup' declared here: different number of parameters (0 vs 1) 62 | virtual void cleanup() {} | ^ engine/renderparticles.cpp:486:13: warning: unused function 'genpos<2>' [-Wunused-function] 486 | inline void genpos(const vec &o, const vec &d, float size, int ts, int grav, partvert *vs) | ^~~~~~~~~~~~~~~~ 14 warnings generated. In file included from engine/texture.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/texture.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/texture.cpp:3: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/texture.cpp:3: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. In file included from game/server.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from game/server.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from game/server.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from game/server.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ game/server.cpp:1525:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] 1525 | if(!ip) return *(savedscore *)0; | ^~~~~~~~~~~~~~~~ game/server.cpp:1546:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] 1546 | if(!insert) return *(savedscore *)0; | ^~~~~~~~~~~~~~~~ game/server.cpp:1556:7: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 1556 | if(&sc) sc.save(ci->state); | ~~ ^~ game/server.cpp:1698:30: warning: variable 'invalid' set but not used [-Wunused-but-set-variable] 1698 | int total = 0, unsent = 0, invalid = 0; | ^ game/server.cpp:1938:13: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 1938 | if(&sc) | ~~ ^~ game/server.cpp:2334:58: warning: result of comparison of constant 0 with expression of type 'bool' is always false [-Wtautological-constant-compare] 2334 | if(gs.weapshots[weap][flags&HIT_ALT ? 1 : 0].find(id) < 0) return; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ 11 warnings generated. In file included from game/server.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from game/server.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from game/server.cpp:2: In file included from game/game.h:4: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ game/server.cpp:1525:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] 1525 | if(!ip) return *(savedscore *)0; | ^~~~~~~~~~~~~~~~ game/server.cpp:1546:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] 1546 | if(!insert) return *(savedscore *)0; | ^~~~~~~~~~~~~~~~ game/server.cpp:1556:7: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 1556 | if(&sc) sc.save(ci->state); | ~~ ^~ game/server.cpp:1698:30: warning: variable 'invalid' set but not used [-Wunused-but-set-variable] 1698 | int total = 0, unsent = 0, invalid = 0; | ^ game/server.cpp:1938:13: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 1938 | if(&sc) | ~~ ^~ game/server.cpp:2334:58: warning: result of comparison of constant 0 with expression of type 'bool' is always false [-Wtautological-constant-compare] 2334 | if(gs.weapshots[weap][flags&HIT_ALT ? 1 : 0].find(id) < 0) return; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ 9 warnings generated. c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -o bfserver shared/crypto-standalone.o shared/stream-standalone.o shared/tools-standalone.o engine/command-standalone.o engine/irc-standalone.o engine/master-standalone.o engine/server-standalone.o game/server-standalone.o -Lenet -lenet -lz strip bfserver In file included from engine/rendermodel.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:80: shared/tools.h:795:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | inline char *expandstr(char *o, const char *n, char *delimit = " ") | ^ In file included from engine/rendermodel.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:81: shared/command.h:88:47: warning: destination for this 'memcpy' call is a pointer to dynamic class 'ident'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ~~~~~~ ^ shared/command.h:88:47: note: explicitly cast the pointer to silence this warning 88 | ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh | ^ | (void*) In file included from engine/rendermodel.cpp:1: In file included from engine/engine.h:4: In file included from shared/cube.h:85: shared/iengine.h:455:31: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] 455 | defvformatstring(str, faded, fmt); | ^ shared/iengine.h:453:75: note: parameter of type 'bool' is declared here 453 | int buttonf(const char *fmt, int color, const char *icon = NULL, bool faded = true, ...) | ^ In file included from engine/rendermodel.cpp:1: In file included from engine/engine.h:45: engine/texture.h:154:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 154 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ engine/texture.h:171:13: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 171 | if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; | ~^~~~ 5 warnings generated. c++ -O2 -pipe -O3 -fomit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -O3 -fomit-frame-pointer -std=c++14 -Wall -fsigned-char -o bfclient shared/crypto.o shared/geom.o shared/stream.o shared/tools.o shared/zip.o engine/bih.o engine/blend.o engine/blob.o engine/client.o engine/command.o engine/console.o engine/decal.o engine/dynlight.o engine/glare.o engine/grass.o engine/irc.o engine/lightmap.o engine/main.o engine/material.o engine/menus.o engine/movie.o engine/normal.o engine/octa.o engine/octaedit.o engine/octarender.o engine/physics.o engine/pvs.o engine/rendergl.o engine/rendermodel.o engine/renderparticles.o engine/rendersky.o engine/rendertext.o engine/renderva.o engine/server.o engine/serverbrowser.o engine/shader.o engine/shadowmap.o engine/sound.o engine/texture.o engine/ui.o engine/water.o engine/world.o engine/worldio.o game/ai.o game/client.o game/ctf.o game/entities.o game/game.o game/hud.o game/physics.o game/projs.o game/server.o game/stf.o game/weapons.o -Lenet -lenet -L/usr/local/lib `/usr/local/bin/sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lX11 strip bfclient =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bloodfrontier-b2_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for bloodfrontier-b2_12 ===> Generating temporary packing list (cd /wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/data && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "." /wrkdirs/usr/ports/games/bloodfrontier/work/stage/usr/local/share/bloodfrontier) install -m 555 /wrkdirs/usr/ports/games/bloodfrontier/work/bfclient /wrkdirs/usr/ports/games/bloodfrontier/work/stage/usr/local/bin/ install -s -m 555 /wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/bfclient /wrkdirs/usr/ports/games/bloodfrontier/work/stage/usr/local/libexec/ install -m 0644 /wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/bloodfrontier.ico /wrkdirs/usr/ports/games/bloodfrontier/work/stage/usr/local/share/pixmaps install -m 555 /wrkdirs/usr/ports/games/bloodfrontier/work/bfserver /wrkdirs/usr/ports/games/bloodfrontier/work/stage/usr/local/bin/ install -s -m 555 /wrkdirs/usr/ports/games/bloodfrontier/work/bloodfrontier/src/bfserver /wrkdirs/usr/ports/games/bloodfrontier/work/stage/usr/local/libexec/ ====> 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=2026-03-13T09:01:44+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=bbab7f59e963' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for bloodfrontier-b2_12 ===> Building bloodfrontier-b2_12 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for bloodfrontier-b2_12 build of games/bloodfrontier | bloodfrontier-b2_12 ended at Fri Mar 13 05:03:46 EDT 2026 build time: 00:02:03