=> Building games/formido Started : Thursday, 19 APR 2018 at 14:47:39 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/construction/games/formido XDG_CONFIG_HOME=/construction/games/formido HOME=/construction/games/formido TMPDIR="/tmp" PATH=/construction/games/formido/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/formido XDG_CONFIG_HOME=/construction/games/formido HOME=/construction/games/formido TMPDIR="/tmp" PATH=/construction/games/formido/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- CC="c++" DATDIR="/usr/local/share/formido" DEFCONFIGDIR="/usr/local/share/formido" DESTDIR=/construction/games/formido/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/formido" EXAMPLESDIR="share/examples/formido" DATADIR="share/formido" WWWDIR="www/formido" ETCDIR="etc/formido" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2+ accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> formido-1.0.1_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> formido-1.0.1_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of formido-1.0.1_2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by formido-1.0.1_2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for formido-1.0.1_2 ===> Applying ports patches for formido-1.0.1_2 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> formido-1.0.1_2 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_10,2.txz Installing sdl-1.2.15_10,2... `-- Installing aalib-1.4.r5_11... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done | `-- Installing ncurses-6.0.0s20171223_1... | `-- Extracting ncurses-6.0.0s20171223_1: .......... done `-- Extracting aalib-1.4.r5_11: .......... done `-- Installing libGLU-9.0.0_3... | `-- Installing mesa-libs-17.3.1... | | `-- Installing expat-2.2.5... | | `-- Extracting expat-2.2.5: .......... done | | `-- Installing libX11-1.6.5,1... | | `-- Installing kbproto-1.0.7... | | `-- Extracting kbproto-1.0.7: .......... done | | `-- Installing libXau-1.0.8_3... | | | `-- Installing xproto-7.0.31... | | | `-- Extracting xproto-7.0.31: .......... done | | `-- Extracting libXau-1.0.8_3: .......... done | | `-- Installing libXdmcp-1.1.2... | | `-- Extracting libXdmcp-1.1.2: ......... done | | `-- Installing libxcb-1.12_2... | | | `-- Installing libpthread-stubs-0.4... | | | `-- Extracting libpthread-stubs-0.4: .... done | | | `-- Installing libxml2-2.9.7... | | | `-- Extracting libxml2-2.9.7: .......... done | | `-- Extracting libxcb-1.12_2: .......... done | | `-- Extracting libX11-1.6.5,1: .......... done | | `-- Installing libXdamage-1.1.4_3... | | `-- Installing damageproto-1.2.1... | | `-- Extracting damageproto-1.2.1: .... done | | `-- Installing libXfixes-5.0.3... | | | `-- Installing fixesproto-5.0... | | | `-- Extracting fixesproto-5.0: .... done | | `-- Extracting libXfixes-5.0.3: .......... done | | `-- Extracting libXdamage-1.1.4_3: ...... 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 | | `-- 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.89,1... | | `-- Installing libpciaccess-0.13.5... | | | `-- Installing pciids-20180219... | | | `-- Extracting pciids-20180219: ..... done | | `-- Extracting libpciaccess-0.13.5: ...... done | | `-- Extracting libdrm-2.4.89,1: .......... done | | `-- Installing libelf-0.8.13_3... | | `-- Installing gettext-runtime-0.19.8.1_1... | | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done | | `-- Extracting libelf-0.8.13_3: .......... done | | `-- Installing libxshmfence-1.2_2... | | `-- Extracting libxshmfence-1.2_2: ......... done | `-- Extracting mesa-libs-17.3.1: .......... done `-- Extracting libGLU-9.0.0_3: ...... done `-- Installing libXrandr-1.5.1... | `-- Installing libXrender-0.9.10... | | `-- Installing renderproto-0.11.1... | | `-- Extracting renderproto-0.11.1: .... done | `-- Extracting libXrender-0.9.10: .......... done | `-- Installing randrproto-1.5.0... | `-- Extracting randrproto-1.5.0: ....... done `-- Extracting libXrandr-1.5.1: .......... done Extracting sdl-1.2.15_10,2: .......... done 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_10,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_2.txz Installing gmake-4.2.1_2... Extracting gmake-4.2.1_2: .......... done ===> formido-1.0.1_2 depends on executable: gmake - found ===> Returning to build of formido-1.0.1_2 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> 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.2... | `-- Installing libogg-1.3.3,4... | `-- Extracting libogg-1.3.3,4: .......... done `-- Extracting flac-1.3.2: .......... done `-- Installing libmikmod-3.3.11.1... `-- Extracting libmikmod-3.3.11.1: .......... done `-- Installing libvorbis-1.3.6,3... `-- Extracting libvorbis-1.3.6,3: .......... done `-- Installing smpeg-0.4.4_14... `-- Extracting smpeg-0.4.4_14: .......... 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_11.txz Installing sdl_image-1.2.12_11... `-- Installing jpeg-turbo-1.5.3... `-- Extracting jpeg-turbo-1.5.3: .......... done `-- Installing png-1.6.34... `-- Extracting png-1.6.34: .......... done `-- Installing tiff-4.0.9_1... | `-- Installing jbigkit-2.1_1... | `-- Extracting jbigkit-2.1_1: .......... done `-- Extracting tiff-4.0.9_1: .......... done `-- Installing webp-0.6.1... | `-- Installing giflib-5.1.4... | `-- Extracting giflib-5.1.4: .......... done `-- Extracting webp-0.6.1: .......... done Extracting sdl_image-1.2.12_11: .......... 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 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for formido-1.0.1_2 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for formido-1.0.1_2 gmake[1]: Entering directory '/construction/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 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); ^ 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()); ^ 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); ^ 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/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/menu.cpp:402:73: warning: 'ax' may be used uninitialized in this function [-Wmaybe-uninitialized] 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"); ^ 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 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 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 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/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/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/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 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/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 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/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 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()); ^ 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 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/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/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 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()); ^ 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); ^ 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 '/construction/games/formido/formido-1.0.1' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for formido-1.0.1_2 ===> Generating temporary packing list install -s -m 555 /construction/games/formido/formido-1.0.1/formido /construction/games/formido/stage/usr/local/bin/ cd /construction/games/formido/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 . /construction/games/formido/stage/usr/local/share/formido/ install -m 0644 /construction/games/formido/formido-1.0.1/formido.cfg /construction/games/formido/stage/usr/local/share/formido/ ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for formido-1.0.1_2 file sizes/checksums [518]: ...... done packing files [518]: ...... done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 19 APR 2018 at 14:48:02 UTC Duration: 00:00:22