=>> Building games/sdb build started at Fri Mar 13 11:15:23 EDT 2026 port directory: /usr/ports/games/sdb package name: sdb-1.0.2_17 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: amdmi3@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1764 Jun 29 2025 /usr/ports/games/sdb/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: a83a3cc14275 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for sdb-1.0.2_17: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- amdmi3@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/sdb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/sdb/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/sdb/work/.cache HOME=/wrkdirs/usr/ports/games/sdb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/sdb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/sdb/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/sdb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/sdb/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/sdb/work/.cache HOME=/wrkdirs/usr/ports/games/sdb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/sdb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/sdb/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="`/usr/local/bin/sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -std=c++14 " CXXSTD=c++14 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-- PORTDOCS="" MODEL_SUFFIX="md2" OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sdb" EXAMPLESDIR="share/examples/sdb" DATADIR="share/sdb" WWWDIR="www/sdb" ETCDIR="etc/sdb" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sdb DOCSDIR=/usr/local/share/doc/sdb EXAMPLESDIR=/usr/local/share/examples/sdb WWWDIR=/usr/local/www/sdb ETCDIR=/usr/local/etc/sdb --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> sdb-1.0.2_17 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> sdb-1.0.2_17 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of sdb-1.0.2_17 =========================================================================== =================================================== ===== 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 sdb-1.0.2_17 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by sdb-1.0.2_17 for building => SHA256 Checksum OK for sdb-1.0.2.tar.gz. =========================================================================== =================================================== ===== 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 sdb-1.0.2_17 for building ===> Extracting for sdb-1.0.2_17 => SHA256 Checksum OK for sdb-1.0.2.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for sdb-1.0.2_17 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> sdb-1.0.2_17 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> sdb-1.0.2_17 depends on package: gmake>=4.4.1 - found ===> Returning to build of sdb-1.0.2_17 ===> sdb-1.0.2_17 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_17,2.pkg [pkg.DaveG.ca] Installing sdl-1.2.15_17,2... [pkg.DaveG.ca] `-- Installing aalib-1.4.r5_14... [pkg.DaveG.ca] `-- Extracting aalib-1.4.r5_14: .......... done [pkg.DaveG.ca] `-- Installing libGLU-9.0.3... [pkg.DaveG.ca] | `-- Installing libglvnd-1.7.0... [pkg.DaveG.ca] | | `-- Installing libX11-1.8.12,1... [pkg.DaveG.ca] | | `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | | | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | | | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | | | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] | | `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] | | `-- Extracting libX11-1.8.12,1: .......... done [pkg.DaveG.ca] | | `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] | | `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] | `-- Extracting libglvnd-1.7.0: .......... done [pkg.DaveG.ca] `-- Extracting libGLU-9.0.3: ..... done [pkg.DaveG.ca] `-- Installing libXrandr-1.5.4... [pkg.DaveG.ca] | `-- Installing libXrender-0.9.12... [pkg.DaveG.ca] | `-- Extracting libXrender-0.9.12: ....... done [pkg.DaveG.ca] `-- Extracting libXrandr-1.5.4: .......... done [pkg.DaveG.ca] Extracting sdl-1.2.15_17,2: .......... done ===== Message from aalib-1.4.r5_14: -- ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===== Message from sdl-1.2.15_17,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ===> sdb-1.0.2_17 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of sdb-1.0.2_17 ===> sdb-1.0.2_17 depends on package: xorgproto>=0 - found ===> sdb-1.0.2_17 depends on package: xorgproto>=0 - found ===> sdb-1.0.2_17 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> sdb-1.0.2_17 depends on file: /usr/local/bin/ccache - found ===> Returning to build of sdb-1.0.2_17 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> sdb-1.0.2_17 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> sdb-1.0.2_17 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> sdb-1.0.2_17 depends on shared library: libSDL_image.so - not found ===> Installing existing package /packages/All/sdl_image-1.2.12_14.pkg [pkg.DaveG.ca] Installing sdl_image-1.2.12_14... [pkg.DaveG.ca] `-- Installing jpeg-turbo-3.1.3... [pkg.DaveG.ca] `-- Extracting jpeg-turbo-3.1.3: .......... done [pkg.DaveG.ca] `-- Installing png-1.6.55... [pkg.DaveG.ca] `-- Extracting png-1.6.55: .......... done [pkg.DaveG.ca] `-- Installing tiff-4.7.1... [pkg.DaveG.ca] | `-- Installing jbigkit-2.1_3... [pkg.DaveG.ca] | `-- Extracting jbigkit-2.1_3: .......... done [pkg.DaveG.ca] | `-- Installing lerc-4.0.0... [pkg.DaveG.ca] | `-- Extracting lerc-4.0.0: ..... done [pkg.DaveG.ca] | `-- Installing libdeflate-1.25... [pkg.DaveG.ca] | `-- Extracting libdeflate-1.25: .......... done [pkg.DaveG.ca] | `-- Installing zstd-1.5.7_1... [pkg.DaveG.ca] | `-- Extracting zstd-1.5.7_1: .......... done [pkg.DaveG.ca] `-- Extracting tiff-4.7.1: .......... done [pkg.DaveG.ca] `-- Installing webp-1.6.0... [pkg.DaveG.ca] | `-- Installing giflib-5.2.2... [pkg.DaveG.ca] | `-- Extracting giflib-5.2.2: .......... done [pkg.DaveG.ca] `-- Extracting webp-1.6.0: .......... done [pkg.DaveG.ca] Extracting sdl_image-1.2.12_14: ....... done ===> sdb-1.0.2_17 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> Returning to build of sdb-1.0.2_17 ===> sdb-1.0.2_17 depends on shared library: libSDL_mixer.so - not found ===> Installing existing package /packages/All/sdl_mixer-1.2.12_15.pkg [pkg.DaveG.ca] Installing sdl_mixer-1.2.12_15... [pkg.DaveG.ca] `-- Installing flac-1.5.0,1... [pkg.DaveG.ca] | `-- Installing libogg-1.3.6,4... [pkg.DaveG.ca] | `-- Extracting libogg-1.3.6,4: .......... done [pkg.DaveG.ca] `-- Extracting flac-1.5.0,1: .......... done [pkg.DaveG.ca] `-- Installing libmikmod-3.3.13... [pkg.DaveG.ca] `-- Extracting libmikmod-3.3.13: ....... done [pkg.DaveG.ca] `-- Installing libvorbis-1.3.7_2,3... [pkg.DaveG.ca] `-- Extracting libvorbis-1.3.7_2,3: .......... done [pkg.DaveG.ca] `-- Installing smpeg-0.4.4_18... [pkg.DaveG.ca] `-- Extracting smpeg-0.4.4_18: .......... done [pkg.DaveG.ca] `-- Installing timidity-0.2i_1... [pkg.DaveG.ca] `-- Extracting timidity-0.2i_1: .......... done [pkg.DaveG.ca] Extracting sdl_mixer-1.2.12_15: ...... done ===== Message from timidity-0.2i_1: -- ===> NOTICE: The timidity port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> sdb-1.0.2_17 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of sdb-1.0.2_17 ===> sdb-1.0.2_17 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for sdb-1.0.2_17 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for sdb-1.0.2_17 c++ -c bitmapfont.cpp -o bitmapfont.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -std=c++14 c++ -c levelobjects.cpp -o levelobjects.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -std=c++14 c++ -c level.cpp -o level.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -std=c++14 c++ -c md2.cpp -o md2.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -std=c++14 c++ -c weapons.cpp -o weapons.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -std=c++14 c++ -c objects.cpp -o objects.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -std=c++14 c++ -c enemies.cpp -o enemies.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -std=c++14 c++ -c input.cpp -o input.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -std=c++14 c++ -c player.cpp -o player.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -std=c++14 c++ -c game.cpp -o game.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -std=c++14 c++ -c interface.cpp -o interface.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -std=c++14 c++ -c main.cpp -o main.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -std=c++14 In file included from bitmapfont.cpp:26: In file included from ./bitmapfont.h:29: ./sdb.h:376:70: warning: non-void function does not return a value [-Wreturn-type] 376 | Vector2D operator = (Vector2D v) { c[X] = v.c[X]; c[Y] = v.c[Y]; } | ^ In file included from bitmapfont.cpp:26: In file included from ./bitmapfont.h:29: In file included from ./sdb.h:560: ./objects.h:548:28: warning: non-void function does not return a value [-Wreturn-type] 548 | virtual Weapon* Wpn() {} | ^ ./objects.h:549:31: warning: non-void function does not return a value [-Wreturn-type] 549 | virtual int CurrWeapon() {} | ^ ./objects.h:551:39: warning: non-void function does not return a value [-Wreturn-type] 551 | virtual char weaponState(int wp) {} | ^ ./objects.h:552:36: warning: non-void function does not return a value [-Wreturn-type] 552 | virtual char keyState(int wp) {} | ^ ./objects.h:553:38: warning: non-void function does not return a value [-Wreturn-type] 553 | virtual Vector2D* WeaponPoint() {} | ^ ./objects.h:555:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 555 | void giveKey(int key) { keys |= 1 << key-1; } | ~~ ~~~^~ ./objects.h:555:45: note: place parentheses around the '-' expression to silence this warning 555 | void giveKey(int key) { keys |= 1 << key-1; } | ^ | ( ) 7 warnings generated. In file included from input.cpp:26: ./sdb.h:376:70: warning: non-void function does not return a value [-Wreturn-type] 376 | Vector2D operator = (Vector2D v) { c[X] = v.c[X]; c[Y] = v.c[Y]; } | ^ In file included from input.cpp:26: In file included from ./sdb.h:560: ./objects.h:548:28: warning: non-void function does not return a value [-Wreturn-type] 548 | virtual Weapon* Wpn() {} | ^ ./objects.h:549:31: warning: non-void function does not return a value [-Wreturn-type] 549 | virtual int CurrWeapon() {} | ^ ./objects.h:551:39: warning: non-void function does not return a value [-Wreturn-type] 551 | virtual char weaponState(int wp) {} | ^ ./objects.h:552:36: warning: non-void function does not return a value [-Wreturn-type] 552 | virtual char keyState(int wp) {} | ^ ./objects.h:553:38: warning: non-void function does not return a value [-Wreturn-type] 553 | virtual Vector2D* WeaponPoint() {} | ^ ./objects.h:555:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 555 | void giveKey(int key) { keys |= 1 << key-1; } | ~~ ~~~^~ ./objects.h:555:45: note: place parentheses around the '-' expression to silence this warning 555 | void giveKey(int key) { keys |= 1 << key-1; } | ^ | ( ) input.cpp:106:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 106 | } | ^ 8 warnings generated. In file included from enemies.cpp:26: ./sdb.h:376:70: warning: non-void function does not return a value [-Wreturn-type] 376 | Vector2D operator = (Vector2D v) { c[X] = v.c[X]; c[Y] = v.c[Y]; } | ^ In file included from enemies.cpp:26: In file included from ./sdb.h:560: ./objects.h:548:28: warning: non-void function does not return a value [-Wreturn-type] 548 | virtual Weapon* Wpn() {} | ^ ./objects.h:549:31: warning: non-void function does not return a value [-Wreturn-type] 549 | virtual int CurrWeapon() {} | ^ ./objects.h:551:39: warning: non-void function does not return a value [-Wreturn-type] 551 | virtual char weaponState(int wp) {} | ^ ./objects.h:552:36: warning: non-void function does not return a value [-Wreturn-type] 552 | virtual char keyState(int wp) {} | ^ ./objects.h:553:38: warning: non-void function does not return a value [-Wreturn-type] 553 | virtual Vector2D* WeaponPoint() {} | ^ ./objects.h:555:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 555 | void giveKey(int key) { keys |= 1 << key-1; } | ~~ ~~~^~ ./objects.h:555:45: note: place parentheses around the '-' expression to silence this warning 555 | void giveKey(int key) { keys |= 1 << key-1; } | ^ | ( ) 7 warnings generated. In file included from weapons.cpp:29: ./sdb.h:376:70: warning: non-void function does not return a value [-Wreturn-type] 376 | Vector2D operator = (Vector2D v) { c[X] = v.c[X]; c[Y] = v.c[Y]; } | ^ In file included from weapons.cpp:29: In file included from ./sdb.h:560: ./objects.h:548:28: warning: non-void function does not return a value [-Wreturn-type] 548 | virtual Weapon* Wpn() {} | ^ ./objects.h:549:31: warning: non-void function does not return a value [-Wreturn-type] 549 | virtual int CurrWeapon() {} | ^ ./objects.h:551:39: warning: non-void function does not return a value [-Wreturn-type] 551 | virtual char weaponState(int wp) {} | ^ ./objects.h:552:36: warning: non-void function does not return a value [-Wreturn-type] 552 | virtual char keyState(int wp) {} | ^ ./objects.h:553:38: warning: non-void function does not return a value [-Wreturn-type] 553 | virtual Vector2D* WeaponPoint() {} | ^ ./objects.h:555:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 555 | void giveKey(int key) { keys |= 1 << key-1; } | ~~ ~~~^~ ./objects.h:555:45: note: place parentheses around the '-' expression to silence this warning 555 | void giveKey(int key) { keys |= 1 << key-1; } | ^ | ( ) weapons.cpp:138:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 138 | } | ^ weapons.cpp:298:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 298 | wpnType[i].set("None", NO_BULLET, NO_SPRITE, NO_SPRITE, NO_SOUND, 0, 0, 0, 0, 1, 0, 0, 0,0 ); | ^ weapons.cpp:301:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 301 | wpnType[i].set("Rifle", BLT_RIFLE, TEX_WPN_RIFLE, PART_RIFLE_SHELL, SND_WPN_RIFLE, 2.0, 0.3, 40, 320, 1, 10, 1, torad(2), 160); | ^ weapons.cpp:304:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 304 | wpnType[i].set("Shotgun", BLT_SHOTGUN, TEX_WPN_SHOTGUN, PART_SHOTGUN_SHELL, SND_WPN_SHOTGUN, 2.0, 0.25, 6, 42, 10, 1*SEMI_AUTO, 2.5, torad(8), 4800); | ^ weapons.cpp:307:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 307 | wpnType[i].set("H.E.P.A.", BLT_HEPA, TEX_WPN_HEPA, NO_SPRITE, SND_WPN_HEPA, 2.0, 1.0, 4, 30, 1, 0.75*SEMI_AUTO, 2.5, 0, 6000); | ^ weapons.cpp:310:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 310 | wpnType[i].set("Grenade", BLT_GRENADE, NO_SPRITE, NO_SPRITE, NO_SOUND, 0.3, 0.3, 1, 9, 1, 0.5*SEMI_AUTO, 2.5, 0, 0); | ^ weapons.cpp:313:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 313 | wpnType[i].set("Laser", BLT_LASER, TEX_WPN_LASER, NO_SPRITE, SND_WPN_LASER, 2.0, 1.0, 6, 30, 1, 4*SEMI_AUTO, 2.0, 0, 6000); | ^ weapons.cpp:316:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 316 | wpnType[i].set("EM Shock Gen", ESG_EXPLODER, TEX_WPN_ESG, NO_SPRITE, SND_WPN_ESG, 2.0, 2.0, 1, 5, 1, 1.5*SEMI_AUTO, 3.5, 0, 0); | ^ weapons.cpp:319:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 319 | wpnType[i].set("Subdermal Blaster", BLT_BLASTER, NO_SPRITE, NO_SPRITE, SND_WPN_HEPA, 0, 0, 100, 1000, 1, 10*SEMI_AUTO, 0, 0, 0); | ^ weapons.cpp:322:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 322 | wpnType[i].set("Turret gun", BLT_RIFLE, TEX_WPN_RIFLE, PART_RIFLE_SHELL, SND_WPN_RIFLE, 2.0, 0, 10, 999999, 1, 10, 1, torad(5), 0); | ^ 17 warnings generated. In file included from main.cpp:26: ./sdb.h:376:70: warning: non-void function does not return a value [-Wreturn-type] 376 | Vector2D operator = (Vector2D v) { c[X] = v.c[X]; c[Y] = v.c[Y]; } | ^ In file included from main.cpp:26: In file included from ./sdb.h:560: ./objects.h:548:28: warning: non-void function does not return a value [-Wreturn-type] 548 | virtual Weapon* Wpn() {} | ^ ./objects.h:549:31: warning: non-void function does not return a value [-Wreturn-type] 549 | virtual int CurrWeapon() {} | ^ ./objects.h:551:39: warning: non-void function does not return a value [-Wreturn-type] 551 | virtual char weaponState(int wp) {} | ^ ./objects.h:552:36: warning: non-void function does not return a value [-Wreturn-type] 552 | virtual char keyState(int wp) {} | ^ ./objects.h:553:38: warning: non-void function does not return a value [-Wreturn-type] 553 | virtual Vector2D* WeaponPoint() {} | ^ ./objects.h:555:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 555 | void giveKey(int key) { keys |= 1 << key-1; } | ~~ ~~~^~ ./objects.h:555:45: note: place parentheses around the '-' expression to silence this warning 555 | void giveKey(int key) { keys |= 1 << key-1; } | ^ | ( ) main.cpp:50:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | config.loadFromFile(CONFIG_FILE); | ^ ./sdb.h:81:21: note: expanded from macro 'CONFIG_FILE' 81 | #define CONFIG_FILE "preferences.txt" | ^ main.cpp:118:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 118 | config.writeToFile(CONFIG_FILE); | ^ ./sdb.h:81:21: note: expanded from macro 'CONFIG_FILE' 81 | #define CONFIG_FILE "preferences.txt" | ^ 9 warnings generated. In file included from md2.cpp:29: ./sdb.h:376:70: warning: non-void function does not return a value [-Wreturn-type] 376 | Vector2D operator = (Vector2D v) { c[X] = v.c[X]; c[Y] = v.c[Y]; } | ^ In file included from md2.cpp:29: In file included from ./sdb.h:560: ./objects.h:548:28: warning: non-void function does not return a value [-Wreturn-type] 548 | virtual Weapon* Wpn() {} | ^ ./objects.h:549:31: warning: non-void function does not return a value [-Wreturn-type] 549 | virtual int CurrWeapon() {} | ^ ./objects.h:551:39: warning: non-void function does not return a value [-Wreturn-type] 551 | virtual char weaponState(int wp) {} | ^ ./objects.h:552:36: warning: non-void function does not return a value [-Wreturn-type] 552 | virtual char keyState(int wp) {} | ^ ./objects.h:553:38: warning: non-void function does not return a value [-Wreturn-type] 553 | virtual Vector2D* WeaponPoint() {} | ^ ./objects.h:555:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 555 | void giveKey(int key) { keys |= 1 << key-1; } | ~~ ~~~^~ ./objects.h:555:45: note: place parentheses around the '-' expression to silence this warning 555 | void giveKey(int key) { keys |= 1 << key-1; } | ^ | ( ) md2.cpp:145:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 145 | errorMessage(8, "FLAGRANT SYSTEM ERROR", "Unable to load model %s", strFileName); | ^ md2.cpp:145:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 145 | errorMessage(8, "FLAGRANT SYSTEM ERROR", "Unable to load model %s", strFileName); | ^ md2.cpp:150:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 150 | errorMessage(8, "FLAGRANT SYSTEM ERROR", "Invalid file format (version not 8) %s", strFileName); | ^ md2.cpp:150:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 150 | errorMessage(8, "FLAGRANT SYSTEM ERROR", "Invalid file format (version not 8) %s", strFileName); | ^ 11 warnings generated. In file included from player.cpp:29: ./sdb.h:376:70: warning: non-void function does not return a value [-Wreturn-type] 376 | Vector2D operator = (Vector2D v) { c[X] = v.c[X]; c[Y] = v.c[Y]; } | ^ In file included from player.cpp:29: In file included from ./sdb.h:560: ./objects.h:548:28: warning: non-void function does not return a value [-Wreturn-type] 548 | virtual Weapon* Wpn() {} | ^ ./objects.h:549:31: warning: non-void function does not return a value [-Wreturn-type] 549 | virtual int CurrWeapon() {} | ^ ./objects.h:551:39: warning: non-void function does not return a value [-Wreturn-type] 551 | virtual char weaponState(int wp) {} | ^ ./objects.h:552:36: warning: non-void function does not return a value [-Wreturn-type] 552 | virtual char keyState(int wp) {} | ^ ./objects.h:553:38: warning: non-void function does not return a value [-Wreturn-type] 553 | virtual Vector2D* WeaponPoint() {} | ^ ./objects.h:555:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 555 | void giveKey(int key) { keys |= 1 << key-1; } | ~~ ~~~^~ ./objects.h:555:45: note: place parentheses around the '-' expression to silence this warning 555 | void giveKey(int key) { keys |= 1 << key-1; } | ^ | ( ) player.cpp:141:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 141 | errorMessage(7, "FLAGRANT SYSTEM ERROR", | ^ player.cpp:142:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 142 | "Player profile corrupt. Defaults restored."); | ^ 9 warnings generated. In file included from levelobjects.cpp:26: ./sdb.h:376:70: warning: non-void function does not return a value [-Wreturn-type] 376 | Vector2D operator = (Vector2D v) { c[X] = v.c[X]; c[Y] = v.c[Y]; } | ^ In file included from levelobjects.cpp:26: In file included from ./sdb.h:560: ./objects.h:548:28: warning: non-void function does not return a value [-Wreturn-type] 548 | virtual Weapon* Wpn() {} | ^ ./objects.h:549:31: warning: non-void function does not return a value [-Wreturn-type] 549 | virtual int CurrWeapon() {} | ^ ./objects.h:551:39: warning: non-void function does not return a value [-Wreturn-type] 551 | virtual char weaponState(int wp) {} | ^ ./objects.h:552:36: warning: non-void function does not return a value [-Wreturn-type] 552 | virtual char keyState(int wp) {} | ^ ./objects.h:553:38: warning: non-void function does not return a value [-Wreturn-type] 553 | virtual Vector2D* WeaponPoint() {} | ^ ./objects.h:555:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 555 | void giveKey(int key) { keys |= 1 << key-1; } | ~~ ~~~^~ ./objects.h:555:45: note: place parentheses around the '-' expression to silence this warning 555 | void giveKey(int key) { keys |= 1 << key-1; } | ^ | ( ) levelobjects.cpp:509:11: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 509 | if (HAS_KEY(keys,currentKey)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./sdb.h:139:36: note: expanded from macro 'HAS_KEY' 139 | #define HAS_KEY(x,y) (x & 1 << y-1) | ~~ ~^~ levelobjects.cpp:509:11: note: place parentheses around the '-' expression to silence this warning 509 | if (HAS_KEY(keys,currentKey)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./sdb.h:139:36: note: expanded from macro 'HAS_KEY' 139 | #define HAS_KEY(x,y) (x & 1 << y-1) | ~^~ 8 warnings generated. In file included from objects.cpp:27: ./sdb.h:376:70: warning: non-void function does not return a value [-Wreturn-type] 376 | Vector2D operator = (Vector2D v) { c[X] = v.c[X]; c[Y] = v.c[Y]; } | ^ In file included from objects.cpp:27: In file included from ./sdb.h:560: ./objects.h:548:28: warning: non-void function does not return a value [-Wreturn-type] 548 | virtual Weapon* Wpn() {} | ^ ./objects.h:549:31: warning: non-void function does not return a value [-Wreturn-type] 549 | virtual int CurrWeapon() {} | ^ ./objects.h:551:39: warning: non-void function does not return a value [-Wreturn-type] 551 | virtual char weaponState(int wp) {} | ^ ./objects.h:552:36: warning: non-void function does not return a value [-Wreturn-type] 552 | virtual char keyState(int wp) {} | ^ ./objects.h:553:38: warning: non-void function does not return a value [-Wreturn-type] 553 | virtual Vector2D* WeaponPoint() {} | ^ ./objects.h:555:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 555 | void giveKey(int key) { keys |= 1 << key-1; } | ~~ ~~~^~ ./objects.h:555:45: note: place parentheses around the '-' expression to silence this warning 555 | void giveKey(int key) { keys |= 1 << key-1; } | ^ | ( ) objects.cpp:1696:8: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 1696 | if (!HAS_KEY(keys, k)) | ^~~~~~~~~~~~~~~~ ./sdb.h:139:36: note: expanded from macro 'HAS_KEY' 139 | #define HAS_KEY(x,y) (x & 1 << y-1) | ~~ ~^~ objects.cpp:1696:8: note: place parentheses around the '-' expression to silence this warning 1696 | if (!HAS_KEY(keys, k)) | ^~~~~~~~~~~~~~~~ ./sdb.h:139:36: note: expanded from macro 'HAS_KEY' 139 | #define HAS_KEY(x,y) (x & 1 << y-1) | ~^~ 8 warnings generated. In file included from game.cpp:26: ./sdb.h:376:70: warning: non-void function does not return a value [-Wreturn-type] 376 | Vector2D operator = (Vector2D v) { c[X] = v.c[X]; c[Y] = v.c[Y]; } | ^ In file included from game.cpp:26: In file included from ./sdb.h:560: ./objects.h:548:28: warning: non-void function does not return a value [-Wreturn-type] 548 | virtual Weapon* Wpn() {} | ^ ./objects.h:549:31: warning: non-void function does not return a value [-Wreturn-type] 549 | virtual int CurrWeapon() {} | ^ ./objects.h:551:39: warning: non-void function does not return a value [-Wreturn-type] 551 | virtual char weaponState(int wp) {} | ^ ./objects.h:552:36: warning: non-void function does not return a value [-Wreturn-type] 552 | virtual char keyState(int wp) {} | ^ ./objects.h:553:38: warning: non-void function does not return a value [-Wreturn-type] 553 | virtual Vector2D* WeaponPoint() {} | ^ ./objects.h:555:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 555 | void giveKey(int key) { keys |= 1 << key-1; } | ~~ ~~~^~ ./objects.h:555:45: note: place parentheses around the '-' expression to silence this warning 555 | void giveKey(int key) { keys |= 1 << key-1; } | ^ | ( ) game.cpp:464:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 464 | errorMessage(1, "FLAGRANT SYSTEM ERROR", "Could not initialize SDL (%s)", SDL_GetError()); | ^ game.cpp:464:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 464 | errorMessage(1, "FLAGRANT SYSTEM ERROR", "Could not initialize SDL (%s)", SDL_GetError()); | ^ game.cpp:516:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 516 | errorMessage(2, "FLAGRANT SYSTEM ERROR", "Could not set video mode: %s\nChange your video settings in %s%s%s", SDL_GetError(), getenv("HOME"), DATA_DIRECTORY, CONFIG_FILE); | ^ game.cpp:516:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 516 | errorMessage(2, "FLAGRANT SYSTEM ERROR", "Could not set video mode: %s\nChange your video settings in %s%s%s", SDL_GetError(), getenv("HOME"), DATA_DIRECTORY, CONFIG_FILE); | ^ game.cpp:651:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 651 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load texture %d", i); | ^ game.cpp:651:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 651 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load texture %d", i); | ^ game.cpp:688:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 688 | case MDL_PLAYER_LEGS: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/player_legs" MD2_SUFFIX, MTEX_PLAYER); | ^ game.cpp:690:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 690 | case MDL_PLAYER_TORSO: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/player_torso" MD2_SUFFIX, MTEX_PLAYER); | ^ game.cpp:692:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 692 | case MDL_PLAYER_TORSO2: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/player_torso" MD2_SUFFIX, MTEX_PLAYER2); | ^ game.cpp:694:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 694 | case MDL_BOX: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/box" MD2_SUFFIX, TEX_BOX_NORMAL); | ^ game.cpp:696:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 696 | case MDL_BARREL: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/barrel" MD2_SUFFIX, MTEX_BARREL); | ^ game.cpp:698:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 698 | case MDL_STEELBOX: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/box" MD2_SUFFIX, TEX_STEELBOX_NORMAL); | ^ game.cpp:700:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 700 | case MDL_TURRET: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/turret" MD2_SUFFIX, MTEX_TURRET); | ^ game.cpp:702:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 702 | case MDL_MIB: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/mib" MD2_SUFFIX, MTEX_MIB); | ^ game.cpp:704:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 704 | case MDL_UNARMED_GUARD: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/unarmedguard" MD2_SUFFIX, MTEX_UNARMED_GUARD); | ^ game.cpp:706:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 706 | case MDL_ARMED_DRONE: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/armeddrone" MD2_SUFFIX, MTEX_ARMED_DRONE); | ^ game.cpp:708:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 708 | case MDL_HUNTER: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/hunter" MD2_SUFFIX, MTEX_HUNTER); | ^ game.cpp:710:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 710 | case MDL_GLADIATOR: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/gladiator" MD2_SUFFIX, MTEX_GLADIATOR); | ^ game.cpp:712:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 712 | case MDL_ZERO: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/zero" MD2_SUFFIX, MTEX_FADE); | ^ game.cpp:714:65: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 714 | case MDL_ONE: modelLoader.ImportMD2(&models[i], "/usr/local/share/sdb/models/one" MD2_SUFFIX, MTEX_FADE); | ^ game.cpp:777:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 777 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load sound %d", i); | ^ game.cpp:777:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 777 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load sound %d", i); | ^ game.cpp:797:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 797 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load song %d", i); | ^ game.cpp:797:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 797 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load song %d", i); | ^ game.cpp:1166:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1166 | pauseMenu.addString(1, "Abort?"); pauseMenu.addString(0, ""); | ^ game.cpp:1166:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1166 | pauseMenu.addString(1, "Abort?"); pauseMenu.addString(0, ""); | ^ game.cpp:1167:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1167 | pauseMenu.addString(0, " yes"); pauseMenu.addString(0, " no"); | ^ game.cpp:1167:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1167 | pauseMenu.addString(0, " yes"); pauseMenu.addString(0, " no"); | ^ game.cpp:1168:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1168 | pauseMenu.addString(0, ""); pauseMenu.addString(0, "(sdb)"); | ^ game.cpp:1168:60: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1168 | pauseMenu.addString(0, ""); pauseMenu.addString(0, "(sdb)"); | ^ game.cpp:1187:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1187 | { errorMessage(9, "FLAGRANT OPENGL ERROR", "CODE %d: %s", errnum, gluErrorString(errnum)); } | ^ game.cpp:1187:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1187 | { errorMessage(9, "FLAGRANT OPENGL ERROR", "CODE %d: %s", errnum, gluErrorString(errnum)); } | ^ game.cpp:1420:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1420 | deadMenu.addString(1, "Captured!"); | ^ game.cpp:1422:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1422 | deadMenu.addString(1, "You have died."); | ^ game.cpp:1424:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1424 | deadMenu.addString(0, ""); | ^ game.cpp:1425:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1425 | deadMenu.addString(0, " restart level"); deadMenu.addString(0, " return to menu"); | ^ game.cpp:1425:73: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1425 | deadMenu.addString(0, " restart level"); deadMenu.addString(0, " return to menu"); | ^ game.cpp:1426:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1426 | deadMenu.addString(0, ""); deadMenu.addString(0, "(sdb)"); | ^ game.cpp:1426:73: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1426 | deadMenu.addString(0, ""); deadMenu.addString(0, "(sdb)"); | ^ game.cpp:1650:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1650 | font.printf(CENTERED, SCREEN_TOP-2.0, 2.0, 1.6, "%03d FPS", timer.FPS()); | ^ game.cpp:1656:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1656 | font.printf(-98.0, SCREEN_TOP-2.0, 3.0, 2.0, "* SYSTEM BACKDOOR ACTIVE *"); | ^ game.cpp:1704:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1704 | font.LEDprintf(-95.0, -SCREEN_TOP+6, 6.0, 6.0, "==="); | ^ game.cpp:1707:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1707 | font.LEDprintf(-95.0, -SCREEN_TOP+6, 6.0, 6.0, "%3.f", ceil(PLAYER_OBJECT->Health())); | ^ game.cpp:1709:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1709 | font.LEDprintf(-95.0, -SCREEN_TOP+6, 6.0, 6.0, "<<<"); | ^ game.cpp:1715:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1715 | font.LEDprintf(-95.0, -SCREEN_TOP+6, 6.0, 6.0, "%3.f", ceil(PLAYER_OBJECT->Health())); | ^ game.cpp:1717:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1717 | font.LEDprintf(-95.0, -SCREEN_TOP+6, 6.0, 6.0, "<<<"); | ^ game.cpp:1725:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1725 | font.LEDprintf(64, -SCREEN_TOP+6, 6.0, 6.0, "======"); | ^ game.cpp:1728:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1728 | font.printf(64, -SCREEN_TOP+14.0, 2.8, 2.4, "%16s", wpnType[PLAYER_OBJECT->Wpn()->Type()].name); | ^ game.cpp:1734:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1734 | font.LEDprintf(64, -SCREEN_TOP+6, 6.0, 6.0, "%2d%s%3d", | ^ game.cpp:1740:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1740 | font.LEDprintf(64, -SCREEN_TOP+6, 6.0, 6.0, "%2d%s%3d", | ^ game.cpp:1747:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1747 | font.LEDprintf(64, -SCREEN_TOP+6, 6.0, 6.0, "<< <<<"); | ^ game.cpp:1757:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1757 | font.LEDprintf(50, -SCREEN_TOP+14.0, 2.0, 2.0, "======"); | ^ game.cpp:1758:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1758 | font.LEDprintf(50, -SCREEN_TOP+14.0, 2.0, 2.0, "%c%c%c%c%c%c",PLAYER_OBJECT->weaponState(1), | ^ game.cpp:1763:92: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1763 | font.LEDprintf(50+2.0*(PLAYER_OBJECT->CurrWeapon()-1), -SCREEN_TOP+14.0, 2.0, 2.0, "%d", PLAYER_OBJECT->CurrWeapon()+1); | ^ game.cpp:1767:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1767 | font.LEDprintf(-77.1, -SCREEN_TOP+3.5, 4.5, 4.5, ">"); | ^ game.cpp:1768:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1768 | font.LEDprintf(-77.1, -SCREEN_TOP+3.5, 4.5, 4.5, "%c", PLAYER_OBJECT->keyState(3)); | ^ game.cpp:1770:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1770 | font.LEDprintf(-77, -SCREEN_TOP+6, 4.5, 4.5, ">"); | ^ game.cpp:1771:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1771 | font.LEDprintf(-77, -SCREEN_TOP+6, 4.5, 4.5, "%c", PLAYER_OBJECT->keyState(2)); | ^ game.cpp:1773:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1773 | font.LEDprintf(-76.9, -SCREEN_TOP+8.5, 4.5, 4.5, ">"); | ^ game.cpp:1774:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1774 | font.LEDprintf(-76.9, -SCREEN_TOP+8.5, 4.5, 4.5, "%c", PLAYER_OBJECT->keyState(1)); | ^ game.cpp:1779:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1779 | font.LEDprintf(CENTERED, -SCREEN_TOP+6, 3.0, 3.0, "==:==;=="); | ^ game.cpp:1780:57: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1780 | font.LEDprintf(CENTERED, -SCREEN_TOP+6, 3.0, 3.0, "%2d:%02d;%02d", (int)(P.gameTime/60), | ^ game.cpp:1785:19: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1785 | if (message != "" && messageTime > 0) | ^ ~~ game.cpp:1788:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1788 | font.printf(-95.0, -SCREEN_TOP+14.0, 3.7, 3.2, "%s", message); | ^ game.cpp:1851:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1851 | font.printf(CENTERED, 10, 5.4, 4.4, "NANO-ACTIVATION SEQUENCE COMMENCING IN"); | ^ game.cpp:1854:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1854 | font.printf(CENTERED, 0, 7.4, 6.4, "%d", (int)(11-transitionTimer)); | ^ game.cpp:2053:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2053 | errorMessage(6, "TESSELLATION ERROR", "CODE %d: %s", errnum, gluErrorString(errnum)); | ^ game.cpp:2053:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2053 | errorMessage(6, "TESSELLATION ERROR", "CODE %d: %s", errnum, gluErrorString(errnum)); | ^ 75 warnings generated. In file included from interface.cpp:26: ./sdb.h:376:70: warning: non-void function does not return a value [-Wreturn-type] 376 | Vector2D operator = (Vector2D v) { c[X] = v.c[X]; c[Y] = v.c[Y]; } | ^ In file included from interface.cpp:26: In file included from ./sdb.h:560: ./objects.h:548:28: warning: non-void function does not return a value [-Wreturn-type] 548 | virtual Weapon* Wpn() {} | ^ ./objects.h:549:31: warning: non-void function does not return a value [-Wreturn-type] 549 | virtual int CurrWeapon() {} | ^ ./objects.h:551:39: warning: non-void function does not return a value [-Wreturn-type] 551 | virtual char weaponState(int wp) {} | ^ ./objects.h:552:36: warning: non-void function does not return a value [-Wreturn-type] 552 | virtual char keyState(int wp) {} | ^ ./objects.h:553:38: warning: non-void function does not return a value [-Wreturn-type] 553 | virtual Vector2D* WeaponPoint() {} | ^ ./objects.h:555:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 555 | void giveKey(int key) { keys |= 1 << key-1; } | ~~ ~~~^~ ./objects.h:555:45: note: place parentheses around the '-' expression to silence this warning 555 | void giveKey(int key) { keys |= 1 << key-1; } | ^ | ( ) interface.cpp:142:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 142 | charWidth/0.75, charHeight*0.75, "%s", lines[rowStart+i].c_str()); | ^ interface.cpp:146:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 146 | charWidth/0.75, charHeight*0.75, "%s", | ^ interface.cpp:154:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 154 | charWidth/0.75, charHeight*0.75, "%s", curString.c_str()); | ^ interface.cpp:300:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 300 | m->addString(0, " continue game"); | ^ interface.cpp:302:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 302 | m->addString(0, " new game"); | ^ interface.cpp:303:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 303 | m->addString(0, " options"); | ^ interface.cpp:304:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 304 | m->addString(0, " records"); | ^ interface.cpp:305:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 305 | m->addString(0, " help"); | ^ interface.cpp:306:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 306 | m->addString(0, " credits"); | ^ interface.cpp:307:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 307 | m->addString(0, " exit"); | ^ interface.cpp:308:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 308 | m->addString(0, ""); | ^ interface.cpp:309:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 309 | m->addString(0, "(sdb)"); | ^ interface.cpp:320:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 320 | m->addString(1, "Continue game?"); | ^ interface.cpp:321:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 321 | m->addString(0, ""); | ^ interface.cpp:322:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 322 | m->addString(0, "%02d %s", P.level+((P.level != NUM_LEVELS)?1:0), levelName.c_str()); | ^ interface.cpp:324:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 324 | m->addString(0, "%3d:%02d.%02d", (int)(P.totalTime()/60), (int)fmod(P.totalTime(), 60), | ^ interface.cpp:327:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 327 | m->addString(0, ""); | ^ interface.cpp:329:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 329 | m->addString(0, ""); | ^ interface.cpp:330:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 330 | m->addString(0, " yes"); | ^ interface.cpp:331:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 331 | m->addString(0, " no"); | ^ interface.cpp:332:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 332 | m->addString(0, ""); | ^ interface.cpp:333:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 333 | m->addString(0, "(sdb)"); | ^ interface.cpp:339:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 339 | m->addString(1, "Select starting level"); | ^ interface.cpp:340:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 340 | m->addString(0, ""); | ^ interface.cpp:341:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 341 | m->addString(0, " (cancel)"); | ^ interface.cpp:356:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 356 | m->addString(0, "%s", line.c_str()); | ^ interface.cpp:359:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 359 | m->addString(0, ""); | ^ interface.cpp:360:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 360 | m->addString(0, "(sdb)"); | ^ interface.cpp:366:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 366 | m->addString(0, " Level | Fastest time | Most kills | Fewest shots | Least times hit"); | ^ interface.cpp:367:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 367 | m->addString(0, "-------------------------------+--------------+------------+--------------+----------------"); | ^ interface.cpp:374:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 374 | m->addString((i < NUM_LEVELS)?0:1, "%30s | %2d:%02d.%02d | %5d | %5d | %5d", | ^ interface.cpp:383:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 383 | m->addString(0, ""); | ^ interface.cpp:385:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 385 | m->addString(0, ""); | ^ interface.cpp:386:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 386 | m->addString(0, " return to menu"); | ^ interface.cpp:387:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 387 | m->addString(0, " clear records"); | ^ interface.cpp:394:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 394 | m->addString(0, " CONTROLS "); | ^ interface.cpp:395:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 395 | m->addString(0, ""); | ^ interface.cpp:396:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 396 | m->addString(0, "move forward: %12s | turn left: %12s or mouse", | ^ interface.cpp:398:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 398 | m->addString(0, "move backward: %12s | turn right: %12s or mouse", | ^ interface.cpp:400:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 400 | m->addString(0, "sidestep left: %12s | jump: %12s", | ^ interface.cpp:402:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 402 | m->addString(0, "sidestep right: %12s |", SDL_GetKeyName(config.keys[KEY_STRAFE_R])); | ^ interface.cpp:403:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 403 | m->addString(0, "----------------------------------------------------------------"); | ^ interface.cpp:404:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 404 | m->addString(0, " fire weapon: %12s or left mouse button", | ^ interface.cpp:406:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 406 | m->addString(0, " throw grenade: %12s or right mouse button", | ^ interface.cpp:408:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 408 | m->addString(0, " reload weapon: %12s", SDL_GetKeyName(config.keys[KEY_RELOAD])); | ^ interface.cpp:409:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 409 | m->addString(0, " switch weapon: %12s", SDL_GetKeyName(config.keys[KEY_SWITCH_WPN])); | ^ interface.cpp:410:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 410 | m->addString(0, " select weapon: numbers 1-7"); | ^ interface.cpp:411:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 411 | m->addString(0, "----------------------------------------------------------------"); | ^ interface.cpp:412:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 412 | m->addString(0, " switch view: %12s", SDL_GetKeyName(config.keys[KEY_SWITCH_VIEW])); | ^ interface.cpp:413:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 413 | m->addString(0, " quick zoom out: %12s or middle mouse button", | ^ interface.cpp:415:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 415 | m->addString(0, " options: F2"); | ^ interface.cpp:416:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 416 | m->addString(0, " pause/abort: ESC"); | ^ interface.cpp:417:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 417 | m->addString(0, " press enter to return to menu"); | ^ interface.cpp:423:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 423 | m->addString(0, " SHOTGUN DEBUGGER"); | ^ interface.cpp:424:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 424 | m->addString(0, ""); | ^ interface.cpp:425:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 425 | m->addString(0, "project leader, programming, concepts, 2d art MATT SARNOFF"); | ^ interface.cpp:426:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 426 | m->addString(0, "lead level designer, design feedback CHRIS DELEON"); | ^ interface.cpp:427:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 427 | m->addString(0, "character models JOHN NESKY"); | ^ interface.cpp:428:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 428 | m->addString(0, "level designers GREGORY PENG"); | ^ interface.cpp:429:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 429 | m->addString(0, " JEFF THOENE"); | ^ interface.cpp:430:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 430 | m->addString(0, "sound effects CHRIS DELEON"); | ^ interface.cpp:431:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 431 | m->addString(0, " MATT SARNOFF"); | ^ interface.cpp:432:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 432 | m->addString(0, "music TUSCAN KNOX"); | ^ interface.cpp:433:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 433 | m->addString(0, "testing MICHAEL WEBER"); | ^ interface.cpp:434:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 434 | m->addString(0, ""); | ^ interface.cpp:435:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 435 | m->addString(0, "A project of the Game Creation Society at Carnegie Mellon University"); | ^ interface.cpp:436:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 436 | m->addString(0, " sdb.gamecreation.org"); | ^ interface.cpp:437:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 437 | m->addString(0, ""); | ^ interface.cpp:438:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 438 | m->addString(0, "Version %s; %s", GAME_VERSION, GAME_DATE); | ^ interface.cpp:439:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 439 | m->addString(0, "Copyright 2005 Game Creation Society; Released under the GNU GPL"); | ^ interface.cpp:440:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 440 | m->addString(0, ""); | ^ interface.cpp:441:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 441 | m->addString(0, " press enter to return to menu"); | ^ interface.cpp:447:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 447 | m->addString(1, "Exit?"); | ^ interface.cpp:448:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 448 | m->addString(0, ""); | ^ interface.cpp:449:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 449 | m->addString(0, " yes"); | ^ interface.cpp:450:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 450 | m->addString(0, " no"); | ^ interface.cpp:451:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 451 | m->addString(0, ""); | ^ interface.cpp:452:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 452 | m->addString(0, "(sdb)"); | ^ interface.cpp:459:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 459 | m->addString(1, "This will erase your"); | ^ interface.cpp:460:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 460 | m->addString(1, "current saved game."); | ^ interface.cpp:461:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 461 | m->addString(1, "Proceed?"); | ^ interface.cpp:462:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 462 | m->addString(0, ""); | ^ interface.cpp:463:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 463 | m->addString(0, " yes"); | ^ interface.cpp:464:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 464 | m->addString(0, " no"); | ^ interface.cpp:465:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 465 | m->addString(0, ""); | ^ interface.cpp:466:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 466 | m->addString(0, "(sdb)"); | ^ interface.cpp:472:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 472 | m->addString(1, "Erase all records?"); | ^ interface.cpp:473:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 473 | m->addString(0, ""); | ^ interface.cpp:474:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 474 | m->addString(0, " yes"); | ^ interface.cpp:475:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 475 | m->addString(0, " no"); | ^ interface.cpp:476:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 476 | m->addString(0, ""); | ^ interface.cpp:477:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 477 | m->addString(0, "(sdb)"); | ^ interface.cpp:483:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 483 | m->addString(1, "This will erase your"); | ^ interface.cpp:484:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 484 | m->addString(1, "current saved game."); | ^ interface.cpp:485:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 485 | m->addString(1, "Proceed?"); | ^ interface.cpp:486:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 486 | m->addString(0, ""); | ^ interface.cpp:487:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 487 | m->addString(0, " yes"); | ^ interface.cpp:488:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 488 | m->addString(0, " no"); | ^ interface.cpp:489:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 489 | m->addString(0, ""); | ^ interface.cpp:490:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 490 | m->addString(0, "(sdb)"); | ^ interface.cpp:496:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 496 | m->addString(1, "This will erase ALL game progress"); | ^ interface.cpp:497:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 497 | m->addString(1, "and your current saved game."); | ^ interface.cpp:498:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 498 | m->addString(1, "Proceed?"); | ^ interface.cpp:499:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 499 | m->addString(0, ""); | ^ interface.cpp:500:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 500 | m->addString(0, " yes"); | ^ interface.cpp:501:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 501 | m->addString(0, " no"); | ^ interface.cpp:502:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 502 | m->addString(0, ""); | ^ interface.cpp:503:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 503 | m->addString(0, "(sdb)"); | ^ interface.cpp:509:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 509 | m->addString(0, " CUSTOMIZE KEYS"); | ^ interface.cpp:512:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 512 | m->addString(0, ""); | ^ interface.cpp:514:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 514 | m->addString(0, " Defaults"); | ^ interface.cpp:515:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 515 | m->addString(0, " Save and return"); | ^ interface.cpp:516:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 516 | m->addString(0, ""); | ^ interface.cpp:517:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 517 | m->addString(0, "(sdb)"); | ^ interface.cpp:789:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 789 | font.printf(-90.0, 10.0, 6.0, 4.8, "SHOTGUN DEBUGGER"); | ^ interface.cpp:791:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 791 | font.printf(-80.0, -40, 2.5, 2.5, "A project of the Game Creation Society - sdb.gamecreation.org"); | ^ interface.cpp:792:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 792 | font.printf(-80.0, LAST_Y, 2.5, 2.5, "Ver. %s", GAME_VERSION); | ^ interface.cpp:796:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 796 | font.printf(CENTERED, LAST_Y, 2.5, 2.5, "Press Enter"); | ^ interface.cpp:801:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 801 | font.printf(-98.0, SCREEN_TOP-2.0, 3.0, 2.0, "* AUGMENTATIONS ACTIVE *"); | ^ interface.cpp:845:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 845 | font.LEDprintf(CENTERED, 0, 20.0, 20.0, ">>>>"); | ^ interface.cpp:850:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 850 | case 4: font.LEDprintf(CENTERED, 0, 20.0, 20.0, " ?"); | ^ interface.cpp:851:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 851 | case 3: font.LEDprintf(CENTERED, 0, 20.0, 20.0, " ? "); | ^ interface.cpp:852:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 852 | case 2: font.LEDprintf(CENTERED, 0, 20.0, 20.0, " ? "); | ^ interface.cpp:853:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 853 | case 1: font.LEDprintf(CENTERED, 0, 20.0, 20.0, "? "); | ^ interface.cpp:929:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 929 | window.addString(0, "%s", currLevel.introText[linesRead].c_str()); | ^ interface.cpp:931:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 931 | window.addString(style, "%s", (currLevel.introText[linesRead].substr(1, currLevel.introText[linesRead].length()-1)).c_str()); | ^ interface.cpp:934:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 934 | window.addString(0, ""); | ^ interface.cpp:935:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 935 | window.addString(1, "press enter"); | ^ interface.cpp:990:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 990 | window.addString(0, "%s", currLevel.introText[linesRead].c_str()); | ^ interface.cpp:992:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 992 | window.addString(style, "%s", (currLevel.introText[linesRead].substr(1, currLevel.introText[linesRead].length()-1)).c_str()); | ^ interface.cpp:1002:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1002 | window.addString(0, ""); | ^ interface.cpp:1003:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1003 | window.addString(1, "press enter"); | ^ interface.cpp:1032:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1032 | font.printf(CENTERED, 0, 6.0, 4.8, "%s", currLevel.name.c_str()); | ^ interface.cpp:1039:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1039 | font.printf(-92, LAST_Y, 3.0, 2.6, "Fastest time: %2d:%02d.%02d", | ^ interface.cpp:1042:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1042 | font.printf(-92, LAST_Y, 3.0, 2.6, "Most kills: %5d", P.levelRecords[P.level].kills); | ^ interface.cpp:1043:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1043 | font.printf(-92, LAST_Y, 3.0, 2.6, "Fewest shots: %5d", P.levelRecords[P.level].shots); | ^ interface.cpp:1044:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1044 | font.printf(-92, LAST_Y, 3.0, 2.6, "Least times hit: %5d", P.levelRecords[P.level].hits); | ^ interface.cpp:1086:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1086 | stats.addString(0, "Completion time %2d:%02d.%02d", (int)(P.gameTime/60), | ^ interface.cpp:1088:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1088 | stats.addString(0, "Enemies killed %5d", P.kills); | ^ interface.cpp:1089:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1089 | stats.addString(0, "Shots fired %5d", P.shots); | ^ interface.cpp:1090:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1090 | stats.addString(0, "Times hit %5d", P.hits); | ^ interface.cpp:1091:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1091 | stats.addString(0, ""); | ^ interface.cpp:1092:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1092 | stats.addString(0, " press enter to continue"); | ^ interface.cpp:1096:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1096 | stats.addString(0, " | Prev. record"); | ^ interface.cpp:1099:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1099 | "Completion time %2d:%02d.%02d | %2d:%02d.%02d", (int)(P.gameTime/60), | ^ interface.cpp:1104:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1104 | "Enemies killed %5d | %5d", P.kills, P.levelRecords[l].kills); | ^ interface.cpp:1107:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1107 | "Shots fired %5d | %5d", P.shots, P.levelRecords[l].shots); | ^ interface.cpp:1110:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1110 | "Times hit %5d | %5d", P.hits, P.levelRecords[l].hits); | ^ interface.cpp:1112:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1112 | stats.addString(0, ""); | ^ interface.cpp:1113:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1113 | stats.addString(0, " press enter to continue"); | ^ interface.cpp:1169:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1169 | font.printf(CENTERED, 37.0, 6.0, 4.8, "LEVEL COMPLETED"); | ^ interface.cpp:1209:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1209 | stats.addString(0, "Final statistics are not"); | ^ interface.cpp:1210:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1210 | stats.addString(0, "recorded if you cheat."); | ^ interface.cpp:1211:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1211 | stats.addString(0, ""); | ^ interface.cpp:1212:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1212 | stats.addString(0, ""); | ^ interface.cpp:1213:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1213 | stats.addString(0, ""); | ^ interface.cpp:1214:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1214 | stats.addString(0, " press enter to continue"); | ^ interface.cpp:1218:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1218 | stats.addString(0, "Final statistics are not"); | ^ interface.cpp:1219:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1219 | stats.addString(0, "recorded if you use"); | ^ interface.cpp:1220:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1220 | stats.addString(0, "augmentations on levels"); | ^ interface.cpp:1221:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1221 | stats.addString(0, "other than the last."); | ^ interface.cpp:1222:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1222 | stats.addString(0, ""); | ^ interface.cpp:1223:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1223 | stats.addString(0, " press enter to continue"); | ^ interface.cpp:1227:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1227 | stats.addString(0, "Final statistics are not"); | ^ interface.cpp:1228:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1228 | stats.addString(0, "recorded if you do not"); | ^ interface.cpp:1229:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1229 | stats.addString(0, "start at the first level."); | ^ interface.cpp:1230:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1230 | stats.addString(0, ""); | ^ interface.cpp:1231:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1231 | stats.addString(0, ""); | ^ interface.cpp:1232:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1232 | stats.addString(0, " press enter to continue"); | ^ interface.cpp:1237:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1237 | stats.addString(0, "Completion time %2d:%02d.%02d", (int)(P.currStats[NUM_LEVELS].time/60), | ^ interface.cpp:1239:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1239 | stats.addString(0, "Enemies killed %5d", P.currStats[NUM_LEVELS].kills); | ^ interface.cpp:1240:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1240 | stats.addString(0, "Shots fired %5d", P.currStats[NUM_LEVELS].shots); | ^ interface.cpp:1241:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1241 | stats.addString(0, "Times hit %5d", P.currStats[NUM_LEVELS].hits); | ^ interface.cpp:1242:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1242 | stats.addString(0, ""); | ^ interface.cpp:1243:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1243 | stats.addString(0, " press enter to continue"); | ^ interface.cpp:1247:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1247 | stats.addString(0, " | Prev. record"); | ^ interface.cpp:1250:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1250 | "Completion time %2d:%02d.%02d | %2d:%02d.%02d", (int)(P.gameTime/60), | ^ interface.cpp:1255:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1255 | "Enemies killed %5d | %5d", P.kills, P.levelRecords[NUM_LEVELS].kills); | ^ interface.cpp:1258:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1258 | "Shots fired %5d | %5d", P.shots, P.levelRecords[NUM_LEVELS].shots); | ^ interface.cpp:1261:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1261 | "Times hit %5d | %5d", P.hits, P.levelRecords[NUM_LEVELS].hits); | ^ interface.cpp:1263:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1263 | stats.addString(0, ""); | ^ interface.cpp:1264:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1264 | stats.addString(0, " press enter to continue"); | ^ interface.cpp:1323:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1323 | font.printf(CENTERED, 37.0, 6.0, 4.8, "FINAL STATISTICS"); | ^ interface.cpp:1329:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1329 | font.printf(CENTERED, -27, 4.0, 3.2, "Congratulations!"); | ^ interface.cpp:1330:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1330 | font.printf(CENTERED, LAST_Y, 4.0, 3.2, "You've beaten the game amazingly quick."); | ^ interface.cpp:1331:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1331 | font.printf(CENTERED, LAST_Y, 4.0, 3.2, "As a reward, you can now play ANY level with"); | ^ interface.cpp:1332:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1332 | font.printf(CENTERED, LAST_Y, 4.0, 3.2, "your cyborg enhancements. Turn them on and off by"); | ^ interface.cpp:1333:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1333 | font.printf(CENTERED, LAST_Y, 4.0, 3.2, "pressing X at the main menu. w00t!"); | ^ interface.cpp:1347:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1347 | font.printf(-98.0, SCREEN_TOP-3.0, 4.0, 3.2, "FPS %03d", timer.FPS()); | ^ interface.cpp:1348:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1348 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "\x7FT %0.5f", timer.dT()); | ^ interface.cpp:1349:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1349 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "POSITION %0.3f %0.3f", | ^ interface.cpp:1351:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1351 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "VELOCITY %0.3f %0.3f", | ^ interface.cpp:1353:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1353 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "SPEED %0.3f %0.3f", | ^ interface.cpp:1355:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1355 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "HEADING %0.3f", | ^ interface.cpp:1357:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1357 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "TURN VEL. %0.3f", | ^ interface.cpp:1359:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1359 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "HEIGHT %0.3f", | ^ interface.cpp:1361:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1361 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "VERT VEL. %0.3f", | ^ interface.cpp:1363:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1363 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "EVENTS % .0f % .0f %d %d %d", | ^ interface.cpp:1366:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1366 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "KEYS %d %d %d %d", currLevelObjs[obj]->Keys() & 1, | ^ interface.cpp:1368:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1368 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "S.C. %lld", currLevelObjs[obj]->ShockCollisions()); | ^ interface.cpp:1370:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1370 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "PARTICLES %d", liveParticles); | ^ interface.cpp:1371:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1371 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "BULLETS %d", liveBullets); | ^ interface.cpp:1372:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1372 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "FORCES %d", liveForces); | ^ interface.cpp:1373:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1373 | font.printf(-98.0, LAST_Y, 4.0, 3.2, "CELL %d", currLevel.cellNumber(currLevelObjs[obj]->Pos())); | ^ interface.cpp:1417:56: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1417 | font.print(CENTERED, LAST_Y-2.0, 4.0, 3.2, 0.75, "PRESS ANY KEY TO EXIT"); | ^ interface.cpp:1428:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1428 | config.writeToFile(CONFIG_FILE); | ^ ./sdb.h:81:21: note: expanded from macro 'CONFIG_FILE' 81 | #define CONFIG_FILE "preferences.txt" | ^ interface.cpp:1440:83: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1440 | font.printf(currLevel.node[i].pos.c[X], currLevel.node[i].pos.c[Y], 1.0, 0.8, "%d", i); | ^ interface.cpp:1516:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1516 | window.addString(0, " OPTIONS"); | ^ interface.cpp:1517:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1517 | window.addString(0, ""); | ^ interface.cpp:1518:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1518 | window.addString(0, " %s %d x %d%s", options[0], ((currRes > -1) ? abs(resolutions[2*currRes]) : config.xres), | ^ interface.cpp:1520:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1520 | window.addString(0, " %s %d bits", options[1], (currDepth > -1) ? depths[currDepth] : config.depth); | ^ interface.cpp:1521:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1521 | window.addString(0, " %s %s", options[2], onOff[config.fullscreen]); | ^ interface.cpp:1522:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1522 | window.addString(0, " %s %s", options[3], onOff[config.blur]); | ^ interface.cpp:1523:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1523 | window.addString(0, " %s %s", options[4], onOff[config.sfx]); | ^ interface.cpp:1524:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1524 | window.addString(0, " %s %s", options[5], onOff[config.music]); | ^ interface.cpp:1527:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1527 | window.addString(0, " %s", options[i]); | ^ interface.cpp:1529:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1529 | window.addString(0, ""); | ^ interface.cpp:1530:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1530 | window.addString(0, "(sdb)"); | ^ interface.cpp:1590:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1590 | window.changeString(option, 0, " %s %d x %d%s", options[0], ((currRes > -1) ? abs(resolutions[2*currRes]) : config.xres), | ^ interface.cpp:1596:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1596 | window.changeString(option, 0, " %s %d bits", options[1], (currDepth > -1) ? depths[currDepth] : config.depth); | ^ interface.cpp:1600:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1600 | window.changeString(option, 0, " %s %s", options[2], onOff[config.fullscreen]); | ^ interface.cpp:1604:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1604 | window.changeString(option, 0, " %s %s", options[3], onOff[config.blur]); | ^ interface.cpp:1608:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1608 | window.changeString(option, 0, " %s %s", options[4], onOff[config.sfx]); | ^ interface.cpp:1612:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1612 | window.changeString(option, 0, " %s %s", options[5], onOff[config.music]); | ^ interface.cpp:1618:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1618 | window2.changeString(i+1, 0, " %s %12s", keyLabels[i], SDL_GetKeyName(config.keys[i])); | ^ interface.cpp:1660:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1660 | window2.changeString(currKey+1, 0, " %s %12s", keyLabels[currKey], SDL_GetKeyName(config.keys[currKey])); | ^ interface.cpp:1671:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1671 | window2.changeString(currKey+1, 0, " %s %12s", keyLabels[currKey], SDL_GetKeyName(config.keys[currKey])); | ^ interface.cpp:1677:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1677 | window2.changeString(i+1, 0, " %s %12s", keyLabels[i], SDL_GetKeyName(config.keys[i])); | ^ interface.cpp:1692:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1692 | window2.changeString(option2, 1, " %s new key?", keyLabels[currKey]); | ^ interface.cpp:1698:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1698 | window2.changeString(i+1, 0, " %s %12s", keyLabels[i], SDL_GetKeyName(config.keys[i])); | ^ interface.cpp:1787:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1787 | font.printf(CENTERED, -42, 3.0, 2.6, "New display settings take effect on restart"); | ^ interface.cpp:1793:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1793 | font.printf(CENTERED, -48, 3.0, 2.6, "You cannot erase progress while playing a game"); | ^ interface.cpp:1798:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1798 | font.printf(CENTERED, -48, 3.0, 2.6, "That key is reserved"); | ^ interface.cpp:2075:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2075 | font.printf(CENTERED, y, 6.0, 4.8, "%s", lines[0].c_str()); | ^ interface.cpp:2078:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2078 | font.printf(CENTERED, LAST_Y, 4.0, 3.2, "%s", lines[i].c_str()); | ^ interface.cpp:2081:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2081 | font.printf(CENTERED, -SCREEN_TOP+18.0, 4.0, 3.2, "THE END"); | ^ interface.cpp:2082:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2082 | font.printf(CENTERED, LAST_Y, 4.0, 3.2, "COPYRIGHT 2005 GAME CREATION SOCIETY"); | ^ interface.cpp:2083:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2083 | font.printf(CENTERED, LAST_Y, 2.0, 1.6, "press enter"); | ^ 245 warnings generated. In file included from level.cpp:26: ./sdb.h:376:70: warning: non-void function does not return a value [-Wreturn-type] 376 | Vector2D operator = (Vector2D v) { c[X] = v.c[X]; c[Y] = v.c[Y]; } | ^ In file included from level.cpp:26: In file included from ./sdb.h:560: ./objects.h:548:28: warning: non-void function does not return a value [-Wreturn-type] 548 | virtual Weapon* Wpn() {} | ^ ./objects.h:549:31: warning: non-void function does not return a value [-Wreturn-type] 549 | virtual int CurrWeapon() {} | ^ ./objects.h:551:39: warning: non-void function does not return a value [-Wreturn-type] 551 | virtual char weaponState(int wp) {} | ^ ./objects.h:552:36: warning: non-void function does not return a value [-Wreturn-type] 552 | virtual char keyState(int wp) {} | ^ ./objects.h:553:38: warning: non-void function does not return a value [-Wreturn-type] 553 | virtual Vector2D* WeaponPoint() {} | ^ ./objects.h:555:45: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 555 | void giveKey(int key) { keys |= 1 << key-1; } | ~~ ~~~^~ ./objects.h:555:45: note: place parentheses around the '-' expression to silence this warning 555 | void giveKey(int key) { keys |= 1 << key-1; } | ^ | ( ) level.cpp:43:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not open level file %s", filename.c_str()); | ^ level.cpp:43:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not open level file %s", filename.c_str()); | ^ level.cpp:57:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | errorMessage(4, "FLAGRANT SYSTEM ERROR", "%s has an invalid header", filename.c_str()); | ^ level.cpp:57:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | errorMessage(4, "FLAGRANT SYSTEM ERROR", "%s has an invalid header", filename.c_str()); | ^ level.cpp:81:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "No level file specified"); | ^ level.cpp:81:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "No level file specified"); | ^ level.cpp:91:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 91 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load level file %s", filename.c_str()); | ^ level.cpp:91:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 91 | errorMessage(3, "FLAGRANT SYSTEM ERROR", "Could not load level file %s", filename.c_str()); | ^ level.cpp:116:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 116 | errorMessage(4, "FLAGRANT SYSTEM ERROR", "%s has an invalid header", filename.c_str()); | ^ level.cpp:116:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 116 | errorMessage(4, "FLAGRANT SYSTEM ERROR", "%s has an invalid header", filename.c_str()); | ^ level.cpp:131:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'bg' needs 3 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:131:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'bg' needs 3 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:141:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 141 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'grid' needs 5 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:141:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 141 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'grid' needs 5 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:151:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 151 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'ambient' needs 5 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:151:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 151 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'ambient' needs 5 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:162:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 162 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'player' needs 3 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:162:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 162 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'player' needs 3 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:177:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 177 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'walls' needs >= 17 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:177:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 177 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'walls' needs >= 17 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:180:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid particle type '%d' (%s:%d)", S2I(tC5), filename.c_str(), lineCount); | ^ level.cpp:180:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid particle type '%d' (%s:%d)", S2I(tC5), filename.c_str(), lineCount); | ^ level.cpp:183:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 183 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:183:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 183 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:187:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 187 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:187:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 187 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:205:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 205 | errorMessage(6, "FLAGRANT SYSTEM ERROR", "X without Y in 'walls' (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:205:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 205 | errorMessage(6, "FLAGRANT SYSTEM ERROR", "X without Y in 'walls' (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:234:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 234 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'door' needs 23 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:234:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 234 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'door' needs 23 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:237:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 237 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid particle type '%d' (%s:%d)", S2I(tC9), filename.c_str(), lineCount); | ^ level.cpp:237:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 237 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid particle type '%d' (%s:%d)", S2I(tC9), filename.c_str(), lineCount); | ^ level.cpp:240:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 240 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Unlockwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:240:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 240 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Unlockwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:244:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 244 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Openwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:244:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 244 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Openwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:248:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 248 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Jamwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:248:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 248 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Jamwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:252:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 252 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:252:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 252 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:256:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 256 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:256:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 256 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:272:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 272 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 14 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^ level.cpp:272:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 272 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 14 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^ level.cpp:275:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 275 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:275:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 275 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:279:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 279 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:279:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 279 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:291:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 291 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 10 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^ level.cpp:291:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 291 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 10 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^ level.cpp:303:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 303 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 15 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^ level.cpp:303:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 303 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 15 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^ level.cpp:306:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 306 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid particle type '%d' (%s:%d)", S2I(tC3), filename.c_str(), lineCount); | ^ level.cpp:306:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 306 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid particle type '%d' (%s:%d)", S2I(tC3), filename.c_str(), lineCount); | ^ level.cpp:309:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 309 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:309:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 309 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:313:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 313 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:313:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 313 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:325:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 325 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 13 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^ level.cpp:325:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 325 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'%s' needs >= 13 values (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^ level.cpp:328:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 328 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Openwhen < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:328:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 328 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Openwhen < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:342:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 342 | errorMessage(6, "FLAGRANT SYSTEM ERROR", "X without Y in '%s' (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^ level.cpp:342:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 342 | errorMessage(6, "FLAGRANT SYSTEM ERROR", "X without Y in '%s' (%s:%d)", token.c_str(), filename.c_str(), lineCount); | ^ level.cpp:373:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 373 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'obj' needs 10 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:373:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 373 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'obj' needs 10 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:376:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 376 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid object type '%d' (%s:%d)", S2I(tC1), filename.c_str(), lineCount); | ^ level.cpp:376:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 376 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid object type '%d' (%s:%d)", S2I(tC1), filename.c_str(), lineCount); | ^ level.cpp:379:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 379 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:379:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 379 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Trigger < -4 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:383:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 383 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Wakewhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:383:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 383 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Wakewhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:387:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 387 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Killwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:387:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 387 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Killwhen < 0 or > %d (%s:%d)", NUM_TRIGGERS-1, filename.c_str(), lineCount); | ^ level.cpp:391:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 391 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:391:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 391 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "Invalid trigger type (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:402:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 402 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'light' needs 8 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:402:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 402 | errorMessage(5, "FLAGRANT SYSTEM ERROR", "'light' needs 8 values (%s:%d)", filename.c_str(), lineCount); | ^ level.cpp:747:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 747 | errorMessage(7, "FLAGRANT SYSTEM ERROR", "Invalid grid bounds"); | ^ level.cpp:747:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 747 | errorMessage(7, "FLAGRANT SYSTEM ERROR", "Invalid grid bounds"); | ^ level.cpp:754:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 754 | if (!grid) errorMessage(7, "FLAGRANT SYSTEM ERROR", "Could not allocate grid space"); | ^ level.cpp:754:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 754 | if (!grid) errorMessage(7, "FLAGRANT SYSTEM ERROR", "Could not allocate grid space"); | ^ 89 warnings generated. c++ bitmapfont.o levelobjects.o level.o md2.o weapons.o objects.o enemies.o input.o player.o game.o interface.o main.o -o sdb -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_image -lSDL_mixer -lGL -lGLU =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for sdb-1.0.2_17 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/sdb/work/sdb-1.0.2/src/sdb /wrkdirs/usr/ports/games/sdb/work/stage/usr/local/bin cd /wrkdirs/usr/ports/games/sdb/work/sdb-1.0.2 && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "levels models snd sprites" /wrkdirs/usr/ports/games/sdb/work/stage/usr/local/share/sdb install -m 0644 /wrkdirs/usr/ports/games/sdb/work/sdb-1.0.2/README /wrkdirs/usr/ports/games/sdb/work/stage/usr/local/share/doc/sdb ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-13T15:15:23+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=a83a3cc14275' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for sdb-1.0.2_17 ===> Building sdb-1.0.2_17 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for sdb-1.0.2_17 build of games/sdb | sdb-1.0.2_17 ended at Fri Mar 13 11:16:23 EDT 2026 build time: 00:01:01