=> Building games/formido build started at Tue Oct 4 23:19:08 PDT 2016 port directory: /usr/ports/games/formido building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: amdmi3@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../06//usr/ports/games/formido/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=formido-1.0.1_2 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/wrkdirs/games/formido XDG_CONFIG_HOME=/wrkdirs/games/formido HOME=/wrkdirs/games/formido TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/games/formido XDG_CONFIG_HOME=/wrkdirs/games/formido HOME=/wrkdirs/games/formido TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " 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--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> License GPLv2+ accepted by the user =========================================================================== =================================================== ===> formido-1.0.1_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> formido-1.0.1_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of formido-1.0.1_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by formido-1.0.1_2 for building =========================================================================== =================================================== ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by formido-1.0.1_2 for building => SHA256 Checksum OK for formido-1.0.1.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2+ accepted by the user ===> 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. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for formido-1.0.1_2 ===> Applying ports patches for 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_7,2.txz Installing sdl-1.2.15_7,2... `-- Installing libXrender-0.9.9... | `-- Installing xproto-7.0.28... | `-- Extracting xproto-7.0.28: .......... done | `-- Installing renderproto-0.11.1... | `-- Extracting renderproto-0.11.1: .... done | `-- Installing libX11-1.6.3,1... | | `-- Installing kbproto-1.0.7... | | `-- Extracting kbproto-1.0.7: .......... done | | `-- Installing libXdmcp-1.1.2... | | `-- Extracting libXdmcp-1.1.2: ......... done | | `-- Installing libxcb-1.11.1... | | `-- Installing libxml2-2.9.4... | | `-- Extracting libxml2-2.9.4: .......... done | | `-- Installing libpthread-stubs-0.3_6... | | `-- Extracting libpthread-stubs-0.3_6: ..... done | | `-- Installing libXau-1.0.8_3... | | `-- Extracting libXau-1.0.8_3: .......... done | | `-- Extracting libxcb-1.11.1: .......... done | `-- Extracting libX11-1.6.3,1: .......... done `-- Extracting libXrender-0.9.9: .......... done `-- Installing libXrandr-1.5.0... | `-- Installing randrproto-1.5.0... | `-- Extracting randrproto-1.5.0: .... done | `-- Installing libXext-1.3.3_1,1... | | `-- Installing xextproto-7.3.0... | | `-- Extracting xextproto-7.3.0: .......... done | `-- Extracting libXext-1.3.3_1,1: .......... done `-- Extracting libXrandr-1.5.0: .......... done `-- Installing libGLU-9.0.0_2... | `-- Installing libGL-11.2.2... | | `-- Installing expat-2.2.0... | | `-- Extracting expat-2.2.0: .......... done | | `-- Installing dri2proto-2.8... | | `-- Extracting dri2proto-2.8: .... done | | `-- Installing libXdamage-1.1.4_3... | | `-- Installing libXfixes-5.0.1_3... | | | `-- Installing fixesproto-5.0... | | | `-- Extracting fixesproto-5.0: .... done | | `-- Extracting libXfixes-5.0.1_3: .......... done | | `-- Installing damageproto-1.2.1... | | `-- Extracting damageproto-1.2.1: .... done | | `-- Extracting libXdamage-1.1.4_3: ...... done | | `-- Installing libdevq-0.0.2_1... | | `-- Extracting libdevq-0.0.2_1: ....... done | | `-- Installing libXxf86vm-1.1.4_1... | | `-- Installing xf86vidmodeproto-2.3.1... | | `-- Extracting xf86vidmodeproto-2.3.1: .... done | | `-- Extracting libXxf86vm-1.1.4_1: .......... done | | `-- Installing libdrm-2.4.66,1... | | `-- Installing libpciaccess-0.13.4... | | | `-- Installing pciids-20160621... | | | `-- Extracting pciids-20160621: ..... done | | `-- Extracting libpciaccess-0.13.4: ...... done | | `-- Extracting libdrm-2.4.66,1: .......... done | | `-- Installing libelf-0.8.13_1... | | `-- Installing gettext-runtime-0.19.8.1... | | | `-- Installing indexinfo-0.2.5... | | | `-- Extracting indexinfo-0.2.5: .... done | | `-- Extracting gettext-runtime-0.19.8.1: .......... done | | `-- Extracting libelf-0.8.13_1: .......... done | | `-- Installing libxshmfence-1.2... | | `-- Extracting libxshmfence-1.2: ......... done | | `-- Installing libglapi-11.2.2... | | `-- Installing libXvMC-1.0.9... | | | `-- Installing libXv-1.0.10_3,1... | | | `-- Installing videoproto-2.3.2... | | | `-- Extracting videoproto-2.3.2: ...... done | | | `-- Extracting libXv-1.0.10_3,1: .......... done | | `-- Extracting libXvMC-1.0.9: .......... done | | `-- Extracting libglapi-11.2.2: ... done | `-- Extracting libGL-11.2.2: .......... done `-- Extracting libGLU-9.0.0_2: ...... done `-- Installing aalib-1.4.r5_11... | `-- Installing ncurses-6.0_5... | `-- Extracting ncurses-6.0_5: .......... done `-- Extracting aalib-1.4.r5_11: .......... done Extracting sdl-1.2.15_7,2: .......... done Message from ncurses-6.0_5: ===> NOTICE: The ncurses 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Message from aalib-1.4.r5_11: ===> 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Message from sdl-1.2.15_7,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 executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... Extracting gmake-4.2.1_1: .......... done ===> formido-1.0.1_2 depends on executable: gmake - found ===> 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) ===> formido-1.0.1_2 depends on shared library: libSDL_mixer.so - not found ===> Installing existing package /packages/All/sdl_mixer-1.2.12_12.txz Installing sdl_mixer-1.2.12_12... `-- Installing flac-1.3.1_2... | `-- Installing libogg-1.3.2_1,4... | `-- Extracting libogg-1.3.2_1,4: .......... done `-- Extracting flac-1.3.1_2: .......... done `-- Installing libmikmod-3.3.8... `-- Extracting libmikmod-3.3.8: .......... done `-- Installing smpeg-0.4.4_14... `-- Extracting smpeg-0.4.4_14: .......... done `-- Installing libvorbis-1.3.5,3... `-- Extracting libvorbis-1.3.5,3: .......... done `-- Installing timidity-0.2i_1... `-- Extracting timidity-0.2i_1: .......... done Extracting sdl_mixer-1.2.12_12: ......... 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> 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_image.so - not found ===> Installing existing package /packages/All/sdl_image-1.2.12_9.txz Installing sdl_image-1.2.12_9... `-- Installing jpeg-turbo-1.4.2... `-- Extracting jpeg-turbo-1.4.2: .......... done `-- Installing png-1.6.23... `-- Extracting png-1.6.23: .......... done `-- Installing webp-0.5.0... | `-- Installing giflib-5.1.3... | `-- Extracting giflib-5.1.3: .......... done | `-- Installing tiff-4.0.6_2... | | `-- Installing jbigkit-2.1_1... | | `-- Extracting jbigkit-2.1_1: .......... done | `-- Extracting tiff-4.0.6_2: .......... done `-- Extracting webp-0.5.0: .......... done Extracting sdl_image-1.2.12_9: .......... 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 =========================================================================== =================================================== ===> Configuring for formido-1.0.1_2 =========================================================================== =================================================== ===> Building for formido-1.0.1_2 gmake[1]: Entering directory '/wrkdirs/games/formido/formido-1.0.1' c++ -o obj/blend.o -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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 src/credits.cpp: In function 'void show_credits()': src/credits.cpp:118:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to create distortion surface!\n"); ^ src/credits.cpp:121:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to create distortion surface!\n"); ^ In file included from src/credits.cpp:31:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/credits.cpp:134:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("credits.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/credits.cpp:134:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("credits.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/credits.cpp:136:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("credits_8bit.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/credits.cpp:136:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("credits_8bit.dat")); ^ src/credits.cpp:138:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load background!\n%s", IMG_GetError()); ^ src/credits.cpp:143:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load credits background!\n%s", IMG_GetError()); ^ src/credits.cpp:151:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to create credits font surface!\n"); ^ src/credits.cpp:154:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to create credits font surface!\n"); ^ src/credits.cpp:161:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] add_credits("FORMIDO", "credits", pos); pos+=256; ^ src/credits.cpp:161:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] src/credits.cpp:162:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] add_credits("GAME DESIGN", "mika halttunen", pos); pos+=128; ^ src/credits.cpp:162:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] src/credits.cpp:163:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] add_credits("MUSIC", "josh schroeder", pos); pos+=128; ^ src/credits.cpp:163:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] src/credits.cpp:164:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] add_credits("PROGRAMMING", "mika halttunen", pos); pos+=128; ^ src/credits.cpp:164:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] src/credits.cpp:165:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] add_credits("ARTWORK", "mika halttunen", pos); pos+=256; ^ src/credits.cpp:165:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] src/credits.cpp:166:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] add_credits("world wide web", "mhgames.cjb.net", pos); pos+=128; ^ src/credits.cpp:166:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] src/credits.cpp:167:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] add_credits("(null)", "THANKS FOR PLAYING", pos); ^ src/credits.cpp:167:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] In file included from src/credits.cpp:31:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/credits.cpp:172:23: note: in expansion of macro 'DAT' music = Mix_LoadMUS(DAT("music_credits.ogg")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/credits.cpp:172:23: note: in expansion of macro 'DAT' music = Mix_LoadMUS(DAT("music_credits.ogg")); ^ src/credits.cpp: In function 'void add_credits(char*, char*, float)': src/credits.cpp:276:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("add_credits: Too many messages!\n"); ^ src/hof.cpp: In member function 'void HISCORE_LIST::save(char*)': src/hof.cpp:359:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Oh crap! Can't save the highscores to %s!", file); ^ In file included from src/explo.cpp:31:0: src/explo.cpp: In function 'void load_explosions()': ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/explo.cpp:60:19: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/explo.cpp:62:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load explosion graphics!\n%s", IMG_GetError()); ^ src/explo.cpp:66:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load explosion graphics!\n%s", IMG_GetError()); ^ In file included from src/menu.cpp:34:0: src/menu.cpp: In function 'void load_menus()': ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:71:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:71:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:73:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu_8bit.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:73:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu_8bit.dat")); ^ src/menu.cpp:75:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load menus!\n%s", IMG_GetError()); ^ src/menu.cpp:78:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load menus!\n%s", IMG_GetError()); ^ In file included from src/menu.cpp:34:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:83:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu2.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:83:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu2.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:85:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu2_8bit.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:85:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu2_8bit.dat")); ^ src/menu.cpp:87:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load menus!\n%s", IMG_GetError()); ^ src/menu.cpp:90:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load menus!\n%s", IMG_GetError()); ^ In file included from src/menu.cpp:34:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:95:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu3.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:95:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu3.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:97:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu3_8bit.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:97:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu3_8bit.dat")); ^ src/menu.cpp:99:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load menus!\n%s", IMG_GetError()); ^ src/menu.cpp:102:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load menus!\n%s", IMG_GetError()); ^ In file included from src/menu.cpp:34:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:107:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu_arrow.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:107:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("menu_arrow.dat")); ^ src/menu.cpp:109:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load menus!\n%s", IMG_GetError()); ^ src/menu.cpp:112:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load menus!\n%s", IMG_GetError()); ^ src/menu.cpp: In function 'char* key_name(int)': src/menu.cpp:153:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return "PRESS A KEY"; // This is displayed when we're setting ^ In file included from src/menu.cpp:34:0: src/menu.cpp: In function 'int show_menu(int)': ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:165:23: note: in expansion of macro 'DAT' music = Mix_LoadMUS(DAT("music_menu.ogg")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/menu.cpp:165:23: note: in expansion of macro 'DAT' music = Mix_LoadMUS(DAT("music_menu.ogg")); ^ ./include/init.h:48:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define HISCORE(x) (add_home_prefix(x, HISCORE_DIR)) ^ src/menu.cpp:172:12: note: in expansion of macro 'HISCORE' list.load(HISCORE("hiscore.dat")); ^ ./include/init.h:48:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define HISCORE(x) (add_home_prefix(x, HISCORE_DIR)) ^ src/menu.cpp:172:12: note: in expansion of macro 'HISCORE' list.load(HISCORE("hiscore.dat")); ^ ./include/init.h:49:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) ^ src/menu.cpp:265:18: note: in expansion of macro 'CONFIG' load_config(CONFIG("formido.cfg"), &config); ^ ./include/init.h:49:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) ^ src/menu.cpp:265:18: note: in expansion of macro 'CONFIG' load_config(CONFIG("formido.cfg"), &config); ^ ./include/init.h:49:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) ^ src/menu.cpp:308:19: note: in expansion of macro 'CONFIG' save_config(CONFIG("formido.cfg"), &config); ^ ./include/init.h:49:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) ^ src/menu.cpp:308:19: note: in expansion of macro 'CONFIG' save_config(CONFIG("formido.cfg"), &config); ^ c++ -o obj/player.o -pipe -O2 -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 In file included from src/player.cpp:31:0: src/player.cpp: In function 'void load_player_gfx()': ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:92:19: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/player.cpp:94:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); ^ src/player.cpp:97:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to player sprite!\n%s", SDL_GetError()); ^ src/player.cpp:101:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); ^ In file included from src/player.cpp:31:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:115:19: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/player.cpp:117:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); ^ src/player.cpp:120:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to player sprite!\n%s", SDL_GetError()); ^ src/player.cpp:124:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); ^ In file included from src/player.cpp:31:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:137:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/player.cpp:139:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); ^ src/player.cpp:142:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to player sprite!\n%s", SDL_GetError()); ^ src/player.cpp:146:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); ^ In file included from src/player.cpp:31:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:153:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("gunflame1.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:153:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("gunflame1.dat")); ^ src/player.cpp:155:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load gun flame sprites!\n%s", IMG_GetError()); ^ src/player.cpp:158:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load gun flame sprites!\n%s", IMG_GetError()); ^ In file included from src/player.cpp:31:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:161:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("gunflame2.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:161:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("gunflame2.dat")); ^ src/player.cpp:163:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load gun flame sprites!\n%s", IMG_GetError()); ^ src/player.cpp:166:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load gun flame sprites!\n%s", IMG_GetError()); ^ In file included from src/player.cpp:31:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:170:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("energy_bar1.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:170:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("energy_bar1.dat")); ^ src/player.cpp:172:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load energy bar!\n%s", IMG_GetError()); ^ src/player.cpp:174:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to energy bar!\n%s", SDL_GetError()); ^ src/player.cpp:177:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load energy bar!\n%s", IMG_GetError()); ^ In file included from src/player.cpp:31:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:180:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("energy_bar2.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:180:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("energy_bar2.dat")); ^ src/player.cpp:182:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load energy bar!\n%s", IMG_GetError()); ^ src/player.cpp:184:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to energy bar!\n%s", SDL_GetError()); ^ src/player.cpp:187:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load energy bar!\n%s", IMG_GetError()); ^ In file included from src/player.cpp:31:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:191:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("wpn_bar1.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:191:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("wpn_bar1.dat")); ^ src/player.cpp:193:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load weapon bar!\n%s", IMG_GetError()); ^ src/player.cpp:195:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to weapon bar!\n%s", SDL_GetError()); ^ src/player.cpp:198:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load weapon bar!\n%s", IMG_GetError()); ^ In file included from src/player.cpp:31:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:201:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("wpn_bar2.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:201:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("wpn_bar2.dat")); ^ src/player.cpp:203:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load weapon bar!\n%s", IMG_GetError()); ^ src/player.cpp:205:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to weapon bar!\n%s", SDL_GetError()); ^ src/player.cpp:208:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load weapon bar!\n%s", IMG_GetError()); ^ In file included from src/player.cpp:31:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/player.cpp:218:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/player.cpp:220:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); ^ src/player.cpp:224:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load player graphics from %s!\n%s", file, IMG_GetError()); ^ c++ -o obj/bomb.o -pipe -O2 -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 -pipe -O2 -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 In file included from src/bomb.cpp:36:0: src/bomb.cpp: In function 'void load_bombs()': ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/bomb.cpp:167:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/bomb.cpp:169:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); ^ src/bomb.cpp:172:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to bomb sprite!\n%s", SDL_GetError()); ^ src/bomb.cpp:176:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); ^ In file included from src/bomb.cpp:36:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/bomb.cpp:182:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/bomb.cpp:184:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); ^ src/bomb.cpp:187:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to bomb sprite!\n%s", SDL_GetError()); ^ src/bomb.cpp:191:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); ^ In file included from src/bomb.cpp:36:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/bomb.cpp:197:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/bomb.cpp:199:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); ^ src/bomb.cpp:202:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to bomb sprite!\n%s", SDL_GetError()); ^ src/bomb.cpp:206:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); ^ In file included from src/bomb.cpp:36:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/bomb.cpp:213:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/bomb.cpp:215:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); ^ src/bomb.cpp:219:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load bomb graphics!\n%s", IMG_GetError()); ^ src/menu.cpp:402:73: warning: 'ay' may be used uninitialized in this function [-Wmaybe-uninitialized] add_blit8(menu_arrow, screen, ax, ay, (0.5+SIN(arrow_anim)*0.3)*255); ^ src/menu.cpp:402:73: warning: 'ax' may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from src/critter.cpp:35:0: src/critter.cpp: In function 'void load_critters()': ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/critter.cpp:74:19: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/critter.cpp:76:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load critter graphics from %s!\n%s", file, IMG_GetError()); ^ src/critter.cpp:79:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to critter sprite!\n%s", SDL_GetError()); ^ src/critter.cpp:83:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load critter graphics from %s!\n%s", file, IMG_GetError()); ^ In file included from src/critter.cpp:35:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/critter.cpp:96:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/critter.cpp:98:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load critter graphics from %s!\n%s", file, IMG_GetError()); ^ src/critter.cpp:101:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to critter sprite!\n%s", SDL_GetError()); ^ src/critter.cpp:105:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load critter graphics from %s!\n%s", file, IMG_GetError()); ^ In file included from src/critter.cpp:35:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/critter.cpp:117:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/critter.cpp:119:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load critter graphics from %s!\n%s", file, IMG_GetError()); ^ src/critter.cpp:123:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load critter graphics from %s!\n%s", file, IMG_GetError()); ^ src/critter.cpp: In function 'CRITTER* add_critter(float, float, float)': src/critter.cpp:158:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("add_critter():\nUnable to add a new critter!\n"); ^ src/critter.cpp: In function 'GIB* add_gib(float, float, float, int)': src/critter.cpp:520:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("add_gib():\nUnable to add a new gib!\n"); ^ c++ -o obj/font.o -pipe -O2 -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 -pipe -O2 -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 src/font.cpp: In function 'void font_write(SDL_Surface*, int, int, int, char*)': src/font.cpp:53:40: warning: array subscript has type 'char' [-Wchar-subscripts] SDL_BlitSurface(fnt_char[font][str[c]], NULL, bmp, &r); ^ In file included from src/font.cpp:29:0: src/font.cpp: In function 'void load_fonts()': ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/font.cpp:80:19: note: in expansion of macro 'DAT' tmp2 = IMG_Load(DAT(file)); ^ src/font.cpp:82:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load fonts!\n%s", IMG_GetError()); ^ src/font.cpp:87:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load fonts!\n%s", IMG_GetError()); ^ src/font.cpp:99:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to create font surfaces!\n%s", SDL_GetError()); ^ src/font.cpp:102:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set font color keys!\n%s", SDL_GetError()); ^ In file included from src/init.cpp:37:0: src/init.cpp: In function 'void init_sdl()': ./include/init.h:49:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) ^ src/init.cpp:84:14: note: in expansion of macro 'CONFIG' load_config(CONFIG("formido.cfg"), &config); ^ ./include/init.h:49:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) ^ src/init.cpp:84:14: note: in expansion of macro 'CONFIG' load_config(CONFIG("formido.cfg"), &config); ^ src/init.cpp:89:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to init SDL: %s", SDL_GetError()); ^ src/init.cpp:93:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to init SDL: %s", SDL_GetError()); ^ src/init.cpp:119:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to open audio!\n%s", Mix_GetError()); ^ src/init.cpp:130:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set video mode 640x480 %dbpp!\n%s", config.vid_color_depth, SDL_GetError()); ^ In file included from src/init.cpp:37:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/init.cpp:134:31: note: in expansion of macro 'DAT' SDL_Surface *pal = IMG_Load(DAT("palette.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/init.cpp:134:31: note: in expansion of macro 'DAT' SDL_Surface *pal = IMG_Load(DAT("palette.dat")); ^ src/init.cpp:136:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load palette!\n%s", IMG_GetError()); ^ src/init.cpp: In function 'char* add_prefix(char*, char*)': src/init.cpp:154:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return ("null"); // Not enough memory ^ src/init.cpp: In function 'char* add_home_prefix(char*, char*)': src/init.cpp:168:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return ("null"); // Not enough memory ^ c++ -o obj/mymath.o -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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 In file included from src/config.cpp:28:0: src/config.cpp: In function 'void load_config(char*, CONFIG*)': ./include/init.h:50:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DEFCONFIG(x) (add_prefix(x, DEFCONFIG_DIR)) ^ src/config.cpp:37:13: note: in expansion of macro 'DEFCONFIG' f = fopen(DEFCONFIG("formido.cfg"), "rt"); ^ ./include/init.h:50:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DEFCONFIG(x) (add_prefix(x, DEFCONFIG_DIR)) ^ src/config.cpp:37:13: note: in expansion of macro 'DEFCONFIG' f = fopen(DEFCONFIG("formido.cfg"), "rt"); ^ src/config.cpp:40:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load config file: %s!", file); ^ src/config.cpp: In function 'void save_config(char*, CONFIG*)': src/config.cpp:71:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to save config file: %s!", file); ^ c++ -o obj/effect.o -pipe -O2 -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 -pipe -O2 -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 -pipe -O2 -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 In file included from src/powerup.cpp:32:0: src/powerup.cpp: In function 'void load_power_ups()': ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/powerup.cpp:117:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/powerup.cpp:119:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load power-up graphics!\n%s", IMG_GetError()); ^ src/powerup.cpp:122:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to power-up sprite!\n%s", SDL_GetError()); ^ src/powerup.cpp:126:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load power-up graphics!\n%s", SDL_GetError()); ^ In file included from src/powerup.cpp:32:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/powerup.cpp:138:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/powerup.cpp:140:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load power-up graphics!\n%s", IMG_GetError()); ^ src/powerup.cpp:143:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to power-up sprite!\n%s", SDL_GetError()); ^ src/powerup.cpp:147:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load power-up graphics!\n%s", SDL_GetError()); ^ In file included from src/powerup.cpp:32:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/powerup.cpp:159:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/powerup.cpp:161:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load power-up graphics!\n%s", IMG_GetError()); ^ src/powerup.cpp:164:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to power-up sprite!\n%s", SDL_GetError()); ^ src/powerup.cpp:168:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load power-up graphics!\n%s", SDL_GetError()); ^ In file included from src/powerup.cpp:32:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/powerup.cpp:180:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT(file)); ^ src/powerup.cpp:182:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load power-up graphics!\n%s", IMG_GetError()); ^ src/powerup.cpp:185:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set color key to power-up sprite!\n%s", SDL_GetError()); ^ src/powerup.cpp:189:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load power-up graphics!\n%s", SDL_GetError()); ^ In file included from src/powerup.cpp:32:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/powerup.cpp:196:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("glow.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/powerup.cpp:196:17: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("glow.dat")); ^ src/powerup.cpp:198:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load power-up glow!\n%s", IMG_GetError()); ^ src/powerup.cpp:201:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load power-up glow!\n%s", SDL_GetError()); ^ In file included from src/game.cpp:33:0: src/game.cpp: In function 'void load_bgrounds()': ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/game.cpp:81:19: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("ground.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/game.cpp:81:19: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("ground.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/game.cpp:83:19: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("ground_8bit.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/game.cpp:83:19: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("ground_8bit.dat")); ^ src/game.cpp:85:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load background!\n%s", IMG_GetError()); ^ src/game.cpp:90:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load background!\n%s", IMG_GetError()); ^ src/game.cpp:98:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load background!\n%s", SDL_GetError()); ^ src/game.cpp:102:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load background!\n%s", SDL_GetError()); ^ In file included from src/game.cpp:33:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/game.cpp:111:22: note: in expansion of macro 'DAT' col_map = IMG_Load(DAT("collisionmap.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/game.cpp:111:22: note: in expansion of macro 'DAT' col_map = IMG_Load(DAT("collisionmap.dat")); ^ src/game.cpp:113:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load collision map!"); ^ In file included from src/game.cpp:33:0: src/game.cpp: In function 'void take_screenshot()': ./include/init.h:49:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) ^ src/game.cpp:181:18: note: in expansion of macro 'CONFIG' FILE *f = fopen(CONFIG(file), "r"); ^ In file included from /usr/local/include/SDL/SDL_mouse.h:32:0, from /usr/local/include/SDL/SDL_events.h:35, from /usr/local/include/SDL/SDL.h:37, from src/game.cpp:28: ./include/init.h:49:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) ^ /usr/local/include/SDL/SDL_video.h:604:42: note: in definition of macro 'SDL_SaveBMP' SDL_SaveBMP_RW(surface, SDL_RWFromFile(file, "wb"), 1) ^ src/game.cpp:184:23: note: in expansion of macro 'CONFIG' SDL_SaveBMP(screen, CONFIG(file)); ^ In file included from src/game.cpp:33:0: ./include/init.h:49:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) ^ src/game.cpp:196:14: note: in expansion of macro 'CONFIG' f = fopen(CONFIG(file), "r"); ^ In file included from /usr/local/include/SDL/SDL_mouse.h:32:0, from /usr/local/include/SDL/SDL_events.h:35, from /usr/local/include/SDL/SDL.h:37, from src/game.cpp:28: ./include/init.h:49:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) ^ /usr/local/include/SDL/SDL_video.h:604:42: note: in definition of macro 'SDL_SaveBMP' SDL_SaveBMP_RW(surface, SDL_RWFromFile(file, "wb"), 1) ^ src/game.cpp:199:25: note: in expansion of macro 'CONFIG' SDL_SaveBMP(screen, CONFIG(file)); ^ In file included from src/game.cpp:33:0: src/game.cpp: In function 'void start_game()': ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/game.cpp:392:25: note: in expansion of macro 'DAT' strcpy(music_files[0], DAT("music1.ogg")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/game.cpp:392:25: note: in expansion of macro 'DAT' strcpy(music_files[0], DAT("music1.ogg")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/game.cpp:393:25: note: in expansion of macro 'DAT' strcpy(music_files[1], DAT("music2.ogg")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/game.cpp:393:25: note: in expansion of macro 'DAT' strcpy(music_files[1], DAT("music2.ogg")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/game.cpp:394:25: note: in expansion of macro 'DAT' strcpy(music_files[2], DAT("music3.ogg")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/game.cpp:394:25: note: in expansion of macro 'DAT' strcpy(music_files[2], DAT("music3.ogg")); ^ src/game.cpp:416:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to create distortion surface!\n"); ^ src/game.cpp:419:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to create distortion surface!\n"); ^ src/game.cpp:451:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to create the pause surface!\n"); ^ src/game.cpp:456:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to create the pause surface!\n"); ^ src/game.cpp:499:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_write(screen, FONT_BOLD, SCREEN_W/2-font_length(FONT_BOLD, "PAUSED")/2, SCREEN_H/2+90, "PAUSED"); ^ src/game.cpp:499:106: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_write(screen, FONT_BOLD, SCREEN_W/2-font_length(FONT_BOLD, "PAUSED")/2, SCREEN_H/2+90, "PAUSED"); ^ In file included from src/game.cpp:33:0: ./include/init.h:48:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define HISCORE(x) (add_home_prefix(x, HISCORE_DIR)) ^ src/game.cpp:630:12: note: in expansion of macro 'HISCORE' list.load(HISCORE("hiscore.dat")); ^ ./include/init.h:48:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define HISCORE(x) (add_home_prefix(x, HISCORE_DIR)) ^ src/game.cpp:630:12: note: in expansion of macro 'HISCORE' list.load(HISCORE("hiscore.dat")); ^ src/game.cpp:631:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] int place = list.add("", kills); ^ In file included from src/game.cpp:33:0: ./include/init.h:48:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define HISCORE(x) (add_home_prefix(x, HISCORE_DIR)) ^ src/game.cpp:635:13: note: in expansion of macro 'HISCORE' list.save(HISCORE("hiscore.dat")); ^ ./include/init.h:48:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define HISCORE(x) (add_home_prefix(x, HISCORE_DIR)) ^ src/game.cpp:635:13: note: in expansion of macro 'HISCORE' list.save(HISCORE("hiscore.dat")); ^ c++ -o obj/particle.o -pipe -O2 -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 src/main.cpp: In member function 'void PROGRESS_BAR::update(float)': src/main.cpp:77:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_write(screen, FONT_BOLD, SCREEN_W/2-font_length(FONT_BOLD, "Loading")/2, SCREEN_H-60, "Loading"); ^ src/main.cpp:77:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_write(screen, FONT_BOLD, SCREEN_W/2-font_length(FONT_BOLD, "Loading")/2, SCREEN_H-60, "Loading"); ^ src/main.cpp:78:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_write(screen, FONT_NORMAL, SCREEN_W/2-20, SCREEN_H-35, GAME_VERSION); ^ In file included from src/main.cpp:29:0: src/main.cpp: In member function 'void PROGRESS_BAR::load()': ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:101:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("progress1.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:101:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("progress1.dat")); ^ src/main.cpp:103:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load progress bar!\n%s", IMG_GetError()); ^ src/main.cpp:106:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load progress bar!\n%s", IMG_GetError()); ^ In file included from src/main.cpp:29:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:109:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("progress2.dat")); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:109:18: note: in expansion of macro 'DAT' tmp = IMG_Load(DAT("progress2.dat")); ^ src/main.cpp:111:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load progress bar!\n%s", IMG_GetError()); ^ src/main.cpp:114:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load progress bar!\n%s", IMG_GetError()); ^ In file included from src/main.cpp:29:0: src/main.cpp: In function 'void load_sounds()': ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:140:46: note: in expansion of macro 'DAT' snd_hit[f] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT(file), "rb"),1); ^ src/main.cpp:142:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load sounds!\n%s", Mix_GetError()); ^ In file included from src/main.cpp:29:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:150:49: note: in expansion of macro 'DAT' snd_bullet[f] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT(file), "rb"),1); ^ src/main.cpp:152:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load sounds!\n%s", Mix_GetError()); ^ In file included from src/main.cpp:29:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:160:46: note: in expansion of macro 'DAT' snd_die[f] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT(file), "rb"),1); ^ src/main.cpp:162:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load sounds!\n%s", Mix_GetError()); ^ In file included from src/main.cpp:29:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:170:47: note: in expansion of macro 'DAT' snd_cdie[f] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT(file), "rb"),1); ^ src/main.cpp:172:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load sounds!\n%s", Mix_GetError()); ^ In file included from src/main.cpp:29:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:180:48: note: in expansion of macro 'DAT' snd_explo[f] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT(file), "rb"),1); ^ src/main.cpp:182:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load sounds!\n%s", Mix_GetError()); ^ In file included from src/main.cpp:29:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:186:44: note: in expansion of macro 'DAT' snd_shoot = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("shooting.dat"), "rb"),1); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:186:44: note: in expansion of macro 'DAT' snd_shoot = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("shooting.dat"), "rb"),1); ^ src/main.cpp:188:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load sounds!\n%s", Mix_GetError()); ^ In file included from src/main.cpp:29:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:190:44: note: in expansion of macro 'DAT' snd_throw = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("throw.dat"), "rb"),1); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:190:44: note: in expansion of macro 'DAT' snd_throw = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("throw.dat"), "rb"),1); ^ src/main.cpp:192:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load sounds!\n%s", Mix_GetError()); ^ In file included from src/main.cpp:29:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:195:50: note: in expansion of macro 'DAT' snd_glass_break = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("glass_break.dat"), "rb"),1); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:195:50: note: in expansion of macro 'DAT' snd_glass_break = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("glass_break.dat"), "rb"),1); ^ src/main.cpp:197:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load sounds!\n%s", Mix_GetError()); ^ In file included from src/main.cpp:29:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:200:47: note: in expansion of macro 'DAT' snd_power_up = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("power_up.dat"), "rb"),1); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:200:47: note: in expansion of macro 'DAT' snd_power_up = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("power_up.dat"), "rb"),1); ^ src/main.cpp:202:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load sounds!\n%s", Mix_GetError()); ^ In file included from src/main.cpp:29:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:205:47: note: in expansion of macro 'DAT' snd_mushroom = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("mushroom.dat"), "rb"),1); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:205:47: note: in expansion of macro 'DAT' snd_mushroom = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("mushroom.dat"), "rb"),1); ^ src/main.cpp:207:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load sounds!\n%s", Mix_GetError()); ^ In file included from src/main.cpp:29:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:210:46: note: in expansion of macro 'DAT' snd_menu[0] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("menu1w.dat"), "rb"),1); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:210:46: note: in expansion of macro 'DAT' snd_menu[0] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("menu1w.dat"), "rb"),1); ^ src/main.cpp:212:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load sounds!\n%s", Mix_GetError()); ^ In file included from src/main.cpp:29:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:214:46: note: in expansion of macro 'DAT' snd_menu[1] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("menu2w.dat"), "rb"),1); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:214:46: note: in expansion of macro 'DAT' snd_menu[1] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("menu2w.dat"), "rb"),1); ^ src/main.cpp:216:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load sounds!\n%s", Mix_GetError()); ^ In file included from src/main.cpp:29:0: ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:218:46: note: in expansion of macro 'DAT' snd_menu[2] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("keypress.dat"), "rb"),1); ^ ./include/init.h:47:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define DAT(x) (add_prefix(x, DATA_DIR)) ^ src/main.cpp:218:46: note: in expansion of macro 'DAT' snd_menu[2] = Mix_LoadWAV_RW(SDL_RWFromFile(DAT("keypress.dat"), "rb"),1); ^ src/main.cpp:220:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load sounds!\n%s", Mix_GetError()); ^ In file included from src/main.cpp:29:0: src/main.cpp: In function 'int main(int, char**)': ./include/init.h:49:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) ^ src/main.cpp:363:14: note: in expansion of macro 'CONFIG' save_config(CONFIG("formido.cfg"), &config); ^ ./include/init.h:49:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CONFIG(x) (add_home_prefix(x, CONFIG_DIR)) ^ src/main.cpp:363:14: note: in expansion of macro 'CONFIG' save_config(CONFIG("formido.cfg"), &config); ^ src/powerup.cpp: In member function 'void POWER_UP::draw(SDL_Surface*)': src/powerup.cpp:307:41: warning: 'fram' may be used uninitialized in this function [-Wmaybe-uninitialized] SDL_BlitSurface(fram, NULL, bmp, &rect); ^ c++ -o obj/timer.o -pipe -O2 -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/timer.cpp: In function 'void start_timer(int)': src/timer.cpp:57:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_msg("Error setting timer!\n%s", SDL_GetError()); ^ 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 gmake[1]: Leaving directory '/wrkdirs/games/formido/formido-1.0.1' =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for formido-1.0.1_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/games/formido/formido-1.0.1/formido /wrkdirs/games/formido/stage/usr/local/bin/ cd /wrkdirs/games/formido/formido-1.0.1/data && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null 2>&1) && /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; && /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- . /wrkdirs/games/formido/stage/usr/local/share/formido/ install -m 0644 /wrkdirs/games/formido/formido-1.0.1/formido.cfg /wrkdirs/games/formido/stage/usr/local/share/formido/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for formido-1.0.1_2 file sizes/checksums [518]: ...... done packing files [518]: ...... done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for formido-1.0.1_2 build of games/formido ended at Tue Oct 4 23:19:46 PDT 2016 build time: 00:00:38