------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.1.txz Installing /packages/All/gmake-4.2.1_3.txz Installing /packages/All/ncurses-6.1.20190525.txz Installing /packages/All/aalib-1.4.r5_13.txz ===== 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Installing /packages/All/expat-2.2.8.txz Installing /packages/All/libffi-3.2.1_3.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/wayland-1.16.0.txz Installing /packages/All/pciids-20200222.txz Installing /packages/All/libpciaccess-0.16.txz Installing /packages/All/libdrm-2.4.100.txz Installing /packages/All/libelf-0.8.13_3.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2019.2.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.9,1.txz Installing /packages/All/libXfixes-5.0.3_2.txz Installing /packages/All/libXdamage-1.1.5.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libXrender-0.9.10_2.txz Installing /packages/All/libXrandr-1.5.2.txz Installing /packages/All/libxshmfence-1.3.txz Installing /packages/All/libXxf86vm-1.1.4_3.txz Installing /packages/All/mesa-libs-18.3.2_4.txz Installing /packages/All/libGLU-9.0.1.txz Installing /packages/All/sdl-1.2.15_14,2.txz ===== Message from sdl-1.2.15_14,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/png-1.6.37.txz Installing /packages/All/jbigkit-2.1_1.txz Installing /packages/All/jpeg-turbo-2.0.4.txz Installing /packages/All/tiff-4.1.0.txz Installing /packages/All/giflib-5.2.1.txz Installing /packages/All/webp-1.1.0.txz Installing /packages/All/sdl_image-1.2.12_12.txz Installing /packages/All/libogg-1.3.4,4.txz Installing /packages/All/flac-1.3.3.txz Installing /packages/All/libmikmod-3.3.11.1_1.txz Installing /packages/All/smpeg-0.4.4_15.txz Installing /packages/All/libvorbis-1.3.6,3.txz Installing /packages/All/timidity-0.2i_1.txz ===== 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Installing /packages/All/sdl_mixer-1.2.12_12.txz SUCCEEDED 00:00:10 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> bloodfrontier-b2_11 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> bloodfrontier-b2_11 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bloodfrontier-b2_11 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> bloodfrontier-b2_11 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bloodfrontier-b2_11 for building => SHA256 Checksum OK for bloodfrontier-B2-linux.tar.bz2. SUCCEEDED 00:00:10 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> bloodfrontier-b2_11 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bloodfrontier-b2_11 for building ===> Extracting for bloodfrontier-b2_11 ===> bloodfrontier-b2_11 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bloodfrontier-b2_11 for building => SHA256 Checksum OK for bloodfrontier-B2-linux.tar.bz2. Extracted Memory Use: 440.92M SUCCEEDED 00:01:53 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for bloodfrontier-b2_11 ===> Applying ports patches for bloodfrontier-b2_11 ===> Applying dragonfly patches for bloodfrontier-b2_11 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> bloodfrontier-b2_11 depends on executable: gmake - found ===> bloodfrontier-b2_11 depends on file: /usr/local/bin/sdl-config - found ===> bloodfrontier-b2_11 depends on package: xorgproto>=0 - found ===> bloodfrontier-b2_11 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> bloodfrontier-b2_11 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> bloodfrontier-b2_11 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> bloodfrontier-b2_11 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> bloodfrontier-b2_11 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> bloodfrontier-b2_11 depends on executable: gmake - found ===> bloodfrontier-b2_11 depends on file: /usr/local/bin/sdl-config - found ===> bloodfrontier-b2_11 depends on package: xorgproto>=0 - found ===> bloodfrontier-b2_11 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> bloodfrontier-b2_11 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> bloodfrontier-b2_11 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> bloodfrontier-b2_11 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> bloodfrontier-b2_11 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> Configuring for bloodfrontier-b2_11 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:04 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for bloodfrontier-b2_11 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 gmake[3]: Entering directory '/construction/games/bloodfrontier/bloodfrontier/src/enet' Making all in include gmake[4]: Entering directory '/construction/games/bloodfrontier/bloodfrontier/src/enet/include' Making all in enet 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/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: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 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 ^~~~~ 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:80, from engine/engine.h:4, from engine/blob.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/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 ^~~~~ 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 ^~~~~ In file included from shared/cube.h:81, from engine/engine.h:4, from engine/blob.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: 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/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 = " ") ^ mv -f .deps/host.Tpo .deps/host.Po cc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"9-15-2008\" -DPACKAGE_STRING=\"libenet\ 9-15-2008\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"9-15-2008\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -Iinclude -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c 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 ^~~~~ 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 engine/blob.cpp: In member function 'void blobrenderer::init(int)': engine/blob.cpp:87:53: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct blobinfo'; use assignment or value-initialization instead [-Wclass-memaccess] memset(blobs, 0, maxblobs * sizeof(blobinfo)); ^ engine/blob.cpp:12:8: note: 'struct blobinfo' declared here struct blobinfo ^~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' 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++) ^~~~~~~ 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 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 = " ") ^ mv -f .deps/callbacks.Tpo .deps/callbacks.Po 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 ^ 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 shared/command.h:30:8: note: 'struct ident' declared here struct ident ^~~~~ 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 ^~~~~ In file included from engine/engine.h:45, from engine/blob.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; ^~ mv -f .deps/packet.Tpo .deps/packet.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/command.o engine/command.cpp 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 ^~~~~ 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; ^~~~ mv -f .deps/peer.Tpo .deps/peer.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 protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.c 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 unix.o -MD -MP -MF .deps/unix.Tpo -c -o unix.o unix.c 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; } ~~~~~~~^~~~~~~~~~~ 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 ^~~~~ 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 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/console.o engine/console.cpp 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/decal.o engine/decal.cpp 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; } ~~~~~~~^~~~~~~~~~~ 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 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 -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 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: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/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 ^~~~~ 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 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 ^~~~~ 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 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; ^~ 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 ^~~~~ mv -f .deps/protocol.Tpo .deps/protocol.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/binutils227/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/irc.o engine/irc.cpp 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; ^~ 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 ^~~~~ 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/lightmap.o engine/lightmap.cpp 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 ^~~~~ 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 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' 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 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, ^~~~~ 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 ^~~~~ 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 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 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 [-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 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 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 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; } ~~~~~~~^~~~~~~~~~~ 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; ^~~~~ 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; ^~ 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; } ~~~~~~~^~~~~~~~~~~ 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/menus.o engine/menus.cpp 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; } ~~~~~~~^~~~~~~~~~~ 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/movie.o engine/movie.cpp In file included from shared/cube.h:80, from engine/engine.h:4, from engine/menus.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/menus.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 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; } ~~~~~~~^~~~~~~~~~~ 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 ^~~~~ 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 cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' 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; ^~ 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 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' 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 ^~~~~ 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 ^~~~~ 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 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/octarender.o engine/octarender.cpp 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: 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; } ~~~~~~~^~~~~~~~~~~ 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/octarender.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/octarender.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/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 ^~~~~~~~~~~~~~ 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 = " ") ^ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' 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 ^~~~~ 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 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 ^~~~~ 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; ^~~~~ 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); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void client::connectattempt(const char*, int, int, const char*, const ENetAddress&)' at game/client.cpp:122: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 'void client::switchname(const char*)' at game/client.cpp:65:14: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 24 bytes from a string of length 511 [-Wstringop-truncation] inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } ~~~~~~~^~~~~~~~~~~ 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); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void client::changemap(const char*)' at game/client.cpp:614:14: 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/physics.o game/physics.cpp 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; } ~~~~~~~^~~~~~~~~~~ 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 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 ^~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void client::parsemessages(int, gameent*, ucharbuf&)' at game/client.cpp:1169:17: 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 client::parsemessages(int, gameent*, ucharbuf&)' at game/client.cpp:1170:17: 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 client::parsemessages(int, gameent*, ucharbuf&)' at game/client.cpp:1174: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 client::parsemessages(int, gameent*, ucharbuf&)' at game/client.cpp:1195:18: 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 client::parsemessages(int, gameent*, ucharbuf&)' at game/client.cpp:1196:18: 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 client::parsemessages(int, gameent*, ucharbuf&)' at game/client.cpp:1209: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 '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; } ~~~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' 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); \ ^~ 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; } ~~~~~~~^~~~~~~~~~~ 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/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 ^~~~~ 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/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)); ^~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool client::serverentry(guient*, int, serverinfo*)' at game/client.cpp:2104:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 18 bytes from a string of length 511 [-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 client::serverentry(guient*, int, serverinfo*)' at game/client.cpp:2074:15: shared/tools.h:105:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 24 bytes from a string of length 511 [-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::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; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 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 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/weapons.o game/weapons.cpp 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 ^~~~~ 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/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' 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 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; } ~~~~~~~^~~~~~~~~~~ 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; ^~~~ 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/stream-standalone.o shared/stream.cpp 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 ^~~~~ 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 ^~~~~ 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++) ^~~~~~~ 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 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); ~~~~~~^~~~~~ 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: 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; } ~~~~~~~^~~~~~~~~~~ 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 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; } ~~~~~~~^~~~~~~~~~~ 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 ^~~~~ 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/master-standalone.o engine/master.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 = " ") ^ 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/server-standalone.o engine/server.cpp 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 ^~~~~ 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 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 ^~~~~ 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 '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 '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; } ~~~~~~~^~~~~~~~~~~ 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 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 -DSTANDALONE -DMASTERSERVER -DIRC -Ishared -Iengine -Igame -Ienet/include -c -o game/server-standalone.o game/server.cpp At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' 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; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 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: 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::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)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' 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)); } ~~~~~~~~~^~~~~~~~~~~~~~ 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; } ~~~~~~~^~~~~~~~~~~ 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' At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' 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 '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 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 '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; } ~~~~~~~^~~~~~~~~~~ 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 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 At global scope: cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing' 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:54 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> bloodfrontier-b2_11 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for bloodfrontier-b2_11 ===> bloodfrontier-b2_11 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:03 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for bloodfrontier-b2_11 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% packing 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:06:53 TOTAL TIME 00:10:08