=>> Building games/tomatoes build started at Fri Apr 5 15:52:20 BST 2024 port directory: /usr/ports/games/tomatoes package name: tomatoes-1.55_2 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: amdmi3@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1647 Mar 8 2023 /usr/ports/games/tomatoes/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 05 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/05/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for tomatoes-1.55_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- amdmi3@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/tomatoes/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/tomatoes/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/tomatoes/work/.cache HOME=/wrkdirs/usr/ports/games/tomatoes/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/tomatoes/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/tomatoes/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/tomatoes/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/tomatoes/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/tomatoes/work/.cache HOME=/wrkdirs/usr/ports/games/tomatoes/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/tomatoes/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/tomatoes/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/tomatoes" EXAMPLESDIR="share/examples/tomatoes" DATADIR="share/tomatoes" WWWDIR="www/tomatoes" ETCDIR="etc/tomatoes" --End PLIST_SUB-- --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 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> tomatoes-1.55_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> tomatoes-1.55_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of tomatoes-1.55_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by tomatoes-1.55_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by 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. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for tomatoes-1.55_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> tomatoes-1.55_2 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> tomatoes-1.55_2 depends on package: gmake>=4.4.1 - found ===> Returning to build of tomatoes-1.55_2 ===> tomatoes-1.55_2 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_17,2.pkg [pkg-builder.dan.net.uk] Installing sdl-1.2.15_17,2... [pkg-builder.dan.net.uk] `-- Installing aalib-1.4.r5_14... [pkg-builder.dan.net.uk] `-- Extracting aalib-1.4.r5_14: .......... done [pkg-builder.dan.net.uk] `-- Installing libGLU-9.0.2_2... [pkg-builder.dan.net.uk] | `-- Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] | | `-- Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] | | `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | | | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | | | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | | | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] | | `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libX11-1.8.7_1,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] | | `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libglvnd-1.7.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting libGLU-9.0.2_2: ..... done [pkg-builder.dan.net.uk] `-- Installing libXrandr-1.5.2_1... [pkg-builder.dan.net.uk] | `-- Installing libXrender-0.9.10_2... [pkg-builder.dan.net.uk] | `-- Extracting libXrender-0.9.10_2: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXrandr-1.5.2_1: .......... done [pkg-builder.dan.net.uk] Extracting sdl-1.2.15_17,2: .......... done ===== Message from aalib-1.4.r5_14: -- ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===== Message from sdl-1.2.15_17,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ===> tomatoes-1.55_2 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of tomatoes-1.55_2 ===> tomatoes-1.55_2 depends on package: xorgproto>=0 - found ===> tomatoes-1.55_2 depends on package: xorgproto>=0 - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> 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 - not found ===> Installing existing package /packages/All/sdl_image-1.2.12_13.pkg [pkg-builder.dan.net.uk] Installing sdl_image-1.2.12_13... [pkg-builder.dan.net.uk] `-- Installing jpeg-turbo-3.0.2... [pkg-builder.dan.net.uk] `-- Extracting jpeg-turbo-3.0.2: .......... done [pkg-builder.dan.net.uk] `-- Installing png-1.6.43... [pkg-builder.dan.net.uk] `-- Extracting png-1.6.43: .......... done [pkg-builder.dan.net.uk] `-- Installing tiff-4.4.0_3... [pkg-builder.dan.net.uk] | `-- Installing jbigkit-2.1_2... [pkg-builder.dan.net.uk] | `-- Extracting jbigkit-2.1_2: .......... done [pkg-builder.dan.net.uk] | `-- Installing libdeflate-1.19... [pkg-builder.dan.net.uk] | `-- Extracting libdeflate-1.19: .......... done [pkg-builder.dan.net.uk] | `-- Installing zstd-1.5.5_1... [pkg-builder.dan.net.uk] | | `-- Installing liblz4-1.9.4_1,1... [pkg-builder.dan.net.uk] | | `-- Extracting liblz4-1.9.4_1,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting zstd-1.5.5_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting tiff-4.4.0_3: .......... done [pkg-builder.dan.net.uk] `-- Installing webp-1.3.2_1... [pkg-builder.dan.net.uk] | `-- Installing freeglut-3.2.1... [pkg-builder.dan.net.uk] | | `-- Installing libICE-1.1.0_2,1... [pkg-builder.dan.net.uk] | | `-- Extracting libICE-1.1.0_2,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXi-1.8_1,1... [pkg-builder.dan.net.uk] | | `-- Installing libXfixes-6.0.0_1... [pkg-builder.dan.net.uk] | | `-- Extracting libXfixes-6.0.0_1: ....... done [pkg-builder.dan.net.uk] | | `-- Extracting libXi-1.8_1,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXxf86vm-1.1.4_4... [pkg-builder.dan.net.uk] | | `-- Extracting libXxf86vm-1.1.4_4: .......... done [pkg-builder.dan.net.uk] | `-- Extracting freeglut-3.2.1: .......... done [pkg-builder.dan.net.uk] | `-- Installing giflib-5.2.1_1... [pkg-builder.dan.net.uk] | `-- Extracting giflib-5.2.1_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting webp-1.3.2_1: .......... done [pkg-builder.dan.net.uk] Extracting sdl_image-1.2.12_13: ....... done ===== Message from freeglut-3.2.1: -- Joystick support is untested and it is unknown if it works. Do not hesitate to contact x11@FreeBSD.org if this causes issues. ===> tomatoes-1.55_2 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> Returning to build of tomatoes-1.55_2 ===> tomatoes-1.55_2 depends on shared library: libSDL_mixer.so - not found ===> Installing existing package /packages/All/sdl_mixer-1.2.12_14.pkg [pkg-builder.dan.net.uk] Installing sdl_mixer-1.2.12_14... [pkg-builder.dan.net.uk] `-- Installing flac-1.4.3_1,1... [pkg-builder.dan.net.uk] | `-- Installing libogg-1.3.5,4... [pkg-builder.dan.net.uk] | `-- Extracting libogg-1.3.5,4: .......... done [pkg-builder.dan.net.uk] `-- Extracting flac-1.4.3_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libmikmod-3.3.11.1_2... [pkg-builder.dan.net.uk] `-- Extracting libmikmod-3.3.11.1_2: .......... done [pkg-builder.dan.net.uk] `-- Installing libvorbis-1.3.7_2,3... [pkg-builder.dan.net.uk] `-- Extracting libvorbis-1.3.7_2,3: .......... done [pkg-builder.dan.net.uk] `-- Installing smpeg-0.4.4_18... [pkg-builder.dan.net.uk] `-- Extracting smpeg-0.4.4_18: .......... done [pkg-builder.dan.net.uk] `-- Installing timidity-0.2i_1... [pkg-builder.dan.net.uk] `-- Extracting timidity-0.2i_1: .......... done [pkg-builder.dan.net.uk] Extracting sdl_mixer-1.2.12_14: ...... done ===== Message from timidity-0.2i_1: -- ===> NOTICE: The timidity port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> tomatoes-1.55_2 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of tomatoes-1.55_2 ===> tomatoes-1.55_2 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for tomatoes-1.55_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for tomatoes-1.55_2 c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/bomb.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/bomb.cpp:80:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] bomb_tex[0] = load_png("bomb1.png", true, false, false); ^ src/bomb.cpp:456:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_DEFAULT, "Five enemies with one bomb!"); ^ 3 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/bonus.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/bonus.cpp:97:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] bonus_tex = load_png("bonus.png", true, false, false); ^ src/bonus.cpp:98:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] bonus_particle = load_jpg("bonus_part.jpg", false, false, true); ^ 3 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/comments.cpp:34: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -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 src/config.cpp:89:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return (CONFIG_DIR "config.cfg"); ^ src/config.cpp:94:16: warning: address of stack memory associated with local variable 'tmp' returned [-Wreturn-stack-address] return (char*)tmp.c_str(); ^~~ src/config.cpp:98:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return (CONFIG_DIR "config.cfg"); ^ src/config.cpp:107:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to load config file: %s!", file); ^ src/config.cpp:134:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to save config file: %s!", file); ^ 5 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/effects.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/enemy.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/enemy.cpp:80:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] enemy_anim[0] = load_png("enemy1.png", true, false, false); ^ src/enemy.cpp:81:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] enemy_anim[1] = load_png("enemy2.png", true, false, false); ^ src/enemy.cpp:82:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] enemy_anim[2] = load_png("enemy3.png", true, false, false); ^ 4 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/font.cpp:35: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/game.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/game.cpp:223:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, 9, -25, "FPS: %02.1f", fps); ^ src/game.cpp:260:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, 2.0f, -13, "ARE YOU SURE YOU WANT TO EXIT?"); ^ src/game.cpp:261:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, 1.1f, -13, "Press ESC to exit, or ENTER to resume."); ^ src/game.cpp:526:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] int place = list.add_name("null", kill_count); ^ 5 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/helpers.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/helpers.cpp:85:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] wisp_tex = load_jpg("wisp.jpg", false, false, true); ^ src/helpers.cpp:300:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] potatoman_tex = load_png("potatoman.png", true, false, false); ^ 3 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/hiscore.cpp:34: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/hiscore.cpp:87:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return (HISCORE_DIR HISCORE_FILE); ^ src/hiscore.cpp:89:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return (HISCORE_DIR HISCORE_FILE2); ^ src/hiscore.cpp:94:16: warning: address of stack memory associated with local variable 'tmp' returned [-Wreturn-stack-address] return (char*)tmp.c_str(); ^~~ src/hiscore.cpp:99:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return (HISCORE_DIR HISCORE_FILE); ^ src/hiscore.cpp:101:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return (HISCORE_DIR HISCORE_FILE2); ^ src/hiscore.cpp:333:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, -4.5f, -13, "CONGRATULATIONS"); ^ src/hiscore.cpp:353:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-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:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, ypos, -13, "%2d.", f+1); ^ src/hiscore.cpp:373:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -3.7f, ypos, -13, "%s", list[f].name); ^ src/hiscore.cpp:380:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, 3.4f, ypos, -13, "%03d", list[f].score); ^ src/hiscore.cpp:408:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to save the hiscore list to %s!\n", file); ^ 12 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/init.cpp:39: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/init.cpp:94:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-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:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to init SDL: %s", SDL_GetError()); ^ src/init.cpp:108:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) ^ :4:17: note: expanded from here #define MPK_DIR "/usr/local/share/tomatoes/" ^ src/init.cpp:108:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) ^ :8:22: note: expanded from here #define OVERRIDE_DIR "./data/" ^ src/init.cpp:109:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to open 'tomatoes.mpk'.\nThe file either doesn't exist or is corrupted."); ^ src/init.cpp:113:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] FILE *fin = pakfile.open_file("icon.bmp"); ^ src/init.cpp:115:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to load the icon!\n"); ^ src/init.cpp:118:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to load the icon!\n"); ^ src/init.cpp:135:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-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()); ^ 10 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/levels.cpp:33: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/levels.cpp:181:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_texture_into(cur_bground, str, "JPG", false, false, true); ^ src/levels.cpp:209:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); ^ src/levels.cpp:256:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_DEFAULT, "Ten seconds left."); ^ src/levels.cpp:318:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_DEFAULT, "Level finished."); ^ src/levels.cpp:320:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_DEFAULT, "GAME OVER"); ^ src/levels.cpp:378:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); ^ 7 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/main.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/main.cpp:61:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] logo_tex = load_png("logotex.png", true, false, true); ^ src/main.cpp:95:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, -1, -20, "...LOADING..."); ^ src/main.cpp:116:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font1 = load_png("fonts.png", true, false, true); ^ src/main.cpp:125:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] font_num = load_png("fonts_num.png", true, false, true); ^ 5 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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/menu.cpp:34: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/menu.cpp:107:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "LEFT ARROW"; ^ src/menu.cpp:109:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "RIGHT ARROW"; ^ src/menu.cpp:111:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "UP ARROW"; ^ src/menu.cpp:113:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "DOWN ARROW"; ^ src/menu.cpp:123:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "PRESS A KEY"; // This is displayed when we're setting ^ src/menu.cpp:132:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, 3.05f, -13, "CREDITS"); ^ src/menu.cpp:137:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, 2.4f, -13, "GAME DESIGN"); ^ src/menu.cpp:139:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, 1.8f, -13, "TEEMU RUOKOLAINEN"); ^ src/menu.cpp:142:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, 0.8f, -13, "PROGRAMMING"); ^ src/menu.cpp:144:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, 0.2f, -13, "MIKA HALTTUNEN"); ^ src/menu.cpp:147:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, -0.8f, -13, "SOUND AND MUSIC"); ^ src/menu.cpp:149:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, -1.4f, -13, "TEEMU RUOKOLAINEN"); ^ src/menu.cpp:152:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, -2.4f, -13, "ARTWORK"); ^ src/menu.cpp:154:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf_center(font1, 0, 0, -3.0f, -13, "MIKA HALTTUNEN"); ^ src/menu.cpp:237:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -7.0f, -5.3f, -13, VERSION); ^ src/menu.cpp:51:18: note: expanded from macro 'VERSION' #define VERSION "v1.55" ^ src/menu.cpp:354:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, 3.0f, -13, "Settings for: %s", (whose_keys == 0) ? "PLAYER ONE" : "PLAYER TWO"); ^ src/menu.cpp:361:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, 2.5f, -13, "Moving style: %s", (config.moving_style[who] == 1) ? "RELATIVE" : "ABSOLUTE"); ^ src/menu.cpp:369:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, 2.0f, -13, "Move forward: %s", key_name(config.key_up[who])); ^ src/menu.cpp:371:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, 2.0f, -13, "Move up: %s", key_name(config.key_up[who])); ^ src/menu.cpp:379:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, 1.5f, -13, "Turn around: %s", key_name(config.key_down[who])); ^ src/menu.cpp:381:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, 1.5f, -13, "Move down: %s", key_name(config.key_down[who])); ^ src/menu.cpp:389:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, 1.0f, -13, "Turn left: %s", key_name(config.key_left[who])); ^ src/menu.cpp:391:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, 1.0f, -13, "Move left: %s", key_name(config.key_left[who])); ^ src/menu.cpp:399:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, 0.5f, -13, "Turn right: %s", key_name(config.key_right[who])); ^ src/menu.cpp:401:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, 0.5f, -13, "Move right: %s", key_name(config.key_right[who])); ^ src/menu.cpp:408:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, 0.0f, -13, "Throw a bomb: %s", key_name(config.key_shoot[who])); ^ src/menu.cpp:415:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, -0.5f, -13, "Use a special: %s", key_name(config.key_special[who])); ^ src/menu.cpp:422:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, -1.5f, -13, "Sound volume:"); ^ src/menu.cpp:452:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, -2.0f, -13, "Music volume:"); ^ src/menu.cpp:481:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] glprintf(font1, 0, -5.0f, -3.0f, -13, "Perspective mode: %s", (config.perspective_mode) ? "ON" : "OFF"); ^ src/menu.cpp:913:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button_tex = load_png("menubut.png", true, false, true); ^ src/menu.cpp:914:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] button_tex2 = load_png("menubut2.png", true, false, true); ^ src/menu.cpp:915:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] menu_bg = load_jpg("menubg.jpg", false, true, true); ^ 34 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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++ -O2 -pipe -fstack-protector-strong -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 src/mymath.cpp:43:31: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] float num = range * rand() / RAND_MAX; ~ ^~~~~~~~ /usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/particle.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/particle.cpp:69:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] part_spark = load_jpg("spark.jpg", false, false, true); ^ src/particle.cpp:70:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] part_explo = load_jpg("explo.jpg", false, false, true); ^ src/particle.cpp:71:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] part_star = load_jpg("star.jpg", false, false, true); ^ src/particle.cpp:72:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] part_glow = load_jpg("glow.jpg", false, false, true); ^ src/particle.cpp:73:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] part_smoke = load_png("smoke.png", true, false, true); ^ src/particle.cpp:74:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] part_fire = load_jpg("fire.jpg", false, false, true); ^ src/particle.cpp:75:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] part_flower = load_png("flower.png", true, false, true); ^ 8 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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 In file included from src/pathfinder.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -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/player.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/player.cpp:99:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] player1_anim = load_png("player1.png", true, false, false); ^ src/player.cpp:102:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] sprite_shadow = load_png("shadow.png", true, false, true); ^ src/player.cpp:105:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] p_icons = load_png("picons.png", true, false, false); ^ src/player.cpp:772:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_DEFAULT, "Respawning soon..."); ^ src/player.cpp:796:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_RED, "You have received a Trap."); break; ^ src/player.cpp:798:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_RED, "You have received a Wild Fire."); break; ^ src/player.cpp:800:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_RED, "You have received a Napalm Strike."); break; ^ src/player.cpp:802:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_GREEN, "You have received a Will O' The Wisp."); break; ^ src/player.cpp:804:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_GREEN, "You have received a Potato Man."); break; ^ src/player.cpp:806:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_GREEN, "You have received a Flower Power."); break; ^ src/player.cpp:808:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_BLUE, "You have received a Teleport."); break; ^ src/player.cpp:810:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_BLUE, "You have received a Turn."); break; ^ src/player.cpp:812:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_BLUE, "You have received a Lightning Bolt."); break; ^ 14 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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/screenshot.cpp:34: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/screenshot.cpp:123:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to save a screenshot to \"%s\"!\n", filename); ^ 2 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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/select_special.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/select_special.cpp:308:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_YELLOW, "%s chosen.", (char*)icon_names[power]); ^ src/select_special.cpp:347:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] special_icons[0] = load_png("icons1.png", true, false, false); ^ src/select_special.cpp:348:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] special_icons[1] = load_png("icons2.png", true, false, false); ^ src/select_special.cpp:349:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] special_icons[2] = load_png("icons3.png", true, false, false); ^ src/select_special.cpp:350:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] icon_bg = load_png("iconbg.png", true, false, false); ^ 6 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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:173:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("load_sounds():\nTrying to load too many sounds!\nNUM_SOUNDS is defined as %d.\n", NUM_SOUNDS); ^ src/soundmusic.cpp:196:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("load_sound():\nUnable to load a sound from %s!\nError: %s\n",file,Mix_GetError()); ^ src/soundmusic.cpp:208:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to open the audio device!\nError: %s\n", Mix_GetError()); ^ src/soundmusic.cpp:211:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_appear.wav"); ^ src/soundmusic.cpp:212:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_bomb.wav"); ^ src/soundmusic.cpp:213:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_explo.wav"); ^ src/soundmusic.cpp:214:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_bonus1.wav"); ^ src/soundmusic.cpp:215:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_bonus2.wav"); ^ src/soundmusic.cpp:216:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_bonus3.wav"); ^ src/soundmusic.cpp:217:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_die1.wav"); ^ src/soundmusic.cpp:218:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_die2.wav"); ^ src/soundmusic.cpp:219:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_die3.wav"); ^ src/soundmusic.cpp:220:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_die4.wav"); ^ src/soundmusic.cpp:221:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_die5.wav"); ^ src/soundmusic.cpp:222:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_die6.wav"); ^ src/soundmusic.cpp:223:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_levelteleport.wav"); ^ src/soundmusic.cpp:224:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_wildfire.wav"); ^ src/soundmusic.cpp:225:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_teleport.wav"); ^ src/soundmusic.cpp:226:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_trap.wav"); ^ src/soundmusic.cpp:227:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_lightning.wav"); ^ src/soundmusic.cpp:228:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_wisp.wav"); ^ src/soundmusic.cpp:229:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_jump.wav"); ^ src/soundmusic.cpp:230:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_potatoman.wav"); ^ src/soundmusic.cpp:231:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_potatoman2.wav"); ^ src/soundmusic.cpp:232:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_turn.wav"); ^ src/soundmusic.cpp:233:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_flowerpower.wav"); ^ src/soundmusic.cpp:234:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_kick.wav"); ^ src/soundmusic.cpp:235:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_killed5.wav"); ^ src/soundmusic.cpp:236:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_menu1.wav"); ^ src/soundmusic.cpp:237:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_menu2.wav"); ^ src/soundmusic.cpp:238:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] load_sound("snd_finish.wav"); ^ src/soundmusic.cpp:274:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("play_music():\nUnable to play music from '%s'!\nError: %s\n", file, Mix_GetError()); ^ src/soundmusic.cpp:280:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_comment(COL_DEFAULT, "Playing \"%s\"...", file); ^ 33 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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/special_power.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -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/teleport.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/teleport.cpp:121:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] teleport_tex = load_png("teleport1.png", true, false, false); ^ src/teleport.cpp:122:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] part_teleport = load_jpg("teleport2.jpg", false, false, true); ^ 3 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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/texture.cpp:35: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/texture.cpp:71:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return load_texture(file, "PNG", alpha, repeat, mipmaps); ^ src/texture.cpp:77:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return load_texture(file, "JPG", alpha, repeat, mipmaps); ^ src/texture.cpp:97:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to load texture from %s!\nSomething is wrong with the pakfile.", file); ^ src/texture.cpp:103:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to load texture from %s!\n%s", file, IMG_GetError()); ^ src/texture.cpp:113:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to flip surface %s:\nOut of memory!\n"); ^ src/texture.cpp:196:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to load texture from %s!\nSomething is wrong with the pakfile.", file); ^ src/texture.cpp:202:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to load texture from %s!\n%s", file, IMG_GetError()); ^ src/texture.cpp:212:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to flip surface %s:\nOut of memory!\n"); ^ src/texture.cpp:269:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to create an empty texture!"); ^ src/texture.cpp:271:25: warning: 'memset' call operates on objects of type 'GLubyte' (aka 'unsigned char') while the size is based on a different type 'GLubyte *' (aka 'unsigned char *') [-Wsizeof-pointer-memaccess] memset(data, 0, sizeof(data)); ~~~~ ^~~~ src/texture.cpp:271:25: note: did you mean to provide an explicit length? memset(data, 0, sizeof(data)); ^~~~ 11 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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/tilemap.cpp:32: /usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/tilemap.cpp:474:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Unable to load the level %s from the pakfile!\n", file); ^ src/tilemap.cpp:488:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("'%s' is not a level file for this game!\n", file); ^ 3 warnings generated. c++ -O2 -pipe -fstack-protector-strong -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:59:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_msg("Error setting timer!\n%s", SDL_GetError()); ^ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -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:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined] #define GL_GLEXT_VERSION 29 ^ /usr/local/include/GL/glext.h:35:9: note: previous definition is here #define GL_GLEXT_VERSION 20220530 ^ src/trap.cpp:58:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] trap_texture = load_png("trap.png", true, false, false); ^ src/trap.cpp:59:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] part_trap = load_jpg("part_trap.jpg", false, false, true); ^ 3 warnings generated. 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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for tomatoes-1.55_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/tomatoes/work/tomatoes-1.55/tomatoes /wrkdirs/usr/ports/games/tomatoes/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/games/tomatoes/work/tomatoes-1.55/icon.png /wrkdirs/usr/ports/games/tomatoes/work/stage/usr/local/share/pixmaps/tomatoes.png install -m 0644 /wrkdirs/usr/ports/games/tomatoes/work/tomatoes-1.5/config.cfg /wrkdirs/usr/ports/games/tomatoes/work/stage/usr/local/share/tomatoes install -m 0644 /wrkdirs/usr/ports/games/tomatoes/work/tomatoes-1.5/tomatoes.mpk /wrkdirs/usr/ports/games/tomatoes/work/stage/usr/local/share/tomatoes install -m 0644 /wrkdirs/usr/ports/games/tomatoes/work/tomatoes-1.5/music/IHaveNoTomatoes.it /wrkdirs/usr/ports/games/tomatoes/work/stage/usr/local/share/tomatoes/music install -m 0644 /wrkdirs/usr/ports/games/tomatoes/work/tomatoes-1.5/README /wrkdirs/usr/ports/games/tomatoes/work/stage/usr/local/share/doc/tomatoes ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-05T14:52:20+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for tomatoes-1.55_2 ===> Building tomatoes-1.55_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for tomatoes-1.55_2 build of games/tomatoes | tomatoes-1.55_2 ended at Fri Apr 5 15:53:05 BST 2024 build time: 00:00:46