=> Building games/cake Started : Thursday, 7 MAR 2019 at 07:27:08 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/games/cake XDG_CONFIG_HOME=/construction/games/cake HOME=/construction/games/cake TMPDIR="/tmp" PATH=/construction/games/cake/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/games/cake XDG_CONFIG_HOME=/construction/games/cake HOME=/construction/games/cake TMPDIR="/tmp" PATH=/construction/games/cake/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/games/cake/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/cake" EXAMPLESDIR="share/examples/cake" DATADIR="share/cake" WWWDIR="www/cake" ETCDIR="etc/cake" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/cake DOCSDIR=/usr/local/share/doc/cake EXAMPLESDIR=/usr/local/share/examples/cake WWWDIR=/usr/local/www/cake ETCDIR=/usr/local/etc/cake -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> cake-2005.12.26_12 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> cake-2005.12.26_12 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of cake-2005.12.26_12 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by cake-2005.12.26_12 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by cake-2005.12.26_12 for building => SHA256 Checksum OK for cake_src_20051226.zip. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by cake-2005.12.26_12 for building ===> Extracting for cake-2005.12.26_12 => SHA256 Checksum OK for cake_src_20051226.zip. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for cake-2005.12.26_12 ===> Applying ports patches for cake-2005.12.26_12 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> cake-2005.12.26_12 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.19.8.1_2... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_2: .......... done Extracting gmake-4.2.1_3: .......... done ===> cake-2005.12.26_12 depends on executable: gmake - found ===> Returning to build of cake-2005.12.26_12 ===> cake-2005.12.26_12 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.1.20190112.txz Installing ncurses-6.1.20190112... Extracting ncurses-6.1.20190112: .......... done ===> cake-2005.12.26_12 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of cake-2005.12.26_12 ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.6.7,1.txz Installing libX11-1.6.7,1... `-- Installing libXau-1.0.8_5... `-- Extracting libXau-1.0.8_5: .......... done `-- Installing libXdmcp-1.1.2_2... | `-- Installing xorgproto-2018.4... | `-- Extracting xorgproto-2018.4: .......... done `-- Extracting libXdmcp-1.1.2_2: ......... done `-- Installing libxcb-1.13.1... | `-- Installing libpthread-stubs-0.4... | `-- Extracting libpthread-stubs-0.4: .... done | `-- Installing libxml2-2.9.8... | `-- Extracting libxml2-2.9.8: .......... done `-- Extracting libxcb-1.13.1: .......... done Extracting libX11-1.6.7,1: .......... done ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of cake-2005.12.26_12 ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.3_3,1.txz Installing libXext-1.3.3_3,1... Extracting libXext-1.3.3_3,1: .......... done ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of cake-2005.12.26_12 ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found ===> Installing existing package /packages/All/libXmu-1.1.2_5,1.txz Installing libXmu-1.1.2_5,1... `-- Installing libXt-1.1.5_2,1... | `-- Installing libICE-1.0.9_3,1... | `-- Extracting libICE-1.0.9_3,1: .......... done | `-- Installing libSM-1.2.3,1... | `-- Extracting libSM-1.2.3,1: .......... done `-- Extracting libXt-1.1.5_2,1: .......... done Extracting libXmu-1.1.2_5,1: .......... done ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Returning to build of cake-2005.12.26_12 ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/xi.pc - not found ===> Installing existing package /packages/All/libXi-1.7.9_2,1.txz Installing libXi-1.7.9_2,1... `-- Installing libXfixes-5.0.3_2... `-- Extracting libXfixes-5.0.3_2: .......... done Extracting libXi-1.7.9_2,1: .......... done ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> Returning to build of cake-2005.12.26_12 ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> cake-2005.12.26_12 depends on shared library: libjpeg.so - not found ===> Installing existing package /packages/All/jpeg-turbo-2.0.2.txz Installing jpeg-turbo-2.0.2... Extracting jpeg-turbo-2.0.2: .......... done ===> cake-2005.12.26_12 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> Returning to build of cake-2005.12.26_12 ===> cake-2005.12.26_12 depends on shared library: libglut.so - not found ===> Installing existing package /packages/All/freeglut-3.0.0_2.txz Installing freeglut-3.0.0_2... `-- Installing libGLU-9.0.0_3... | `-- Installing mesa-libs-18.3.2... | | `-- Installing expat-2.2.6_1... | | `-- Extracting expat-2.2.6_1: .......... done | | `-- Installing libXdamage-1.1.4_5... | | `-- Extracting libXdamage-1.1.4_5: ......... done | | `-- Installing libXrandr-1.5.1_2... | | `-- Installing libXrender-0.9.10_2... | | `-- Extracting libXrender-0.9.10_2: .......... done | | `-- Extracting libXrandr-1.5.1_2: .......... done | | `-- Installing libXxf86vm-1.1.4_3... | | `-- Extracting libXxf86vm-1.1.4_3: .......... done | | `-- Installing libdrm-2.4.96,1... | | `-- Installing libpciaccess-0.13.5... | | | `-- Installing pciids-20190213... | | | `-- Extracting pciids-20190213: ..... done | | `-- Extracting libpciaccess-0.13.5: ......... done | | `-- Extracting libdrm-2.4.96,1: .......... done | | `-- Installing libelf-0.8.13_3... | | `-- Extracting libelf-0.8.13_3: .......... done | | `-- Installing libxshmfence-1.2_4... | | `-- Extracting libxshmfence-1.2_4: ......... done | | `-- Installing wayland-1.16.0... | | `-- Installing libffi-3.2.1_3... | | `-- Extracting libffi-3.2.1_3: .......... done | | `-- Extracting wayland-1.16.0: .......... done | `-- Extracting mesa-libs-18.3.2: .......... done `-- Extracting libGLU-9.0.0_3: ...... done Extracting freeglut-3.0.0_2: .......... done Message from freeglut-3.0.0_2: Joystick support is untested and it is unknown if it works. Do not hesitate to contact x11@FreeBSD.org if this causes issues. ===> cake-2005.12.26_12 depends on shared library: libglut.so - found (/usr/local/lib/libglut.so) ===> Returning to build of cake-2005.12.26_12 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for cake-2005.12.26_12 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for cake-2005.12.26_12 gmake[1]: Entering directory '/construction/games/cake/cake_src' c++ -MM -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include cake/framework.cpp cake/sound.cpp cake/entity.cpp cake/system.cpp cake/world.cpp cake/demo.cpp cake/texture.cpp cake/render.cpp cake/console.cpp cake/files.cpp cake/mem.cpp cake/timer.cpp cake/frustum.cpp cake/logfile.cpp cake/surface.cpp cake/app.cpp cake/q3bsp.cpp cake/commands.cpp cake/camera.cpp cake/skybox.cpp cake/parser.cpp cake/math.cpp cake/overlay.cpp cake/md3.cpp cake/shader.cpp cake/bezierpatch.cpp cake/client.cpp cake/vars.cpp cake/layer.cpp cake/alias.cpp cake/consts.cpp cake/glsetup/glutils.cpp cake/zip/Unzip.cpp main.cpp > .depend c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/framework.o cake/framework.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/sound.o cake/sound.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/entity.o cake/entity.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/system.o cake/system.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/world.o cake/world.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/demo.o cake/demo.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/texture.o cake/texture.cpp In file included from cake/texture.h:8, from cake/shader.h:8, from cake/console.h:8, from cake/demo.cpp:6: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ In file included from cake/texture.h:8, from cake/shader.h:8, from cake/world.h:9, from cake/entity.h:9, from cake/entity.cpp:5: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ cake/demo.cpp: In member function 'char* Demo::LoadDemo(const char*, enum_InterpolationMode)': cake/demo.cpp:139:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (isRecording || isPlaying || currclient) return ""; ^~ cake/demo.cpp:145:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ cake/demo.cpp:154:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ cake/demo.cpp:170:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ cake/demo.cpp:204:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp:926:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/entity.cpp: In member function 'void Entity::LoadSound()': cake/entity.cpp:1525:28: warning: unused variable 'global' [-Wunused-variable] bool loop = false, global = false; ^~~~~~ In file included from cake/texture.h:8, from cake/shader.h:8, from cake/framework.h:4, from cake/framework.cpp:1: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ In file included from cake/texture.h:8, from cake/texture.cpp:5: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/render.o cake/render.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/console.o cake/console.cpp In file included from cake/texture.h:8, from cake/shader.h:8, from cake/world.h:9, from cake/world.cpp:5: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ cake/world.cpp: In member function 'int World::AddMap(const char*)': cake/world.cpp:48:50: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] if (mappath[strlen(mappath)-1] != '/') sprintf(mappath, "%s/", mappath); ^~~~~~~ ~~~~~~~ cake/world.cpp:48:59: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] if (mappath[strlen(mappath)-1] != '/') sprintf(mappath, "%s/", mappath); ^~~~~ cake/world.cpp:48:49: note: 'sprintf' output between 2 and 1025 bytes into a destination of size 1024 if (mappath[strlen(mappath)-1] != '/') sprintf(mappath, "%s/", mappath); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cake/world.cpp:44:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(mapname, name, 32); ~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from cake/texture.h:8, from cake/shader.h:8, from cake/console.h:8, from cake/console.cpp:6: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ cake/console.cpp: In constructor 'Console::Console()': cake/console.cpp:240:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SetPrompt("]"); ^ cake/console.cpp:311:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("close", cmd_close, "closes the console"); ^ cake/console.cpp:312:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gAlias->SetAlias("hide", "close"); ^ cake/console.cpp:312:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/console.cpp:313:135: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("showmessages", cmd_messages, "activates or disactivates the display of console messageswhenconsole is closed"); ^ cake/console.cpp:314:121: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("msglife", cmd_messagetimelife, "sets the life time for console messages when console is closed"); ^ cake/console.cpp:315:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("clear", cmd_clear, "clears the console content"); ^ cake/console.cpp:316:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gAlias->SetAlias("clr", "clear"); ^ cake/console.cpp:316:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/console.cpp: In member function 'void Console::Insert(const char*, ...)': cake/console.cpp:463:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (l = (int) strlen(final)) ~~^~~~~~~~~~~~~~~~~~~~~ cake/console.cpp: In member function 'void Console::Resize(int, int)': cake/console.cpp:1127:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (w > 0 && ~~~~~~^~ (showVScroll && (w-RESIZE_SQUARE) > (prompt_len>MAXPROMPTLEN?prompt_len:MAXPROMPTLEN+2)*ConsoleFontSizeX+2) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/files.o cake/files.cpp In file included from cake/texture.h:8, from cake/shader.h:8, from cake/console.h:8, from cake/render.cpp:7: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/mem.o cake/mem.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/timer.o cake/timer.cpp cake/console.cpp: In member function 'void Console::AddChar(char)': cake/console.cpp:560:14: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] strncpy(end, &ConsoleLines[NbrUsedLines-1].content[ConsoleLines[NbrUsedLines-1].length-cursorPos+1], CONSOLE_LINELENGTH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/console.cpp:538:14: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying between 0 and 4095 bytes from a string of length 4095 [-Wstringop-truncation] strncpy(begin, ConsoleLines[NbrUsedLines-1].content, ConsoleLines[NbrUsedLines-1].length-cursorPos); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/console.cpp:539:14: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] strncpy(end, &ConsoleLines[NbrUsedLines-1].content[ConsoleLines[NbrUsedLines-1].length-cursorPos], CONSOLE_LINELENGTH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cake/files.cpp:6: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ cake/files.cpp: In function 'char* f_Name(char*)': cake/files.cpp:119:15: warning: variable 'l' set but not used [-Wunused-but-set-variable] int length, l; ^ cake/files.cpp: In function 'void getPAKContent(char*, char*, char*)': cake/files.cpp:190:26: warning: comparison with string literal results in unspecified behavior [-Waddress] if (file_type == ".*" || strstr(strlwr(packlist->files[i].name), strlwr(file_type))) ^~~~ cake/render.cpp: In constructor 'Render::Render()': cake/render.cpp:200:129: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("setclearcolor", cmd_setclearcolor, "Define the clear color (need to be enabled with r_clear variable)."); ^ cake/render.cpp: In destructor 'Render::~Render()': cake/render.cpp:270:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->RemoveCommand("setclearcolor"); ^ cake/render.cpp: In member function 'int Render::Init(swapcommand_t)': cake/render.cpp:308:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (CheckExtension("GL_EXT_compiled_vertex_array")) ^ cake/render.cpp:322:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (CheckExtension("GL_ARB_multitexture")) ^ cake/render.cpp:344:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (CheckExtension("EXT_texture_edge_clamp")) ^ cake/files.cpp: In member function 'char* SearchFile::FirstFile()': cake/files.cpp:785:23: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset(temp, 0, sizeof(temp)); ^~~~~~~~~~~~ cake/files.cpp: In member function 'char* SearchFile::FirstFile(const char*)': cake/files.cpp:871:23: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset(temp, 0, sizeof(temp)); ^~~~~~~~~~~~ cake/files.cpp: In member function 'char* SearchFile::NextFile()': cake/files.cpp:925:23: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset(temp, 0, sizeof(temp)); ^~~~~~~~~~~~ cake/files.cpp: In member function 'char* SearchFile::NextFile(const char*)': cake/files.cpp:972:23: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset(temp, 0, sizeof(temp)); ^~~~~~~~~~~~ cake/files.cpp: In function 'void InitializeShaders()': cake/files.cpp:1135:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile search("scripts/*.shader"); ^ In file included from cake/texture.h:8, from cake/shader.h:8, from cake/console.h:8, from cake/timer.cpp:6: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ cake/timer.cpp:20:19: warning: 'lowshift' defined but not used [-Wunused-variable] static int lowshift; ^~~~~~~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/frustum.o cake/frustum.cpp cake/console.cpp:543:14: warning: 'char* strncat(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-overflow=] strncat(begin, end, CONSOLE_LINELENGTH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/console.cpp:562:14: warning: 'char* strncat(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-overflow=] strncat(begin, end, CONSOLE_LINELENGTH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/console.cpp: In member function 'void Console::DelChar()': cake/console.cpp:588:14: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] strncpy(end, &ConsoleLines[NbrUsedLines-1].content[ConsoleLines[NbrUsedLines-1].length-cursorPos], CONSOLE_LINELENGTH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/console.cpp:590:14: warning: 'char* strncat(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-overflow=] strncat(begin, end, CONSOLE_LINELENGTH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/console.cpp: In member function 'void Console::AddToLastMessageLine(char*)': cake/console.cpp:717:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] strncpy(buffer, MessageLines[currently_used_message_lines-1], CONSOLE_LINELENGTH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/logfile.o cake/logfile.cpp cake/files.cpp: In function 'int FileExist(char*, int, int)': cake/files.cpp:318:20: warning: '%s' directive writing up to 1024 bytes into a region of size 256 [-Wformat-overflow=] sprintf(fname, "%s%s", p->path, file_name); ^~~~~~ cake/files.cpp:318:12: note: 'sprintf' output 1 or more bytes (assuming 1025) into a destination of size 256 sprintf(fname, "%s%s", p->path, file_name); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp: In constructor 'VFile::VFile(const char*, bool, const char*)': cake/files.cpp:411:20: warning: '%s' directive writing up to 1024 bytes into a region of size 256 [-Wformat-overflow=] sprintf(fname, "%s%s", p->path, _name); ^~~~~~ cake/files.cpp:411:12: note: 'sprintf' output between 1 and 1280 bytes into a destination of size 256 sprintf(fname, "%s%s", p->path, _name); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/console.cpp: In member function 'void Console::Update()': cake/console.cpp:898:23: warning: '%s' directive writing up to 4095 bytes into a region of size 4094 [-Wformat-overflow=] sprintf(tmp_line, "^0%s%s", prompt, buffer); ^~~~~~~~ ~~~~~~ cake/console.cpp:898:12: note: 'sprintf' output 3 or more bytes (assuming 4098) into a destination of size 4096 sprintf(tmp_line, "^0%s%s", prompt, buffer); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/console.cpp:886:23: warning: '%s' directive writing up to 4095 bytes into a region of size 4094 [-Wformat-overflow=] sprintf(tmp_line, "^0%s%s", prompt, ConsoleLines[cons_i].content); ^~~~~~~~ cake/console.cpp:886:12: note: 'sprintf' output 3 or more bytes (assuming 4098) into a destination of size 4096 sprintf(tmp_line, "^0%s%s", prompt, ConsoleLines[cons_i].content); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cake/texture.h:8, from cake/shader.h:8, from cake/world.h:9, from cake/overlay.h:8, from cake/logfile.cpp:7: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ cake/files.cpp: In function 'void getPAKContent(char*, char*, char*)': cake/files.cpp:168:22: warning: '/*' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(strpath, "%s/*%s", path, file_type); ^~~~~~~~ cake/files.cpp:168:12: note: 'sprintf' output 3 or more bytes (assuming 1026) into a destination of size 1024 sprintf(strpath, "%s/*%s", path, file_type); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp:166:22: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(strpath, "%s*%s", path, file_type); ^~~~~~~ cake/files.cpp:166:12: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf(strpath, "%s*%s", path, file_type); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp:162:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(path, gVars->StringForKey("r_mapsubdir"), MAX_FILEPATH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp: In static member function 'static void FileEnvironment::LoadPacks()': cake/files.cpp:613:24: warning: '%s' directive writing up to 1024 bytes into a region of size 512 [-Wformat-overflow=] sprintf(fname, "%s%s", p->path, name); ^~~~~~ cake/files.cpp:613:16: note: 'sprintf' output 1 or more bytes (assuming 1025) into a destination of size 512 sprintf(fname, "%s%s", p->path, name); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp: In function 'int AddShaderToList(ShaderFile*, const char*, const char*, const char*)': cake/files.cpp:1054:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] strncpy(ref->shader_name, shader, SHADER_NAME_MAX_LENGTH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp:1057:22: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] if (file) strncpy(ref->file_name, file, SHADER_NAME_MAX_LENGTH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp:1060:21: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 512 equals destination size [-Wstringop-truncation] if (pak) strncpy(ref->pak_name, pak, SHADER_NAME_MAX_LENGTH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/surface.o cake/surface.cpp cake/console.cpp: In member function 'void Console::SetTitle(char*)': cake/console.cpp:965:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] strncpy(title, t, CONSOLE_LINELENGTH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp: In function 'void logPreviews()': cake/files.cpp:219:22: warning: '/*' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(strpath, "%s/*%s", path, ".bsp"); ^~~~~~~~ cake/files.cpp:219:12: note: 'sprintf' output between 7 and 1030 bytes into a destination of size 1024 sprintf(strpath, "%s/*%s", path, ".bsp"); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp:217:22: warning: '%s' directive writing 4 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(strpath, "%s*%s", path, ".bsp"); ^~~~~~~ ~~~~~~ cake/files.cpp:217:12: note: 'sprintf' output between 6 and 1029 bytes into a destination of size 1024 sprintf(strpath, "%s*%s", path, ".bsp"); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp:235:29: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] sprintf(levelshot_name, "levelshots/%s.jpg", nname); ^~~~~~~~~~~~~~~~~~~ ~~~~~ cake/files.cpp:235:12: note: 'sprintf' output between 16 and 271 bytes into a destination of size 256 sprintf(levelshot_name, "levelshots/%s.jpg", nname); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp:239:31: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] sprintf(levelshot_name, "levelshots/%s.tga", nname); ^~~~~~~~~~~~~~~~~~~ ~~~~~ cake/files.cpp:239:14: note: 'sprintf' output between 16 and 271 bytes into a destination of size 256 sprintf(levelshot_name, "levelshots/%s.tga", nname); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp:257:26: warning: '%s' directive writing up to 255 bytes into a region of size 250 [-Wformat-overflow=] sprintf(dstfilename, "shots/%s.bmp", nname); ^~~~~~~~~~~~~~ ~~~~~ cake/files.cpp:257:12: note: 'sprintf' output between 11 and 266 bytes into a destination of size 256 sprintf(dstfilename, "shots/%s.bmp", nname); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp:279:33: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] sprintf(levelshot_name, "levelshots/%s.jpg", nname); ^~~~~~~~~~~~~~~~~~~ ~~~~~ cake/files.cpp:279:16: note: 'sprintf' output between 16 and 271 bytes into a destination of size 256 sprintf(levelshot_name, "levelshots/%s.jpg", nname); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp:283:35: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] sprintf(levelshot_name, "levelshots/%s.tga", nname); ^~~~~~~~~~~~~~~~~~~ ~~~~~ cake/files.cpp:283:18: note: 'sprintf' output between 16 and 271 bytes into a destination of size 256 sprintf(levelshot_name, "levelshots/%s.tga", nname); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp:301:30: warning: '%s' directive writing up to 255 bytes into a region of size 250 [-Wformat-overflow=] sprintf(dstfilename, "shots/%s.bmp", nname); ^~~~~~~~~~~~~~ ~~~~~ cake/files.cpp:301:16: note: 'sprintf' output between 11 and 266 bytes into a destination of size 256 sprintf(dstfilename, "shots/%s.bmp", nname); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/files.cpp:213:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(path, gVars->StringForKey("r_mapsubdir"), MAX_FILEPATH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/app.o cake/app.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/q3bsp.o cake/q3bsp.cpp In file included from cake/texture.h:8, from cake/shader.h:8, from cake/console.h:8, from cake/surface.cpp:7: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ In file included from cake/texture.h:8, from cake/shader.h:8, from cake/world.h:9, from cake/app.h:8, from cake/app.cpp:5: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ cake/app.cpp: In function 'void cmd_bsplist(int, char**)': cake/app.cpp:88:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] getPAKContent(NULL, ".bsp", argc>1?argv[1]:NULL); ^ cake/app.cpp: In function 'void cmd_wavlist(int, char**)': cake/app.cpp:93:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] getPAKContent(NULL, ".wav", argc>1?argv[1]:NULL); ^ cake/app.cpp: In function 'void cmd_md3list(int, char**)': cake/app.cpp:98:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] getPAKContent(NULL, ".md3", argc>1?argv[1]:NULL); ^ cake/app.cpp: In constructor 'App::App()': cake/app.cpp:169:167: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("bsplist", cmd_bsplist, "display the list of bsp map names (if an argument is present, only names containing this argument will be displayed)"); ^ cake/app.cpp:170:182: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("wavlist", cmd_wavlist, "display the list of wav (music and sounds) files (if an argument is present, only names containing this argument will be displayed)"); ^ cake/app.cpp:171:163: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("md3list", cmd_md3list, "display the list of md3 files (if an argument is present, only names containing this argument will be displayed)"); ^ cake/app.cpp:172:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("listfiles", cmd_listfiles, "display the list of all files matching with a substring"); ^ cake/app.cpp:173:123: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("logpreviews", cmd_logpreviews, "write the map list with corresponding levelshot into the logfile"); ^ cake/app.cpp: In member function 'void App::Init()': cake/app.cpp:187:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ConfigFile(CONFIG_FILENAME); ^ cake/app.cpp: In destructor 'App::~App()': cake/app.cpp:335:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->RemoveCommand("bsplist"); ^ cake/app.cpp:336:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->RemoveCommand("wavlist"); ^ cake/app.cpp:337:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->RemoveCommand("md3list"); ^ cake/app.cpp:338:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->RemoveCommand("listfiles"); ^ cake/app.cpp:339:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->RemoveCommand("logpreviews"); ^ cake/app.cpp: In member function 'void App::Shut()': cake/app.cpp:389:11: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(time_text, "%s%d", time_text, seconds); ^~~~~~~~~ ~~~~~~~~~ cake/app.cpp: In member function 'void App::DrawInterface()': cake/app.cpp:535:13: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(time_text, "%s%d", time_text, seconds); ^~~~~~~~~ ~~~~~~~~~ cake/app.cpp: In member function 'int App::CreateClients(int)': cake/app.cpp:724:11: warning: unused variable 'demo' [-Wunused-variable] Demo *demo = &demos[i]; ^~~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/commands.o cake/commands.cpp In file included from cake/texture.h:8, from cake/shader.h:8, from cake/world.h:9, from cake/entity.h:9, from cake/q3bsp.h:12, from cake/q3bsp.cpp:6: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ cake/q3bsp.cpp: In destructor 'Q3BSP::~Q3BSP()': cake/q3bsp.cpp:189:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (worldname) delete [] worldname; worldname = NULL; ^~ cake/q3bsp.cpp:189:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (worldname) delete [] worldname; worldname = NULL; ^~~~~~~~~ cake/q3bsp.cpp:214:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (face_list) delete [] face_list; face_list = NULL; ^~ cake/q3bsp.cpp:214:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (face_list) delete [] face_list; face_list = NULL; ^~~~~~~~~ cake/q3bsp.cpp:264:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (r_patchesgroups) delete [] r_patchesgroups; r_patchesgroups = NULL; ^~ cake/q3bsp.cpp:264:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (r_patchesgroups) delete [] r_patchesgroups; r_patchesgroups = NULL; ^~~~~~~~~~~~~~~ cake/q3bsp.cpp:267:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (r_entities) delete r_entities; r_entities = NULL; ^~ cake/q3bsp.cpp:267:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (r_entities) delete r_entities; r_entities = NULL; ^~~~~~~~~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/camera.o cake/camera.cpp cake/q3bsp.cpp: In member function 'void Q3BSP::UpdateFaces()': cake/q3bsp.cpp:765:17: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(str, "%s%d/", str, r_leafbrushes[currleaf->firstleafbrush+i]); ^~~ ~~~ cake/app.cpp: In member function 'void App::Shut()': cake/app.cpp:389:22: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(time_text, "%s%d", time_text, seconds); ^~~~~~ cake/app.cpp:389:10: note: 'sprintf' output between 2 and 75 bytes into a destination of size 64 sprintf(time_text, "%s%d", time_text, seconds); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/q3bsp.cpp: In member function 'void Q3BSP::InitAutosprite(Surface*, int)': cake/q3bsp.cpp:2520:13: warning: unused variable 'dy' [-Wunused-variable] float dy = (float) (pow(surf->firstvert[0][v+1].v_point[1]-surf->firstvert[0][v].v_point[1], 2)+ ^~ cake/app.cpp: In member function 'void App::DrawInterface()': cake/app.cpp:535:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(time_text, "%s%d", time_text, seconds); ^~~~~~ cake/app.cpp:535:12: note: 'sprintf' output between 2 and 75 bytes into a destination of size 64 sprintf(time_text, "%s%d", time_text, seconds); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cake/texture.h:8, from cake/shader.h:8, from cake/console.h:8, from cake/commands.cpp:8: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ cake/commands.cpp: In constructor 'Commands::Commands()': cake/commands.cpp:106:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddCommand("help", cmd_help, "displays help about a command"); ^ cake/commands.cpp:107:151: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddCommand("cmdlist", cmd_commands, "display all available commands in the console (if an argumentis present, the functions descriptions are given)"); ^ cake/commands.cpp:108:178: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddCommand("echo", cmd_echo, "defines the echo value (if echo is on, the function callsare added to the console, if not, only the function results are written in the console)"); ^ cake/commands.cpp:109:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddCommand("rem", cmd_rem, "writes a remark in the console"); ^ cake/commands.cpp:110:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddCommand("//", cmd_rem, "writes a remark in the console"); ^ cake/commands.cpp:111:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddCommand("#", cmd_rem, "writes a remark in the console"); ^ cake/commands.cpp:112:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddCommand("togglehistory", cmd_togglehistory, "enables or disables the history for console commands"); ^ cake/commands.cpp: In destructor 'Commands::~Commands()': cake/commands.cpp:117:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RemoveCommand("help"); ^ cake/commands.cpp:118:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RemoveCommand("cmdlist"); ^ cake/commands.cpp:119:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RemoveCommand("echo"); ^ cake/commands.cpp:120:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RemoveCommand("rem"); ^ cake/commands.cpp:121:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RemoveCommand("//"); ^ cake/commands.cpp:122:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RemoveCommand("#"); ^ cake/commands.cpp:123:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RemoveCommand("togglehistory"); ^ cake/commands.cpp: In member function 'void Commands::FirstSolution(const char*)': cake/commands.cpp:406:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConsole->SetCurrentCommand("%s ", llist->name); ^ cake/commands.cpp: In member function 'void Commands::NextSolution()': cake/commands.cpp:416:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConsole->SetCurrentCommand("%s ", curr->name); ^ cake/commands.cpp: In member function 'void Commands::PrevSolution()': cake/commands.cpp:428:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gConsole->SetCurrentCommand("%s ", curr->name); ^ cake/commands.cpp: In member function 'char* Commands::GetHistoryLine(int)': cake/commands.cpp:598:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!NbrCommHistLines || l < 1) return ""; ^~ cake/app.cpp: In member function 'int App::LoadMap(const char*)': cake/app.cpp:636:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(curr_map, map_name, 32); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ cake/commands.cpp: In member function 'void Commands::CompleteCommand(const char*, bool, bool)': cake/commands.cpp:280:10: 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] strncpy(tmp_string, partial, len); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cake/commands.cpp:269:25: note: length computed here int len = (int) strlen(partial); ~~~~~~^~~~~~~~~ cake/commands.cpp:315:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(varname, gVars->GetName(i), 128); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/commands.cpp:335:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(aliasname, gAlias->GetName(i), 128); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/skybox.o cake/skybox.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/parser.o cake/parser.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/math.o cake/math.cpp In file included from cake/parser.h:8, from cake/parser.cpp:5: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/overlay.o cake/overlay.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/md3.o cake/md3.cpp In file included from cake/texture.h:8, from cake/shader.h:8, from cake/console.h:8, from cake/skybox.cpp:7: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ In file included from cake/texture.h:8, from cake/shader.h:8, from cake/world.h:9, from cake/entity.h:9, from cake/q3bsp.h:12, from cake/md3.h:5, from cake/md3.cpp:1: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ cake/md3.cpp: In member function 'Entity* MD3Loader::LoadMD3(const char*)': cake/md3.cpp:45:13: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(tempname, "%s_%d.md3", tempname, lod); ^~~~~~~~ ~~~~~~~~ cake/md3.cpp:45:23: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 0 and 1024 [-Wformat-overflow=] sprintf(tempname, "%s_%d.md3", tempname, lod); ^~~~~~~~~~~ cake/md3.cpp:45:23: note: directive argument in the range [1, 2147483647] cake/md3.cpp:45:12: note: 'sprintf' output between 7 and 1040 bytes into a destination of size 1025 sprintf(tempname, "%s_%d.md3", tempname, lod); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/shader.o cake/shader.cpp In file included from cake/texture.h:8, from cake/shader.h:8, from cake/world.h:9, from cake/overlay.h:8, from cake/overlay.cpp:5: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/bezierpatch.o cake/bezierpatch.cpp In file included from cake/texture.h:8, from cake/shader.h:8, from cake/console.h:8, from cake/bezierpatch.h:12, from cake/bezierpatch.cpp:5: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ In file included from cake/texture.h:8, from cake/shader.h:8, from cake/shader.cpp:5: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/client.o cake/client.cpp cake/shader.cpp: In member function 'int ShaderManager::AddShader(const char*, int, int, int)': cake/shader.cpp:75:14: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(ShaderTable[i].name, name, 64); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/vars.o cake/vars.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/layer.o cake/layer.cpp In file included from cake/texture.h:8, from cake/shader.h:8, from cake/console.h:8, from cake/client.cpp:8: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/alias.o cake/alias.cpp cake/client.cpp: In constructor 'Client::Client()': cake/client.cpp:61:17: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(name, ""); ^~ cake/client.cpp: In member function 'void Client::Zoom(float)': cake/client.cpp:687:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (val < 0 && !nzoom || val > 0 && !pzoom) return; ~~~~~~~~^~~~~~~~~ cake/client.cpp: In member function 'void Client::StepSlideMove_(vec_t*, vec_t*, vec_t*, vec_t*)': cake/client.cpp:1047:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = 0; j < numplanes; ++j) ^~~ cake/client.cpp:1052:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (j == numplanes) break; ^~ In file included from cake/texture.h:8, from cake/shader.h:8, from cake/console.h:8, from cake/vars.cpp:5: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ cake/vars.cpp: In constructor 'Vars::Vars()': cake/vars.cpp:147:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("varlist", cmd_varlist, "displays the variables list"); ^ cake/vars.cpp: In member function 'char* Vars::StringForKey(const char*)': cake/vars.cpp:308:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ cake/vars.cpp: In member function 'char* Vars::DefaultForKey(const char*)': cake/vars.cpp:347:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ cake/vars.cpp: In member function 'char* Vars::GetName(int)': cake/vars.cpp:396:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!v) return ""; ^~ In file included from cake/texture.h:8, from cake/shader.h:8, from cake/console.h:8, from cake/alias.cpp:9: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ cake/alias.cpp: In constructor 'Alias::Alias()': cake/alias.cpp:58:113: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("alias", cmd_alias, "sets a value to an alias or creates an alias and sets a valueto it"); ^ cake/alias.cpp:59:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("unalias", cmd_unalias, "destroy an existing alias"); ^ cake/alias.cpp:60:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("aliaslist", cmd_aliaslist, "displays a list of all existing aliases"); ^ cake/alias.cpp: In destructor 'Alias::~Alias()': cake/alias.cpp:65:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->RemoveCommand("alias"); ^ cake/alias.cpp:66:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->RemoveCommand("unalias"); ^ cake/alias.cpp:67:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->RemoveCommand("aliaslist"); ^ cake/alias.cpp: In member function 'char* Alias::GetAlias(char*)': cake/alias.cpp:161:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!a) return ""; ^~ cake/alias.cpp: In member function 'char* Alias::GetName(int)': cake/alias.cpp:209:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!n) return ""; ^~ cake/alias.cpp: In member function 'void Alias::SetAlias(char*, char*, ...)': cake/alias.cpp:129:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(a->name, a_name, MAX_ALIAS_NAME); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/consts.o cake/consts.cpp In file included from cake/texture.h:8, from cake/shader.h:8, from cake/console.h:8, from cake/consts.cpp:2: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/consts.cpp:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/glsetup/glutils.o cake/glsetup/glutils.cpp cake/shader.cpp: In member function 'void ShaderFile::Parse(Shader*, LayerManager*, TextureManager*)': cake/shader.cpp:926:26: warning: '%s' directive writing up to 1023 bytes into a region of size 64 [-Wformat-overflow=] sprintf(texname, "%s_rt", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][0]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ^~~~~~~ ~~~~~~ cake/shader.cpp:926:16: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 64 sprintf(texname, "%s_rt", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][0]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/shader.cpp:927:26: warning: '%s' directive writing up to 1023 bytes into a region of size 64 [-Wformat-overflow=] sprintf(texname, "%s_bk", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][1]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ^~~~~~~ ~~~~~~ cake/shader.cpp:927:16: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 64 sprintf(texname, "%s_bk", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][1]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/shader.cpp:928:26: warning: '%s' directive writing up to 1023 bytes into a region of size 64 [-Wformat-overflow=] sprintf(texname, "%s_up", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][2]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ^~~~~~~ ~~~~~~ cake/shader.cpp:928:16: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 64 sprintf(texname, "%s_up", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][2]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/shader.cpp:929:26: warning: '%s' directive writing up to 1023 bytes into a region of size 64 [-Wformat-overflow=] sprintf(texname, "%s_lf", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][3]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ^~~~~~~ ~~~~~~ cake/shader.cpp:929:16: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 64 sprintf(texname, "%s_lf", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][3]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/shader.cpp:930:26: warning: '%s' directive writing up to 1023 bytes into a region of size 64 [-Wformat-overflow=] sprintf(texname, "%s_ft", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][4]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ^~~~~~~ ~~~~~~ cake/shader.cpp:930:16: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 64 sprintf(texname, "%s_ft", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][4]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/shader.cpp:931:26: warning: '%s' directive writing up to 1023 bytes into a region of size 64 [-Wformat-overflow=] sprintf(texname, "%s_dn", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][5]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ^~~~~~~ ~~~~~~ cake/shader.cpp:931:16: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 64 sprintf(texname, "%s_dn", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][5]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/shader.cpp:971:26: warning: '%s' directive writing up to 1023 bytes into a region of size 64 [-Wformat-overflow=] sprintf(texname, "%s_rt", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][0]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ^~~~~~~ ~~~~~~ cake/shader.cpp:971:16: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 64 sprintf(texname, "%s_rt", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][0]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/shader.cpp:972:26: warning: '%s' directive writing up to 1023 bytes into a region of size 64 [-Wformat-overflow=] sprintf(texname, "%s_bk", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][1]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ^~~~~~~ ~~~~~~ cake/shader.cpp:972:16: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 64 sprintf(texname, "%s_bk", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][1]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/shader.cpp:973:26: warning: '%s' directive writing up to 1023 bytes into a region of size 64 [-Wformat-overflow=] sprintf(texname, "%s_up", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][2]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ^~~~~~~ ~~~~~~ cake/shader.cpp:973:16: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 64 sprintf(texname, "%s_up", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][2]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/shader.cpp:974:26: warning: '%s' directive writing up to 1023 bytes into a region of size 64 [-Wformat-overflow=] sprintf(texname, "%s_lf", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][3]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ^~~~~~~ ~~~~~~ cake/shader.cpp:974:16: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 64 sprintf(texname, "%s_lf", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][3]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/shader.cpp:975:26: warning: '%s' directive writing up to 1023 bytes into a region of size 64 [-Wformat-overflow=] sprintf(texname, "%s_ft", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][4]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ^~~~~~~ ~~~~~~ cake/shader.cpp:975:16: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 64 sprintf(texname, "%s_ft", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][4]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/shader.cpp:976:26: warning: '%s' directive writing up to 1023 bytes into a region of size 64 [-Wformat-overflow=] sprintf(texname, "%s_dn", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][5]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ^~~~~~~ ~~~~~~ cake/shader.cpp:976:16: note: 'sprintf' output between 4 and 1027 bytes into a destination of size 64 sprintf(texname, "%s_dn", Parser::token); shad->sky_params.layer[shad->sky_params.num_layers][5]->map[0] = textures->AddTexinfo(texname, LF_CLAMP); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/zip/Unzip.o cake/zip/Unzip.cpp c++ -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -Wall -I/usr/local/include -c -o main.o main.cpp In file included from main.cpp:37: cake/glsetup/glut.h:151: warning: "APIENTRY" redefined # define APIENTRY In file included from cake/cake.h:37, from cake/world.h:8, from cake/app.h:8, from main.cpp:18: /usr/local/include/GL/gl.h:88: note: this is the location of the previous definition #define APIENTRY GLAPIENTRY In file included from cake/zip/Unzip.cpp:36: cake/zip/Globals.h:89:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "imploded", "tokenized", "deflated" }, ^ cake/zip/Globals.h:89:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:89:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:89:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:89:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:89:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:89:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:89:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:89:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:89:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:92:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "explod", "", "inflat" }, ^ cake/zip/Globals.h:92:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:92:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:92:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:92:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:92:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:92:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:92:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:92:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cake/zip/Globals.h:92:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from cake/texture.h:8, from cake/shader.h:8, from cake/world.h:9, from cake/app.h:8, from main.cpp:18: cake/files.h:132:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *grep = NULL); ^ cake/files.h:172:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SearchFile(char *pattern="*"); ^~~ main.cpp: In function 'int ScreenShot(char*, int)': main.cpp:162:11: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(fBMPName, "%s.bmp", fBMPName); ^~~~~~~~ ~~~~~~~~ main.cpp: In function 'void Draw()': main.cpp:645:6: warning: unused variable 'numclients' [-Wunused-variable] int numclients = app->GetNumClients(); ^~~~~~~~~~ cake/zip/Globals.h: In function 'void* malloc_chk(int)': cake/zip/Globals.h:245:8: warning: argument 1 null where non-null expected [-Wnonnull] memset((char *) s,0,(long) n); // else .. clear to nulls ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from cake/zip/../types.h:16, from cake/zip/../cake.h:39, from cake/zip/Unzip.cpp:16: /usr/include/string.h:71:7: note: in a call to function 'void* memset(void*, int, size_t)' declared here void *memset(void *, int, size_t); ^~~~~~ main.cpp: In function 'void AddCommands()': main.cpp:1404:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("quit", cmd_quit, "exit the application"); ^ main.cpp:1405:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gAlias->SetAlias("exit", "quit"); ^ main.cpp:1405:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1406:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("map", cmd_load, "load a bsp map"); ^ main.cpp:1407:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gAlias->SetAlias("load", "map"); ^ main.cpp:1407:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1408:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("map_restart", cmd_reload, "reload the current map"); ^ main.cpp:1409:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gAlias->SetAlias("reload", "map_restart"); ^ main.cpp:1409:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1410:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("unload", cmd_unload, "unload the current map"); ^ main.cpp:1411:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("noclip", cmd_noclip, "toggle the collisions for clients"); ^ main.cpp:1412:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("lockfrustum", cmd_lockfrustum, "loks the frustum for clients"); ^ main.cpp:1413:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("record", cmd_record, "start recording a demo"); ^ main.cpp:1414:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("stopdemo", cmd_stopdemo, "stop recording a demo"); ^ main.cpp:1415:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("demo", cmd_demo, "play recorded demo"); ^ main.cpp:1416:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("demodump", cmd_demodump, "dump demo file content"); ^ main.cpp:1417:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("preview", cmd_preview, "displays the levelshot of a map (if it exists)"); ^ main.cpp:1418:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("shaderpreview", cmd_shaderpreview, "display a sample of shader"); ^ main.cpp:1419:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("fontsize", cmd_fontsize, "sets the font size"); ^ main.cpp:1420:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("tabmode", cmd_tabmode, "sets the current tabulation key comportement"); ^ main.cpp:1421:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("togglemousecenter", cmd_togglemousecenter, "toggles the mouse autocentering"); ^ main.cpp:1422:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gAlias->SetAlias("tmc", "togglemousecenter"); ^ main.cpp:1422:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1423:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("credits", cmd_credits, "displays the engine and test program credits"); ^ main.cpp:1424:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("speed", cmd_speed, "defines the moving speed of camera"); ^ main.cpp:1425:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("fov", cmd_fov, "defines the camera fov"); ^ main.cpp:1426:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("zoomlimit", cmd_zoomlimit, "defines the camera zoom limit"); ^ main.cpp:1427:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("togglepitchlimit", cmd_tpl, "toggles the camera rotation limitation on Ox axis"); ^ main.cpp:1428:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gAlias->SetAlias("tpl", "togglepitchlimit"); ^ main.cpp:1428:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.cpp:1429:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("accel", cmd_acceleration, "defines the acceleration value of client"); ^ main.cpp:1430:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("friction", cmd_friction, "defines the friction value of client"); ^ main.cpp:1431:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("getpos", cmd_getpos, "gets the current camera position"); ^ main.cpp:1432:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("setpos", cmd_setpos, "sets the current camera position"); ^ main.cpp:1433:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("addpos", cmd_addpos, "increments the current client camera position"); ^ main.cpp:1434:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("getrot", cmd_getrot, "gets the current rotation angle"); ^ main.cpp:1435:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("setrot", cmd_setrot, "sets the current rotation angle"); ^ main.cpp:1436:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("addangle", cmd_addangle, "increments the current client camera angle"); ^ main.cpp:1437:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("getfps", cmd_getfps, "returns the current fps rate"); ^ main.cpp:1438:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("setnclients", cmd_setnclients, "sets the number of clients"); ^ main.cpp:1439:108: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("resolutions", cmd_resolutions, "displays a list of all available screen resolution"); ^ main.cpp:1440:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("screenshot", cmd_screenshot, "takes a screenshot of current window"); ^ main.cpp:1441:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("entityreport", cmd_entityreport, "writes a report on entities in logfile"); ^ main.cpp:1442:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("bspreport", cmd_bspreport, "writes a report on bsp in logfile"); ^ main.cpp:1443:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("defineviewport", cmd_defineviewport, "define the viewport for a client"); ^ main.cpp:1444:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gCommands->AddCommand("loadplayer", cmd_loadplayer, "load player skin, sounds, etc."); ^ cake/shader.cpp: In member function 'void ShaderManager::Update(bool)': cake/shader.cpp:175:14: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 64 bytes from a string of length 511 [-Wstringop-truncation] strncpy(shad->shadername, shaderref->shader_name, 64); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int ScreenShot(char*, int)': main.cpp:162:21: warning: '.bmp' directive writing 4 bytes into a region of size between 1 and 255 [-Wformat-overflow=] sprintf(fBMPName, "%s.bmp", fBMPName); ^~~~~~~~ main.cpp:162:10: note: 'sprintf' output between 5 and 259 bytes into a destination of size 255 sprintf(fBMPName, "%s.bmp", fBMPName); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:159:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 255 equals destination size [-Wstringop-truncation] strncpy(fBMPName, fName, 255); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void Keyboard(unsigned char, int, int)': main.cpp:251:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] strncpy(ConsoleBufferCommand, gConsole->GetCurrentCommand(), CONSOLE_LINELENGTH); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/q3bsp.cpp: In member function 'void Q3BSP::UpdateFaces()': cake/q3bsp.cpp:765:22: warning: '/' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(str, "%s%d/", str, r_leafbrushes[currleaf->firstleafbrush+i]); ^~~~~~~ cake/q3bsp.cpp:765:16: note: 'sprintf' output between 3 and 1036 bytes into a destination of size 1024 sprintf(str, "%s%d/", str, r_leafbrushes[currleaf->firstleafbrush+i]); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -o main cake/framework.o cake/sound.o cake/entity.o cake/system.o cake/world.o cake/demo.o cake/texture.o cake/render.o cake/console.o cake/files.o cake/mem.o cake/timer.o cake/frustum.o cake/logfile.o cake/surface.o cake/app.o cake/q3bsp.o cake/commands.o cake/camera.o cake/skybox.o cake/parser.o cake/math.o cake/overlay.o cake/md3.o cake/shader.o cake/bezierpatch.o cake/client.o cake/vars.o cake/layer.o cake/alias.o cake/consts.o cake/glsetup/glutils.o cake/zip/Unzip.o main.o -L/usr/local/lib -Wl,-rpath=/usr/local/lib -L/usr/local/lib -lglut -lGLU -lGL -pthread -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -ljpeg gmake[1]: Leaving directory '/construction/games/cake/cake_src' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> cake-2005.12.26_12 depends on file: /usr/local/lib/libncurses.so.6 - found ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> cake-2005.12.26_12 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for cake-2005.12.26_12 ===> Generating temporary packing list install -s -m 555 /construction/games/cake/cake_src/main /construction/games/cake/stage/usr/local/bin/cake ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for cake-2005.12.26_12 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 7 MAR 2019 at 07:27:28 UTC Duration: 00:00:19