=>> Building games/cake build started at Mon Mar 16 22:03:50 EDT 2026 port directory: /usr/ports/games/cake package name: cake-2005.12.26_14 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: danfe@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2094 Aug 27 2024 /usr/ports/games/cake/Makefile Ports top last git commit: 8c988f802ea2 Ports top unclean checkout: no Port dir last git commit: 664a2fa1e56e Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 02 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- danfe@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/cake/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/cake/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/cake/work/.cache HOME=/wrkdirs/usr/ports/games/cake/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/cake/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/cake/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/cake/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/cake/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/cake/work/.cache HOME=/wrkdirs/usr/ports/games/cake/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/cake/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/cake/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/cake" EXAMPLESDIR="share/examples/cake" DATADIR="share/cake" WWWDIR="www/cake" ETCDIR="etc/cake" --End PLIST_SUB-- --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 --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> cake-2005.12.26_14 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> cake-2005.12.26_14 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of cake-2005.12.26_14 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by cake-2005.12.26_14 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by cake-2005.12.26_14 for building => SHA256 Checksum OK for cake_src_20051226.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by cake-2005.12.26_14 for building ===> Extracting for cake-2005.12.26_14 => SHA256 Checksum OK for cake_src_20051226.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for cake-2005.12.26_14 ===> Applying FreeBSD patches for cake-2005.12.26_14 from /usr/ports/games/cake/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> cake-2005.12.26_14 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> cake-2005.12.26_14 depends on package: gmake>=4.4.1 - found ===> Returning to build of cake-2005.12.26_14 ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.13,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.13,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.13,1: .......... done ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of cake-2005.12.26_14 ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.6,1.pkg [pkg.DaveG.ca] Installing libXext-1.3.6,1... [pkg.DaveG.ca] Extracting libXext-1.3.6,1: .......... done ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of cake-2005.12.26_14 ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found ===> Installing existing package /packages/All/libXmu-1.1.4,1.pkg [pkg.DaveG.ca] Installing libXmu-1.1.4,1... [pkg.DaveG.ca] `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] | `-- Installing libICE-1.1.2,1... [pkg.DaveG.ca] | `-- Extracting libICE-1.1.2,1: .......... done [pkg.DaveG.ca] | `-- Installing libSM-1.2.6,1... [pkg.DaveG.ca] | `-- Extracting libSM-1.2.6,1: ........ done [pkg.DaveG.ca] `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] Extracting libXmu-1.1.4,1: .......... done ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Returning to build of cake-2005.12.26_14 ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/xi.pc - not found ===> Installing existing package /packages/All/libXi-1.8.2,1.pkg [pkg.DaveG.ca] Installing libXi-1.8.2,1... [pkg.DaveG.ca] `-- Installing libXfixes-6.0.1... [pkg.DaveG.ca] `-- Extracting libXfixes-6.0.1: ....... done [pkg.DaveG.ca] Extracting libXi-1.8.2,1: .......... done ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> Returning to build of cake-2005.12.26_14 ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> cake-2005.12.26_14 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> cake-2005.12.26_14 depends on file: /usr/local/bin/ccache - found ===> Returning to build of cake-2005.12.26_14 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> cake-2005.12.26_14 depends on shared library: libglut.so - not found ===> Installing existing package /packages/All/freeglut-3.2.1.pkg [pkg.DaveG.ca] Installing freeglut-3.2.1... [pkg.DaveG.ca] `-- Installing libGLU-9.0.3... [pkg.DaveG.ca] | `-- Installing libglvnd-1.7.0... [pkg.DaveG.ca] | `-- Extracting libglvnd-1.7.0: .......... done [pkg.DaveG.ca] `-- Extracting libGLU-9.0.3: ..... done [pkg.DaveG.ca] `-- Installing libXrandr-1.5.4... [pkg.DaveG.ca] | `-- Installing libXrender-0.9.12... [pkg.DaveG.ca] | `-- Extracting libXrender-0.9.12: ....... done [pkg.DaveG.ca] `-- Extracting libXrandr-1.5.4: .......... done [pkg.DaveG.ca] `-- Installing libXxf86vm-1.1.6... [pkg.DaveG.ca] `-- Extracting libXxf86vm-1.1.6: .......... done [pkg.DaveG.ca] Extracting freeglut-3.2.1: .......... done ===== Message from freeglut-3.2.1: -- 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_14 depends on shared library: libglut.so - found (/usr/local/lib/libglut.so) ===> Returning to build of cake-2005.12.26_14 ===> cake-2005.12.26_14 depends on shared library: libjpeg.so - not found ===> Installing existing package /packages/All/jpeg-turbo-3.1.3.pkg [pkg.DaveG.ca] Installing jpeg-turbo-3.1.3... [pkg.DaveG.ca] Extracting jpeg-turbo-3.1.3: .......... done ===> cake-2005.12.26_14 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> Returning to build of cake-2005.12.26_14 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for cake-2005.12.26_14 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for cake-2005.12.26_14 c++ -MM -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include cake/alias.cpp cake/app.cpp cake/bezierpatch.cpp cake/camera.cpp cake/client.cpp cake/commands.cpp cake/console.cpp cake/consts.cpp cake/demo.cpp cake/entity.cpp cake/files.cpp cake/framework.cpp cake/frustum.cpp cake/layer.cpp cake/logfile.cpp cake/math.cpp cake/md3.cpp cake/mem.cpp cake/overlay.cpp cake/parser.cpp cake/q3bsp.cpp cake/render.cpp cake/shader.cpp cake/skybox.cpp cake/sound.cpp cake/surface.cpp cake/system.cpp cake/texture.cpp cake/timer.cpp cake/vars.cpp cake/world.cpp cake/glsetup/glutils.cpp cake/zip/Unzip.cpp main.cpp > .depend c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/alias.o cake/alias.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/app.o cake/app.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/bezierpatch.o cake/bezierpatch.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/camera.o cake/camera.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/client.o cake/client.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/commands.o cake/commands.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/console.o cake/console.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/consts.o cake/consts.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/demo.o cake/demo.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/entity.o cake/entity.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/files.o cake/files.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/framework.o cake/framework.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/frustum.o cake/frustum.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/layer.o cake/layer.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/logfile.o cake/logfile.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/math.o cake/math.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/md3.o cake/md3.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/mem.o cake/mem.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/overlay.o cake/overlay.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/parser.o cake/parser.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/q3bsp.o cake/q3bsp.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/render.o cake/render.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/shader.o cake/shader.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/skybox.o cake/skybox.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/sound.o cake/sound.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/surface.o cake/surface.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/system.o cake/system.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/texture.o cake/texture.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/timer.o cake/timer.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/vars.o cake/vars.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/world.o cake/world.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/glsetup/glutils.o cake/glsetup/glutils.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/zip/Unzip.o cake/zip/Unzip.cpp c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o main.o main.cpp In file included from cake/layer.cpp:5: cake/layer.h:39:9: warning: private field 'num_layers' is not used [-Wunused-private-field] 39 | int num_layers; | ^ 1 warning generated. In file included from cake/surface.cpp:7: In file included from cake/console.h:8: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ 2 warnings generated. In file included from cake/consts.cpp:2: In file included from cake/console.h:8: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/consts.cpp:16:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 16 | { "FALSE", 0 }, | ^ cake/consts.cpp:17:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 17 | { "GL_ALWAYS", 0x0207 }, | ^ cake/consts.cpp:18:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 18 | { "GL_BACK", 0x0405 }, | ^ cake/consts.cpp:19:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 19 | { "GL_CLAMP", 0x2900 }, | ^ cake/consts.cpp:20:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 20 | { "GL_CURRENT_FOG_COORDINATE_EXT", 0x8453 }, | ^ cake/consts.cpp:21:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 21 | { "GL_DECAL", 0x2101 }, | ^ cake/consts.cpp:22:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 22 | { "GL_DECR", 0x1E03 }, | ^ cake/consts.cpp:23:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 23 | { "GL_DST_ALPHA", 0x0304 }, | ^ cake/consts.cpp:24:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 24 | { "GL_DST_COLOR", 0x0306 }, | ^ cake/consts.cpp:25:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 25 | { "GL_EQUAL", 0x0202 }, | ^ cake/consts.cpp:26:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 26 | { "GL_EYE_LINEAR", 0x2400 }, | ^ cake/consts.cpp:27:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 27 | { "GL_EYE_PLANE", 0x2502 }, | ^ cake/consts.cpp:28:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 28 | { "GL_FALSE", 0 }, | ^ cake/consts.cpp:29:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 29 | { "GL_FLAT", 0x1D00 }, | ^ cake/consts.cpp:30:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 30 | { "GL_FOG_COORDINATE_ARRAY_EXT", 0x8457 }, | ^ cake/consts.cpp:31:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 31 | { "GL_FOG_COORDINATE_ARRAY_POINTER_EXT", 0x8456 }, | ^ cake/consts.cpp:32:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 32 | { "GL_FOG_COORDINATE_ARRAY_STRIDE_EXT", 0x8455 }, | ^ cake/consts.cpp:33:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 33 | { "GL_FOG_COORDINATE_ARRAY_TYPE_EXT", 0x8454 }, | ^ cake/consts.cpp:34:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 34 | { "GL_FOG_COORDINATE_EXT", 0x8451 }, | ^ cake/consts.cpp:35:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 35 | { "GL_FOG_COORDINATE_SOURCE_EXT", 0x8450 }, | ^ cake/consts.cpp:36:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 36 | { "GL_FRAGMENT_DEPTH_EXT", 0x8452 }, | ^ cake/consts.cpp:37:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | { "GL_FRONT", 0x0404 }, | ^ cake/consts.cpp:38:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 38 | { "GL_FRONT_AND_BACK", 0x0408 }, | ^ cake/consts.cpp:39:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 39 | { "GL_GEQUAL", 0x0206 }, | ^ cake/consts.cpp:40:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 40 | { "GL_GREATER", 0x0204 }, | ^ cake/consts.cpp:41:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 41 | { "GL_INCR", 0x1E02 }, | ^ cake/consts.cpp:42:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 42 | { "GL_KEEP", 0x1E00 }, | ^ cake/consts.cpp:43:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | { "GL_LEQUAL", 0x0203 }, | ^ cake/consts.cpp:44:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | { "GL_LESS", 0x0201 }, | ^ cake/consts.cpp:45:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | { "GL_LINEAR", 0x2601 }, | ^ cake/consts.cpp:46:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | { "GL_LINEAR_MIPMAP_LINEAR", 0x2703 }, | ^ cake/consts.cpp:47:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | { "GL_LINEAR_MIPMAP_NEAREST", 0x2701 }, | ^ cake/consts.cpp:48:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | { "GL_MODULATE", 0x2100 }, | ^ cake/consts.cpp:49:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | { "GL_NEAREST", 0x2600 }, | ^ cake/consts.cpp:50:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | { "GL_NEAREST_MIPMAP_LINEAR", 0x2702 }, | ^ cake/consts.cpp:51:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | { "GL_NEAREST_MIPMAP_NEAREST", 0x2700 }, | ^ cake/consts.cpp:52:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | { "GL_NEVER", 0x0200 }, | ^ cake/consts.cpp:53:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 53 | { "GL_NOTEQUAL", 0x0205 }, | ^ cake/consts.cpp:54:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 54 | { "GL_OBJECT_LINEAR", 0x2401 }, | ^ cake/consts.cpp:55:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 55 | { "GL_OBJECT_PLANE", 0x2501 }, | ^ cake/consts.cpp:56:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 56 | { "GL_ONE", 1 }, | ^ cake/consts.cpp:57:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | { "GL_ONE_MINUS_DST_ALPHA", 0x0305 }, | ^ cake/consts.cpp:58:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | { "GL_ONE_MINUS_DST_COLOR", 0x0307 }, | ^ cake/consts.cpp:59:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | { "GL_ONE_MINUS_SRC_ALPHA", 0x0303 }, | ^ cake/consts.cpp:60:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | { "GL_ONE_MINUS_SRC_COLOR", 0x0301 }, | ^ cake/consts.cpp:61:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 61 | { "GL_REPEAT", 0x2901 }, | ^ cake/consts.cpp:62:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | { "GL_REPLACE", 0x1E01 }, | ^ cake/consts.cpp:63:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 63 | { "GL_SMOOTH", 0x1D01 }, | ^ cake/consts.cpp:64:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | { "GL_SPHERE_MAP", 0x2402 }, | ^ cake/consts.cpp:65:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | { "GL_SRC_ALPHA", 0x0302 }, | ^ cake/consts.cpp:66:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | { "GL_SRC_ALPHA_SATURATE", 0x0308 }, | ^ cake/consts.cpp:67:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 67 | { "GL_SRC_COLOR", 0x0300 }, | ^ cake/consts.cpp:68:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 68 | { "GL_TEXTURE_ENV", 0x2300 }, | ^ cake/consts.cpp:69:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 69 | { "GL_TEXTURE_ENV_COLOR", 0x2201 }, | ^ cake/consts.cpp:70:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 70 | { "GL_TEXTURE_ENV_MODE", 0x2200 }, | ^ cake/consts.cpp:71:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 71 | { "GL_TEXTURE_GEN_MODE", 0x2500 }, | ^ cake/consts.cpp:72:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 72 | { "GL_TEXTURE_MAG_FILTER", 0x2800 }, | ^ cake/consts.cpp:73:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | { "GL_TEXTURE_MIN_FILTER", 0x2801 }, | ^ cake/consts.cpp:74:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | { "GL_TEXTURE_WRAP_S", 0x2802 }, | ^ cake/consts.cpp:75:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | { "GL_TEXTURE_WRAP_T", 0x2803 }, | ^ cake/consts.cpp:76:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | { "GL_TRUE", 1 }, | ^ cake/consts.cpp:77:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | { "GL_ZERO", 0 }, | ^ cake/consts.cpp:78:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | { "NV_EYE_PLANE_ABSOLUTE_EXT", 0x855C }, | ^ cake/consts.cpp:79:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | { "NV_EYE_RADIAL_EXT", 0x855B }, | ^ cake/consts.cpp:80:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | { "NV_FOG_DISTANCE_MODE_EXT", 0x855A }, | ^ cake/consts.cpp:81:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | { "TRUE", 1 }, | ^ cake/consts.cpp:82:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | { "ZZZZ", 0 }, | ^ cake/consts.cpp:83:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | { "ZZZZ", 0 } | ^ 70 warnings generated. In file included from cake/timer.cpp:6: In file included from cake/console.h:8: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/timer.cpp:20:19: warning: unused variable 'lowshift' [-Wunused-variable] 20 | static int lowshift; | ^~~~~~~~ 3 warnings generated. In file included from cake/alias.cpp:9: In file included from cake/console.h:8: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/alias.cpp:58:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 58 | gCommands->AddCommand("alias", cmd_alias, "sets a value to an alias or creates an alias and sets a valueto it"); | ^ cake/alias.cpp:59:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 59 | gCommands->AddCommand("unalias", cmd_unalias, "destroy an existing alias"); | ^ cake/alias.cpp:60:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | gCommands->AddCommand("aliaslist", cmd_aliaslist, "displays a list of all existing aliases"); | ^ cake/alias.cpp:65:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | gCommands->RemoveCommand("alias"); | ^ cake/alias.cpp:66:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | gCommands->RemoveCommand("unalias"); | ^ cake/alias.cpp:67:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 67 | gCommands->RemoveCommand("aliaslist"); | ^ cake/alias.cpp:161:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 161 | if (!a) return ""; | ^ cake/alias.cpp:209:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 209 | if (!n) return ""; | ^ 10 warnings generated. In file included from cake/parser.cpp:5: In file included from cake/parser.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ 2 warnings generated. In file included from cake/framework.cpp:1: In file included from cake/framework.h:4: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ 2 warnings generated. In file included from cake/commands.cpp:8: In file included from cake/console.h:8: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/commands.cpp:106:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 106 | AddCommand("help", cmd_help, "displays help about a command"); | ^ cake/commands.cpp:107:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 107 | AddCommand("cmdlist", cmd_commands, "display all available commands in the console (if an argumentis present, the functions descriptions are given)"); | ^ cake/commands.cpp:108:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 108 | 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:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | AddCommand("rem", cmd_rem, "writes a remark in the console"); | ^ cake/commands.cpp:110:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 110 | AddCommand("//", cmd_rem, "writes a remark in the console"); | ^ cake/commands.cpp:111:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 111 | AddCommand("#", cmd_rem, "writes a remark in the console"); | ^ cake/commands.cpp:112:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 112 | AddCommand("togglehistory", cmd_togglehistory, "enables or disables the history for console commands"); | ^ cake/commands.cpp:117:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 117 | RemoveCommand("help"); | ^ cake/commands.cpp:118:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 118 | RemoveCommand("cmdlist"); | ^ cake/commands.cpp:119:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 119 | RemoveCommand("echo"); | ^ cake/commands.cpp:120:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 120 | RemoveCommand("rem"); | ^ cake/commands.cpp:121:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 121 | RemoveCommand("//"); | ^ cake/commands.cpp:122:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 122 | RemoveCommand("#"); | ^ cake/commands.cpp:123:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 123 | RemoveCommand("togglehistory"); | ^ cake/commands.cpp:406:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 406 | gConsole->SetCurrentCommand("%s ", llist->name); | ^ cake/commands.cpp:416:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 416 | gConsole->SetCurrentCommand("%s ", curr->name); | ^ cake/commands.cpp:428:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 428 | gConsole->SetCurrentCommand("%s ", curr->name); | ^ cake/commands.cpp:598:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 598 | if (!NbrCommHistLines || l < 1) return ""; | ^ 20 warnings generated. cake/system.cpp:515:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 515 | printf(msg); | ^~~ cake/system.cpp:515:12: note: treat the string as an argument to avoid this 515 | printf(msg); | ^ | "%s", 1 warning generated. In file included from cake/logfile.cpp:7: In file included from cake/overlay.h:8: In file included from cake/world.h:9: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ 2 warnings generated. In file included from cake/md3.cpp:1: In file included from cake/md3.h:5: In file included from cake/q3bsp.h:12: In file included from cake/entity.h:9: In file included from cake/world.h:9: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ 2 warnings generated. In file included from cake/world.cpp:5: In file included from cake/world.h:9: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ 2 warnings generated. In file included from cake/bezierpatch.cpp:5: In file included from cake/bezierpatch.h:12: In file included from cake/console.h:8: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ 2 warnings generated. In file included from cake/demo.cpp:6: In file included from cake/console.h:8: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/demo.cpp:139:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 139 | if (isRecording || isPlaying || currclient) return ""; | ^ cake/demo.cpp:145:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 145 | return ""; | ^ cake/demo.cpp:154:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 154 | return ""; | ^ cake/demo.cpp:170:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 170 | return ""; | ^ cake/demo.cpp:204:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 204 | return ""; | ^ 7 warnings generated. In file included from cake/overlay.cpp:5: In file included from cake/overlay.h:8: In file included from cake/world.h:9: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ 2 warnings generated. In file included from cake/texture.cpp:5: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ 2 warnings generated. In file included from cake/vars.cpp:5: In file included from cake/console.h:8: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/vars.cpp:147:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 147 | gCommands->AddCommand("varlist", cmd_varlist, "displays the variables list"); | ^ cake/vars.cpp:308:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 308 | return ""; | ^ cake/vars.cpp:347:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 347 | return ""; | ^ cake/vars.cpp:396:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 396 | if (!v) return ""; | ^ 6 warnings generated. In file included from cake/zip/Unzip.cpp:36: cake/zip/Globals.h:63:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 63 | char copyright[] = "PCDEZIP v1.00 Copyright (c) 1994, " | ^~~~~~~~ cake/zip/Globals.h:87:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | *compress[10] = { "unknown", "stored", "shrunk", "reduce1", | ^ cake/zip/Globals.h:87:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | *compress[10] = { "unknown", "stored", "shrunk", "reduce1", | ^ cake/zip/Globals.h:87:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | *compress[10] = { "unknown", "stored", "shrunk", "reduce1", | ^ cake/zip/Globals.h:87:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | *compress[10] = { "unknown", "stored", "shrunk", "reduce1", | ^ cake/zip/Globals.h:88:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | "reduce2", "reduce3", "reduce4", | ^ cake/zip/Globals.h:88:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | "reduce2", "reduce3", "reduce4", | ^ cake/zip/Globals.h:88:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | "reduce2", "reduce3", "reduce4", | ^ cake/zip/Globals.h:89:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 89 | "imploded", "tokenized", "deflated" }, | ^ cake/zip/Globals.h:89:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 89 | "imploded", "tokenized", "deflated" }, | ^ cake/zip/Globals.h:89:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 89 | "imploded", "tokenized", "deflated" }, | ^ cake/zip/Globals.h:90:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 90 | *decompr[10] = { "unknown", "copy", "unshrink", "expand", | ^ cake/zip/Globals.h:90:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 90 | *decompr[10] = { "unknown", "copy", "unshrink", "expand", | ^ cake/zip/Globals.h:90:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 90 | *decompr[10] = { "unknown", "copy", "unshrink", "expand", | ^ cake/zip/Globals.h:90:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 90 | *decompr[10] = { "unknown", "copy", "unshrink", "expand", | ^ cake/zip/Globals.h:91:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 91 | "expand", "expand", "expand", | ^ cake/zip/Globals.h:91:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 91 | "expand", "expand", "expand", | ^ cake/zip/Globals.h:91:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 91 | "expand", "expand", "expand", | ^ cake/zip/Globals.h:92:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 92 | "explod", "", "inflat" }, | ^ cake/zip/Globals.h:92:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 92 | "explod", "", "inflat" }, | ^ cake/zip/Globals.h:92:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 92 | "explod", "", "inflat" }, | ^ cake/zip/Globals.h:100:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 100 | view_encrypt[] = " Marks encrypted files\n", | ^~~~ cake/zip/Unzip.cpp:1104:17: warning: implicit conversion from 'int' to 'char' changes value from 144 to -112 [-Wconstant-conversion] 1104 | store_char(EXPLODE_DLE); // a. yes .. output a DLE char | ~~~~~~~~~~ ^~~~~~~~~~~ cake/zip/Unzip.h:158:30: note: expanded from macro 'EXPLODE_DLE' 158 | #define EXPLODE_DLE 144 // escape character | ^~~ 23 warnings generated. In file included from cake/app.cpp:5: In file included from cake/app.h:8: In file included from cake/world.h:9: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/app.cpp:88:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 88 | getPAKContent(NULL, ".bsp", argc>1?argv[1]:NULL); | ^ cake/app.cpp:93:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 93 | getPAKContent(NULL, ".wav", argc>1?argv[1]:NULL); | ^ cake/app.cpp:98:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 98 | getPAKContent(NULL, ".md3", argc>1?argv[1]:NULL); | ^ cake/app.cpp:169:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 169 | 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:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 170 | 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:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 171 | 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:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | gCommands->AddCommand("listfiles", cmd_listfiles, "display the list of all files matching with a substring"); | ^ cake/app.cpp:173:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 173 | gCommands->AddCommand("logpreviews", cmd_logpreviews, "write the map list with corresponding levelshot into the logfile"); | ^ cake/app.cpp:187:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 187 | ConfigFile(CONFIG_FILENAME); | ^ cake/definitions.h:22:29: note: expanded from macro 'CONFIG_FILENAME' 22 | #define CONFIG_FILENAME "config.ini" | ^ cake/app.cpp:335:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 335 | gCommands->RemoveCommand("bsplist"); | ^ cake/app.cpp:336:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 336 | gCommands->RemoveCommand("wavlist"); | ^ cake/app.cpp:337:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 337 | gCommands->RemoveCommand("md3list"); | ^ cake/app.cpp:338:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 338 | gCommands->RemoveCommand("listfiles"); | ^ cake/app.cpp:339:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 339 | gCommands->RemoveCommand("logpreviews"); | ^ cake/app.cpp:724:11: warning: unused variable 'demo' [-Wunused-variable] 724 | Demo *demo = &demos[i]; | ^~~~ 17 warnings generated. In file included from cake/shader.cpp:5: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/shader.cpp:50:25: warning: address of array 'this->ShaderTable[i].name' will always evaluate to 'true' [-Wpointer-bool-conversion] 50 | if (!ShaderTable[i].name) continue; // free slot | ~~~~~~~~~~~~~~~~^~~~ 3 warnings generated. In file included from main.cpp:18: In file included from ./cake/app.h:8: In file included from ./cake/world.h:9: In file included from ./cake/shader.h:8: In file included from ./cake/texture.h:8: ./cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ ./cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ In file included from main.cpp:37: ./cake/glsetup/glut.h:151:10: warning: 'APIENTRY' macro redefined [-Wmacro-redefined] 151 | # define APIENTRY | ^ /usr/local/include/GL/gl.h:83:9: note: previous definition is here 83 | #define APIENTRY GLAPIENTRY | ^ main.cpp:645:6: warning: unused variable 'numclients' [-Wunused-variable] 645 | int numclients = app->GetNumClients(); | ^~~~~~~~~~ main.cpp:1404:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1404 | gCommands->AddCommand("quit", cmd_quit, "exit the application"); | ^ main.cpp:1405:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1405 | gAlias->SetAlias("exit", "quit"); | ^ main.cpp:1405:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1405 | gAlias->SetAlias("exit", "quit"); | ^ main.cpp:1406:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1406 | gCommands->AddCommand("map", cmd_load, "load a bsp map"); | ^ main.cpp:1407:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1407 | gAlias->SetAlias("load", "map"); | ^ main.cpp:1407:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1407 | gAlias->SetAlias("load", "map"); | ^ main.cpp:1408:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1408 | gCommands->AddCommand("map_restart", cmd_reload, "reload the current map"); | ^ main.cpp:1409:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1409 | gAlias->SetAlias("reload", "map_restart"); | ^ main.cpp:1409:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1409 | gAlias->SetAlias("reload", "map_restart"); | ^ main.cpp:1410:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1410 | gCommands->AddCommand("unload", cmd_unload, "unload the current map"); | ^ main.cpp:1411:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1411 | gCommands->AddCommand("noclip", cmd_noclip, "toggle the collisions for clients"); | ^ main.cpp:1412:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1412 | gCommands->AddCommand("lockfrustum", cmd_lockfrustum, "loks the frustum for clients"); | ^ main.cpp:1413:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1413 | gCommands->AddCommand("record", cmd_record, "start recording a demo"); | ^ main.cpp:1414:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1414 | gCommands->AddCommand("stopdemo", cmd_stopdemo, "stop recording a demo"); | ^ main.cpp:1415:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1415 | gCommands->AddCommand("demo", cmd_demo, "play recorded demo"); | ^ main.cpp:1416:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1416 | gCommands->AddCommand("demodump", cmd_demodump, "dump demo file content"); | ^ main.cpp:1417:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1417 | gCommands->AddCommand("preview", cmd_preview, "displays the levelshot of a map (if it exists)"); | ^ main.cpp:1418:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1418 | gCommands->AddCommand("shaderpreview", cmd_shaderpreview, "display a sample of shader"); | ^ main.cpp:1419:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1419 | gCommands->AddCommand("fontsize", cmd_fontsize, "sets the font size"); | ^ main.cpp:1420:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1420 | gCommands->AddCommand("tabmode", cmd_tabmode, "sets the current tabulation key comportement"); | ^ main.cpp:1421:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1421 | gCommands->AddCommand("togglemousecenter", cmd_togglemousecenter, "toggles the mouse autocentering"); | ^ main.cpp:1422:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1422 | gAlias->SetAlias("tmc", "togglemousecenter"); | ^ main.cpp:1422:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1422 | gAlias->SetAlias("tmc", "togglemousecenter"); | ^ main.cpp:1423:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1423 | gCommands->AddCommand("credits", cmd_credits, "displays the engine and test program credits"); | ^ main.cpp:1424:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1424 | gCommands->AddCommand("speed", cmd_speed, "defines the moving speed of camera"); | ^ main.cpp:1425:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1425 | gCommands->AddCommand("fov", cmd_fov, "defines the camera fov"); | ^ main.cpp:1426:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1426 | gCommands->AddCommand("zoomlimit", cmd_zoomlimit, "defines the camera zoom limit"); | ^ main.cpp:1427:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1427 | gCommands->AddCommand("togglepitchlimit", cmd_tpl, "toggles the camera rotation limitation on Ox axis"); | ^ main.cpp:1428:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1428 | gAlias->SetAlias("tpl", "togglepitchlimit"); | ^ main.cpp:1428:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1428 | gAlias->SetAlias("tpl", "togglepitchlimit"); | ^ main.cpp:1429:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1429 | gCommands->AddCommand("accel", cmd_acceleration, "defines the acceleration value of client"); | ^ main.cpp:1430:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1430 | gCommands->AddCommand("friction", cmd_friction, "defines the friction value of client"); | ^ main.cpp:1431:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1431 | gCommands->AddCommand("getpos", cmd_getpos, "gets the current camera position"); | ^ main.cpp:1432:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1432 | gCommands->AddCommand("setpos", cmd_setpos, "sets the current camera position"); | ^ main.cpp:1433:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1433 | gCommands->AddCommand("addpos", cmd_addpos, "increments the current client camera position"); | ^ main.cpp:1434:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1434 | gCommands->AddCommand("getrot", cmd_getrot, "gets the current rotation angle"); | ^ main.cpp:1435:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1435 | gCommands->AddCommand("setrot", cmd_setrot, "sets the current rotation angle"); | ^ main.cpp:1436:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1436 | gCommands->AddCommand("addangle", cmd_addangle, "increments the current client camera angle"); | ^ main.cpp:1437:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1437 | gCommands->AddCommand("getfps", cmd_getfps, "returns the current fps rate"); | ^ main.cpp:1438:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1438 | gCommands->AddCommand("setnclients", cmd_setnclients, "sets the number of clients"); | ^ main.cpp:1439:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1439 | gCommands->AddCommand("resolutions", cmd_resolutions, "displays a list of all available screen resolution"); | ^ main.cpp:1440:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1440 | gCommands->AddCommand("screenshot", cmd_screenshot, "takes a screenshot of current window"); | ^ main.cpp:1441:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1441 | gCommands->AddCommand("entityreport", cmd_entityreport, "writes a report on entities in logfile"); | ^ main.cpp:1442:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1442 | gCommands->AddCommand("bspreport", cmd_bspreport, "writes a report on bsp in logfile"); | ^ main.cpp:1443:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1443 | gCommands->AddCommand("defineviewport", cmd_defineviewport, "define the viewport for a client"); | ^ main.cpp:1444:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1444 | gCommands->AddCommand("loadplayer", cmd_loadplayer, "load player skin, sounds, etc."); | ^ 50 warnings generated. In file included from cake/skybox.cpp:7: In file included from cake/console.h:8: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ 2 warnings generated. In file included from cake/files.cpp:6: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/files.cpp:119:15: warning: variable 'l' set but not used [-Wunused-but-set-variable] 119 | int length, l; | ^ cake/files.cpp:190:23: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 190 | if (file_type == ".*" || strstr(strlwr(packlist->files[i].name), strlwr(file_type))) | ^ ~~~~ cake/files.cpp:785:30: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] 785 | memset(temp, 0, sizeof(temp)); | ~~~~ ^~~~ cake/files.cpp:785:30: note: did you mean to provide an explicit length? 785 | memset(temp, 0, sizeof(temp)); | ^~~~ cake/files.cpp:871:30: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] 871 | memset(temp, 0, sizeof(temp)); | ~~~~ ^~~~ cake/files.cpp:871:30: note: did you mean to provide an explicit length? 871 | memset(temp, 0, sizeof(temp)); | ^~~~ cake/files.cpp:925:30: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] 925 | memset(temp, 0, sizeof(temp)); | ~~~~ ^~~~ cake/files.cpp:925:30: note: did you mean to provide an explicit length? 925 | memset(temp, 0, sizeof(temp)); | ^~~~ cake/files.cpp:972:30: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] 972 | memset(temp, 0, sizeof(temp)); | ~~~~ ^~~~ cake/files.cpp:972:30: note: did you mean to provide an explicit length? 972 | memset(temp, 0, sizeof(temp)); | ^~~~ cake/files.cpp:1135:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1135 | SearchFile search("scripts/*.shader"); | ^ 9 warnings generated. In file included from cake/client.cpp:8: In file included from cake/console.h:8: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/client.cpp:687:15: warning: '&&' within '||' [-Wlogical-op-parentheses] 687 | if (val < 0 && !nzoom || val > 0 && !pzoom) return; | ~~~~~~~~^~~~~~~~~ ~~ cake/client.cpp:687:15: note: place parentheses around the '&&' expression to silence this warning 687 | if (val < 0 && !nzoom || val > 0 && !pzoom) return; | ^ | ( ) cake/client.cpp:687:36: warning: '&&' within '||' [-Wlogical-op-parentheses] 687 | if (val < 0 && !nzoom || val > 0 && !pzoom) return; | ~~ ~~~~~~~~^~~~~~~~~ cake/client.cpp:687:36: note: place parentheses around the '&&' expression to silence this warning 687 | if (val < 0 && !nzoom || val > 0 && !pzoom) return; | ^ | ( ) cake/client.cpp:1052:9: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1052 | if (j == numplanes) break; | ^ cake/client.cpp:1047:7: note: previous statement is here 1047 | for (j = 0; j < numplanes; ++j) | ^ 5 warnings generated. In file included from cake/entity.cpp:5: In file included from cake/entity.h:9: In file included from cake/world.h:9: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/entity.cpp:64:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 64 | "", // precache | ^ cake/entity.cpp:65:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 65 | "" // sounds | ^ cake/entity.cpp:75:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | "item_armor_shard", | ^ cake/entity.cpp:76:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | "sound/misc/ar1_pkup.wav", | ^ cake/entity.cpp:77:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | { "models/powerups/armor/shard.md3", | ^ cake/entity.cpp:80:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | /* icon */ "icons/iconr_shard", | ^ cake/entity.cpp:81:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | /* pickup */ "Armor Shard", | ^ cake/entity.cpp:85:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 85 | /* precache */ "", | ^ cake/entity.cpp:86:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 86 | /* sounds */ "" | ^ cake/entity.cpp:92:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 92 | "item_armor_combat", | ^ cake/entity.cpp:93:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 93 | "sound/misc/ar2_pkup.wav", | ^ cake/entity.cpp:94:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 94 | { "models/powerups/armor/armor_yel.md3", | ^ cake/entity.cpp:96:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 96 | /* icon */ "icons/iconr_yellow", | ^ cake/entity.cpp:97:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 97 | /* pickup */ "Armor", | ^ cake/entity.cpp:101:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 101 | /* precache */ "", | ^ cake/entity.cpp:102:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 102 | /* sounds */ "" | ^ cake/entity.cpp:108:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 108 | "item_armor_body", | ^ cake/entity.cpp:109:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | "sound/misc/ar2_pkup.wav", | ^ cake/entity.cpp:110:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 110 | { "models/powerups/armor/armor_red.md3", | ^ cake/entity.cpp:112:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 112 | /* icon */ "icons/iconr_red", | ^ cake/entity.cpp:113:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 113 | /* pickup */ "Heavy Armor", | ^ cake/entity.cpp:117:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 117 | /* precache */ "", | ^ cake/entity.cpp:118:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 118 | /* sounds */ "" | ^ cake/entity.cpp:127:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 127 | "item_health_small", | ^ cake/entity.cpp:128:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 128 | "sound/items/s_health.wav", | ^ cake/entity.cpp:129:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 129 | { "models/powerups/health/small_cross.md3", | ^ cake/entity.cpp:130:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 130 | "models/powerups/health/small_sphere.md3", | ^ cake/entity.cpp:132:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 132 | /* icon */ "icons/iconh_green", | ^ cake/entity.cpp:133:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 133 | /* pickup */ "5 Health", | ^ cake/entity.cpp:137:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 137 | /* precache */ "", | ^ cake/entity.cpp:138:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 138 | /* sounds */ "" | ^ cake/entity.cpp:144:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 144 | "item_health", | ^ cake/entity.cpp:145:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 145 | "sound/items/n_health.wav", | ^ cake/entity.cpp:146:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 146 | { "models/powerups/health/medium_cross.md3", | ^ cake/entity.cpp:147:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 147 | "models/powerups/health/medium_sphere.md3", | ^ cake/entity.cpp:149:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 149 | /* icon */ "icons/iconh_yellow", | ^ cake/entity.cpp:150:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 150 | /* pickup */ "25 Health", | ^ cake/entity.cpp:154:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 154 | /* precache */ "", | ^ cake/entity.cpp:155:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 155 | /* sounds */ "" | ^ cake/entity.cpp:161:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 161 | "item_health_large", | ^ cake/entity.cpp:162:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 162 | "sound/items/l_health.wav", | ^ cake/entity.cpp:163:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 163 | { "models/powerups/health/large_cross.md3", | ^ cake/entity.cpp:164:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 164 | "models/powerups/health/large_sphere.md3", | ^ cake/entity.cpp:166:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 166 | /* icon */ "icons/iconh_red", | ^ cake/entity.cpp:167:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 167 | /* pickup */ "50 Health", | ^ cake/entity.cpp:171:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 171 | /* precache */ "", | ^ cake/entity.cpp:172:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | /* sounds */ "" | ^ cake/entity.cpp:178:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 178 | "item_health_mega", | ^ cake/entity.cpp:179:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 179 | "sound/items/m_health.wav", | ^ cake/entity.cpp:180:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | { "models/powerups/health/mega_cross.md3", | ^ cake/entity.cpp:181:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 181 | "models/powerups/health/mega_sphere.md3", | ^ cake/entity.cpp:183:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 183 | /* icon */ "icons/iconh_mega", | ^ cake/entity.cpp:184:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 184 | /* pickup */ "Mega Health", | ^ cake/entity.cpp:188:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 188 | /* precache */ "", | ^ cake/entity.cpp:189:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 189 | /* sounds */ "" | ^ cake/entity.cpp:200:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 200 | "weapon_gauntlet", | ^ cake/entity.cpp:201:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 201 | "sound/misc/w_pkup.wav", | ^ cake/entity.cpp:202:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 202 | { "models/weapons2/gauntlet/gauntlet.md3", | ^ cake/entity.cpp:204:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 204 | /* icon */ "icons/iconw_gauntlet", | ^ cake/entity.cpp:205:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 205 | /* pickup */ "Gauntlet", | ^ cake/entity.cpp:209:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 209 | /* precache */ "", | ^ cake/entity.cpp:210:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 210 | /* sounds */ "" | ^ cake/entity.cpp:216:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 216 | "weapon_shotgun", | ^ cake/entity.cpp:217:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 217 | "sound/misc/w_pkup.wav", | ^ cake/entity.cpp:218:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 218 | { "models/weapons2/shotgun/shotgun.md3", | ^ cake/entity.cpp:220:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 220 | /* icon */ "icons/iconw_shotgun", | ^ cake/entity.cpp:221:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 221 | /* pickup */ "Shotgun", | ^ cake/entity.cpp:225:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 225 | /* precache */ "", | ^ cake/entity.cpp:226:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 226 | /* sounds */ "" | ^ cake/entity.cpp:232:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 232 | "weapon_machinegun", | ^ cake/entity.cpp:233:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 233 | "sound/misc/w_pkup.wav", | ^ cake/entity.cpp:234:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 234 | { "models/weapons2/machinegun/machinegun.md3", | ^ cake/entity.cpp:236:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 236 | /* icon */ "icons/iconw_machinegun", | ^ cake/entity.cpp:237:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 237 | /* pickup */ "Machinegun", | ^ cake/entity.cpp:241:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 241 | /* precache */ "", | ^ cake/entity.cpp:242:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 242 | /* sounds */ "" | ^ cake/entity.cpp:248:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 248 | "weapon_grenadelauncher", | ^ cake/entity.cpp:249:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 249 | "sound/misc/w_pkup.wav", | ^ cake/entity.cpp:250:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 250 | { "models/weapons2/grenadel/grenadel.md3", | ^ cake/entity.cpp:252:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 252 | /* icon */ "icons/iconw_grenade", | ^ cake/entity.cpp:253:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 253 | /* pickup */ "Grenade Launcher", | ^ cake/entity.cpp:257:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 257 | /* precache */ "", | ^ cake/entity.cpp:258:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 258 | /* sounds */ "sound/weapons/grenade/hgrenb1a.wav sound/weapons/grenade/hgrenb2a.wav" | ^ cake/entity.cpp:264:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 264 | "weapon_rocketlauncher", | ^ cake/entity.cpp:265:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 265 | "sound/misc/w_pkup.wav", | ^ cake/entity.cpp:266:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 266 | { "models/weapons2/rocketl/rocketl.md3", | ^ cake/entity.cpp:268:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 268 | /* icon */ "icons/iconw_rocket", | ^ cake/entity.cpp:269:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 269 | /* pickup */ "Rocket Launcher", | ^ cake/entity.cpp:273:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 273 | /* precache */ "", | ^ cake/entity.cpp:274:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 274 | /* sounds */ "" | ^ cake/entity.cpp:280:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 280 | "weapon_lightning", | ^ cake/entity.cpp:281:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 281 | "sound/misc/w_pkup.wav", | ^ cake/entity.cpp:282:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 282 | { "models/weapons2/lightning/lightning.md3", | ^ cake/entity.cpp:284:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 284 | /* icon */ "icons/iconw_lightning", | ^ cake/entity.cpp:285:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 285 | /* pickup */ "Lightning Gun", | ^ cake/entity.cpp:289:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 289 | /* precache */ "", | ^ cake/entity.cpp:290:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 290 | /* sounds */ "" | ^ cake/entity.cpp:296:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 296 | "weapon_railgun", | ^ cake/entity.cpp:297:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 297 | "sound/misc/w_pkup.wav", | ^ cake/entity.cpp:298:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 298 | { "models/weapons2/railgun/railgun.md3", | ^ cake/entity.cpp:300:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 300 | /* icon */ "icons/iconw_railgun", | ^ cake/entity.cpp:301:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 301 | /* pickup */ "Railgun", | ^ cake/entity.cpp:305:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 305 | /* precache */ "", | ^ cake/entity.cpp:306:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 306 | /* sounds */ "" | ^ cake/entity.cpp:312:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 312 | "weapon_plasmagun", | ^ cake/entity.cpp:313:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 313 | "sound/misc/w_pkup.wav", | ^ cake/entity.cpp:314:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 314 | { "models/weapons2/plasma/plasma.md3", | ^ cake/entity.cpp:316:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 316 | /* icon */ "icons/iconw_plasma", | ^ cake/entity.cpp:317:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 317 | /* pickup */ "Plasma Gun", | ^ cake/entity.cpp:321:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 321 | /* precache */ "", | ^ cake/entity.cpp:322:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 322 | /* sounds */ "" | ^ cake/entity.cpp:328:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 328 | "weapon_bfg", | ^ cake/entity.cpp:329:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 329 | "sound/misc/w_pkup.wav", | ^ cake/entity.cpp:330:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 330 | { "models/weapons2/bfg/bfg.md3", | ^ cake/entity.cpp:332:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 332 | /* icon */ "icons/iconw_bfg", | ^ cake/entity.cpp:333:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 333 | /* pickup */ "BFG10K", | ^ cake/entity.cpp:337:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 337 | /* precache */ "", | ^ cake/entity.cpp:338:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 338 | /* sounds */ "" | ^ cake/entity.cpp:344:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 344 | "weapon_grapplinghook", | ^ cake/entity.cpp:345:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 345 | "sound/misc/w_pkup.wav", | ^ cake/entity.cpp:346:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 346 | { "models/weapons2/grapple/grapple.md3", | ^ cake/entity.cpp:348:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 348 | /* icon */ "icons/iconw_grapple", | ^ cake/entity.cpp:349:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 349 | /* pickup */ "Grappling Hook", | ^ cake/entity.cpp:353:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 353 | /* precache */ "", | ^ cake/entity.cpp:354:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 354 | /* sounds */ "" | ^ cake/entity.cpp:364:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 364 | "ammo_shells", | ^ cake/entity.cpp:365:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 365 | "sound/misc/am_pkup.wav", | ^ cake/entity.cpp:366:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 366 | { "models/powerups/ammo/shotgunam.md3", | ^ cake/entity.cpp:368:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 368 | /* icon */ "icons/icona_shotgun", | ^ cake/entity.cpp:369:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 369 | /* pickup */ "Shells", | ^ cake/entity.cpp:373:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 373 | /* precache */ "", | ^ cake/entity.cpp:374:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 374 | /* sounds */ "" | ^ cake/entity.cpp:380:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 380 | "ammo_bullets", | ^ cake/entity.cpp:381:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 381 | "sound/misc/am_pkup.wav", | ^ cake/entity.cpp:382:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 382 | { "models/powerups/ammo/machinegunam.md3", | ^ cake/entity.cpp:384:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 384 | /* icon */ "icons/icona_machinegun", | ^ cake/entity.cpp:385:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 385 | /* pickup */ "Bullets", | ^ cake/entity.cpp:389:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 389 | /* precache */ "", | ^ cake/entity.cpp:390:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 390 | /* sounds */ "" | ^ cake/entity.cpp:396:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 396 | "ammo_grenades", | ^ cake/entity.cpp:397:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 397 | "sound/misc/am_pkup.wav", | ^ cake/entity.cpp:398:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 398 | { "models/powerups/ammo/grenadeam.md3", | ^ cake/entity.cpp:400:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 400 | /* icon */ "icons/icona_grenade", | ^ cake/entity.cpp:401:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 401 | /* pickup */ "Grenades", | ^ cake/entity.cpp:405:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 405 | /* precache */ "", | ^ cake/entity.cpp:406:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 406 | /* sounds */ "" | ^ cake/entity.cpp:412:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 412 | "ammo_cells", | ^ cake/entity.cpp:413:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 413 | "sound/misc/am_pkup.wav", | ^ cake/entity.cpp:414:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 414 | { "models/powerups/ammo/plasmaam.md3", | ^ cake/entity.cpp:416:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 416 | /* icon */ "icons/icona_plasma", | ^ cake/entity.cpp:417:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 417 | /* pickup */ "Cells", | ^ cake/entity.cpp:421:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 421 | /* precache */ "", | ^ cake/entity.cpp:422:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 422 | /* sounds */ "" | ^ cake/entity.cpp:428:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 428 | "ammo_lightning", | ^ cake/entity.cpp:429:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 429 | "sound/misc/am_pkup.wav", | ^ cake/entity.cpp:430:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 430 | { "models/powerups/ammo/lightningam.md3", | ^ cake/entity.cpp:432:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 432 | /* icon */ "icons/icona_lightning", | ^ cake/entity.cpp:433:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 433 | /* pickup */ "Lightning", | ^ cake/entity.cpp:437:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 437 | /* precache */ "", | ^ cake/entity.cpp:438:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 438 | /* sounds */ "" | ^ cake/entity.cpp:444:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 444 | "ammo_rockets", | ^ cake/entity.cpp:445:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 445 | "sound/misc/am_pkup.wav", | ^ cake/entity.cpp:446:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 446 | { "models/powerups/ammo/rocketam.md3", | ^ cake/entity.cpp:448:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 448 | /* icon */ "icons/icona_rocket", | ^ cake/entity.cpp:449:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 449 | /* pickup */ "Rockets", | ^ cake/entity.cpp:453:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 453 | /* precache */ "", | ^ cake/entity.cpp:454:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 454 | /* sounds */ "" | ^ cake/entity.cpp:460:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 460 | "ammo_slugs", | ^ cake/entity.cpp:461:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 461 | "sound/misc/am_pkup.wav", | ^ cake/entity.cpp:462:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 462 | { "models/powerups/ammo/railgunam.md3", | ^ cake/entity.cpp:464:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 464 | /* icon */ "icons/icona_railgun", | ^ cake/entity.cpp:465:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 465 | /* pickup */ "Slugs", | ^ cake/entity.cpp:469:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 469 | /* precache */ "", | ^ cake/entity.cpp:470:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 470 | /* sounds */ "" | ^ cake/entity.cpp:476:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 476 | "ammo_bfg", | ^ cake/entity.cpp:477:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 477 | "sound/misc/am_pkup.wav", | ^ cake/entity.cpp:478:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 478 | { "models/powerups/ammo/bfgam.md3", | ^ cake/entity.cpp:480:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 480 | /* icon */ "icons/icona_bfg", | ^ cake/entity.cpp:481:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 481 | /* pickup */ "Bfg Ammo", | ^ cake/entity.cpp:485:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 485 | /* precache */ "", | ^ cake/entity.cpp:486:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 486 | /* sounds */ "" | ^ cake/entity.cpp:495:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 495 | "holdable_teleporter", | ^ cake/entity.cpp:496:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 496 | "sound/items/holdable.wav", | ^ cake/entity.cpp:497:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 497 | { "models/powerups/holdable/teleporter.md3", | ^ cake/entity.cpp:499:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 499 | /* icon */ "icons/teleporter", | ^ cake/entity.cpp:500:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 500 | /* pickup */ "Personal Teleporter", | ^ cake/entity.cpp:504:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 504 | /* precache */ "", | ^ cake/entity.cpp:505:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 505 | /* sounds */ "" | ^ cake/entity.cpp:510:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 510 | "holdable_medkit", | ^ cake/entity.cpp:511:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 511 | "sound/items/holdable.wav", | ^ cake/entity.cpp:513:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 513 | "models/powerups/holdable/medkit.md3", | ^ cake/entity.cpp:514:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 514 | "models/powerups/holdable/medkit_sphere.md3", | ^ cake/entity.cpp:516:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 516 | /* icon */ "icons/medkit", | ^ cake/entity.cpp:517:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 517 | /* pickup */ "Medkit", | ^ cake/entity.cpp:521:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 521 | /* precache */ "", | ^ cake/entity.cpp:522:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 522 | /* sounds */ "sound/items/use_medkit.wav" | ^ cake/entity.cpp:531:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 531 | "item_quad", | ^ cake/entity.cpp:532:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 532 | "sound/items/quaddamage.wav", | ^ cake/entity.cpp:533:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 533 | { "models/powerups/instant/quad.md3", | ^ cake/entity.cpp:534:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 534 | "models/powerups/instant/quad_ring.md3", | ^ cake/entity.cpp:536:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 536 | /* icon */ "icons/quad", | ^ cake/entity.cpp:537:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 537 | /* pickup */ "Quad Damage", | ^ cake/entity.cpp:541:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 541 | /* precache */ "", | ^ cake/entity.cpp:542:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 542 | /* sounds */ "sound/items/damage2.wav sound/items/damage3.wav" | ^ cake/entity.cpp:548:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 548 | "item_enviro", | ^ cake/entity.cpp:549:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 549 | "sound/items/protect.wav", | ^ cake/entity.cpp:550:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 550 | { "models/powerups/instant/enviro.md3", | ^ cake/entity.cpp:551:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 551 | "models/powerups/instant/enviro_ring.md3", | ^ cake/entity.cpp:553:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 553 | /* icon */ "icons/envirosuit", | ^ cake/entity.cpp:554:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 554 | /* pickup */ "Battle Suit", | ^ cake/entity.cpp:558:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 558 | /* precache */ "", | ^ cake/entity.cpp:559:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 559 | /* sounds */ "sound/items/airout.wav sound/items/protect3.wav" | ^ cake/entity.cpp:565:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 565 | "item_haste", | ^ cake/entity.cpp:566:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 566 | "sound/items/haste.wav", | ^ cake/entity.cpp:567:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 567 | { "models/powerups/instant/haste.md3", | ^ cake/entity.cpp:568:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 568 | "models/powerups/instant/haste_ring.md3", | ^ cake/entity.cpp:570:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 570 | /* icon */ "icons/haste", | ^ cake/entity.cpp:571:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 571 | /* pickup */ "Speed", | ^ cake/entity.cpp:575:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 575 | /* precache */ "", | ^ cake/entity.cpp:576:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 576 | /* sounds */ "" | ^ cake/entity.cpp:582:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 582 | "item_invis", | ^ cake/entity.cpp:583:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 583 | "sound/items/invisibility.wav", | ^ cake/entity.cpp:584:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 584 | { "models/powerups/instant/invis.md3", | ^ cake/entity.cpp:585:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 585 | "models/powerups/instant/invis_ring.md3", | ^ cake/entity.cpp:587:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 587 | /* icon */ "icons/invis", | ^ cake/entity.cpp:588:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 588 | /* pickup */ "Invisibility", | ^ cake/entity.cpp:592:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 592 | /* precache */ "", | ^ cake/entity.cpp:593:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 593 | /* sounds */ "" | ^ cake/entity.cpp:599:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 599 | "item_regen", | ^ cake/entity.cpp:600:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 600 | "sound/items/regeneration.wav", | ^ cake/entity.cpp:601:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 601 | { "models/powerups/instant/regen.md3", | ^ cake/entity.cpp:602:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 602 | "models/powerups/instant/regen_ring.md3", | ^ cake/entity.cpp:604:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 604 | /* icon */ "icons/regen", | ^ cake/entity.cpp:605:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 605 | /* pickup */ "Regeneration", | ^ cake/entity.cpp:609:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 609 | /* precache */ "", | ^ cake/entity.cpp:610:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 610 | /* sounds */ "sound/items/regen.wav" | ^ cake/entity.cpp:616:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 616 | "item_flight", | ^ cake/entity.cpp:617:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 617 | "sound/items/flight.wav", | ^ cake/entity.cpp:618:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 618 | { "models/powerups/instant/flight.md3", | ^ cake/entity.cpp:619:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 619 | "models/powerups/instant/flight_ring.md3", | ^ cake/entity.cpp:621:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 621 | /* icon */ "icons/flight", | ^ cake/entity.cpp:622:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 622 | /* pickup */ "Flight", | ^ cake/entity.cpp:626:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 626 | /* precache */ "", | ^ cake/entity.cpp:627:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 627 | /* sounds */ "sound/items/flight.wav" | ^ cake/entity.cpp:634:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 634 | "team_CTF_redflag", | ^ cake/entity.cpp:636:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 636 | { "models/flags/r_flag.md3", | ^ cake/entity.cpp:638:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 638 | /* icon */ "icons/iconf_red1", | ^ cake/entity.cpp:639:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 639 | /* pickup */ "Red Flag", | ^ cake/entity.cpp:643:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 643 | /* precache */ "", | ^ cake/entity.cpp:644:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 644 | /* sounds */ "" | ^ cake/entity.cpp:651:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 651 | "team_CTF_blueflag", | ^ cake/entity.cpp:653:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 653 | { "models/flags/b_flag.md3", | ^ cake/entity.cpp:655:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 655 | /* icon */ "icons/iconf_blu1", | ^ cake/entity.cpp:656:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 656 | /* pickup */ "Blue Flag", | ^ cake/entity.cpp:660:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 660 | /* precache */ "", | ^ cake/entity.cpp:661:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 661 | /* sounds */ "" | ^ cake/entity.cpp:667:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 667 | "holdable_kamikaze", | ^ cake/entity.cpp:668:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 668 | "sound/items/holdable.wav", | ^ cake/entity.cpp:669:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 669 | { "models/powerups/kamikazi.md3", | ^ cake/entity.cpp:671:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 671 | /* icon */ "icons/kamikaze", | ^ cake/entity.cpp:672:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 672 | /* pickup */ "Kamikaze", | ^ cake/entity.cpp:676:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 676 | /* precache */ "", | ^ cake/entity.cpp:677:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 677 | /* sounds */ "sound/items/kamikazerespawn.wav" | ^ cake/entity.cpp:683:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 683 | "holdable_portal", | ^ cake/entity.cpp:684:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 684 | "sound/items/holdable.wav", | ^ cake/entity.cpp:685:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 685 | { "models/powerups/holdable/porter.md3", | ^ cake/entity.cpp:687:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 687 | /* icon */ "icons/portal", | ^ cake/entity.cpp:688:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 688 | /* pickup */ "Portal", | ^ cake/entity.cpp:692:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 692 | /* precache */ "", | ^ cake/entity.cpp:693:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 693 | /* sounds */ "" | ^ cake/entity.cpp:699:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 699 | "holdable_invulnerability", | ^ cake/entity.cpp:700:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 700 | "sound/items/holdable.wav", | ^ cake/entity.cpp:701:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 701 | { "models/powerups/holdable/invulnerability.md3", | ^ cake/entity.cpp:703:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 703 | /* icon */ "icons/invulnerability", | ^ cake/entity.cpp:704:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 704 | /* pickup */ "Invulnerability", | ^ cake/entity.cpp:708:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 708 | /* precache */ "", | ^ cake/entity.cpp:709:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 709 | /* sounds */ "" | ^ cake/entity.cpp:715:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 715 | "ammo_nails", | ^ cake/entity.cpp:716:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 716 | "sound/misc/am_pkup.wav", | ^ cake/entity.cpp:717:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 717 | { "models/powerups/ammo/nailgunam.md3", | ^ cake/entity.cpp:719:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 719 | /* icon */ "icons/icona_nailgun", | ^ cake/entity.cpp:720:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 720 | /* pickup */ "Nails", | ^ cake/entity.cpp:724:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 724 | /* precache */ "", | ^ cake/entity.cpp:725:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 725 | /* sounds */ "" | ^ cake/entity.cpp:731:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 731 | "ammo_mines", | ^ cake/entity.cpp:732:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 732 | "sound/misc/am_pkup.wav", | ^ cake/entity.cpp:733:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 733 | { "models/powerups/ammo/proxmineam.md3", | ^ cake/entity.cpp:735:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 735 | /* icon */ "icons/icona_proxlauncher", | ^ cake/entity.cpp:736:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 736 | /* pickup */ "Proximity Mines", | ^ cake/entity.cpp:740:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 740 | /* precache */ "", | ^ cake/entity.cpp:741:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 741 | /* sounds */ "" | ^ cake/entity.cpp:747:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 747 | "ammo_belt", | ^ cake/entity.cpp:748:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 748 | "sound/misc/am_pkup.wav", | ^ cake/entity.cpp:749:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 749 | { "models/powerups/ammo/chaingunam.md3", | ^ cake/entity.cpp:751:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 751 | /* icon */ "icons/icona_chaingun", | ^ cake/entity.cpp:752:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 752 | /* pickup */ "Chaingun Belt", | ^ cake/entity.cpp:756:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 756 | /* precache */ "", | ^ cake/entity.cpp:757:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 757 | /* sounds */ "" | ^ cake/entity.cpp:766:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 766 | "item_scout", | ^ cake/entity.cpp:767:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 767 | "sound/items/scout.wav", | ^ cake/entity.cpp:768:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 768 | { "models/powerups/scout.md3", | ^ cake/entity.cpp:770:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 770 | /* icon */ "icons/scout", | ^ cake/entity.cpp:771:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 771 | /* pickup */ "Scout", | ^ cake/entity.cpp:775:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 775 | /* precache */ "", | ^ cake/entity.cpp:776:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 776 | /* sounds */ "" | ^ cake/entity.cpp:782:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 782 | "item_guard", | ^ cake/entity.cpp:783:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 783 | "sound/items/guard.wav", | ^ cake/entity.cpp:784:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 784 | { "models/powerups/guard.md3", | ^ cake/entity.cpp:786:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 786 | /* icon */ "icons/guard", | ^ cake/entity.cpp:787:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 787 | /* pickup */ "Guard", | ^ cake/entity.cpp:791:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 791 | /* precache */ "", | ^ cake/entity.cpp:792:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 792 | /* sounds */ "" | ^ cake/entity.cpp:798:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 798 | "item_doubler", | ^ cake/entity.cpp:799:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 799 | "sound/items/doubler.wav", | ^ cake/entity.cpp:800:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 800 | { "models/powerups/doubler.md3", | ^ cake/entity.cpp:802:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 802 | /* icon */ "icons/doubler", | ^ cake/entity.cpp:803:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 803 | /* pickup */ "Doubler", | ^ cake/entity.cpp:807:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 807 | /* precache */ "", | ^ cake/entity.cpp:808:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 808 | /* sounds */ "" | ^ cake/entity.cpp:814:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 814 | "item_ammoregen", | ^ cake/entity.cpp:815:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 815 | "sound/items/ammoregen.wav", | ^ cake/entity.cpp:816:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 816 | { "models/powerups/ammo.md3", | ^ cake/entity.cpp:818:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 818 | /* icon */ "icons/ammo_regen", | ^ cake/entity.cpp:819:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 819 | /* pickup */ "Ammo Regen", | ^ cake/entity.cpp:823:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 823 | /* precache */ "", | ^ cake/entity.cpp:824:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 824 | /* sounds */ "" | ^ cake/entity.cpp:831:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 831 | "team_CTF_neutralflag", | ^ cake/entity.cpp:833:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 833 | { "models/flags/n_flag.md3", | ^ cake/entity.cpp:835:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 835 | /* icon */ "icons/iconf_neutral1", | ^ cake/entity.cpp:836:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 836 | /* pickup */ "Neutral Flag", | ^ cake/entity.cpp:840:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 840 | /* precache */ "", | ^ cake/entity.cpp:841:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 841 | /* sounds */ "" | ^ cake/entity.cpp:845:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 845 | "item_redcube", | ^ cake/entity.cpp:846:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 846 | "sound/misc/am_pkup.wav", | ^ cake/entity.cpp:847:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 847 | { "models/powerups/orb/r_orb.md3", | ^ cake/entity.cpp:849:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 849 | /* icon */ "icons/iconh_rorb", | ^ cake/entity.cpp:850:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 850 | /* pickup */ "Red Cube", | ^ cake/entity.cpp:854:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 854 | /* precache */ "", | ^ cake/entity.cpp:855:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 855 | /* sounds */ "" | ^ cake/entity.cpp:859:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 859 | "item_bluecube", | ^ cake/entity.cpp:860:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 860 | "sound/misc/am_pkup.wav", | ^ cake/entity.cpp:861:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 861 | { "models/powerups/orb/b_orb.md3", | ^ cake/entity.cpp:863:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 863 | /* icon */ "icons/iconh_borb", | ^ cake/entity.cpp:864:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 864 | /* pickup */ "Blue Cube", | ^ cake/entity.cpp:868:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 868 | /* precache */ "", | ^ cake/entity.cpp:869:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 869 | /* sounds */ "" | ^ cake/entity.cpp:874:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 874 | "weapon_nailgun", | ^ cake/entity.cpp:875:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 875 | "sound/misc/w_pkup.wav", | ^ cake/entity.cpp:876:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 876 | { "models/weapons/nailgun/nailgun.md3", | ^ cake/entity.cpp:878:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 878 | /* icon */ "icons/iconw_nailgun", | ^ cake/entity.cpp:879:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 879 | /* pickup */ "Nailgun", | ^ cake/entity.cpp:883:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 883 | /* precache */ "", | ^ cake/entity.cpp:884:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 884 | /* sounds */ "" | ^ cake/entity.cpp:890:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 890 | "weapon_prox_launcher", | ^ cake/entity.cpp:891:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 891 | "sound/misc/w_pkup.wav", | ^ cake/entity.cpp:892:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 892 | { "models/weapons/proxmine/proxmine.md3", | ^ cake/entity.cpp:894:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 894 | /* icon */ "icons/iconw_proxlauncher", | ^ cake/entity.cpp:895:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 895 | /* pickup */ "Prox Launcher", | ^ cake/entity.cpp:899:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 899 | /* precache */ "", | ^ cake/entity.cpp:900:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 900 | /* sounds */ "sound/weapons/proxmine/wstbtick.wav " | ^ cake/entity.cpp:911:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 911 | "weapon_chaingun", | ^ cake/entity.cpp:912:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 912 | "sound/misc/w_pkup.wav", | ^ cake/entity.cpp:913:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 913 | { "models/weapons/vulcan/vulcan.md3", | ^ cake/entity.cpp:915:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 915 | /* icon */ "icons/iconw_chaingun", | ^ cake/entity.cpp:916:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 916 | /* pickup */ "Chaingun", | ^ cake/entity.cpp:920:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 920 | /* precache */ "", | ^ cake/entity.cpp:921:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 921 | /* sounds */ "sound/weapons/vulcan/wvulwind.wav" | ^ cake/entity.cpp:1525:28: warning: unused variable 'global' [-Wunused-variable] 1525 | bool loop = false, global = false; | ^~~~~~ 370 warnings generated. In file included from cake/render.cpp:7: In file included from cake/console.h:8: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/render.cpp:200:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 200 | gCommands->AddCommand("setclearcolor", cmd_setclearcolor, "Define the clear color (need to be enabled with r_clear variable)."); | ^ cake/render.cpp:270:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 270 | gCommands->RemoveCommand("setclearcolor"); | ^ cake/render.cpp:308:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 308 | if (CheckExtension("GL_EXT_compiled_vertex_array")) | ^ cake/render.cpp:322:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 322 | if (CheckExtension("GL_ARB_multitexture")) | ^ cake/render.cpp:344:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 344 | if (CheckExtension("EXT_texture_edge_clamp")) | ^ cake/render.cpp:1417:21: warning: variable 'v' set but not used [-Wunused-but-set-variable] 1417 | vertex_t *v = surf->firstvert[level]; | ^ cake/render.cpp:1488:21: warning: variable 'v' set but not used [-Wunused-but-set-variable] 1488 | vertex_t *v = surf->firstvert[level]; | ^ cake/render.cpp:2367:16: warning: address of array 'l->map' will always evaluate to 'true' [-Wpointer-bool-conversion] 2367 | else if (!l->map) return; // FIXME: that happens??? | ~~~~^~~ 10 warnings generated. In file included from cake/console.cpp:6: In file included from cake/console.h:8: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/console.cpp:70:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 70 | if (content[i] == TEXT_STYLE_KEYWORD) | ^ cake/definitions.h:25:29: note: expanded from macro 'TEXT_STYLE_KEYWORD' 25 | #define TEXT_STYLE_KEYWORD '' /**< Character introducing a style modification. */ | ^ cake/console.cpp:160:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 160 | if (content[k] == TEXT_STYLE_KEYWORD) | ^ cake/definitions.h:25:29: note: expanded from macro 'TEXT_STYLE_KEYWORD' 25 | #define TEXT_STYLE_KEYWORD '' /**< Character introducing a style modification. */ | ^ cake/console.cpp:240:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 240 | SetPrompt("]"); | ^ cake/console.cpp:311:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 311 | gCommands->AddCommand("close", cmd_close, "closes the console"); | ^ cake/console.cpp:312:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 312 | gAlias->SetAlias("hide", "close"); | ^ cake/console.cpp:312:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 312 | gAlias->SetAlias("hide", "close"); | ^ cake/console.cpp:313:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 313 | gCommands->AddCommand("showmessages", cmd_messages, "activates or disactivates the display of console messageswhenconsole is closed"); | ^ cake/console.cpp:314:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 314 | gCommands->AddCommand("msglife", cmd_messagetimelife, "sets the life time for console messages when console is closed"); | ^ cake/console.cpp:315:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 315 | gCommands->AddCommand("clear", cmd_clear, "clears the console content"); | ^ cake/console.cpp:316:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 316 | gAlias->SetAlias("clr", "clear"); | ^ cake/console.cpp:316:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 316 | gAlias->SetAlias("clr", "clear"); | ^ cake/console.cpp:463:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 463 | if (l = (int) strlen(final)) | ~~^~~~~~~~~~~~~~~~~~~~~ cake/console.cpp:463:9: note: place parentheses around the assignment to silence this warning 463 | if (l = (int) strlen(final)) | ^ | ( ) cake/console.cpp:463:9: note: use '==' to turn this assignment into an equality comparison 463 | if (l = (int) strlen(final)) | ^ | == cake/console.cpp:529:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 529 | if (c == TEXT_STYLE_KEYWORD) return; | ^ cake/definitions.h:25:29: note: expanded from macro 'TEXT_STYLE_KEYWORD' 25 | #define TEXT_STYLE_KEYWORD '' /**< Character introducing a style modification. */ | ^ cake/console.cpp:1127:13: warning: '&&' within '||' [-Wlogical-op-parentheses] 1127 | if (w > 0 && | ~~~~~~^~ 1128 | (showVScroll && (w-RESIZE_SQUARE) > (prompt_len>MAXPROMPTLEN?prompt_len:MAXPROMPTLEN+2)*ConsoleFontSizeX+2) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ cake/console.cpp:1127:13: note: place parentheses around the '&&' expression to silence this warning 1127 | if (w > 0 && | ^ | ( 1128 | (showVScroll && (w-RESIZE_SQUARE) > (prompt_len>MAXPROMPTLEN?prompt_len:MAXPROMPTLEN+2)*ConsoleFontSizeX+2) || | ) cake/console.cpp:1129:18: warning: '&&' within '||' [-Wlogical-op-parentheses] 1128 | (showVScroll && (w-RESIZE_SQUARE) > (prompt_len>MAXPROMPTLEN?prompt_len:MAXPROMPTLEN+2)*ConsoleFontSizeX+2) || | ~~ 1129 | !showVScroll && w > (prompt_len>MAXPROMPTLEN?prompt_len:MAXPROMPTLEN+2)*ConsoleFontSizeX+2) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cake/console.cpp:1129:18: note: place parentheses around the '&&' expression to silence this warning 1129 | !showVScroll && w > (prompt_len>MAXPROMPTLEN?prompt_len:MAXPROMPTLEN+2)*ConsoleFontSizeX+2) | ^ | ( ) 17 warnings generated. In file included from cake/q3bsp.cpp:6: In file included from cake/q3bsp.h:12: In file included from cake/entity.h:9: In file included from cake/world.h:9: In file included from cake/shader.h:8: In file included from cake/texture.h:8: cake/files.h:131:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | char *file_type = ".*", | ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | SearchFile(char *pattern="*"); | ^ cake/q3bsp.cpp:459:23: warning: address of array 'this->r_numsurfaces' will always evaluate to 'true' [-Wpointer-bool-conversion] 459 | if (!r_surfaces || !r_numsurfaces) return; | ~^~~~~~~~~~~~~ cake/q3bsp.cpp:2520:13: warning: unused variable 'dy' [-Wunused-variable] 2520 | float dy = (float) (pow(surf->firstvert[0][v+1].v_point[1]-surf->firstvert[0][v].v_point[1], 2)+ | ^~ 4 warnings generated. c++ -o main cake/alias.o cake/app.o cake/bezierpatch.o cake/camera.o cake/client.o cake/commands.o cake/console.o cake/consts.o cake/demo.o cake/entity.o cake/files.o cake/framework.o cake/frustum.o cake/layer.o cake/logfile.o cake/math.o cake/md3.o cake/mem.o cake/overlay.o cake/parser.o cake/q3bsp.o cake/render.o cake/shader.o cake/skybox.o cake/sound.o cake/surface.o cake/system.o cake/texture.o cake/timer.o cake/vars.o cake/world.o cake/glsetup/glutils.o cake/zip/Unzip.o main.o -L/usr/local/lib -lglut -lGLU -lGL -pthread -lX11 -lXext -lXmu -lXt -lXi -lSM -lICE -ljpeg =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> cake-2005.12.26_14 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for cake-2005.12.26_14 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/cake/work/cake_src/main /wrkdirs/usr/ports/games/cake/work/stage/usr/local/bin/cake ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-17T02:03:50+0000' 'PKG_NOTE_ports_top_git_hash=8c988f802ea2' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=664a2fa1e56e' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for cake-2005.12.26_14 ===> Building cake-2005.12.26_14 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for cake-2005.12.26_14 build of games/cake | cake-2005.12.26_14 ended at Mon Mar 16 22:04:03 EDT 2026 build time: 00:00:14