=>> Building games/formido build started at Sun Jan 25 03:46:55 EST 2026 port directory: /usr/ports/games/formido package name: formido-1.0.1_2 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: amdmi3@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 920 Jun 29 2025 /usr/ports/games/formido/Makefile Ports top last git commit: 076a295eb33c 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: 1305000 Job Id: 06 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 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_13_5_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_13_5_x64-HEAD-ALL/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_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 formido-1.0.1_2: 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/formido/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/formido/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/formido/work/.cache HOME=/wrkdirs/usr/ports/games/formido/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/formido/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/formido/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/formido/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/formido/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/formido/work/.cache HOME=/wrkdirs/usr/ports/games/formido/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/formido/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/formido/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/formido" EXAMPLESDIR="share/examples/formido" DATADIR="share/formido" WWWDIR="www/formido" ETCDIR="etc/formido" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/formido DOCSDIR=/usr/local/share/doc/formido EXAMPLESDIR=/usr/local/share/examples/formido WWWDIR=/usr/local/www/formido ETCDIR=/usr/local/etc/formido --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 --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 ===> formido-1.0.1_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> formido-1.0.1_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of formido-1.0.1_2 =========================================================================== =================================================== ===== 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 formido-1.0.1_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by formido-1.0.1_2 for building => SHA256 Checksum OK for formido-1.0.1.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 formido-1.0.1_2 for building ===> Extracting for formido-1.0.1_2 => SHA256 Checksum OK for formido-1.0.1.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 formido-1.0.1_2 ===> Applying FreeBSD patches for formido-1.0.1_2 from /usr/ports/games/formido/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> formido-1.0.1_2 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 ===> formido-1.0.1_2 depends on package: gmake>=4.4.1 - found ===> Returning to build of formido-1.0.1_2 ===> formido-1.0.1_2 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". ===> formido-1.0.1_2 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of formido-1.0.1_2 ===> formido-1.0.1_2 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. ===> formido-1.0.1_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of formido-1.0.1_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> formido-1.0.1_2 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.53... [pkg.DaveG.ca] `-- Extracting png-1.6.53: .......... 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 ===> formido-1.0.1_2 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> Returning to build of formido-1.0.1_2 ===> formido-1.0.1_2 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 ===> formido-1.0.1_2 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of formido-1.0.1_2 ===> formido-1.0.1_2 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for formido-1.0.1_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for formido-1.0.1_2 c++ -o obj/blend.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/blend.cpp c++ -o obj/credits.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/credits.cpp c++ -o obj/explo.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/explo.cpp c++ -o obj/hof.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/hof.cpp c++ -o obj/menu.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/menu.cpp c++ -o obj/player.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/player.cpp c++ -o obj/bomb.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/bomb.cpp c++ -o obj/critter.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/critter.cpp c++ -o obj/font.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/font.cpp c++ -o obj/init.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/init.cpp c++ -o obj/mymath.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/mymath.cpp c++ -o obj/powerup.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/powerup.cpp c++ -o obj/config.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/config.cpp c++ -o obj/effect.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/effect.cpp c++ -o obj/game.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/game.cpp c++ -o obj/main.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/main.cpp c++ -o obj/particle.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/particle.cpp c++ -o obj/timer.o -O2 -pipe -fstack-protector-strong -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -Wall -I./include -DDATA_DIR=\"/usr/local/share/formido\" -DHISCORE_DIR=\"/.formido\" -DCONFIG_DIR=\"/.formido\" -DDEFCONFIG_DIR=\"/usr/local/share/formido\" -c src/timer.cpp src/config.cpp:37:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | f = fopen(DEFCONFIG("formido.cfg"), "rt"); | ^ src/config.cpp:37:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 37 | f = fopen(DEFCONFIG("formido.cfg"), "rt"); | ^ ./include/init.h:50:37: note: expanded from macro 'DEFCONFIG' 50 | #define DEFCONFIG(x) (add_prefix(x, DEFCONFIG_DIR)) | ^ :6:23: note: expanded from macro 'DEFCONFIG_DIR' 6 | #define DEFCONFIG_DIR "/usr/local/share/formido" | ^ src/config.cpp:40:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 40 | error_msg("Unable to load config file: %s!", file); | ^ src/config.cpp:71:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 71 | error_msg("Unable to save config file: %s!", file); | ^ 4 warnings generated. src/font.cpp:53:33: warning: array subscript is of type 'char' [-Wchar-subscripts] 53 | SDL_BlitSurface(fnt_char[font][str[c]], NULL, bmp, &r); | ^~~~~~~ src/font.cpp:80:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 80 | tmp2 = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/font.cpp:82:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 82 | error_msg("Unable to load fonts!\n%s", IMG_GetError()); | ^ src/font.cpp:87:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | error_msg("Unable to load fonts!\n%s", IMG_GetError()); | ^ src/font.cpp:99:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 99 | error_msg("Unable to create font surfaces!\n%s", SDL_GetError()); | ^ src/font.cpp:102:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 102 | error_msg("Unable to set font color keys!\n%s", SDL_GetError()); | ^ 6 warnings generated. src/init.cpp:84:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 84 | load_config(CONFIG("formido.cfg"), &config); | ^ src/init.cpp:84:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 84 | load_config(CONFIG("formido.cfg"), &config); | ^ ./include/init.h:49:39: note: expanded from macro 'CONFIG' 49 | #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) | ^ :5:20: note: expanded from macro 'CONFIG_DIR' 5 | #define CONFIG_DIR "/.formido" | ^ src/init.cpp:89:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 89 | error_msg("Unable to init SDL: %s", SDL_GetError()); | ^ src/init.cpp:93:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 93 | error_msg("Unable to init SDL: %s", SDL_GetError()); | ^ src/init.cpp:119:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 119 | error_msg("Unable to open audio!\n%s", Mix_GetError()); | ^ src/init.cpp:130:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 130 | error_msg("Unable to set video mode 640x480 %dbpp!\n%s", config.vid_color_depth, SDL_GetError()); | ^ src/init.cpp:134:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 134 | SDL_Surface *pal = IMG_Load(DAT("palette.dat")); | ^ src/init.cpp:134:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 134 | SDL_Surface *pal = IMG_Load(DAT("palette.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/init.cpp:136:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 136 | error_msg("Unable to load palette!\n%s", IMG_GetError()); | ^ src/init.cpp:154:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 154 | return ("null"); // Not enough memory | ^ src/init.cpp:168:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 168 | return ("null"); // Not enough memory | ^ 11 warnings generated. src/timer.cpp:57:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 57 | error_msg("Error setting timer!\n%s", SDL_GetError()); | ^ 1 warning generated. src/explo.cpp:60:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 60 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/explo.cpp:62:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 62 | error_msg("Unable to load explosion graphics!\n%s", IMG_GetError()); | ^ src/explo.cpp:66:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 66 | error_msg("Unable to load explosion graphics!\n%s", IMG_GetError()); | ^ 3 warnings generated. src/mymath.cpp:39:31: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] 39 | float num = range * rand() / RAND_MAX; | ~ ^~~~~~~~ /usr/include/stdlib.h:79:18: note: expanded from macro 'RAND_MAX' 79 | #define RAND_MAX 0x7fffffff | ^~~~~~~~~~ 1 warning generated. src/game.cpp:81:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | tmp = IMG_Load(DAT("ground.dat")); | ^ src/game.cpp:81:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 81 | tmp = IMG_Load(DAT("ground.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/game.cpp:83:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | tmp = IMG_Load(DAT("ground_8bit.dat")); | ^ src/game.cpp:83:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | tmp = IMG_Load(DAT("ground_8bit.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/game.cpp:85:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 85 | error_msg("Unable to load background!\n%s", IMG_GetError()); | ^ src/game.cpp:90:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 90 | error_msg("Unable to load background!\n%s", IMG_GetError()); | ^ src/game.cpp:98:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 98 | error_msg("Unable to load background!\n%s", SDL_GetError()); | ^ src/game.cpp:102:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 102 | error_msg("Unable to load background!\n%s", SDL_GetError()); | ^ src/game.cpp:111:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 111 | col_map = IMG_Load(DAT("collisionmap.dat")); | ^ src/game.cpp:111:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 111 | col_map = IMG_Load(DAT("collisionmap.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/game.cpp:113:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 113 | error_msg("Unable to load collision map!"); | ^ src/game.cpp:181:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 181 | FILE *f = fopen(CONFIG(file), "r"); | ^ ./include/init.h:49:39: note: expanded from macro 'CONFIG' 49 | #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) | ^ :5:20: note: expanded from macro 'CONFIG_DIR' 5 | #define CONFIG_DIR "/.formido" | ^ src/game.cpp:184:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 184 | SDL_SaveBMP(screen, CONFIG(file)); | ^ ./include/init.h:49:39: note: expanded from macro 'CONFIG' 49 | #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) | ^ :5:20: note: expanded from macro 'CONFIG_DIR' 5 | #define CONFIG_DIR "/.formido" | ^ src/game.cpp:196:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 196 | f = fopen(CONFIG(file), "r"); | ^ ./include/init.h:49:39: note: expanded from macro 'CONFIG' 49 | #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) | ^ :5:20: note: expanded from macro 'CONFIG_DIR' 5 | #define CONFIG_DIR "/.formido" | ^ src/game.cpp:199:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 199 | SDL_SaveBMP(screen, CONFIG(file)); | ^ ./include/init.h:49:39: note: expanded from macro 'CONFIG' 49 | #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) | ^ :5:20: note: expanded from macro 'CONFIG_DIR' 5 | #define CONFIG_DIR "/.formido" | ^ src/game.cpp:392:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 392 | strcpy(music_files[0], DAT("music1.ogg")); | ^ src/game.cpp:392:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 392 | strcpy(music_files[0], DAT("music1.ogg")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/game.cpp:393:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 393 | strcpy(music_files[1], DAT("music2.ogg")); | ^ src/game.cpp:393:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 393 | strcpy(music_files[1], DAT("music2.ogg")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/game.cpp:394:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 394 | strcpy(music_files[2], DAT("music3.ogg")); | ^ src/game.cpp:394:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 394 | strcpy(music_files[2], DAT("music3.ogg")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/game.cpp:416:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 416 | error_msg("Unable to create distortion surface!\n"); | ^ src/game.cpp:419:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 419 | error_msg("Unable to create distortion surface!\n"); | ^ src/game.cpp:451:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 451 | error_msg("Unable to create the pause surface!\n"); | ^ src/game.cpp:456:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 456 | error_msg("Unable to create the pause surface!\n"); | ^ src/game.cpp:499:70: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 499 | font_write(screen, FONT_BOLD, SCREEN_W/2-font_length(FONT_BOLD, "PAUSED")/2, SCREEN_H/2+90, "PAUSED"); | ^ src/game.cpp:499:98: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 499 | font_write(screen, FONT_BOLD, SCREEN_W/2-font_length(FONT_BOLD, "PAUSED")/2, SCREEN_H/2+90, "PAUSED"); | ^ src/game.cpp:630:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 630 | list.load(HISCORE("hiscore.dat")); | ^ src/game.cpp:630:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 630 | list.load(HISCORE("hiscore.dat")); | ^ ./include/init.h:48:40: note: expanded from macro 'HISCORE' 48 | #define HISCORE(x) (add_home_prefix(x, HISCORE_DIR)) | ^ :4:21: note: expanded from macro 'HISCORE_DIR' 4 | #define HISCORE_DIR "/.formido" | ^ src/game.cpp:631:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 631 | int place = list.add("", kills); | ^ src/game.cpp:635:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 635 | list.save(HISCORE("hiscore.dat")); | ^ src/game.cpp:635:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 635 | list.save(HISCORE("hiscore.dat")); | ^ ./include/init.h:48:40: note: expanded from macro 'HISCORE' 48 | #define HISCORE(x) (add_home_prefix(x, HISCORE_DIR)) | ^ :4:21: note: expanded from macro 'HISCORE_DIR' 4 | #define HISCORE_DIR "/.formido" | ^ 32 warnings generated. src/credits.cpp:118:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 118 | error_msg("Unable to create distortion surface!\n"); | ^ src/credits.cpp:121:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 121 | error_msg("Unable to create distortion surface!\n"); | ^ src/credits.cpp:134:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 134 | tmp = IMG_Load(DAT("credits.dat")); | ^ src/credits.cpp:134:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 134 | tmp = IMG_Load(DAT("credits.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/credits.cpp:136:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 136 | tmp = IMG_Load(DAT("credits_8bit.dat")); | ^ src/credits.cpp:136:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 136 | tmp = IMG_Load(DAT("credits_8bit.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/credits.cpp:138:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 138 | error_msg("Unable to load background!\n%s", IMG_GetError()); | ^ src/credits.cpp:143:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 143 | error_msg("Unable to load credits background!\n%s", IMG_GetError()); | ^ src/credits.cpp:151:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 151 | error_msg("Unable to create credits font surface!\n"); | ^ src/credits.cpp:154:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 154 | error_msg("Unable to create credits font surface!\n"); | ^ src/credits.cpp:161:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 161 | add_credits("FORMIDO", "credits", pos); pos+=256; | ^ src/credits.cpp:161:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 161 | add_credits("FORMIDO", "credits", pos); pos+=256; | ^ src/credits.cpp:162:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 162 | add_credits("GAME DESIGN", "mika halttunen", pos); pos+=128; | ^ src/credits.cpp:162:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 162 | add_credits("GAME DESIGN", "mika halttunen", pos); pos+=128; | ^ src/credits.cpp:163:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 163 | add_credits("MUSIC", "josh schroeder", pos); pos+=128; | ^ src/credits.cpp:163:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 163 | add_credits("MUSIC", "josh schroeder", pos); pos+=128; | ^ src/credits.cpp:164:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 164 | add_credits("PROGRAMMING", "mika halttunen", pos); pos+=128; | ^ src/credits.cpp:164:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 164 | add_credits("PROGRAMMING", "mika halttunen", pos); pos+=128; | ^ src/credits.cpp:165:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 165 | add_credits("ARTWORK", "mika halttunen", pos); pos+=256; | ^ src/credits.cpp:165:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 165 | add_credits("ARTWORK", "mika halttunen", pos); pos+=256; | ^ src/credits.cpp:166:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 166 | add_credits("world wide web", "mhgames.cjb.net", pos); pos+=128; | ^ src/credits.cpp:166:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 166 | add_credits("world wide web", "mhgames.cjb.net", pos); pos+=128; | ^ src/credits.cpp:167:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 167 | add_credits("(null)", "THANKS FOR PLAYING", pos); | ^ src/credits.cpp:167:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 167 | add_credits("(null)", "THANKS FOR PLAYING", pos); | ^ src/credits.cpp:172:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | music = Mix_LoadMUS(DAT("music_credits.ogg")); | ^ src/credits.cpp:172:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | music = Mix_LoadMUS(DAT("music_credits.ogg")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/credits.cpp:276:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 276 | error_msg("add_credits: Too many messages!\n"); | ^ 27 warnings generated. src/bomb.cpp:167:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 167 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/bomb.cpp:169:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 169 | error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); | ^ src/bomb.cpp:172:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | error_msg("Unable to set color key to bomb sprite!\n%s", SDL_GetError()); | ^ src/bomb.cpp:176:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 176 | error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); | ^ src/bomb.cpp:182:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 182 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/bomb.cpp:184:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 184 | error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); | ^ src/bomb.cpp:187:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 187 | error_msg("Unable to set color key to bomb sprite!\n%s", SDL_GetError()); | ^ src/bomb.cpp:191:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 191 | error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); | ^ src/bomb.cpp:197:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 197 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/bomb.cpp:199:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 199 | error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); | ^ src/bomb.cpp:202:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 202 | error_msg("Unable to set color key to bomb sprite!\n%s", SDL_GetError()); | ^ src/bomb.cpp:206:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 206 | error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); | ^ src/bomb.cpp:213:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 213 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/bomb.cpp:215:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 215 | error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); | ^ src/bomb.cpp:219:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 219 | error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); | ^ 15 warnings generated. src/menu.cpp:71:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 71 | tmp = IMG_Load(DAT("menu.dat")); | ^ src/menu.cpp:71:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 71 | tmp = IMG_Load(DAT("menu.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/menu.cpp:73:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | tmp = IMG_Load(DAT("menu_8bit.dat")); | ^ src/menu.cpp:73:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 73 | tmp = IMG_Load(DAT("menu_8bit.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/menu.cpp:75:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 75 | error_msg("Unable to load menus!\n%s", IMG_GetError()); | ^ src/menu.cpp:78:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | error_msg("Unable to load menus!\n%s", IMG_GetError()); | ^ src/menu.cpp:83:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | tmp = IMG_Load(DAT("menu2.dat")); | ^ src/menu.cpp:83:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | tmp = IMG_Load(DAT("menu2.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/menu.cpp:85:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 85 | tmp = IMG_Load(DAT("menu2_8bit.dat")); | ^ src/menu.cpp:85:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 85 | tmp = IMG_Load(DAT("menu2_8bit.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/menu.cpp:87:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 87 | error_msg("Unable to load menus!\n%s", IMG_GetError()); | ^ src/menu.cpp:90:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 90 | error_msg("Unable to load menus!\n%s", IMG_GetError()); | ^ src/menu.cpp:95:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 95 | tmp = IMG_Load(DAT("menu3.dat")); | ^ src/menu.cpp:95:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 95 | tmp = IMG_Load(DAT("menu3.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/menu.cpp:97:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 97 | tmp = IMG_Load(DAT("menu3_8bit.dat")); | ^ src/menu.cpp:97:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 97 | tmp = IMG_Load(DAT("menu3_8bit.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/menu.cpp:99:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 99 | error_msg("Unable to load menus!\n%s", IMG_GetError()); | ^ src/menu.cpp:102:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 102 | error_msg("Unable to load menus!\n%s", IMG_GetError()); | ^ src/menu.cpp:107:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 107 | tmp = IMG_Load(DAT("menu_arrow.dat")); | ^ src/menu.cpp:107:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 107 | tmp = IMG_Load(DAT("menu_arrow.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/menu.cpp:109:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | error_msg("Unable to load menus!\n%s", IMG_GetError()); | ^ src/menu.cpp:112:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 112 | error_msg("Unable to load menus!\n%s", IMG_GetError()); | ^ src/menu.cpp:153:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 153 | return "PRESS A KEY"; // This is displayed when we're setting | ^ src/menu.cpp:165:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 165 | music = Mix_LoadMUS(DAT("music_menu.ogg")); | ^ src/menu.cpp:165:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 165 | music = Mix_LoadMUS(DAT("music_menu.ogg")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/menu.cpp:172:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | list.load(HISCORE("hiscore.dat")); | ^ src/menu.cpp:172:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | list.load(HISCORE("hiscore.dat")); | ^ ./include/init.h:48:40: note: expanded from macro 'HISCORE' 48 | #define HISCORE(x) (add_home_prefix(x, HISCORE_DIR)) | ^ :4:21: note: expanded from macro 'HISCORE_DIR' 4 | #define HISCORE_DIR "/.formido" | ^ src/menu.cpp:265:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 265 | load_config(CONFIG("formido.cfg"), &config); | ^ src/menu.cpp:265:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 265 | load_config(CONFIG("formido.cfg"), &config); | ^ ./include/init.h:49:39: note: expanded from macro 'CONFIG' 49 | #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) | ^ :5:20: note: expanded from macro 'CONFIG_DIR' 5 | #define CONFIG_DIR "/.formido" | ^ src/menu.cpp:308:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 308 | save_config(CONFIG("formido.cfg"), &config); | ^ src/menu.cpp:308:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 308 | save_config(CONFIG("formido.cfg"), &config); | ^ ./include/init.h:49:39: note: expanded from macro 'CONFIG' 49 | #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) | ^ :5:20: note: expanded from macro 'CONFIG_DIR' 5 | #define CONFIG_DIR "/.formido" | ^ 31 warnings generated. src/powerup.cpp:117:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 117 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/powerup.cpp:119:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 119 | error_msg("Unable to load power-up graphics!\n%s", IMG_GetError()); | ^ src/powerup.cpp:122:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 122 | error_msg("Unable to set color key to power-up sprite!\n%s", SDL_GetError()); | ^ src/powerup.cpp:126:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 126 | error_msg("Unable to load power-up graphics!\n%s", SDL_GetError()); | ^ src/powerup.cpp:138:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 138 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/powerup.cpp:140:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 140 | error_msg("Unable to load power-up graphics!\n%s", IMG_GetError()); | ^ src/powerup.cpp:143:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 143 | error_msg("Unable to set color key to power-up sprite!\n%s", SDL_GetError()); | ^ src/powerup.cpp:147:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 147 | error_msg("Unable to load power-up graphics!\n%s", SDL_GetError()); | ^ src/powerup.cpp:159:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 159 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/powerup.cpp:161:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 161 | error_msg("Unable to load power-up graphics!\n%s", IMG_GetError()); | ^ src/powerup.cpp:164:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 164 | error_msg("Unable to set color key to power-up sprite!\n%s", SDL_GetError()); | ^ src/powerup.cpp:168:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 168 | error_msg("Unable to load power-up graphics!\n%s", SDL_GetError()); | ^ src/powerup.cpp:180:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/powerup.cpp:182:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 182 | error_msg("Unable to load power-up graphics!\n%s", IMG_GetError()); | ^ src/powerup.cpp:185:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 185 | error_msg("Unable to set color key to power-up sprite!\n%s", SDL_GetError()); | ^ src/powerup.cpp:189:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 189 | error_msg("Unable to load power-up graphics!\n%s", SDL_GetError()); | ^ src/powerup.cpp:196:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 196 | tmp = IMG_Load(DAT("glow.dat")); | ^ src/powerup.cpp:196:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 196 | tmp = IMG_Load(DAT("glow.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/powerup.cpp:198:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 198 | error_msg("Unable to load power-up glow!\n%s", IMG_GetError()); | ^ src/powerup.cpp:201:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 201 | error_msg("Unable to load power-up glow!\n%s", SDL_GetError()); | ^ src/powerup.cpp:286:10: warning: variable 'fram' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 286 | else if(type == POWER_UP_MUSHROOM) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/powerup.cpp:289:15: note: uninitialized use occurs here 289 | rect.x = x - fram->w/2; | ^~~~ src/powerup.cpp:286:7: note: remove the 'if' if its condition is always true 286 | else if(type == POWER_UP_MUSHROOM) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | fram = gfx_pu_mush[f]; src/powerup.cpp:278:19: note: initialize the variable 'fram' to silence this warning 278 | SDL_Surface *fram; | ^ | = nullptr 21 warnings generated. src/critter.cpp:74:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 74 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/critter.cpp:76:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 76 | error_msg("Unable to load critter graphics from %s!\n%s", file, IMG_GetError()); | ^ src/critter.cpp:79:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | error_msg("Unable to set color key to critter sprite!\n%s", SDL_GetError()); | ^ src/critter.cpp:83:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | error_msg("Unable to load critter graphics from %s!\n%s", file, IMG_GetError()); | ^ src/critter.cpp:96:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 96 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/critter.cpp:98:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 98 | error_msg("Unable to load critter graphics from %s!\n%s", file, IMG_GetError()); | ^ src/critter.cpp:101:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 101 | error_msg("Unable to set color key to critter sprite!\n%s", SDL_GetError()); | ^ src/critter.cpp:105:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 105 | error_msg("Unable to load critter graphics from %s!\n%s", file, IMG_GetError()); | ^ src/critter.cpp:117:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 117 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/critter.cpp:119:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 119 | error_msg("Unable to load critter graphics from %s!\n%s", file, IMG_GetError()); | ^ src/critter.cpp:123:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 123 | error_msg("Unable to load critter graphics from %s!\n%s", file, IMG_GetError()); | ^ src/critter.cpp:158:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 158 | error_msg("add_critter():\nUnable to add a new critter!\n"); | ^ src/critter.cpp:520:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 520 | error_msg("add_gib():\nUnable to add a new gib!\n"); | ^ 13 warnings generated. src/player.cpp:92:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 92 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/player.cpp:94:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 94 | error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); | ^ src/player.cpp:97:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 97 | error_msg("Unable to set color key to player sprite!\n%s", SDL_GetError()); | ^ src/player.cpp:101:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 101 | error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); | ^ src/player.cpp:115:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 115 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/player.cpp:117:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 117 | error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); | ^ src/player.cpp:120:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 120 | error_msg("Unable to set color key to player sprite!\n%s", SDL_GetError()); | ^ src/player.cpp:124:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 124 | error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); | ^ src/player.cpp:137:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 137 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/player.cpp:139:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 139 | error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); | ^ src/player.cpp:142:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 142 | error_msg("Unable to set color key to player sprite!\n%s", SDL_GetError()); | ^ src/player.cpp:146:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 146 | error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); | ^ src/player.cpp:153:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 153 | tmp = IMG_Load(DAT("gunflame1.dat")); | ^ src/player.cpp:153:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 153 | tmp = IMG_Load(DAT("gunflame1.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/player.cpp:155:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 155 | error_msg("Unable to load gun flame sprites!\n%s", IMG_GetError()); | ^ src/player.cpp:158:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 158 | error_msg("Unable to load gun flame sprites!\n%s", IMG_GetError()); | ^ src/player.cpp:161:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 161 | tmp = IMG_Load(DAT("gunflame2.dat")); | ^ src/player.cpp:161:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 161 | tmp = IMG_Load(DAT("gunflame2.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/player.cpp:163:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 163 | error_msg("Unable to load gun flame sprites!\n%s", IMG_GetError()); | ^ src/player.cpp:166:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 166 | error_msg("Unable to load gun flame sprites!\n%s", IMG_GetError()); | ^ src/player.cpp:170:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 170 | tmp = IMG_Load(DAT("energy_bar1.dat")); | ^ src/player.cpp:170:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 170 | tmp = IMG_Load(DAT("energy_bar1.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/player.cpp:172:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | error_msg("Unable to load energy bar!\n%s", IMG_GetError()); | ^ src/player.cpp:174:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 174 | error_msg("Unable to set color key to energy bar!\n%s", SDL_GetError()); | ^ src/player.cpp:177:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 177 | error_msg("Unable to load energy bar!\n%s", IMG_GetError()); | ^ src/player.cpp:180:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | tmp = IMG_Load(DAT("energy_bar2.dat")); | ^ src/player.cpp:180:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | tmp = IMG_Load(DAT("energy_bar2.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/player.cpp:182:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 182 | error_msg("Unable to load energy bar!\n%s", IMG_GetError()); | ^ src/player.cpp:184:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 184 | error_msg("Unable to set color key to energy bar!\n%s", SDL_GetError()); | ^ src/player.cpp:187:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 187 | error_msg("Unable to load energy bar!\n%s", IMG_GetError()); | ^ src/player.cpp:191:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 191 | tmp = IMG_Load(DAT("wpn_bar1.dat")); | ^ src/player.cpp:191:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 191 | tmp = IMG_Load(DAT("wpn_bar1.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/player.cpp:193:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 193 | error_msg("Unable to load weapon bar!\n%s", IMG_GetError()); | ^ src/player.cpp:195:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 195 | error_msg("Unable to set color key to weapon bar!\n%s", SDL_GetError()); | ^ src/player.cpp:198:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 198 | error_msg("Unable to load weapon bar!\n%s", IMG_GetError()); | ^ src/player.cpp:201:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 201 | tmp = IMG_Load(DAT("wpn_bar2.dat")); | ^ src/player.cpp:201:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 201 | tmp = IMG_Load(DAT("wpn_bar2.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/player.cpp:203:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 203 | error_msg("Unable to load weapon bar!\n%s", IMG_GetError()); | ^ src/player.cpp:205:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 205 | error_msg("Unable to set color key to weapon bar!\n%s", SDL_GetError()); | ^ src/player.cpp:208:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 208 | error_msg("Unable to load weapon bar!\n%s", IMG_GetError()); | ^ src/player.cpp:218:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 218 | tmp = IMG_Load(DAT(file)); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/player.cpp:220:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 220 | error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); | ^ src/player.cpp:224:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 224 | error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); | ^ 43 warnings generated. src/hof.cpp:359:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 359 | error_msg("Oh crap! Can't save the highscores to %s!", file); | ^ 1 warning generated. src/main.cpp:77:67: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | font_write(screen, FONT_BOLD, SCREEN_W/2-font_length(FONT_BOLD, "Loading")/2, SCREEN_H-60, "Loading"); | ^ src/main.cpp:77:94: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 77 | font_write(screen, FONT_BOLD, SCREEN_W/2-font_length(FONT_BOLD, "Loading")/2, SCREEN_H-60, "Loading"); | ^ src/main.cpp:78:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | font_write(screen, FONT_NORMAL, SCREEN_W/2-20, SCREEN_H-35, GAME_VERSION); | ^ src/main.cpp:46:22: note: expanded from macro 'GAME_VERSION' 46 | #define GAME_VERSION "v1.0.1" | ^ src/main.cpp:101:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 101 | tmp = IMG_Load(DAT("progress1.dat")); | ^ src/main.cpp:101:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 101 | tmp = IMG_Load(DAT("progress1.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:103:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 103 | error_msg("Unable to load progress bar!\n%s", IMG_GetError()); | ^ src/main.cpp:106:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 106 | error_msg("Unable to load progress bar!\n%s", IMG_GetError()); | ^ src/main.cpp:109:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | tmp = IMG_Load(DAT("progress2.dat")); | ^ src/main.cpp:109:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | tmp = IMG_Load(DAT("progress2.dat")); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:111:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 111 | error_msg("Unable to load progress bar!\n%s", IMG_GetError()); | ^ src/main.cpp:114:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 114 | error_msg("Unable to load progress bar!\n%s", IMG_GetError()); | ^ src/main.cpp:140:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 140 | snd_hit[f] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT(file), "rb"),1); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:142:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 142 | error_msg("Unable to load sounds!\n%s", Mix_GetError()); | ^ src/main.cpp:150:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 150 | snd_bullet[f] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT(file), "rb"),1); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:152:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 152 | error_msg("Unable to load sounds!\n%s", Mix_GetError()); | ^ src/main.cpp:160:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 160 | snd_die[f] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT(file), "rb"),1); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:162:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 162 | error_msg("Unable to load sounds!\n%s", Mix_GetError()); | ^ src/main.cpp:170:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 170 | snd_cdie[f] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT(file), "rb"),1); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:172:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 172 | error_msg("Unable to load sounds!\n%s", Mix_GetError()); | ^ src/main.cpp:180:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 180 | snd_explo[f] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT(file), "rb"),1); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:182:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 182 | error_msg("Unable to load sounds!\n%s", Mix_GetError()); | ^ src/main.cpp:186:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 186 | snd_shoot = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("shooting.dat"), "rb"),1); | ^ src/main.cpp:186:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 186 | snd_shoot = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("shooting.dat"), "rb"),1); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:188:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 188 | error_msg("Unable to load sounds!\n%s", Mix_GetError()); | ^ src/main.cpp:190:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 190 | snd_throw = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("throw.dat"), "rb"),1); | ^ src/main.cpp:190:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 190 | snd_throw = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("throw.dat"), "rb"),1); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:192:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 192 | error_msg("Unable to load sounds!\n%s", Mix_GetError()); | ^ src/main.cpp:195:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 195 | snd_glass_break = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("glass_break.dat"), "rb"),1); | ^ src/main.cpp:195:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 195 | snd_glass_break = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("glass_break.dat"), "rb"),1); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:197:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 197 | error_msg("Unable to load sounds!\n%s", Mix_GetError()); | ^ src/main.cpp:200:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 200 | snd_power_up = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("power_up.dat"), "rb"),1); | ^ src/main.cpp:200:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 200 | snd_power_up = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("power_up.dat"), "rb"),1); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:202:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 202 | error_msg("Unable to load sounds!\n%s", Mix_GetError()); | ^ src/main.cpp:205:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 205 | snd_mushroom = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("mushroom.dat"), "rb"),1); | ^ src/main.cpp:205:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 205 | snd_mushroom = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("mushroom.dat"), "rb"),1); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:207:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 207 | error_msg("Unable to load sounds!\n%s", Mix_GetError()); | ^ src/main.cpp:210:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 210 | snd_menu[0] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("menu1w.dat"), "rb"),1); | ^ src/main.cpp:210:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 210 | snd_menu[0] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("menu1w.dat"), "rb"),1); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:212:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 212 | error_msg("Unable to load sounds!\n%s", Mix_GetError()); | ^ src/main.cpp:214:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 214 | snd_menu[1] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("menu2w.dat"), "rb"),1); | ^ src/main.cpp:214:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 214 | snd_menu[1] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("menu2w.dat"), "rb"),1); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:216:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 216 | error_msg("Unable to load sounds!\n%s", Mix_GetError()); | ^ src/main.cpp:218:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 218 | snd_menu[2] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("keypress.dat"), "rb"),1); | ^ src/main.cpp:218:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 218 | snd_menu[2] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("keypress.dat"), "rb"),1); | ^ ./include/init.h:47:31: note: expanded from macro 'DAT' 47 | #define DAT(x) (add_prefix(x, DATA_DIR)) | ^ :3:18: note: expanded from macro 'DATA_DIR' 3 | #define DATA_DIR "/usr/local/share/formido" | ^ src/main.cpp:220:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 220 | error_msg("Unable to load sounds!\n%s", Mix_GetError()); | ^ src/main.cpp:363:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 363 | save_config(CONFIG("formido.cfg"), &config); | ^ src/main.cpp:363:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 363 | save_config(CONFIG("formido.cfg"), &config); | ^ ./include/init.h:49:39: note: expanded from macro 'CONFIG' 49 | #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) | ^ :5:20: note: expanded from macro 'CONFIG_DIR' 5 | #define CONFIG_DIR "/.formido" | ^ 47 warnings generated. c++ obj/blend.o obj/credits.o obj/explo.o obj/hof.o obj/menu.o obj/player.o obj/bomb.o obj/critter.o obj/font.o obj/init.o obj/mymath.o obj/powerup.o obj/config.o obj/effect.o obj/game.o obj/main.o obj/particle.o obj/timer.o -O2 -ffast-math -fomit-frame-pointer -o formido `/usr/local/bin/sdl-config --libs` -lm -lSDL_mixer -lSDL_image =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for formido-1.0.1_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/formido/work/formido-1.0.1/formido /wrkdirs/usr/ports/games/formido/work/stage/usr/local/bin/ cd /wrkdirs/usr/ports/games/formido/work/formido-1.0.1/data && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /wrkdirs/usr/ports/games/formido/work/stage/usr/local/share/formido/ install -m 0644 /wrkdirs/usr/ports/games/formido/work/formido-1.0.1/formido.cfg /wrkdirs/usr/ports/games/formido/work/stage/usr/local/share/formido/ /bin/mkdir -p /wrkdirs/usr/ports/games/formido/work/stage/usr/local/share/doc/formido install -m 0644 /wrkdirs/usr/ports/games/formido/work/formido-1.0.1/README /wrkdirs/usr/ports/games/formido/work/stage/usr/local/share/doc/formido/ ====> 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-01-25T08:46:55+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' '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 formido-1.0.1_2 ===> Building formido-1.0.1_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for formido-1.0.1_2 build of games/formido | formido-1.0.1_2 ended at Sun Jan 25 03:47:03 EST 2026 build time: 00:00:10