------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/bloodfrontier XDG_CONFIG_HOME=/construction/games/bloodfrontier XDG_CACHE_HOME=/construction/games/bloodfrontier/.cache HOME=/construction/games/bloodfrontier TMPDIR="/tmp" PATH=/construction/games/bloodfrontier/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/bloodfrontier/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/bloodfrontier XDG_CONFIG_HOME=/construction/games/bloodfrontier XDG_CACHE_HOME=/construction/games/bloodfrontier/.cache HOME=/construction/games/bloodfrontier TMPDIR="/tmp" PATH=/construction/games/bloodfrontier/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/bloodfrontier/.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 CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O3 -fomit-frame-pointer -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer " MANPREFIX="/usr/local" 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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/games/bloodfrontier/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/bloodfrontier" EXAMPLESDIR="share/examples/bloodfrontier" DATADIR="share/bloodfrontier" WWWDIR="www/bloodfrontier" ETCDIR="etc/bloodfrontier" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/gmake-4.3_2.pkg Installing /packages/All/ncurses-6.4.pkg ===== Message from ncurses-6.4: -- To get the terminfo database please install the terminfo-db package: pkg install terminfo-db Installing /packages/All/aalib-1.4.r5_13.pkg ===== Message from aalib-1.4.r5_13: -- ===> 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 Installing /packages/All/libXau-1.0.9.pkg Installing /packages/All/xorgproto-2022.1_1.pkg Installing /packages/All/libXdmcp-1.1.3.pkg Installing /packages/All/libxcb-1.15_1.pkg Installing /packages/All/libX11-1.8.6,1.pkg Installing /packages/All/libXext-1.3.4,1.pkg Installing /packages/All/libglvnd-1.6.0.pkg Installing /packages/All/libGLU-9.0.2_2.pkg Installing /packages/All/libXrender-0.9.10_2.pkg Installing /packages/All/libXrandr-1.5.2.pkg Installing /packages/All/sdl-1.2.15_15,2.pkg ===== Message from sdl-1.2.15_15,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". Installing /packages/All/ccache-3.7.12_4.pkg 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 gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. Installing /packages/All/png-1.6.39.pkg Installing /packages/All/libdeflate-1.18.pkg Installing /packages/All/jbigkit-2.1_1.pkg Installing /packages/All/liblz4-1.9.4,1.pkg Installing /packages/All/zstd-1.5.5.pkg Installing /packages/All/jpeg-turbo-2.1.5.1.pkg Installing /packages/All/tiff-4.4.0_1.pkg Installing /packages/All/giflib-5.2.1.pkg Installing /packages/All/webp-1.3.0_1.pkg Installing /packages/All/sdl_image-1.2.12_12.pkg Installing /packages/All/libogg-1.3.5,4.pkg Installing /packages/All/flac-1.4.3,1.pkg Installing /packages/All/libmikmod-3.3.11.1_1.pkg Installing /packages/All/smpeg-0.4.4_17.pkg Installing /packages/All/libvorbis-1.3.7_2,3.pkg Installing /packages/All/timidity-0.2i_1.pkg ===== 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 Installing /packages/All/sdl_mixer-1.2.12_14.pkg SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> bloodfrontier-b2_12 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> bloodfrontier-b2_12 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bloodfrontier-b2_12 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> bloodfrontier-b2_12 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bloodfrontier-b2_12 for building => SHA256 Checksum OK for bloodfrontier-B2-linux.tar.bz2. SUCCEEDED 00:00:16 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> bloodfrontier-b2_12 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bloodfrontier-b2_12 for building ===> Extracting for bloodfrontier-b2_12 ===> bloodfrontier-b2_12 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bloodfrontier-b2_12 for building => SHA256 Checksum OK for bloodfrontier-B2-linux.tar.bz2. Extracted Memory Use: 440.92M SUCCEEDED 00:02:24 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for bloodfrontier-b2_12 ===> Applying ports patches for bloodfrontier-b2_12 from /xports/games/bloodfrontier/files ===> Applying dragonfly patches for bloodfrontier-b2_12 from /xports/games/bloodfrontier/dragonfly SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> bloodfrontier-b2_12 depends on package: gmake>=4.3 - found ===> bloodfrontier-b2_12 depends on file: /usr/local/bin/sdl-config - found ===> 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 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> 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 - found (/usr/local/lib/libSDL_image.so) ===> bloodfrontier-b2_12 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> bloodfrontier-b2_12 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> bloodfrontier-b2_12 depends on package: gmake>=4.3 - found ===> bloodfrontier-b2_12 depends on file: /usr/local/bin/sdl-config - found ===> 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 - found ===> 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 - found (/usr/local/lib/libSDL_image.so) ===> bloodfrontier-b2_12 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> bloodfrontier-b2_12 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> Configuring for bloodfrontier-b2_12 configure: loading site script /xports/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 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 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 SUCCEEDED 00:00:09 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for bloodfrontier-b2_12 gmake[2]: Entering directory '/construction/games/bloodfrontier/bloodfrontier/src' gmake -C enet/ all c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 gmake[3]: Entering directory '/construction/games/bloodfrontier/bloodfrontier/src/enet' In file included from shared/cube.h:80, from shared/crypto.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from shared/crypto.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ shared/crypto.cpp: In function 'void* genchallenge(void*, const void*, int, vector&)': shared/crypto.cpp:800:11: warning: 'void* memcpy(void*, const void*, size_t)' forming offset [25, 26] is out of the bounds [0, 24] of object 'hash' with type 'tiger::hashval' [-Warray-bounds] memcpy(challenge.digits, hash.bytes, sizeof(challenge.digits)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/crypto.cpp:797:20: note: 'hash' declared here tiger::hashval hash; ^~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from engine/command.cpp:4: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/command.cpp:4: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from engine/command.cpp:4: In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool execfile(const char*, bool)' at engine/command.cpp:775:12: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from shared/zip.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from shared/zip.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from shared/cube.h:80, from shared/zip.cpp:1: In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool addzip(const char*, const char*, const char*)' at shared/zip.cpp:266:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void mountzip(ziparchive&, vector&, const char*, const char*)' at shared/zip.cpp:248:19, inlined from 'bool addzip(const char*, const char*, const char*)' at shared/zip.cpp:296:13: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' Making all in include gmake[4]: Entering directory '/construction/games/bloodfrontier/bloodfrontier/src/enet/include' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/blend.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/blend.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from engine/dynlight.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/dynlight.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' Making all in enet c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 gmake[5]: Entering directory '/construction/games/bloodfrontier/bloodfrontier/src/enet/include/enet' gmake[5]: Nothing to be done for 'all'. gmake[5]: Leaving directory '/construction/games/bloodfrontier/bloodfrontier/src/enet/include/enet' gmake[5]: Entering directory '/construction/games/bloodfrontier/bloodfrontier/src/enet/include' gmake[5]: Nothing to be done for 'all-am'. gmake[5]: Leaving directory '/construction/games/bloodfrontier/bloodfrontier/src/enet/include' gmake[4]: Leaving directory '/construction/games/bloodfrontier/bloodfrontier/src/enet/include' gmake[4]: Entering directory '/construction/games/bloodfrontier/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 -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -MT host.o -MD -MP -MF .deps/host.Tpo -c -o host.o host.c In file included from shared/cube.h:80, from engine/engine.h:4, from engine/irc.cpp:2: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/irc.cpp:2: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from engine/irc.cpp:2: In function 'char* copystring(char*, const char*, size_t)', inlined from 'static void cmd_ircserv::run(const char*, const char*)' at engine/irc.cpp:138:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'static void cmd_ircnick::run(const char*, const char*)' at engine/irc.cpp:150:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, lmv -f .deps/host.Tpo .deps/host.Po en); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'static void cmd_ircbind::run(const char*, const char*)' at engine/irc.cpp:156:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'static void cmd_ircpass::run(const char*, const char*)' at engine/irc.cpp:162:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'static void cmd_ircfriendlychan::run(const char*, const char*, const char*)' at engine/irc.cpp:262:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'static void cmd_ircpasschan::run(const char*, const char*, const char*)' at engine/irc.cpp:246:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wscc -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 -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c tringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:121:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddclient::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:132:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:122:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddclient::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:132:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:123:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddclient::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:132:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:124:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddclient::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:132:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:125:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddclient::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:132:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:121:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddrelay::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:135:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:122:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddrelay::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:135:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:123:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddrelay::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:135:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:124:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddrelay::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:135:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:125:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddrelay::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:135:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool ircnewchan(int, const char*, const char*, const char*, const char*, int)' at engine/irc.cpp:232:12: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool ircnewchan(int, const char*, const char*, const char*, const char*, int)' at engine/irc.cpp:233:12: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool ircnewchan(int, const char*, const char*, const char*, const char*, int)' at engine/irc.cpp:234:12: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:121:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:122:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:123:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:124:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:125:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircprocess(ircnet*, char**, int, int, char**)' at engine/irc.cpp:376:48: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from engine/lightmap.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/lightmap.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ engine/lightmap.cpp: In function 'void calcsunlight(const vec&, const vec&, float, uchar*, int, extentity*)': engine/lightmap.cpp:495:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(yaw >= 360) yaw -= 360; while(yaw < 0) yaw += 360; ^~~~~ engine/lightmap.cpp:495:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(yaw >= 360) yaw -= 360; while(yaw < 0) yaw += 360; ^~~~~ engine/lightmap.cpp:496:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(pitch >= 180) pitch -= 360; while(pitch < -180) pitch += 360; ^~~~~ engine/lightmap.cpp:496:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(pitch >= 180) pitch -= 360; while(pitch < -180) pitch += 360; ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 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 -pipe -O3 -fomit-frame-pointer -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 -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -MT packet.o -MD -MP -MF .deps/packet.Tpo -c -o packet.o packet.c mv -f .deps/packet.Tpo .deps/packet.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 -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -MT peer.o -MD -MP -MF .deps/peer.Tpo -c -o peer.o peer.c In file included from shared/cube.h:80, from engine/engine.h:4, from engine/material.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/material.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from engine/engine.h:45, from engine/material.cpp:1: engine/texture.h: In member function 'void Shader::set(Slot*)': engine/texture.h:171:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; ^~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/main.cpp:4: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/main.cpp:4: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ engine/main.cpp: At global scope: engine/main.cpp:241:7: warning: built-in function 'gamma' declared as non-function [-Wbuiltin-declaration-mismatch] VARFP(gamma, 30, 100, 300, ^~~~~ shared/command.h:155:83: note: in definition of macro '_VARF' #define _VARF(name, global, min, cur, max, body, persist) void var_##name(); int global = variable(#name, min, cur, max, &global, var_##name, persist); void var_##name() { body; } ^~~~~~ engine/main.cpp:241:1: note: in expansion of macro 'VARFP' VARFP(gamma, 30, 100, 300, ^~~~~ cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from shared/tools.cpp:3: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from shared/tools.cpp:3: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from shared/geom.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from shared/geom.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/grass.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/grass.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from engine/engine.h:45, from engine/grass.cpp:1: engine/texture.h: In member function 'void Shader::set(Slot*)': engine/texture.h:171:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; ^~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' 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 -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -MT protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.c mv -f .deps/protocol.Tpo .deps/protocol.Po c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from engine/client.cpp:3: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/client.cpp:3: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 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 -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -MT unix.o -MD -MP -MF .deps/unix.Tpo -c -o unix.o unix.c mv -f .deps/unix.Tpo .deps/unix.Po c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from engine/glare.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/glare.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from engine/engine.h:45, from engine/glare.cpp:1: engine/texture.h: In member function 'void Shader::set(Slot*)': engine/texture.h:171:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; ^~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/bih.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/bih.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from shared/stream.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from shared/stream.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ shared/stream.cpp: In member function 'bool gzstream::open(stream*, const char*, bool, int)': shared/stream.cpp:515:22: warning: value computed is not used [-Wunused-value] for(; *mode; *mode++) ^~~~~~~ In file included from shared/cube.h:80, from shared/stream.cpp:1: In function 'char* copystring(char*, const char*, size_t)', inlined from 'char* makerelpath(const char*, const char*, const char*, const char*)' at shared/stream.cpp:77:26: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'char* path(const char*, bool)' at shared/stream.cpp:138:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool createdir(const char*)' at shared/stream.cpp:171:26: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ shared/stream.cpp: In function 'bool createdir(const char*)': shared/stream.cpp:167:24: note: length computed here size_t len = strlen(path); ~~~~~~^~~~~~ In file included from shared/cube.h:80, from shared/stream.cpp:1: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void sethomedir(const char*)' at shared/stream.cpp:194:11: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void addpackagedir(const char*, int)' at shared/stream.cpp:207:11: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool createdir(const char*)' at shared/stream.cpp:171:26, inlined from 'const char* findfile(const char*, const char*)' at shared/stream.cpp:228:56: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ shared/stream.cpp: In function 'const char* findfile(const char*, const char*)': shared/stream.cpp:167:24: note: length computed here size_t len = strlen(path); ~~~~~~^~~~~~ In file included from shared/cube.h:80, from shared/stream.cpp:1: In function 'char* copystring(char*, const char*, size_t)', inlined from 'const char* findfile(const char*, const char*)' at shared/stream.cpp:235:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'const char* findfile(const char*, const char*)' at shared/stream.cpp:242:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'char* makefile(const char*, const char*, int, int, bool)' at shared/stream.cpp:24:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool listdir(const char*, const char*, vector&)' at shared/stream.cpp:262:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/decal.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/decal.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from engine/engine.h:45, from engine/decal.cpp:1: engine/texture.h: In member function 'void Shader::set(Slot*)': engine/texture.h:171:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; ^~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' 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 -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -MT win32.o -MD -MP -MF .deps/win32.Tpo -c -o win32.o win32.c c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from engine/normal.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/normal.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ engine/normal.cpp: In function 'void newnormals(cube&)': engine/normal.cpp:343:55: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'struct surfacenormals'; use assignment instead [-Wclass-memaccess] memset(c.ext->normals, 128, 6*sizeof(surfacenormals)); ^ In file included from engine/engine.h:42, from engine/normal.cpp:1: engine/octa.h:54:8: note: 'struct surfacenormals' declared here struct surfacenormals ^~~~~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' mv -f .deps/win32.Tpo .deps/win32.Po c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from engine/physics.cpp:6: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/physics.cpp:6: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from engine/rendergl.cpp:3: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/rendergl.cpp:3: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from engine/engine.h:45, from engine/rendergl.cpp:3: engine/texture.h: In member function 'void Shader::set(Slot*)': engine/texture.h:171:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; ^~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from engine/octa.cpp:3: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/octa.cpp:3: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 mv -f .deps/peer.Tpo .deps/peer.Po rm -f libenet.a ar cru libenet.a host.o list.o callbacks.o packet.o peer.o protocol.o unix.o win32.o /usr/libexec/binutils234/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib libenet.a gmake[4]: Leaving directory '/construction/games/bloodfrontier/bloodfrontier/src/enet' gmake[3]: Leaving directory '/construction/games/bloodfrontier/bloodfrontier/src/enet' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from engine/renderparticles.cpp:3: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/renderparticles.cpp:3: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from engine/engine.h:45, from engine/renderparticles.cpp:3: engine/texture.h: In member function 'void Shader::set(Slot*)': engine/texture.h:171:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; ^~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/rendertext.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/rendertext.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from engine/octaedit.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/octaedit.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from engine/octaedit.cpp:1: engine/octaedit.cpp: In function 'bool ishtexture(int)': shared/tools.h:125:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define loopv(v) for(int i = 0; i<(v).length(); i++) ^~~ engine/octaedit.cpp:926:5: note: in expansion of macro 'loopv' loopv(htextures) ^~~~~ engine/octaedit.cpp:929:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return true; ^~~~~~ engine/octaedit.cpp: In function 'void pushedge(uchar&, int, int)': engine/octaedit.cpp:1248:7: warning: operation on 'edge' may be undefined [-Wsequence-point] edge = edgeset(edge, dc, ne); engine/octaedit.cpp:1250:63: warning: operation on 'edge' may be undefined [-Wsequence-point] if((dir<0 && dc && oe>ne) || (dir>0 && dc==0 && oe= 360) yaw -= 360; while(yaw < 0) yaw += 360; ^~~~~ game/entities.cpp:2060:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(yaw >= 360) yaw -= 360; while(yaw < 0) yaw += 360; ^~~~~ game/entities.cpp:2061:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(pitch >= 180) pitch -= 360; while(pitch < -180) pitch += 360; ^~~~~ game/entities.cpp:2061:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(pitch >= 180) pitch -= 360; while(pitch < -180) pitch += 360; ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/game.cpp:2: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from game/game.h:4, from game/game.cpp:2: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/game.cpp:2: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void game::startmap(const char*, const char*, bool)' at game/game.cpp:1038:19: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/hud.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from game/game.h:4, from game/hud.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from engine/shader.cpp:3: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/shader.cpp:3: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ engine/shader.cpp: In function 'bool compileasmshader(GLenum, GLuint&, const char*, const char*, const char*, bool, bool)': engine/shader.cpp:79:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(type!=GL_VERTEX_PROGRAM_ARB || !apple_vp_bug) ^~ engine/shader.cpp:81:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(msg && err!=-1) ^~ engine/shader.cpp: In function 'void compileglslshader(GLenum, GLhandleARB&, const char*, const char*, const char*, bool)': engine/shader.cpp:125:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(msg) showglslinfo(obj, tname, name); ^~ engine/shader.cpp:126:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' glDeleteObject_(obj); ^~~~~~~~~~~~~~~ In file included from engine/engine.h:45, from engine/shader.cpp:3: engine/texture.h: In member function 'void Shader::set(Slot*)': engine/texture.h:171:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; ^~ In file included from shared/cube.h:80, from engine/engine.h:4, from engine/shader.cpp:3: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void linkglslprogram(Shader&, bool)' at engine/shader.cpp:155:46: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/console.cpp:3: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/console.cpp:3: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from engine/console.cpp:3: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void inputcommand(char*, char*, char*)' at engine/console.cpp:227:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void inputcommand(char*, char*, char*)' at engine/console.cpp:227:15, inlined from 'static void cmd_saycommand::run(char*)' at engine/console.cpp:235:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void complete(char*)' at engine/console.cpp:682:13: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void complete(char*)' at engine/console.cpp:729:13, inlined from 'void complete(char*)' at engine/console.cpp:677:6: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void hline::restore()' at engine/console.cpp:296:19, inlined from 'void consolekey(int, bool, int)' at engine/console.cpp:454:75: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void hline::restore()' at engine/console.cpp:296:19, inlined from 'void consolekey(int, bool, int)' at engine/console.cpp:450:58: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/ctf.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from game/game.h:4, from game/ctf.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/serverbrowser.cpp:3: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/serverbrowser.cpp:3: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/movie.cpp:14: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/movie.cpp:14: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from engine/engine.h:45, from engine/movie.cpp:14: engine/texture.h: In member function 'void Shader::set(Slot*)': engine/texture.h:171:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; ^~ In file included from shared/cube.h:80, from engine/engine.h:4, from engine/movie.cpp:14: In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool aviwriter::open()' at engine/movie.cpp:199:27: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'aviwriter::aviwriter(const char*, uint, uint, uint, bool)' at engine/movie.cpp:145:19, inlined from 'void recorder::start(const char*, int, int, int, bool)' at engine/movie.cpp:782:71: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from engine/sound.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/sound.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o shared/crypto-standalone.o shared/crypto.cpp c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o shared/stream-standalone.o shared/stream.cpp In file included from shared/cube.h:80, from shared/crypto.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from shared/crypto.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ shared/crypto.cpp: In function 'void* genchallenge(void*, const void*, int, vector&)': shared/crypto.cpp:800:11: warning: 'void* memcpy(void*, const void*, size_t)' forming offset [25, 26] is out of the bounds [0, 24] of object 'hash' with type 'tiger::hashval' [-Warray-bounds] memcpy(challenge.digits, hash.bytes, sizeof(challenge.digits)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/crypto.cpp:797:20: note: 'hash' declared here tiger::hashval hash; ^~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/stf.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from game/game.h:4, from game/stf.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/stf.cpp:1: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void stf::setupflags()' at game/stf.cpp:157:26: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o shared/tools-standalone.o shared/tools.cpp In file included from shared/cube.h:80, from shared/stream.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from shared/stream.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ shared/stream.cpp: In member function 'bool gzstream::open(stream*, const char*, bool, int)': shared/stream.cpp:515:22: warning: value computed is not used [-Wunused-value] for(; *mode; *mode++) ^~~~~~~ In file included from shared/cube.h:80, from shared/stream.cpp:1: In function 'char* copystring(char*, const char*, size_t)', inlined from 'char* makerelpath(const char*, const char*, const char*, const char*)' at shared/stream.cpp:77:26: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'char* path(const char*, bool)' at shared/stream.cpp:138:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool createdir(const char*)' at shared/stream.cpp:171:26: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ shared/stream.cpp: In function 'bool createdir(const char*)': shared/stream.cpp:167:24: note: length computed here size_t len = strlen(path); ~~~~~~^~~~~~ In file included from shared/cube.h:80, from shared/stream.cpp:1: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void sethomedir(const char*)' at shared/stream.cpp:194:11: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void addpackagedir(const char*, int)' at shared/stream.cpp:207:11: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool createdir(const char*)' at shared/stream.cpp:171:26, inlined from 'const char* findfile(const char*, const char*)' at shared/stream.cpp:228:56: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ shared/stream.cpp: In function 'const char* findfile(const char*, const char*)': shared/stream.cpp:167:24: note: length computed here size_t len = strlen(path); ~~~~~~^~~~~~ In file included from shared/cube.h:80, from shared/stream.cpp:1: In function 'char* copystring(char*, const char*, size_t)', inlined from 'const char* findfile(const char*, const char*)' at shared/stream.cpp:235:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'const char* findfile(const char*, const char*)' at shared/stream.cpp:242:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'char* makefile(const char*, const char*, int, int, bool)' at shared/stream.cpp:24:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool listdir(const char*, const char*, vector&)' at shared/stream.cpp:262:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o engine/command-standalone.o engine/command.cpp In file included from shared/cube.h:80, from engine/engine.h:4, from engine/command.cpp:4: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/command.cpp:4: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from engine/command.cpp:4: In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool execfile(const char*, bool)' at engine/command.cpp:775:12: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o engine/irc-standalone.o engine/irc.cpp In file included from shared/cube.h:80, from shared/tools.cpp:3: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from shared/tools.cpp:3: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/irc.cpp:2: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/irc.cpp:2: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from engine/irc.cpp:2: In function 'char* copystring(char*, const char*, size_t)', inlined from 'static void cmd_ircserv::run(const char*, const char*)' at engine/irc.cpp:138:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'static void cmd_ircnick::run(const char*, const char*)' at engine/irc.cpp:150:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'static void cmd_ircbind::run(const char*, const char*)' at engine/irc.cpp:156:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'static void cmd_ircpass::run(const char*, const char*)' at engine/irc.cpp:162:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'static void cmd_ircfriendlychan::run(const char*, const char*, const char*)' at engine/irc.cpp:262:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:121:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddrelay::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:135:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:122:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddrelay::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:135:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:123:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddrelay::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:135:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:124:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddrelay::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:135:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:125:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static voc++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o engine/master-standalone.o engine/master.cpp id cmd_ircaddrelay::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:135:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:121:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddclient::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:132:1: shared/tools.h:105:82: warning: 'char* strc++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o engine/server-standalone.o engine/server.cpp ncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:122:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddclient::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:132:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:123:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddclient::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:132:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:124:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddclient::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:132:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:125:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6, inlined from 'static void cmd_ircaddclient::run(const char*, const char*, int*, const char*, const char*, const char*)' at engine/irc.cpp:132:1: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool ircnewchan(int, const char*, const char*, const char*, const char*, int)' at engine/irc.cpp:232:12: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool ircnewchan(int, const char*, const char*, const char*, const char*, int)' at engine/irc.cpp:233:12: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:121:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:122:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:123:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:124:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:125:12, inlined from 'void ircnewnet(int, const char*, const char*, int, const char*, const char*, const char*)' at engine/irc.cpp:105:6: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ircprocess(ircnet*, char**, int, int, char**)' at engine/irc.cpp:376:48: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/server.cpp:4: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/server.cpp:4: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ engine/server.cpp: In function 'void sendfile(int, int, stream*, const char*, ...)': engine/server.cpp:341:10: warning: variable 'reliable' set but not used [-Wunused-but-set-variable] bool reliable = false; ^~~~~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from engine/server.cpp:4: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void serverslice()' at engine/server.cpp:630:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 512 bytes from a string of length 1023 [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool findoctadir(const char*, bool)' at engine/server.cpp:852:25: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -Wall -fsigned-char -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o game/server-standalone.o game/server.cpp In file included from shared/cube.h:80, from engine/engine.h:4, from engine/master.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/master.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/ai.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from game/game.h:4, from game/ai.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/ai.cpp:1: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void ai::init(gameent*, int, int, int, int, int, char*, int)' at game/ai.cpp:140:19: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/worldio.cpp:3: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/worldio.cpp:3: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ engine/worldio.cpp: In function 'bool load_world(const char*, bool)': engine/worldio.cpp:1177:10: warning: the compiler can assume that the address of 'mmi' will never be NULL [-Waddress] if(!&mmi) conoutf("\frcould not find map model: %d", mmindex); ^~~ engine/worldio.cpp:1177:10: warning: the compiler can assume that the address of 'mmi' will never be NULL [-Waddress] engine/worldio.cpp:636:9: warning: variable 'samegame' set but not used [-Wunused-but-set-variable] bool samegame = true; ^~~~~~~~ engine/worldio.cpp: In function 'void save_world(const char*, bool, bool)': engine/worldio.cpp:439:9: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] strncpy(hdr.head, "BFGZ", 4); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ engine/worldio.cpp:445:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4 equals destination size [-Wstringop-truncation] strncpy(hdr.gameid, server::gameid(), 4); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engine/worldio.cpp: In function 'bool load_world(const char*, bool)': engine/worldio.cpp:939:12: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 4 bytes from a string of length 511 [-Wstringop-truncation] strncpy(hdr.gameid, gameid, 4); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/weapons.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from game/game.h:4, from game/weapons.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/projs.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from game/game.h:4, from game/projs.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ game/projs.cpp: In function 'void projs::init(projent&, bool)': game/projs.cpp:337:39: warning: variable 'orig' set but not used [-Wunused-but-set-variable] vec dir = vec(proj.to).sub(proj.o), orig = proj.o; ^~~~ game/projs.cpp: In function 'void projs::adddynlights()': game/projs.cpp:1201:10: warning: variable 'pos' set but not used [-Wunused-but-set-variable] vec pos = vec(proj.o).sub(vec(proj.vel).normalize().mul(3.f)); ^~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/texture.cpp:3: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/texture.cpp:3: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from engine/texture.cpp:3: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void texture(char*, char*, int*, int*, int*, float*)' at engine/texture.cpp:1094:12, inlined from 'void texture(char*, char*, int*, int*, int*, float*)' at engine/texture.cpp:1074:6: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void texture(char*, char*, int*, int*, int*, float*)' at engine/texture.cpp:1095:12, inlined from 'void texture(char*, char*, int*, int*, int*, float*)' at engine/texture.cpp:1074:6: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'Texture* textureload(const char*, int, bool, bool)' at engine/texture.cpp:1010:12: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'Texture* cubemaploadwildcard(Texture*, const char*, bool, bool, bool)' at engine/texture.cpp:1515:19: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'Texture* cubemaploadwildcard(Texture*, const char*, bool, bool, bool)' at engine/texture.cpp:1512:25: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool reloadtexture(const char*)' at engine/texture.cpp:1792:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void gendds(char*, char*)' at engine/texture.cpp:1984:19: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/pvs.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/pvs.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/physics.cpp:2: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from game/game.h:4, from game/physics.cpp:2: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ game/physics.cpp: In function 'void physics::updatematerial(physent*, const vec&, float, const vec&, bool, bool)': game/physics.cpp:748:101: warning: ?: using integer constants in boolean context, the expression will always evaluate to 'true' [-Wint-in-bool-context] mattrig(bottom, watercol, 0.5f, int(radius), PHYSMILLIS, 0.25f, PART_SPARK, curmat != MAT_WATER ? S_SPLASH2 : S_SPLASH1); ^ game/physics.cpp:745:8: note: in definition of macro 'mattrig' if(mw >= 0) playsound(mw, mo, pl); \ ^~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/renderva.cpp:3: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/renderva.cpp:3: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ engine/renderva.cpp: In function 'void rendermapmodel(extentity&)': engine/renderva.cpp:419:9: warning: the compiler can assume that the address of 'mmi' will never be NULL [-Waddress] 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:419:9: warning: the compiler can assume that the address of 'mmi' will never be NULL [-Waddress] engine/renderva.cpp: In function 'void rendergeom(float, bool)': engine/renderva.cpp:2229:51: warning: variable 'prevva' set but not used [-Wunused-but-set-variable] 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] for(vtxarray **prevva = &FIRSTVA, *va = FIRSTVA; va; prevva = &NEXTVA, va = NEXTVA) ^~~~~~ In file included from engine/engine.h:45, from engine/renderva.cpp:3: engine/texture.h: In member function 'void Shader::set(Slot*)': engine/texture.h:171:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; ^~ engine/texture.h: In member function 'void Shader::setvariant(int, int, Slot*, Shader*)': engine/texture.h:154:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; ^~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/server.cpp:2: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from game/game.h:4, from game/server.cpp:2: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ game/server.cpp: In function 'void server::savescore(server::clientinfo*)': game/server.cpp:1556:9: warning: the compiler can assume that the address of 'sc' will never be NULL [-Waddress] if(&sc) sc.save(ci->state); ^ game/server.cpp:1556:9: warning: the compiler can assume that the address of 'sc' will never be NULL [-Waddress] game/server.cpp: In function 'bool server::restorescore(server::clientinfo*)': game/server.cpp:1938:15: warning: the compiler can assume that the address of 'sc' will never be NULL [-Waddress] if(&sc) ^ game/server.cpp:1938:15: warning: the compiler can assume that the address of 'sc' will never be NULL [-Waddress] game/server.cpp: In member function 'virtual void server::destroyevent::process(server::clientinfo*)': game/server.cpp:2334:58: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] if(gs.weapshots[weap][flags&HIT_ALT ? 1 : 0].find(id) < 0) return; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ game/server.cpp: In function 'void server::setupdemorecord()': game/server.cpp:1239:9: warning: 'void* memcpy(void*, const void*, size_t)' forming offset [6, 16] is out of the bounds [0, 5] [-Warray-bounds] memcpy(hdr.magic, DEMO_MAGIC, sizeof(hdr.magic)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/server.cpp:2: In function 'char* copystring(char*, const char*, size_t)', inlined from 'const char* server::choosemap(const char*, int, int, int)' at game/server.cpp:619:37: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'const char* server::choosemap(const char*, int, int, int)' at game/server.cpp:641:45: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'const char* server::choosemap(const char*, int, int, int)' at game/server.cpp:661:16: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ game/server.cpp: In function 'void server::setupdemoplayback()': game/server.cpp:1140:85: warning: 'int __builtin_memcmp_eq(const void*, const void*, long unsigned int)' reading 16 bytes from a region of size 5 [-Wstringop-overflow=] else if(demoplayback->read(&hdr, sizeof(demoheader))!=sizeof(demoheader) || memcmp(hdr.magic, DEMO_MAGIC, sizeof(hdr.magic))) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/server.cpp:2: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void server::changemap(const char*, int, int)' at game/server.cpp:1641:13: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool server::vote(char*, int&, int&, int)' at game/server.cpp:1382:39: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool server::vote(char*, int&, int&, int)' at game/server.cpp:1390:44: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool server::vote(char*, int&, int&, int)' at game/server.cpp:1400:13: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void server::parsepacket(int, int, packetbuf&)' at game/server.cpp:3100:27: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 25 bytes from a string of length 4999 [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void server::parsepacket(int, int, packetbuf&)' at game/server.cpp:3540:16: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 25 bytes from a string of length 4999 [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void server::parsepacket(int, int, packetbuf&)' at game/server.cpp:3243:16: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 512 bytes from a string of length 4999 [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' In file included from shared/cube.h:80, from engine/engine.h:4, from engine/rendermodel.cpp:1: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/rendermodel.cpp:1: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ In file included from engine/rendermodel.cpp:10: engine/vertmodel.h: In member function 'void vertmodel::vertmesh::calctangents()': engine/vertmodel.h:69:54: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct vec'; use assignment or value-initialization instead [-Wclass-memaccess] memset(tangent, 0, 2*numverts*sizeof(vec)); ^ In file included from shared/cube.h:82, from engine/engine.h:4, from engine/rendermodel.cpp:1: shared/geom.h:4:8: note: 'struct vec' declared here struct vec ^~~ In file included from engine/rendermodel.cpp:11: engine/skelmodel.h: In member function 'void skelmodel::skelmesh::calctangents(bool)': engine/skelmodel.h:215:54: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct vec'; use assignment or value-initialization instead [-Wclass-memaccess] memset(tangent, 0, 2*numverts*sizeof(vec)); ^ In file included from shared/cube.h:82, from engine/engine.h:4, from engine/rendermodel.cpp:1: shared/geom.h:4:8: note: 'struct vec' declared here struct vec ^~~ In file included from engine/engine.h:45, from engine/rendermodel.cpp:1: engine/texture.h: In member function 'void Shader::set(Slot*)': engine/texture.h:171:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; ^~ engine/texture.h: In member function 'void Shader::setvariant(int, int, Slot*, Shader*)': engine/texture.h:154:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if(!this || !detailshader || renderpath==R_FIXEDFUNCTION) return; ^~ In file included from shared/cube.h:80, from engine/engine.h:4, from engine/rendermodel.cpp:1: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void mmodel(char*)' at engine/rendermodel.cpp:315:12: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void mmodel(char*)' at engine/rendermodel.cpp:315:12, inlined from 'void mapmodelcompat(int*, int*, int*, char*, char*)' at engine/rendermodel.cpp:321:8: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'char* newstring(const char*)' at shared/tools.h:789:68, inlined from 'bool obj::objmeshgroup::load(char*)' at engine/obj.h:106:38: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound depends on the length of the source argument [-Wstringop-overflow=] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ shared/tools.h: In member function 'bool obj::objmeshgroup::load(char*)': shared/tools.h:790:57: note: length computed here inline char *newstring(const char *s) { return newstring(s, strlen(s)); } ~~~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/server.cpp:2: shared/tools.h:795:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] inline char *expandstr(char *o, const char *n, char *delimit = " ") ^ In file included from shared/cube.h:81, from engine/engine.h:4, from game/game.h:4, from game/server.cpp:2: shared/command.h: In member function 'ident& ident::operator=(const ident&)': shared/command.h:88:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct ident' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ident &operator=(const ident &o) { memcpy(this, &o, sizeof(ident)); return *this; } // force vtable copy, ugh ^ shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ game/server.cpp: In function 'void server::savescore(server::clientinfo*)': game/server.cpp:1556:9: warning: the compiler can assume that the address of 'sc' will never be NULL [-Waddress] if(&sc) sc.save(ci->state); ^ game/server.cpp:1556:9: warning: the compiler can assume that the address of 'sc' will never be NULL [-Waddress] game/server.cpp: In function 'bool server::restorescore(server::clientinfo*)': game/server.cpp:1938:15: warning: the compiler can assume that the address of 'sc' will never be NULL [-Waddress] if(&sc) ^ game/server.cpp:1938:15: warning: the compiler can assume that the address of 'sc' will never be NULL [-Waddress] game/server.cpp: In member function 'virtual void server::destroyevent::process(server::clientinfo*)': game/server.cpp:2334:58: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] if(gs.weapshots[weap][flags&HIT_ALT ? 1 : 0].find(id) < 0) return; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ game/server.cpp: In function 'void server::setupdemorecord()': game/server.cpp:1239:9: warning: 'void* memcpy(void*, const void*, size_t)' forming offset [6, 16] is out of the bounds [0, 5] [-Warray-bounds] memcpy(hdr.magic, DEMO_MAGIC, sizeof(hdr.magic)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/server.cpp:2: In function 'char* copystring(char*, const char*, size_t)', inlined from 'const char* server::choosemap(const char*, int, int, int)' at game/server.cpp:619:37: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'const char* server::choosemap(const char*, int, int, int)' at game/server.cpp:641:45: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'const char* server::choosemap(const char*, int, int, int)' at game/server.cpp:661:16: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ game/server.cpp: In function 'void server::setupdemoplayback()': game/server.cpp:1140:85: warning: 'int __builtin_memcmp_eq(const void*, const void*, long unsigned int)' reading 16 bytes from a region of size 5 [-Wstringop-overflow=] else if(demoplayback->read(&hdr, sizeof(demoheader))!=sizeof(demoheader) || memcmp(hdr.magic, DEMO_MAGIC, sizeof(hdr.magic))) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from shared/cube.h:80, from engine/engine.h:4, from game/game.h:4, from game/server.cpp:2: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void server::changemap(const char*, int, int)' at game/server.cpp:1641:13: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool server::vote(char*, int&, int&, int)' at game/server.cpp:1382:39: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool server::vote(char*, int&, int&, int)' at game/server.cpp:1390:44: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool server::vote(char*, int&, int&, int)' at game/server.cpp:1400:13: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void server::parsepacket(int, int, packetbuf&)' at game/server.cpp:3100:27: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 25 bytes from a string of length 4999 [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void server::parsepacket(int, int, packetbuf&)' at game/server.cpp:3540:16: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 25 bytes from a string of length 4999 [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void server::parsepacket(int, int, packetbuf&)' at game/server.cpp:3243:16: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 512 bytes from a string of length 4999 [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' c++ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-c++11-narrowing -Wno-narrowing -O3 -fomit-frame-pointer -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 gmake[2]: Leaving directory '/construction/games/bloodfrontier/bloodfrontier/src' SUCCEEDED 00:00:42 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> bloodfrontier-b2_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for bloodfrontier-b2_12 ===> bloodfrontier-b2_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Generating temporary packing list (cd /construction/games/bloodfrontier/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 "." /construction/games/bloodfrontier/stage/usr/local/share/bloodfrontier) install -m 555 /construction/games/bloodfrontier/bfclient /construction/games/bloodfrontier/stage/usr/local/bin/ install -s -m 555 /construction/games/bloodfrontier/bloodfrontier/src/bfclient /construction/games/bloodfrontier/stage/usr/local/libexec/ install -m 0644 /construction/games/bloodfrontier/bloodfrontier/src/bloodfrontier.ico /construction/games/bloodfrontier/stage/usr/local/share/pixmaps install -m 555 /construction/games/bloodfrontier/bfserver /construction/games/bloodfrontier/stage/usr/local/bin/ install -s -m 555 /construction/games/bloodfrontier/bloodfrontier/src/bfserver /construction/games/bloodfrontier/stage/usr/local/libexec/ ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:05 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for bloodfrontier-b2_12 file sizes/checksums [2802]: 0% file sizes/checksums [2802]: 3% file sizes/checksums [2802]: 7% file sizes/checksums [2802]: 10% file sizes/checksums [2802]: 14% file sizes/checksums [2802]: 17% file sizes/checksums [2802]: 21% file sizes/checksums [2802]: 24% file sizes/checksums [2802]: 28% file sizes/checksums [2802]: 32% file sizes/checksums [2802]: 35% file sizes/checksums [2802]: 39% file sizes/checksums [2802]: 42% file sizes/checksums [2802]: 46% file sizes/checksums [2802]: 49% file sizes/checksums [2802]: 53% file sizes/checksums [2802]: 57% file sizes/checksums [2802]: 60% file sizes/checksums [2802]: 64% file sizes/checksums [2802]: 67% file sizes/checksums [2802]: 71% file sizes/checksums [2802]: 74% file sizes/checksums [2802]: 78% file sizes/checksums [2802]: 82% file sizes/checksums [2802]: 85% file sizes/checksums [2802]: 89% file sizes/checksums [2802]: 92% file sizes/checksums [2802]: 96% file sizes/checksums [2802]: 99% file sizes/checksums [2802]: 100% Service unavailablepacking files [2802]: 0% packing files [2802]: 3% packing files [2802]: 7% packing files [2802]: 10% packing files [2802]: 14% packing files [2802]: 17% packing files [2802]: 21% packing files [2802]: 24% packing files [2802]: 28% packing files [2802]: 32% packing files [2802]: 35% packing files [2802]: 39% packing files [2802]: 42% packing files [2802]: 46% packing files [2802]: 49% packing files [2802]: 53% packing files [2802]: 57% packing files [2802]: 60% packing files [2802]: 64% packing files [2802]: 67% packing files [2802]: 71% packing files [2802]: 74% packing files [2802]: 78% packing files [2802]: 82% packing files [2802]: 85% packing files [2802]: 89% packing files [2802]: 92% packing files [2802]: 96% packing files [2802]: 99% packing files [2802]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:01:27 TOTAL TIME 00:05:14