=> Building games/tomatoes Started : Friday, 8 MAR 2019 at 09:37:57 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-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 -------------------------------------------------- ===> The following configuration options are available for tomatoes-1.55_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/tomatoes XDG_CONFIG_HOME=/construction/games/tomatoes HOME=/construction/games/tomatoes TMPDIR="/tmp" PATH=/construction/games/tomatoes/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/tomatoes XDG_CONFIG_HOME=/construction/games/tomatoes HOME=/construction/games/tomatoes TMPDIR="/tmp" PATH=/construction/games/tomatoes/.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=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local 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++" MPKDIR="/usr/local/share/tomatoes/" MUSICDIR="/usr/local/share/tomatoes/music/" HISCOREDIR="/usr/local/share/tomatoes/" CONFIGDIR="/usr/local/share/tomatoes/" CFLAGS=" -pipe -O2 -fno-strict-aliasing `/usr/local/bin/sdl-config --cflags` -I/usr/local/include" LDFLAGS="`/usr/local/bin/sdl-config --libs` -lSDL_image -lSDL_mixer -L/usr/local/lib -lGL -lGLU" DESTDIR=/construction/games/tomatoes/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/tomatoes" EXAMPLESDIR="share/examples/tomatoes" DATADIR="share/tomatoes" WWWDIR="www/tomatoes" ETCDIR="etc/tomatoes" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/tomatoes DOCSDIR=/usr/local/share/doc/tomatoes EXAMPLESDIR=/usr/local/share/examples/tomatoes WWWDIR=/usr/local/www/tomatoes ETCDIR=/usr/local/etc/tomatoes -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE 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 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License ZLIB accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> tomatoes-1.55_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> tomatoes-1.55_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of tomatoes-1.55_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License ZLIB accepted by the user ===> Fetching all distfiles required by tomatoes-1.55_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License ZLIB accepted by the user ===> Fetching all distfiles required by tomatoes-1.55_1 for building => SHA256 Checksum OK for tomatoes-linux-src-1.55.tar.bz2. => SHA256 Checksum OK for tomatoes-linux-1.5.tar.bz2. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License ZLIB accepted by the user ===> Fetching all distfiles required by tomatoes-1.55_1 for building ===> Extracting for tomatoes-1.55_1 => SHA256 Checksum OK for tomatoes-linux-src-1.55.tar.bz2. => SHA256 Checksum OK for tomatoes-linux-1.5.tar.bz2. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for tomatoes-1.55_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> tomatoes-1.55_1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.19.8.1_2... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_2: .......... done Extracting gmake-4.2.1_3: .......... done ===> tomatoes-1.55_1 depends on executable: gmake - found ===> Returning to build of tomatoes-1.55_1 ===> tomatoes-1.55_1 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_13,2.txz Installing sdl-1.2.15_13,2... `-- Installing aalib-1.4.r5_13... | `-- Installing ncurses-6.1.20190112... | `-- Extracting ncurses-6.1.20190112: .......... done `-- Extracting aalib-1.4.r5_13: .......... done `-- Installing libGLU-9.0.0_3... | `-- Installing mesa-libs-18.3.2... | | `-- Installing expat-2.2.6_1... | | `-- Extracting expat-2.2.6_1: .......... done | | `-- Installing libX11-1.6.7,1... | | `-- Installing libXau-1.0.8_5... | | `-- Extracting libXau-1.0.8_5: .......... done | | `-- Installing libXdmcp-1.1.2_2... | | | `-- Installing xorgproto-2018.4... | | | `-- Extracting xorgproto-2018.4: .......... done | | `-- Extracting libXdmcp-1.1.2_2: ......... done | | `-- Installing libxcb-1.13.1... | | | `-- Installing libpthread-stubs-0.4... | | | `-- Extracting libpthread-stubs-0.4: .... done | | | `-- Installing libxml2-2.9.8... | | | `-- Extracting libxml2-2.9.8: .......... done | | `-- Extracting libxcb-1.13.1: .......... done | | `-- Extracting libX11-1.6.7,1: .......... done | | `-- Installing libXdamage-1.1.4_5... | | `-- Installing libXfixes-5.0.3_2... | | `-- Extracting libXfixes-5.0.3_2: .......... done | | `-- Extracting libXdamage-1.1.4_5: ......... done | | `-- Installing libXext-1.3.3_3,1... | | `-- Extracting libXext-1.3.3_3,1: .......... done | | `-- Installing libXrandr-1.5.1_2... | | `-- Installing libXrender-0.9.10_2... | | `-- Extracting libXrender-0.9.10_2: .......... done | | `-- Extracting libXrandr-1.5.1_2: .......... done | | `-- Installing libXxf86vm-1.1.4_3... | | `-- Extracting libXxf86vm-1.1.4_3: .......... done | | `-- Installing libdrm-2.4.96,1... | | `-- Installing libpciaccess-0.13.5... | | | `-- Installing pciids-20190213... | | | `-- Extracting pciids-20190213: ..... done | | `-- Extracting libpciaccess-0.13.5: ......... done | | `-- Extracting libdrm-2.4.96,1: .......... done | | `-- Installing libelf-0.8.13_3... | | `-- Extracting libelf-0.8.13_3: .......... done | | `-- Installing libxshmfence-1.2_4... | | `-- Extracting libxshmfence-1.2_4: ......... done | | `-- Installing wayland-1.16.0... | | `-- Installing libffi-3.2.1_3... | | `-- Extracting libffi-3.2.1_3: .......... done | | `-- Extracting wayland-1.16.0: .......... done | `-- Extracting mesa-libs-18.3.2: .......... done `-- Extracting libGLU-9.0.0_3: ...... done Extracting sdl-1.2.15_13,2: .......... done Message from aalib-1.4.r5_13: ===> 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_13,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". ------------------------------------------------------------------------------ ===> tomatoes-1.55_1 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of tomatoes-1.55_1 ===> tomatoes-1.55_1 depends on package: xorgproto>=0 - found ===> tomatoes-1.55_1 depends on package: xorgproto>=0 - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> tomatoes-1.55_1 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> tomatoes-1.55_1 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> tomatoes-1.55_1 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-2.0.2... `-- Extracting jpeg-turbo-2.0.2: .......... done `-- Installing png-1.6.36... `-- Extracting png-1.6.36: .......... done `-- Installing tiff-4.0.10... | `-- Installing jbigkit-2.1_1... | `-- Extracting jbigkit-2.1_1: .......... done `-- Extracting tiff-4.0.10: .......... done `-- Installing webp-1.0.2... | `-- Installing giflib-5.1.4... | `-- Extracting giflib-5.1.4: .......... done `-- Extracting webp-1.0.2: .......... done Extracting sdl_image-1.2.12_11: .......... done ===> tomatoes-1.55_1 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> Returning to build of tomatoes-1.55_1 ===> tomatoes-1.55_1 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_1... `-- Extracting libmikmod-3.3.11.1_1: .......... done `-- Installing libvorbis-1.3.6,3... `-- Extracting libvorbis-1.3.6,3: .......... done `-- Installing smpeg-0.4.4_15... `-- Extracting smpeg-0.4.4_15: .......... 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 ===> tomatoes-1.55_1 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of tomatoes-1.55_1 ===> tomatoes-1.55_1 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for tomatoes-1.55_1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for tomatoes-1.55_1 gmake[1]: Entering directory '/construction/games/tomatoes/tomatoes-1.55' c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/mpak.cpp -o obj/mpak.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/soundmusic.cpp -o obj/soundmusic.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/main.cpp -o obj/main.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/hiscore.cpp -o obj/hiscore.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/menu.cpp -o obj/menu.o src/soundmusic.cpp: In function 'void load_sound(char*)': src/soundmusic.cpp:173:106: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("load_sounds():\nTrying to load too many sounds!\nNUM_SOUNDS is defined as %d.\n", NUM_SOUNDS); ^ src/soundmusic.cpp:196:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("load_sound():\nUnable to load a sound from %s!\nError: %s\n",file,Mix_GetError()); ^ src/soundmusic.cpp: In function 'void init_mixer()': src/soundmusic.cpp:208:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to open the audio device!\nError: %s\n", Mix_GetError()); ^ src/soundmusic.cpp:211:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_appear.wav"); ^ src/soundmusic.cpp:212:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_bomb.wav"); ^ src/soundmusic.cpp:213:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_explo.wav"); ^ src/soundmusic.cpp:214:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_bonus1.wav"); ^ src/soundmusic.cpp:215:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_bonus2.wav"); ^ src/soundmusic.cpp:216:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_bonus3.wav"); ^ src/soundmusic.cpp:217:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_die1.wav"); ^ src/soundmusic.cpp:218:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_die2.wav"); ^ src/soundmusic.cpp:219:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_die3.wav"); ^ src/soundmusic.cpp:220:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_die4.wav"); ^ src/soundmusic.cpp:221:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_die5.wav"); ^ src/soundmusic.cpp:222:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_die6.wav"); ^ src/soundmusic.cpp:223:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_levelteleport.wav"); ^ src/soundmusic.cpp:224:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_wildfire.wav"); ^ src/soundmusic.cpp:225:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_teleport.wav"); ^ src/soundmusic.cpp:226:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_trap.wav"); ^ src/soundmusic.cpp:227:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_lightning.wav"); ^ src/soundmusic.cpp:228:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_wisp.wav"); ^ src/soundmusic.cpp:229:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_jump.wav"); ^ src/soundmusic.cpp:230:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_potatoman.wav"); ^ src/soundmusic.cpp:231:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_potatoman2.wav"); ^ src/soundmusic.cpp:232:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_turn.wav"); ^ src/soundmusic.cpp:233:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_flowerpower.wav"); ^ src/soundmusic.cpp:234:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_kick.wav"); ^ src/soundmusic.cpp:235:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_killed5.wav"); ^ src/soundmusic.cpp:236:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_menu1.wav"); ^ src/soundmusic.cpp:237:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_menu2.wav"); ^ src/soundmusic.cpp:238:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_sound("snd_finish.wav"); ^ src/soundmusic.cpp: In function 'void play_music(char*)': src/soundmusic.cpp:274:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("play_music():\nUnable to play music from '%s'!\nError: %s\n", file, Mix_GetError()); ^ src/soundmusic.cpp:280:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_DEFAULT, "Playing \"%s\"...", file); ^ src/menu.cpp: In function 'char* key_name(int)': src/menu.cpp:107:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "LEFT ARROW"; ^~~~~~~~~~~~ src/menu.cpp:109:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "RIGHT ARROW"; ^~~~~~~~~~~~~ src/menu.cpp:111:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "UP ARROW"; ^~~~~~~~~~ src/menu.cpp:113:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "DOWN ARROW"; ^~~~~~~~~~~~ src/menu.cpp:123:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "PRESS A KEY"; // This is displayed when we're setting ^~~~~~~~~~~~~ src/menu.cpp: In function 'void draw_credits(float)': src/menu.cpp:132:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, 3.05f, -13, "CREDITS"); ^ src/menu.cpp:137:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, 2.4f, -13, "GAME DESIGN"); ^ src/menu.cpp:139:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, 1.8f, -13, "TEEMU RUOKOLAINEN"); ^ src/menu.cpp:142:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, 0.8f, -13, "PROGRAMMING"); ^ src/menu.cpp:144:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, 0.2f, -13, "MIKA HALTTUNEN"); ^ src/menu.cpp:147:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, -0.8f, -13, "SOUND AND MUSIC"); ^ src/menu.cpp:149:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, -1.4f, -13, "TEEMU RUOKOLAINEN"); ^ src/menu.cpp:152:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, -2.4f, -13, "ARTWORK"); ^ src/menu.cpp:154:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, -3.0f, -13, "MIKA HALTTUNEN"); ^ src/menu.cpp: In function 'void draw_menu(int, int, int, float, HISCORE_LIST*)': src/menu.cpp:237:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -7.0f, -5.3f, -13, VERSION); ^ src/menu.cpp:354:114: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, 3.0f, -13, "Settings for: %s", (whose_keys == 0) ? "PLAYER ONE" : "PLAYER TWO"); ^ src/menu.cpp:361:124: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, 2.5f, -13, "Moving style: %s", (config.moving_style[who] == 1) ? "RELATIVE" : "ABSOLUTE"); ^ src/menu.cpp:369:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, 2.0f, -13, "Move forward: %s", key_name(config.key_up[who])); ^ src/menu.cpp:371:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, 2.0f, -13, "Move up: %s", key_name(config.key_up[who])); ^ src/menu.cpp:379:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, 1.5f, -13, "Turn around: %s", key_name(config.key_down[who])); ^ src/menu.cpp:381:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, 1.5f, -13, "Move down: %s", key_name(config.key_down[who])); ^ src/menu.cpp:389:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, 1.0f, -13, "Turn left: %s", key_name(config.key_left[who])); ^ src/menu.cpp:391:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, 1.0f, -13, "Move left: %s", key_name(config.key_left[who])); ^ src/menu.cpp:399:99: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, 0.5f, -13, "Turn right: %s", key_name(config.key_right[who])); ^ src/menu.cpp:401:99: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, 0.5f, -13, "Move right: %s", key_name(config.key_right[who])); ^ src/menu.cpp:408:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, 0.0f, -13, "Throw a bomb: %s", key_name(config.key_shoot[who])); ^ src/menu.cpp:415:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, -0.5f, -13, "Use a special: %s", key_name(config.key_special[who])); ^ src/menu.cpp:422:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, -1.5f, -13, "Sound volume:"); ^ src/menu.cpp:452:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, -2.0f, -13, "Music volume:"); ^ src/menu.cpp:481:108: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, -3.0f, -13, "Perspective mode: %s", (config.perspective_mode) ? "ON" : "OFF"); ^ src/menu.cpp: In function 'void load_menus()': src/menu.cpp:913:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button_tex = load_png("menubut.png", true, false, true); ^ src/menu.cpp:914:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] button_tex2 = load_png("menubut2.png", true, false, true); ^ src/menu.cpp:915:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu_bg = load_jpg("menubg.jpg", false, true, true); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/helpers.cpp -o obj/helpers.o src/main.cpp: In function 'void loading_screen()': src/main.cpp:61:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] logo_tex = load_png("logotex.png", true, false, true); ^ src/main.cpp:95:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, -1, -20, "...LOADING..."); ^ src/main.cpp: In function 'int main(int, char**)': src/main.cpp:116:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font1 = load_png("fonts.png", true, false, true); ^ src/main.cpp:125:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font_num = load_png("fonts_num.png", true, false, true); ^ src/hiscore.cpp: In function 'char* get_hiscore_location(int, bool)': src/hiscore.cpp:87:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return (HISCORE_DIR HISCORE_FILE); ^ src/hiscore.cpp:89:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return (HISCORE_DIR HISCORE_FILE2); ^ src/hiscore.cpp:99:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return (HISCORE_DIR HISCORE_FILE); ^ src/hiscore.cpp:101:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return (HISCORE_DIR HISCORE_FILE2); ^ src/hiscore.cpp: In member function 'void HISCORE_LIST::input_name(int)': src/hiscore.cpp:333:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, -4.5f, -13, "CONGRATULATIONS"); ^ src/hiscore.cpp: In member function 'void HISCORE_LIST::draw(int, float)': src/hiscore.cpp:353:129: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, 3.05f, -13, "%s", ((this == &hiscore_1) ? "SINGLE PLAYER HIGH SCORES" : "TWO PLAYERS HIGH SCORES")); ^ src/hiscore.cpp:366:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -5.0f, ypos, -13, "%2d.", f+1); ^ src/hiscore.cpp:373:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, -3.7f, ypos, -13, "%s", list[f].name); ^ src/hiscore.cpp:380:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf(font1, 0, 3.4f, ypos, -13, "%03d", list[f].score); ^ src/hiscore.cpp: In member function 'void HISCORE_LIST::save(char*)': src/hiscore.cpp:408:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to save the hiscore list to %s!\n", file); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/screenshot.cpp -o obj/screenshot.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/bonus.cpp -o obj/bonus.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/mymath.cpp -o obj/mymath.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/game.cpp -o obj/game.o src/helpers.cpp: In function 'void load_wisps()': src/helpers.cpp:85:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] wisp_tex = load_jpg("wisp.jpg", false, false, true); ^ src/helpers.cpp: In function 'void load_potatoman()': src/helpers.cpp:300:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] potatoman_tex = load_png("potatoman.png", true, false, false); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/effects.cpp -o obj/effects.o src/screenshot.cpp: In function 'void save_tga(char*, short int, short int, unsigned char*)': src/screenshot.cpp:123:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to save a screenshot to \"%s\"!\n", filename); ^ src/game.cpp: In function 'void draw()': src/game.cpp:223:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, 9, -25, "FPS: %02.1f", fps); ^ src/game.cpp:260:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, 2.0f, -13, "ARE YOU SURE YOU WANT TO EXIT?"); ^ src/game.cpp:261:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, 1.1f, -13, "Press ESC to exit, or ENTER to resume."); ^ src/game.cpp: In function 'void start_game(bool)': src/game.cpp:526:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] int place = list.add_name("null", kill_count); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/config.cpp -o obj/config.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/levels.cpp -o obj/levels.o src/bonus.cpp: In function 'void load_bonus()': src/bonus.cpp:97:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bonus_tex = load_png("bonus.png", true, false, false); ^ src/bonus.cpp:98:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bonus_particle = load_jpg("bonus_part.jpg", false, false, true); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/player.cpp -o obj/player.o src/config.cpp: In function 'char* get_config_location(bool)': src/config.cpp:89:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return (CONFIG_DIR "config.cfg"); ^ src/config.cpp:98:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return (CONFIG_DIR "config.cfg"); ^ src/config.cpp: In function 'void load_config(char*, CONFIG*)': src/config.cpp:107:52: warning: ISO C++ forbids converting a 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:134:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to save config file: %s!", file); ^ src/levels.cpp: In function 'void load_bg_number(int)': src/levels.cpp:181:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_texture_into(cur_bground, str, "JPG", false, false, true); ^ src/levels.cpp: In function 'void init_levels()': src/levels.cpp:209:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); ^ src/levels.cpp: In function 'bool change_level()': src/levels.cpp:256:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_DEFAULT, "Ten seconds left."); ^ src/levels.cpp:318:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_DEFAULT, "Level finished."); ^ src/levels.cpp:320:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_DEFAULT, "GAME OVER"); ^ src/levels.cpp: In function 'void next_level()': src/levels.cpp:378:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/init.cpp -o obj/init.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/pathfinder.cpp -o obj/pathfinder.o src/init.cpp: In function 'void init_sdl_and_gl()': src/init.cpp:94:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Sorry, 8-bit color depth is not supported!\nYou must use 15, 16, 24 or 32-bit mode.\n"); ^ src/init.cpp:98:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to init SDL: %s", SDL_GetError()); ^ src/init.cpp:108:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) ^ src/init.cpp:108:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/init.cpp:109:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to open 'tomatoes.mpk'.\nThe file either doesn't exist or is corrupted."); ^ src/init.cpp:113:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FILE *fin = pakfile.open_file("icon.bmp"); ^ src/init.cpp:115:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load the icon!\n"); ^ src/init.cpp:118:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load the icon!\n"); ^ src/init.cpp:135:140: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to set the OpenGL video mode %d x %d (%d bit)!\n%s", config.vid_w, config.vid_h, config.vid_color_depth, SDL_GetError()); ^ src/player.cpp: In function 'void load_players()': src/player.cpp:99:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] player1_anim = load_png("player1.png", true, false, false); ^ src/player.cpp:102:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] sprite_shadow = load_png("shadow.png", true, false, true); ^ src/player.cpp:105:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p_icons = load_png("picons.png", true, false, false); ^ src/player.cpp: In member function 'void PLAYER::die()': src/player.cpp:772:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_DEFAULT, "Respawning soon..."); ^ src/player.cpp: In member function 'void PLAYER::pick_bonus(BONUS*)': src/player.cpp:796:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_RED, "You have received a Trap."); break; ^ src/player.cpp:798:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_RED, "You have received a Wild Fire."); break; ^ src/player.cpp:800:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_RED, "You have received a Napalm Strike."); break; ^ src/player.cpp:802:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_GREEN, "You have received a Will O' The Wisp."); break; ^ src/player.cpp:804:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_GREEN, "You have received a Potato Man."); break; ^ src/player.cpp:806:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_GREEN, "You have received a Flower Power."); break; ^ src/player.cpp:808:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_BLUE, "You have received a Teleport."); break; ^ src/player.cpp:810:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_BLUE, "You have received a Turn."); break; ^ src/player.cpp:812:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_BLUE, "You have received a Lightning Bolt."); break; ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/texture.cpp -o obj/texture.o src/texture.cpp: In function 'GLuint load_png(char*, bool, bool, bool)': src/texture.cpp:71:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return load_texture(file, "PNG", alpha, repeat, mipmaps); ^ src/texture.cpp: In function 'GLuint load_jpg(char*, bool, bool, bool)': src/texture.cpp:77:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return load_texture(file, "JPG", alpha, repeat, mipmaps); ^ src/texture.cpp: In function 'GLuint load_texture(char*, char*, bool, bool, bool)': src/texture.cpp:97:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load texture from %s!\nSomething is wrong with the pakfile.", file); ^ src/texture.cpp:103:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load texture from %s!\n%s", file, IMG_GetError()); ^ src/texture.cpp:113:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to flip surface %s:\nOut of memory!\n"); ^ src/texture.cpp: In function 'void load_texture_into(GLuint, char*, char*, bool, bool, bool)': src/texture.cpp:196:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load texture from %s!\nSomething is wrong with the pakfile.", file); ^ src/texture.cpp:202:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load texture from %s!\n%s", file, IMG_GetError()); ^ src/texture.cpp:212:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to flip surface %s:\nOut of memory!\n"); ^ src/texture.cpp: In function 'GLuint create_empty_texture(int, int, int)': src/texture.cpp:269:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to create an empty texture!"); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/trap.cpp -o obj/trap.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/select_special.cpp -o obj/select_special.o src/trap.cpp: In function 'void load_traps()': src/trap.cpp:58:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] trap_texture = load_png("trap.png", true, false, false); ^ src/trap.cpp:59:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] part_trap = load_jpg("part_trap.jpg", false, false, true); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/comments.cpp -o obj/comments.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/timer.cpp -o obj/timer.o src/timer.cpp: In function 'void start_timer(int)': src/timer.cpp:59:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Error setting timer!\n%s", SDL_GetError()); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/enemy.cpp -o obj/enemy.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/font.cpp -o obj/font.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/bomb.cpp -o obj/bomb.o src/select_special.cpp: In function 'void do_special_selection()': src/select_special.cpp:308:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_YELLOW, "%s chosen.", (char*)icon_names[power]); ^ src/select_special.cpp: In function 'void load_icons()': src/select_special.cpp:347:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] special_icons[0] = load_png("icons1.png", true, false, false); ^ src/select_special.cpp:348:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] special_icons[1] = load_png("icons2.png", true, false, false); ^ src/select_special.cpp:349:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] special_icons[2] = load_png("icons3.png", true, false, false); ^ src/select_special.cpp:350:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] icon_bg = load_png("iconbg.png", true, false, false); ^ src/enemy.cpp: In function 'void load_enemies()': src/enemy.cpp:80:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] enemy_anim[0] = load_png("enemy1.png", true, false, false); ^ src/enemy.cpp:81:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] enemy_anim[1] = load_png("enemy2.png", true, false, false); ^ src/enemy.cpp:82:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] enemy_anim[2] = load_png("enemy3.png", true, false, false); ^ src/bomb.cpp: In function 'void load_bombs()': src/bomb.cpp:80:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bomb_tex[0] = load_png("bomb1.png", true, false, false); ^ src/bomb.cpp: In member function 'void BOMB::move()': src/bomb.cpp:456:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_DEFAULT, "Five enemies with one bomb!"); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/tilemap.cpp -o obj/tilemap.o src/tilemap.cpp: In function 'void load_map(char*)': src/tilemap.cpp:474:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load the level %s from the pakfile!\n", file); ^ src/tilemap.cpp:488:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("'%s' is not a level file for this game!\n", file); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/special_power.cpp -o obj/special_power.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/teleport.cpp -o obj/teleport.o src/teleport.cpp: In function 'void load_teleports()': src/teleport.cpp:121:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] teleport_tex = load_png("teleport1.png", true, false, false); ^ src/teleport.cpp:122:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] part_teleport = load_jpg("teleport2.jpg", false, false, true); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I./include -DLINUX -DMPK_DIR=\"/usr/local/share/tomatoes/\" -DMUSIC_DIR=\"/usr/local/share/tomatoes/music/\" -DHISCORE_DIR=\"/usr/local/share/tomatoes/\" -DCONFIG_DIR=\"/usr/local/share/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/particle.cpp -o obj/particle.o src/particle.cpp: In function 'void load_particles()': src/particle.cpp:69:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] part_spark = load_jpg("spark.jpg", false, false, true); ^ src/particle.cpp:70:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] part_explo = load_jpg("explo.jpg", false, false, true); ^ src/particle.cpp:71:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] part_star = load_jpg("star.jpg", false, false, true); ^ src/particle.cpp:72:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] part_glow = load_jpg("glow.jpg", false, false, true); ^ src/particle.cpp:73:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] part_smoke = load_png("smoke.png", true, false, true); ^ src/particle.cpp:74:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] part_fire = load_jpg("fire.jpg", false, false, true); ^ src/particle.cpp:75:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] part_flower = load_png("flower.png", true, false, true); ^ c++ -o ./tomatoes obj/mpak.o obj/soundmusic.o obj/main.o obj/hiscore.o obj/menu.o obj/helpers.o obj/screenshot.o obj/bonus.o obj/mymath.o obj/game.o obj/effects.o obj/config.o obj/levels.o obj/player.o obj/init.o obj/pathfinder.o obj/texture.o obj/trap.o obj/select_special.o obj/comments.o obj/timer.o obj/enemy.o obj/font.o obj/bomb.o obj/tilemap.o obj/special_power.o obj/teleport.o obj/particle.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_image -lSDL_mixer -L/usr/local/lib -lGL -lGLU gmake[1]: Leaving directory '/construction/games/tomatoes/tomatoes-1.55' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for tomatoes-1.55_1 ===> Generating temporary packing list install -s -m 555 /construction/games/tomatoes/tomatoes-1.55/tomatoes /construction/games/tomatoes/stage/usr/local/bin install -m 0644 /construction/games/tomatoes/tomatoes-1.55/icon.png /construction/games/tomatoes/stage/usr/local/share/pixmaps/tomatoes.png install -m 0644 /construction/games/tomatoes/tomatoes-1.5/config.cfg /construction/games/tomatoes/stage/usr/local/share/tomatoes install -m 0644 /construction/games/tomatoes/tomatoes-1.5/tomatoes.mpk /construction/games/tomatoes/stage/usr/local/share/tomatoes install -m 0644 /construction/games/tomatoes/tomatoes-1.5/music/IHaveNoTomatoes.it /construction/games/tomatoes/stage/usr/local/share/tomatoes/music install -m 0644 /construction/games/tomatoes/tomatoes-1.5/README /construction/games/tomatoes/stage/usr/local/share/doc/tomatoes ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for tomatoes-1.55_1 file sizes/checksums [10]: . done packing files [10]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 09:38:52 UTC Duration: 00:00:55