=>> Building games/cake build started at Tue Apr 2 12:48:44 BST 2024 port directory: /usr/ports/games/cake package name: cake-2005.12.26_14 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: danfe@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2094 Jul 29 2023 /usr/ports/games/cake/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 664a2fa1e5 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 11 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/11/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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=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=/ccache/libexec/ccache:/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 CCACHE_DIR="/root/.ccache" --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=/ccache/libexec/ccache:/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=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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=13.2 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--- 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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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 --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-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... 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-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] 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.7_1,1.pkg [pkg-builder.dan.net.uk] Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] Extracting libX11-1.8.7_1,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-builder.dan.net.uk] Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] 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-builder.dan.net.uk] Installing libXmu-1.1.4,1... [pkg-builder.dan.net.uk] `-- Installing libXt-1.3.0,1... [pkg-builder.dan.net.uk] | `-- Installing libICE-1.1.0_2,1... [pkg-builder.dan.net.uk] | `-- Extracting libICE-1.1.0_2,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libSM-1.2.3_1,1... [pkg-builder.dan.net.uk] | `-- Extracting libSM-1.2.3_1,1: ........ done [pkg-builder.dan.net.uk] `-- Extracting libXt-1.3.0,1: .......... done [pkg-builder.dan.net.uk] 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_1,1.pkg [pkg-builder.dan.net.uk] Installing libXi-1.8_1,1... [pkg-builder.dan.net.uk] `-- Installing libXfixes-6.0.0_1... [pkg-builder.dan.net.uk] `-- Extracting libXfixes-6.0.0_1: ....... done [pkg-builder.dan.net.uk] Extracting libXi-1.8_1,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 =========================================================================== =================================================== ===== 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-builder.dan.net.uk] Installing freeglut-3.2.1... [pkg-builder.dan.net.uk] `-- Installing libGLU-9.0.2_2... [pkg-builder.dan.net.uk] | `-- Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] | `-- Extracting libglvnd-1.7.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting libGLU-9.0.2_2: ..... done [pkg-builder.dan.net.uk] `-- Installing libXrandr-1.5.2_1... [pkg-builder.dan.net.uk] | `-- Installing libXrender-0.9.10_2... [pkg-builder.dan.net.uk] | `-- Extracting libXrender-0.9.10_2: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXrandr-1.5.2_1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXxf86vm-1.1.4_4... [pkg-builder.dan.net.uk] `-- Extracting libXxf86vm-1.1.4_4: .......... done [pkg-builder.dan.net.uk] 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.0.2.pkg [pkg-builder.dan.net.uk] Installing jpeg-turbo-3.0.2... [pkg-builder.dan.net.uk] Extracting jpeg-turbo-3.0.2: .......... 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 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/alias.cpp:58:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gCommands->AddCommand("alias", cmd_alias, "sets a value to an alias or creates an alias and sets a valueto it"); ^ cake/alias.cpp:59:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] 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] gCommands->RemoveCommand("alias"); ^ cake/alias.cpp:66:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gCommands->RemoveCommand("unalias"); ^ cake/alias.cpp:67:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gCommands->RemoveCommand("aliaslist"); ^ cake/alias.cpp:161:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!a) return ""; ^ cake/alias.cpp:209:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!n) return ""; ^ 10 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/app.o cake/app.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/app.cpp:88:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] 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] 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] 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] 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] 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] 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] 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] ConfigFile(CONFIG_FILENAME); ^ cake/definitions.h:22:29: note: expanded from macro 'CONFIG_FILENAME' #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] gCommands->RemoveCommand("bsplist"); ^ cake/app.cpp:336:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gCommands->RemoveCommand("wavlist"); ^ cake/app.cpp:337:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gCommands->RemoveCommand("md3list"); ^ cake/app.cpp:338:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gCommands->RemoveCommand("listfiles"); ^ cake/app.cpp:339:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gCommands->RemoveCommand("logpreviews"); ^ cake/app.cpp:724:11: warning: unused variable 'demo' [-Wunused-variable] Demo *demo = &demos[i]; ^ 17 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/bezierpatch.o cake/bezierpatch.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ 2 warnings generated. 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 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/client.cpp:687:15: warning: '&&' within '||' [-Wlogical-op-parentheses] if (val < 0 && !nzoom || val > 0 && !pzoom) return; ~~~~~~~~^~~~~~~~~ ~~ cake/client.cpp:687:15: note: place parentheses around the '&&' expression to silence this warning if (val < 0 && !nzoom || val > 0 && !pzoom) return; ^ ( ) cake/client.cpp:687:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if (val < 0 && !nzoom || val > 0 && !pzoom) return; ~~ ~~~~~~~~^~~~~~~~~ cake/client.cpp:687:36: note: place parentheses around the '&&' expression to silence this warning 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] if (j == numplanes) break; ^ cake/client.cpp:1047:7: note: previous statement is here for (j = 0; j < numplanes; ++j) ^ 5 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/commands.o cake/commands.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/commands.cpp:106:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] 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] 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] 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] 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] 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] 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] RemoveCommand("help"); ^ cake/commands.cpp:118:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] RemoveCommand("cmdlist"); ^ cake/commands.cpp:119:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] RemoveCommand("echo"); ^ cake/commands.cpp:120:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] RemoveCommand("rem"); ^ cake/commands.cpp:121:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] RemoveCommand("//"); ^ cake/commands.cpp:122:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] RemoveCommand("#"); ^ cake/commands.cpp:123:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] RemoveCommand("togglehistory"); ^ cake/commands.cpp:406:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] 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] 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] if (!NbrCommHistLines || l < 1) return ""; ^ 20 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/console.o cake/console.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/console.cpp:70:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] if (content[i] == TEXT_STYLE_KEYWORD) ^ cake/definitions.h:25:29: note: expanded from macro 'TEXT_STYLE_KEYWORD' #define TEXT_STYLE_KEYWORD '' /**< Character introducing a style modification. */ ^ cake/console.cpp:160:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] if (content[k] == TEXT_STYLE_KEYWORD) ^ cake/definitions.h:25:29: note: expanded from macro 'TEXT_STYLE_KEYWORD' #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] SetPrompt("]"); ^ cake/console.cpp:311:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] gAlias->SetAlias("hide", "close"); ^ cake/console.cpp:312:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gAlias->SetAlias("hide", "close"); ^ cake/console.cpp:313:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] 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] 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] gAlias->SetAlias("clr", "clear"); ^ cake/console.cpp:316:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gAlias->SetAlias("clr", "clear"); ^ cake/console.cpp:463:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (l = (int) strlen(final)) ~~^~~~~~~~~~~~~~~~~~~~~ cake/console.cpp:463:9: note: place parentheses around the assignment to silence this warning if (l = (int) strlen(final)) ^ ( ) cake/console.cpp:463:9: note: use '==' to turn this assignment into an equality comparison if (l = (int) strlen(final)) ^ == cake/console.cpp:529:12: warning: illegal character encoding in character literal [-Winvalid-source-encoding] if (c == TEXT_STYLE_KEYWORD) return; ^ cake/definitions.h:25:29: note: expanded from macro 'TEXT_STYLE_KEYWORD' #define TEXT_STYLE_KEYWORD '' /**< Character introducing a style modification. */ ^ cake/console.cpp:1127:13: warning: '&&' within '||' [-Wlogical-op-parentheses] if (w > 0 && ~~~~~~^~ cake/console.cpp:1127:13: note: place parentheses around the '&&' expression to silence this warning if (w > 0 && ^ ( cake/console.cpp:1129:18: warning: '&&' within '||' [-Wlogical-op-parentheses] !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 !showVScroll && w > (prompt_len>MAXPROMPTLEN?prompt_len:MAXPROMPTLEN+2)*ConsoleFontSizeX+2) ^ ( ) 17 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/consts.o cake/consts.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/consts.cpp:16:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "FALSE", 0 }, ^ cake/consts.cpp:17:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_ALWAYS", 0x0207 }, ^ cake/consts.cpp:18:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_BACK", 0x0405 }, ^ cake/consts.cpp:19:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_CLAMP", 0x2900 }, ^ cake/consts.cpp:20:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] { "GL_DECAL", 0x2101 }, ^ cake/consts.cpp:22:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_DECR", 0x1E03 }, ^ cake/consts.cpp:23:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_DST_ALPHA", 0x0304 }, ^ cake/consts.cpp:24:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_DST_COLOR", 0x0306 }, ^ cake/consts.cpp:25:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_EQUAL", 0x0202 }, ^ cake/consts.cpp:26:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_EYE_LINEAR", 0x2400 }, ^ cake/consts.cpp:27:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_EYE_PLANE", 0x2502 }, ^ cake/consts.cpp:28:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_FALSE", 0 }, ^ cake/consts.cpp:29:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_FLAT", 0x1D00 }, ^ cake/consts.cpp:30:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] { "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] { "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] { "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] { "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] { "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] { "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] { "GL_FRONT", 0x0404 }, ^ cake/consts.cpp:38:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] { "GL_GEQUAL", 0x0206 }, ^ cake/consts.cpp:40:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_GREATER", 0x0204 }, ^ cake/consts.cpp:41:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_INCR", 0x1E02 }, ^ cake/consts.cpp:42:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_KEEP", 0x1E00 }, ^ cake/consts.cpp:43:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_LEQUAL", 0x0203 }, ^ cake/consts.cpp:44:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_LESS", 0x0201 }, ^ cake/consts.cpp:45:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_LINEAR", 0x2601 }, ^ cake/consts.cpp:46:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] { "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] { "GL_MODULATE", 0x2100 }, ^ cake/consts.cpp:49:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_NEAREST", 0x2600 }, ^ cake/consts.cpp:50:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] { "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] { "GL_NEVER", 0x0200 }, ^ cake/consts.cpp:53:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_NOTEQUAL", 0x0205 }, ^ cake/consts.cpp:54:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_OBJECT_LINEAR", 0x2401 }, ^ cake/consts.cpp:55:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_OBJECT_PLANE", 0x2501 }, ^ cake/consts.cpp:56:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_ONE", 1 }, ^ cake/consts.cpp:57:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] { "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] { "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] { "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] { "GL_REPEAT", 0x2901 }, ^ cake/consts.cpp:62:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_REPLACE", 0x1E01 }, ^ cake/consts.cpp:63:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_SMOOTH", 0x1D01 }, ^ cake/consts.cpp:64:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_SPHERE_MAP", 0x2402 }, ^ cake/consts.cpp:65:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_SRC_ALPHA", 0x0302 }, ^ cake/consts.cpp:66:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] { "GL_SRC_COLOR", 0x0300 }, ^ cake/consts.cpp:68:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_TEXTURE_ENV", 0x2300 }, ^ cake/consts.cpp:69:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] { "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] { "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] { "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] { "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] { "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] { "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] { "GL_TRUE", 1 }, ^ cake/consts.cpp:77:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "GL_ZERO", 0 }, ^ cake/consts.cpp:78:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] { "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] { "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] { "TRUE", 1 }, ^ cake/consts.cpp:82:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "ZZZZ", 0 }, ^ cake/consts.cpp:83:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "ZZZZ", 0 } ^ 70 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/demo.o cake/demo.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/demo.cpp:139:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] return ""; ^ cake/demo.cpp:154:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return ""; ^ cake/demo.cpp:170:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return ""; ^ cake/demo.cpp:204:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return ""; ^ 7 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/entity.o cake/entity.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/entity.cpp:64:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "", // precache ^ cake/entity.cpp:65:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "" // sounds ^ cake/entity.cpp:75:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_armor_shard", ^ cake/entity.cpp:76:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconr_shard", ^ cake/entity.cpp:81:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Armor Shard", ^ cake/entity.cpp:85:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:86:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:92:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_armor_combat", ^ cake/entity.cpp:93:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconr_yellow", ^ cake/entity.cpp:97:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Armor", ^ cake/entity.cpp:101:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:102:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:108:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_armor_body", ^ cake/entity.cpp:109:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconr_red", ^ cake/entity.cpp:113:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Heavy Armor", ^ cake/entity.cpp:117:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:118:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:127:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_health_small", ^ cake/entity.cpp:128:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] "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] /* icon */ "icons/iconh_green", ^ cake/entity.cpp:133:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "5 Health", ^ cake/entity.cpp:137:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:138:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:144:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_health", ^ cake/entity.cpp:145:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] "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] /* icon */ "icons/iconh_yellow", ^ cake/entity.cpp:150:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "25 Health", ^ cake/entity.cpp:154:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:155:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:161:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_health_large", ^ cake/entity.cpp:162:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] "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] /* icon */ "icons/iconh_red", ^ cake/entity.cpp:167:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "50 Health", ^ cake/entity.cpp:171:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:172:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:178:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_health_mega", ^ cake/entity.cpp:179:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] "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] /* icon */ "icons/iconh_mega", ^ cake/entity.cpp:184:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Mega Health", ^ cake/entity.cpp:188:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:189:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:200:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "weapon_gauntlet", ^ cake/entity.cpp:201:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconw_gauntlet", ^ cake/entity.cpp:205:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Gauntlet", ^ cake/entity.cpp:209:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:210:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:216:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "weapon_shotgun", ^ cake/entity.cpp:217:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconw_shotgun", ^ cake/entity.cpp:221:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Shotgun", ^ cake/entity.cpp:225:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:226:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:232:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "weapon_machinegun", ^ cake/entity.cpp:233:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconw_machinegun", ^ cake/entity.cpp:237:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Machinegun", ^ cake/entity.cpp:241:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:242:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:248:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "weapon_grenadelauncher", ^ cake/entity.cpp:249:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconw_grenade", ^ cake/entity.cpp:253:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Grenade Launcher", ^ cake/entity.cpp:257:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:258:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 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] "weapon_rocketlauncher", ^ cake/entity.cpp:265:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconw_rocket", ^ cake/entity.cpp:269:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Rocket Launcher", ^ cake/entity.cpp:273:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:274:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:280:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "weapon_lightning", ^ cake/entity.cpp:281:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconw_lightning", ^ cake/entity.cpp:285:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Lightning Gun", ^ cake/entity.cpp:289:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:290:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:296:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "weapon_railgun", ^ cake/entity.cpp:297:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconw_railgun", ^ cake/entity.cpp:301:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Railgun", ^ cake/entity.cpp:305:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:306:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:312:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "weapon_plasmagun", ^ cake/entity.cpp:313:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconw_plasma", ^ cake/entity.cpp:317:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Plasma Gun", ^ cake/entity.cpp:321:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:322:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:328:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "weapon_bfg", ^ cake/entity.cpp:329:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconw_bfg", ^ cake/entity.cpp:333:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "BFG10K", ^ cake/entity.cpp:337:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:338:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:344:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "weapon_grapplinghook", ^ cake/entity.cpp:345:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconw_grapple", ^ cake/entity.cpp:349:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Grappling Hook", ^ cake/entity.cpp:353:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:354:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:364:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "ammo_shells", ^ cake/entity.cpp:365:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/icona_shotgun", ^ cake/entity.cpp:369:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Shells", ^ cake/entity.cpp:373:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:374:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:380:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "ammo_bullets", ^ cake/entity.cpp:381:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/icona_machinegun", ^ cake/entity.cpp:385:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Bullets", ^ cake/entity.cpp:389:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:390:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:396:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "ammo_grenades", ^ cake/entity.cpp:397:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/icona_grenade", ^ cake/entity.cpp:401:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Grenades", ^ cake/entity.cpp:405:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:406:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:412:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "ammo_cells", ^ cake/entity.cpp:413:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/icona_plasma", ^ cake/entity.cpp:417:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Cells", ^ cake/entity.cpp:421:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:422:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:428:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "ammo_lightning", ^ cake/entity.cpp:429:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/icona_lightning", ^ cake/entity.cpp:433:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Lightning", ^ cake/entity.cpp:437:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:438:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:444:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "ammo_rockets", ^ cake/entity.cpp:445:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/icona_rocket", ^ cake/entity.cpp:449:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Rockets", ^ cake/entity.cpp:453:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:454:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:460:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "ammo_slugs", ^ cake/entity.cpp:461:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/icona_railgun", ^ cake/entity.cpp:465:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Slugs", ^ cake/entity.cpp:469:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:470:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:476:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "ammo_bfg", ^ cake/entity.cpp:477:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/icona_bfg", ^ cake/entity.cpp:481:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Bfg Ammo", ^ cake/entity.cpp:485:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:486:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:495:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "holdable_teleporter", ^ cake/entity.cpp:496:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/holdable.wav", ^ cake/entity.cpp:497:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] /* icon */ "icons/teleporter", ^ cake/entity.cpp:500:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Personal Teleporter", ^ cake/entity.cpp:504:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:505:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:510:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "holdable_medkit", ^ cake/entity.cpp:511:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/holdable.wav", ^ cake/entity.cpp:513:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] "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] /* icon */ "icons/medkit", ^ cake/entity.cpp:517:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Medkit", ^ cake/entity.cpp:521:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:522:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 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] "item_quad", ^ cake/entity.cpp:532:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/quaddamage.wav", ^ cake/entity.cpp:533:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] "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] /* icon */ "icons/quad", ^ cake/entity.cpp:537:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Quad Damage", ^ cake/entity.cpp:541:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:542:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 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] "item_enviro", ^ cake/entity.cpp:549:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/protect.wav", ^ cake/entity.cpp:550:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] "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] /* icon */ "icons/envirosuit", ^ cake/entity.cpp:554:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Battle Suit", ^ cake/entity.cpp:558:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:559:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 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] "item_haste", ^ cake/entity.cpp:566:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/haste.wav", ^ cake/entity.cpp:567:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] "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] /* icon */ "icons/haste", ^ cake/entity.cpp:571:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Speed", ^ cake/entity.cpp:575:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:576:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:582:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_invis", ^ cake/entity.cpp:583:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/invisibility.wav", ^ cake/entity.cpp:584:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] "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] /* icon */ "icons/invis", ^ cake/entity.cpp:588:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Invisibility", ^ cake/entity.cpp:592:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:593:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:599:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_regen", ^ cake/entity.cpp:600:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/regeneration.wav", ^ cake/entity.cpp:601:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] "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] /* icon */ "icons/regen", ^ cake/entity.cpp:605:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Regeneration", ^ cake/entity.cpp:609:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:610:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 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] "item_flight", ^ cake/entity.cpp:617:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/flight.wav", ^ cake/entity.cpp:618:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] "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] /* icon */ "icons/flight", ^ cake/entity.cpp:622:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Flight", ^ cake/entity.cpp:626:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:627:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 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] "team_CTF_redflag", ^ cake/entity.cpp:636:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] /* icon */ "icons/iconf_red1", ^ cake/entity.cpp:639:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Red Flag", ^ cake/entity.cpp:643:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:644:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:651:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "team_CTF_blueflag", ^ cake/entity.cpp:653:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] /* icon */ "icons/iconf_blu1", ^ cake/entity.cpp:656:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Blue Flag", ^ cake/entity.cpp:660:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:661:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:667:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "holdable_kamikaze", ^ cake/entity.cpp:668:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/holdable.wav", ^ cake/entity.cpp:669:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "models/powerups/kamikazi.md3", ^ cake/entity.cpp:671:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* icon */ "icons/kamikaze", ^ cake/entity.cpp:672:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Kamikaze", ^ cake/entity.cpp:676:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:677:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 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] "holdable_portal", ^ cake/entity.cpp:684:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/holdable.wav", ^ cake/entity.cpp:685:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] /* icon */ "icons/portal", ^ cake/entity.cpp:688:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Portal", ^ cake/entity.cpp:692:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:693:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:699:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "holdable_invulnerability", ^ cake/entity.cpp:700:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/holdable.wav", ^ cake/entity.cpp:701:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] /* icon */ "icons/invulnerability", ^ cake/entity.cpp:704:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Invulnerability", ^ cake/entity.cpp:708:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:709:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:715:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "ammo_nails", ^ cake/entity.cpp:716:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/icona_nailgun", ^ cake/entity.cpp:720:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Nails", ^ cake/entity.cpp:724:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:725:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:731:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "ammo_mines", ^ cake/entity.cpp:732:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/icona_proxlauncher", ^ cake/entity.cpp:736:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Proximity Mines", ^ cake/entity.cpp:740:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:741:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:747:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "ammo_belt", ^ cake/entity.cpp:748:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/icona_chaingun", ^ cake/entity.cpp:752:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Chaingun Belt", ^ cake/entity.cpp:756:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:757:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:766:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_scout", ^ cake/entity.cpp:767:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/scout.wav", ^ cake/entity.cpp:768:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "models/powerups/scout.md3", ^ cake/entity.cpp:770:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* icon */ "icons/scout", ^ cake/entity.cpp:771:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Scout", ^ cake/entity.cpp:775:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:776:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:782:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_guard", ^ cake/entity.cpp:783:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/guard.wav", ^ cake/entity.cpp:784:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "models/powerups/guard.md3", ^ cake/entity.cpp:786:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* icon */ "icons/guard", ^ cake/entity.cpp:787:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Guard", ^ cake/entity.cpp:791:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:792:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:798:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_doubler", ^ cake/entity.cpp:799:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/doubler.wav", ^ cake/entity.cpp:800:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "models/powerups/doubler.md3", ^ cake/entity.cpp:802:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* icon */ "icons/doubler", ^ cake/entity.cpp:803:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Doubler", ^ cake/entity.cpp:807:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:808:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:814:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_ammoregen", ^ cake/entity.cpp:815:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "sound/items/ammoregen.wav", ^ cake/entity.cpp:816:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "models/powerups/ammo.md3", ^ cake/entity.cpp:818:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* icon */ "icons/ammo_regen", ^ cake/entity.cpp:819:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Ammo Regen", ^ cake/entity.cpp:823:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:824:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:831:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "team_CTF_neutralflag", ^ cake/entity.cpp:833:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "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] /* icon */ "icons/iconf_neutral1", ^ cake/entity.cpp:836:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Neutral Flag", ^ cake/entity.cpp:840:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:841:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:845:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_redcube", ^ cake/entity.cpp:846:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconh_rorb", ^ cake/entity.cpp:850:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Red Cube", ^ cake/entity.cpp:854:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:855:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:859:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "item_bluecube", ^ cake/entity.cpp:860:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconh_borb", ^ cake/entity.cpp:864:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Blue Cube", ^ cake/entity.cpp:868:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:869:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:874:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "weapon_nailgun", ^ cake/entity.cpp:875:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconw_nailgun", ^ cake/entity.cpp:879:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Nailgun", ^ cake/entity.cpp:883:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:884:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "" ^ cake/entity.cpp:890:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "weapon_prox_launcher", ^ cake/entity.cpp:891:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconw_proxlauncher", ^ cake/entity.cpp:895:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Prox Launcher", ^ cake/entity.cpp:899:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:900:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* 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] "weapon_chaingun", ^ cake/entity.cpp:912:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "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] { "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] /* icon */ "icons/iconw_chaingun", ^ cake/entity.cpp:916:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* pickup */ "Chaingun", ^ cake/entity.cpp:920:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* precache */ "", ^ cake/entity.cpp:921:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] /* sounds */ "sound/weapons/vulcan/wvulwind.wav" ^ cake/entity.cpp:1525:28: warning: unused variable 'global' [-Wunused-variable] bool loop = false, global = false; ^ 370 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/files.o cake/files.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/files.cpp:119:15: warning: variable 'l' set but not used [-Wunused-but-set-variable] 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] 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] memset(temp, 0, sizeof(temp)); ~~~~ ^~~~ cake/files.cpp:785:30: note: did you mean to provide an explicit length? 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] memset(temp, 0, sizeof(temp)); ~~~~ ^~~~ cake/files.cpp:871:30: note: did you mean to provide an explicit length? 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] memset(temp, 0, sizeof(temp)); ~~~~ ^~~~ cake/files.cpp:925:30: note: did you mean to provide an explicit length? 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] memset(temp, 0, sizeof(temp)); ~~~~ ^~~~ cake/files.cpp:972:30: note: did you mean to provide an explicit length? 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] SearchFile search("scripts/*.shader"); ^ 9 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/framework.o cake/framework.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ 2 warnings generated. 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 In file included from cake/layer.cpp:5: cake/layer.h:39:9: warning: private field 'num_layers' is not used [-Wunused-private-field] int num_layers; ^ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/logfile.o cake/logfile.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ 2 warnings generated. 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 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ 2 warnings generated. 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 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ 2 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/parser.o cake/parser.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ 2 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/q3bsp.o cake/q3bsp.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/q3bsp.cpp:459:23: warning: address of array 'this->r_numsurfaces' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!r_surfaces || !r_numsurfaces) return; ~^~~~~~~~~~~~~ cake/q3bsp.cpp:2520:13: warning: unused variable 'dy' [-Wunused-variable] float dy = (float) (pow(surf->firstvert[0][v+1].v_point[1]-surf->firstvert[0][v].v_point[1], 2)+ ^ 4 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/render.o cake/render.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/render.cpp:200:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] gCommands->RemoveCommand("setclearcolor"); ^ cake/render.cpp:308:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] 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] if (CheckExtension("EXT_texture_edge_clamp")) ^ cake/render.cpp:2367:16: warning: address of array 'l->map' will always evaluate to 'true' [-Wpointer-bool-conversion] else if (!l->map) return; // FIXME: that happens??? ~~~~^~~ 8 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/shader.o cake/shader.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/shader.cpp:50:25: warning: address of array 'this->ShaderTable[i].name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!ShaderTable[i].name) continue; // free slot ~~~~~~~~~~~~~~~~^~~~ 3 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/skybox.o cake/skybox.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ 2 warnings generated. 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 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ 2 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/system.o cake/system.cpp cake/system.cpp:515:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(msg); ^~~ cake/system.cpp:515:12: note: treat the string as an argument to avoid this printf(msg); ^ "%s", 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/texture.o cake/texture.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ 2 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/timer.o cake/timer.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/timer.cpp:20:19: warning: unused variable 'lowshift' [-Wunused-variable] static int lowshift; ^ 3 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/vars.o cake/vars.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ cake/vars.cpp:147:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] return ""; ^ cake/vars.cpp:347:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return ""; ^ cake/vars.cpp:396:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (!v) return ""; ^ 6 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o cake/world.o cake/world.cpp 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] char *file_type = ".*", ^ cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ 2 warnings generated. 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 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] 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] *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] *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] *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] *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] "reduce2", "reduce3", "reduce4", ^ cake/zip/Globals.h:88:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "reduce2", "reduce3", "reduce4", ^ cake/zip/Globals.h:88:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "reduce2", "reduce3", "reduce4", ^ cake/zip/Globals.h:89:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "imploded", "tokenized", "deflated" }, ^ cake/zip/Globals.h:89:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "imploded", "tokenized", "deflated" }, ^ cake/zip/Globals.h:89:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "imploded", "tokenized", "deflated" }, ^ cake/zip/Globals.h:90:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *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] *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] *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] *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] "expand", "expand", "expand", ^ cake/zip/Globals.h:91:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "expand", "expand", "expand", ^ cake/zip/Globals.h:91:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "expand", "expand", "expand", ^ cake/zip/Globals.h:92:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "explod", "", "inflat" }, ^ cake/zip/Globals.h:92:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "explod", "", "inflat" }, ^ cake/zip/Globals.h:92:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "explod", "", "inflat" }, ^ cake/zip/Globals.h:100:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 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] store_char(EXPLODE_DLE); // a. yes .. output a DLE char ~~~~~~~~~~ ^~~~~~~~~~~ cake/zip/Unzip.h:158:30: note: expanded from macro 'EXPLODE_DLE' #define EXPLODE_DLE 144 // escape character ^~~ 23 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -I/usr/local/include -c -o main.o main.cpp 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] char *file_type = ".*", ^ ./cake/files.h:172:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] SearchFile(char *pattern="*"); ^ In file included from main.cpp:37: ./cake/glsetup/glut.h:151:10: warning: 'APIENTRY' macro redefined [-Wmacro-redefined] # define APIENTRY ^ /usr/local/include/GL/gl.h:83:9: note: previous definition is here #define APIENTRY GLAPIENTRY ^ main.cpp:645:6: warning: unused variable 'numclients' [-Wunused-variable] int numclients = app->GetNumClients(); ^ main.cpp:1404:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] gAlias->SetAlias("exit", "quit"); ^ main.cpp:1405:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gAlias->SetAlias("exit", "quit"); ^ main.cpp:1406:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] gAlias->SetAlias("load", "map"); ^ main.cpp:1407:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gAlias->SetAlias("load", "map"); ^ main.cpp:1408:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] gAlias->SetAlias("reload", "map_restart"); ^ main.cpp:1409:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gAlias->SetAlias("reload", "map_restart"); ^ main.cpp:1410:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] gAlias->SetAlias("tmc", "togglemousecenter"); ^ main.cpp:1422:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gAlias->SetAlias("tmc", "togglemousecenter"); ^ main.cpp:1423:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] 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] 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] 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] 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] gAlias->SetAlias("tpl", "togglepitchlimit"); ^ main.cpp:1428:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] gAlias->SetAlias("tpl", "togglepitchlimit"); ^ main.cpp:1429:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] gCommands->AddCommand("loadplayer", cmd_loadplayer, "load player skin, sounds, etc."); ^ 50 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 -fstack-protector-strong -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=2024-04-02T11:48:44+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=664a2fa1e5' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' 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 Tue Apr 2 12:49:16 BST 2024 build time: 00:00:33