------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for tomatoes-1.55_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/tomatoes XDG_CONFIG_HOME=/construction/games/tomatoes XDG_CACHE_HOME=/construction/games/tomatoes/.cache HOME=/construction/games/tomatoes TMPDIR="/tmp" PATH=/construction/games/tomatoes/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/tomatoes/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/tomatoes XDG_CONFIG_HOME=/construction/games/tomatoes XDG_CACHE_HOME=/construction/games/tomatoes/.cache HOME=/construction/games/tomatoes TMPDIR="/tmp" PATH=/construction/games/tomatoes/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/tomatoes/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES 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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PORTDOCS="" OSREL=6.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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/gmake-4.3_2.pkg Installing /packages/All/ncurses-6.4.pkg ===== Message from ncurses-6.4: -- To get the terminfo database please install the terminfo-db package: pkg install terminfo-db Installing /packages/All/aalib-1.4.r5_13.pkg ===== 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://docs.freebsd.org/en/articles/contributing/#ports-contributing Installing /packages/All/libXau-1.0.9.pkg Installing /packages/All/xorgproto-2022.1_1.pkg Installing /packages/All/libXdmcp-1.1.3.pkg Installing /packages/All/libxcb-1.15_1.pkg Installing /packages/All/libX11-1.8.6,1.pkg Installing /packages/All/libXext-1.3.4,1.pkg Installing /packages/All/libglvnd-1.6.0.pkg Installing /packages/All/libGLU-9.0.2_2.pkg Installing /packages/All/libXrender-0.9.10_2.pkg Installing /packages/All/libXrandr-1.5.2.pkg Installing /packages/All/sdl-1.2.15_15,2.pkg ===== Message from sdl-1.2.15_15,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". Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. Installing /packages/All/png-1.6.39.pkg Installing /packages/All/libdeflate-1.18.pkg Installing /packages/All/jbigkit-2.1_1.pkg Installing /packages/All/liblz4-1.9.4,1.pkg Installing /packages/All/zstd-1.5.5.pkg Installing /packages/All/jpeg-turbo-2.1.5.1.pkg Installing /packages/All/tiff-4.4.0_1.pkg Installing /packages/All/giflib-5.2.1.pkg Installing /packages/All/webp-1.3.0_1.pkg Installing /packages/All/sdl_image-1.2.12_12.pkg Installing /packages/All/libogg-1.3.5,4.pkg Installing /packages/All/flac-1.4.3,1.pkg Installing /packages/All/libmikmod-3.3.11.1_1.pkg Installing /packages/All/smpeg-0.4.4_17.pkg Installing /packages/All/libvorbis-1.3.7_2,3.pkg Installing /packages/All/timidity-0.2i_1.pkg ===== Message from timidity-0.2i_1: -- ===> NOTICE: The timidity port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing Installing /packages/All/sdl_mixer-1.2.12_14.pkg SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> tomatoes-1.55_2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> tomatoes-1.55_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by tomatoes-1.55_2 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> tomatoes-1.55_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by tomatoes-1.55_2 for building => SHA256 Checksum OK for tomatoes-linux-src-1.55.tar.bz2. => SHA256 Checksum OK for tomatoes-linux-1.5.tar.bz2. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> tomatoes-1.55_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by tomatoes-1.55_2 for building ===> Extracting for tomatoes-1.55_2 => SHA256 Checksum OK for tomatoes-linux-src-1.55.tar.bz2. => SHA256 Checksum OK for tomatoes-linux-1.5.tar.bz2. Extracted Memory Use: 10.66M SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for tomatoes-1.55_2 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> tomatoes-1.55_2 depends on package: gmake>=4.3 - found ===> tomatoes-1.55_2 depends on file: /usr/local/bin/sdl-config - found ===> tomatoes-1.55_2 depends on package: xorgproto>=0 - found ===> tomatoes-1.55_2 depends on package: xorgproto>=0 - found ===> tomatoes-1.55_2 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> tomatoes-1.55_2 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> tomatoes-1.55_2 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> tomatoes-1.55_2 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> tomatoes-1.55_2 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> tomatoes-1.55_2 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> tomatoes-1.55_2 depends on package: gmake>=4.3 - found ===> tomatoes-1.55_2 depends on file: /usr/local/bin/sdl-config - found ===> tomatoes-1.55_2 depends on package: xorgproto>=0 - found ===> tomatoes-1.55_2 depends on package: xorgproto>=0 - found ===> tomatoes-1.55_2 depends on file: /usr/local/bin/ccache - found ===> tomatoes-1.55_2 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> tomatoes-1.55_2 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> tomatoes-1.55_2 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> tomatoes-1.55_2 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> tomatoes-1.55_2 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> Configuring for tomatoes-1.55_2 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for tomatoes-1.55_2 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/bomb.cpp -o obj/bomb.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/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/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/effects.cpp -o obj/effects.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/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/game.cpp -o obj/game.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/helpers.cpp -o obj/helpers.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/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/levels.cpp -o obj/levels.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 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); ^ 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 In file included from src/game.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/game.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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/mpak.cpp -o obj/mpak.o In file included from src/init.cpp:39: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/init.cpp:39: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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()); ^ 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 In file included from src/hiscore.cpp:34: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/hiscore.cpp:34: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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/particle.cpp -o obj/particle.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 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 In file included from src/comments.cpp:34: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/comments.cpp:34: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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 In file included from src/helpers.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/helpers.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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/select_special.cpp -o obj/select_special.o In file included from src/enemy.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/enemy.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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); ^ 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 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); ^ 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 In file included from src/select_special.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/select_special.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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); ^ 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 In file included from src/particle.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/particle.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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++ -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 In file included from src/pathfinder.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/pathfinder.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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 In file included from src/font.cpp:35: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/font.cpp:35: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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/trap.cpp -o obj/trap.o In file included from src/trap.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/trap.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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); ^ In file included from src/teleport.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/teleport.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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); ^ In file included from src/texture.cpp:35: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/texture.cpp:35: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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!"); ^ In file included from src/screenshot.cpp:34: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/screenshot.cpp:34: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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); ^ In file included from src/bonus.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/bonus.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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); ^ In file included from src/levels.cpp:33: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/levels.cpp:33: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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]); ^ In file included from src/main.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/main.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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); ^ In file included from src/menu.cpp:34: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/menu.cpp:34: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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); ^ In file included from src/effects.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/effects.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from src/bomb.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/bomb.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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!"); ^ In file included from src/special_power.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/special_power.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from src/tilemap.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/tilemap.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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); ^ In file included from src/player.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/player.cpp:32: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 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++ -o ./tomatoes obj/bomb.o obj/bonus.o obj/comments.o obj/config.o obj/effects.o obj/enemy.o obj/font.o obj/game.o obj/helpers.o obj/hiscore.o obj/init.o obj/levels.o obj/main.o obj/menu.o obj/mpak.o obj/mymath.o obj/particle.o obj/pathfinder.o obj/player.o obj/screenshot.o obj/select_special.o obj/soundmusic.o obj/special_power.o obj/teleport.o obj/texture.o obj/tilemap.o obj/timer.o obj/trap.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' SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for tomatoes-1.55_2 ===> 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) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for tomatoes-1.55_2 file sizes/checksums [7]: 0% file sizes/checksums [7]: 100% Service unavailablepacking files [7]: 0% packing files [7]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:03 TOTAL TIME 00:00:19