Diff of the two buildlogs: -- --- b1/build.log 2025-02-01 02:57:10.800291456 +0000 +++ b2/build.log 2025-02-01 02:57:59.158116569 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Jan 31 14:55:47 -12 2025 -I: pbuilder-time-stamp: 1738378547 +I: Current time: Fri Mar 6 23:20:12 +14 2026 +I: pbuilder-time-stamp: 1772788812 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -33,54 +33,86 @@ dpkg-source: info: applying 09_sort_source_files.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/15350/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/35922/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Mar 6 09:20 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/35922/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/35922/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='fa075c569d5548fd82f8b425e2ff7633' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='15350' - PS1='# ' - PS2='> ' + INVOCATION_ID=6dc1e3a9ef944648b8bccf31d16e6887 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=35922 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.4aUIrG4v/pbuilderrc_W8ZM --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.4aUIrG4v/b1 --logfile b1/build.log tomatoes_1.55-10.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.4aUIrG4v/pbuilderrc_xkYA --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.4aUIrG4v/b2 --logfile b2/build.log tomatoes_1.55-10.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/15350/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/35922/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -365,7 +397,7 @@ Get: 241 http://deb.debian.org/debian unstable/main i386 libsdl-mixer1.2 i386 1.2.12-19 [84.0 kB] Get: 242 http://deb.debian.org/debian unstable/main i386 libvorbis-dev i386 1.3.7-2+b1 [329 kB] Get: 243 http://deb.debian.org/debian unstable/main i386 libsdl-mixer1.2-dev i386 1.2.12-19 [104 kB] -Fetched 122 MB in 2s (74.0 MB/s) +Fetched 122 MB in 1s (120 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19826 files and directories currently installed.) @@ -1150,8 +1182,8 @@ Setting up tzdata (2025a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Feb 1 02:56:43 UTC 2025. -Universal Time is now: Sat Feb 1 02:56:43 UTC 2025. +Local time is now: Fri Mar 6 09:20:40 UTC 2026. +Universal Time is now: Fri Mar 6 09:20:40 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:i386 (1.17.0-2+b1) ... @@ -1370,7 +1402,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/tomatoes-1.55/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../tomatoes_1.55-10_source.changes +I: user script /srv/workspace/pbuilder/35922/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/35922/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/tomatoes-1.55/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../tomatoes_1.55-10_source.changes dpkg-buildpackage: info: source package tomatoes dpkg-buildpackage: info: source version 1.55-10 dpkg-buildpackage: info: source distribution unstable @@ -1380,7 +1416,7 @@ debian/rules clean dh clean dh_auto_clean - make -j11 clean + make -j21 clean make[1]: Entering directory '/build/reproducible-path/tomatoes-1.55' rm -f 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 ./tomatoes make[1]: Leaving directory '/build/reproducible-path/tomatoes-1.55' @@ -1393,7 +1429,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/tomatoes-1.55' dh_auto_build -- 'CC=$(CXX)' - make -j11 "INSTALL=install --strip-program=true" CC=\$\(CXX\) + make -j21 "INSTALL=install --strip-program=true" CC=\$\(CXX\) make[2]: Entering directory '/build/reproducible-path/tomatoes-1.55' g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/bomb.cpp -o obj/bomb.o g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/bonus.cpp -o obj/bonus.o @@ -1406,6 +1442,22 @@ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/helpers.cpp -o obj/helpers.o g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/hiscore.cpp -o obj/hiscore.o g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/init.cpp -o obj/init.o +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/levels.cpp -o obj/levels.o +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/main.cpp -o obj/main.o +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/menu.cpp -o obj/menu.o +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/mpak.cpp -o obj/mpak.o +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/mymath.cpp -o obj/mymath.o +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/particle.cpp -o obj/particle.o +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/pathfinder.cpp -o obj/pathfinder.o +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/player.cpp -o obj/player.o +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/screenshot.cpp -o obj/screenshot.o +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/select_special.cpp -o obj/select_special.o +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ @@ -1417,7 +1469,34 @@ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/levels.cpp -o obj/levels.o +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +src/mpak.cpp: In member function 'int MPAK_FILE::open_mpk(int, char*, char*)': +src/mpak.cpp:277:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 277 | fread(&crc_checksum, sizeof(crc_checksum), 1, fpointer); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/mpak.cpp:291:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 291 | fread(&filetable_offset, sizeof(filetable_offset), 1, fpointer); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/mpak.cpp:298:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 298 | fread(&num_files, sizeof(num_files), 1, fpointer); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/mpak.cpp:308:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 308 | fread(files[f], 1, len, fpointer); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/mpak.cpp:310:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 310 | fread(&offsets[f], sizeof(offsets[f]), 1, fpointer); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/mpak.cpp: In member function 'int MPAK_FILE::extract_file(char*, char*)': +src/mpak.cpp:536:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 536 | fread(buffer, 1, bytes_left, fin); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/soundmusic.cpp -o obj/soundmusic.o +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/special_power.cpp -o obj/special_power.o +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/teleport.cpp -o obj/teleport.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/config.cpp: In function 'void load_config(std::string, CONFIG*)': src/config.cpp:107:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -1427,6 +1506,7 @@ src/config.cpp:134:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | error_msg("Unable to save config file: %s!", file.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/config.cpp: In function 'void load_config(std::string, CONFIG*)': src/config.cpp:109:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 109 | fscanf(f, "video_mode = %d x %d\n", &(conf->vid_w), &(conf->vid_h)); @@ -1476,169 +1556,14 @@ src/config.cpp:124:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | fscanf(f, "moving_style = %d %d\n", &(conf->moving_style[0]), &(conf->moving_style[1])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/hiscore.cpp: In member function 'void HISCORE_LIST::input_name(int)': -src/hiscore.cpp:333:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 333 | 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:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 353 | glprintf_center(font1, 0, 0, 3.05f, -13, "%s", ((this == &hiscore_1) ? "SINGLE PLAYER HIGH SCORES" : "TWO PLAYERS HIGH SCORES")); - | ^~~~ -src/hiscore.cpp:366:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 366 | glprintf(font1, 0, -5.0f, ypos, -13, "%2d.", f+1); - | ^~~~~~ -src/hiscore.cpp:373:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 373 | glprintf(font1, 0, -3.7f, ypos, -13, "%s", list[f].name); - | ^~~~ -src/hiscore.cpp:380:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 380 | glprintf(font1, 0, 3.4f, ypos, -13, "%03d", list[f].score); - | ^~~~~~ -src/hiscore.cpp: In member function 'void HISCORE_LIST::save(std::string)': -src/hiscore.cpp:408:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 408 | error_msg("Unable to save the hiscore list to %s!\n", file.c_str()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp: In function 'void init_sdl_and_gl()': -src/init.cpp:94:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 94 | 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:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 98 | error_msg("Unable to init SDL: %s", SDL_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -src/init.cpp:108:41: note: in expansion of macro 'MPK_DIR' - 108 | if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) - | ^~~~~~~ -: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -src/init.cpp:108:65: note: in expansion of macro 'OVERRIDE_DIR' - 108 | if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) - | ^~~~~~~~~~~~ -src/init.cpp:109:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 109 | error_msg("Unable to open 'tomatoes.mpk'.\nThe file either doesn't exist or is corrupted."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp:113:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 113 | FILE *fin = pakfile.open_file("icon.bmp"); - | ^~~~~~~~~~ -src/init.cpp:115:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 115 | error_msg("Unable to load the icon!\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp:118:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 118 | error_msg("Unable to load the icon!\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/init.cpp:135:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 135 | error_msg("Unable to set the OpenGL video mode %d x %d (%d bit)!\n%s", config.vid_w, config.vid_h, config.vid_color_depth, SDL_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/hiscore.cpp: In member function 'void HISCORE_LIST::load(std::string)': -src/hiscore.cpp:436:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 436 | fread(&list[f].score, sizeof(int), 1, fin); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/hiscore.cpp:440:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 440 | fread(list[f].name, NAME_LEN, 1, fin); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/main.cpp -o obj/main.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/menu.cpp -o obj/menu.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/mpak.cpp -o obj/mpak.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/bomb.cpp: In function 'void load_bombs()': src/bomb.cpp:80:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | bomb_tex[0] = load_png("bomb1.png", true, false, false); | ^~~~~~~~~~~ -src/game.cpp: In function 'void draw()': -src/game.cpp:223:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 223 | glprintf_center(font1, 0, 0, 9, -25, "FPS: %02.1f", fps); - | ^~~~~~~~~~~~~ -src/game.cpp:260:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 260 | glprintf_center(font1, 0, 0, 2.0f, -13, "ARE YOU SURE YOU WANT TO EXIT?"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/game.cpp:261:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 261 | 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:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 526 | int place = list.add_name("null", kill_count); - | ^~~~~~ -src/enemy.cpp: In function 'void load_enemies()': -src/enemy.cpp:80:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 80 | enemy_anim[0] = load_png("enemy1.png", true, false, false); - | ^~~~~~~~~~~~ -src/enemy.cpp:81:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 81 | enemy_anim[1] = load_png("enemy2.png", true, false, false); - | ^~~~~~~~~~~~ -src/enemy.cpp:82:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 82 | enemy_anim[2] = load_png("enemy3.png", true, false, false); - | ^~~~~~~~~~~~ -src/helpers.cpp: In function 'void load_wisps()': -src/helpers.cpp:85:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 85 | wisp_tex = load_jpg("wisp.jpg", false, false, true); - | ^~~~~~~~~~ src/bomb.cpp: In member function 'void BOMB::move()': src/bomb.cpp:456:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 456 | add_comment(COL_DEFAULT, "Five enemies with one bomb!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/bonus.cpp: In function 'void load_bonus()': -src/bonus.cpp:97:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 97 | bonus_tex = load_png("bonus.png", true, false, false); - | ^~~~~~~~~~~ -src/bonus.cpp:98:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 98 | bonus_particle = load_jpg("bonus_part.jpg", false, false, true); - | ^~~~~~~~~~~~~~~~ -src/helpers.cpp: In function 'void load_potatoman()': -src/helpers.cpp:300:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 300 | potatoman_tex = load_png("potatoman.png", true, false, false); - | ^~~~~~~~~~~~~~~ -src/mpak.cpp: In member function 'int MPAK_FILE::open_mpk(int, char*, char*)': -src/mpak.cpp:277:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 277 | fread(&crc_checksum, sizeof(crc_checksum), 1, fpointer); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/mpak.cpp:291:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 291 | fread(&filetable_offset, sizeof(filetable_offset), 1, fpointer); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/mpak.cpp:298:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 298 | fread(&num_files, sizeof(num_files), 1, fpointer); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/mpak.cpp:308:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 308 | fread(files[f], 1, len, fpointer); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/mpak.cpp:310:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 310 | fread(&offsets[f], sizeof(offsets[f]), 1, fpointer); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/mpak.cpp: In member function 'int MPAK_FILE::extract_file(char*, char*)': -src/mpak.cpp:536:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 536 | fread(buffer, 1, bytes_left, fin); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/mymath.cpp -o obj/mymath.o -src/levels.cpp: In function 'void load_bg_number(int)': -src/levels.cpp:181:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 181 | load_texture_into(cur_bground, str, "JPG", false, false, true); - | ^~~~~ -src/levels.cpp: In function 'void init_levels()': -src/levels.cpp:209:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 209 | add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -src/levels.cpp: In function 'bool change_level()': -src/levels.cpp:256:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 256 | add_comment(COL_DEFAULT, "Ten seconds left."); - | ^~~~~~~~~~~~~~~~~~~ -src/levels.cpp:318:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 318 | add_comment(COL_DEFAULT, "Level finished."); - | ^~~~~~~~~~~~~~~~~ -src/levels.cpp:320:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 320 | add_comment(COL_DEFAULT, "GAME OVER"); - | ^~~~~~~~~~~ -src/levels.cpp: In function 'void next_level()': -src/levels.cpp:378:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 378 | add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/particle.cpp -o obj/particle.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/pathfinder.cpp -o obj/pathfinder.o -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/player.cpp -o obj/player.o -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/screenshot.cpp -o obj/screenshot.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/menu.cpp: In function 'char* key_name(int)': src/menu.cpp:111:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | return "LEFT ARROW"; @@ -1694,6 +1619,10 @@ src/menu.cpp:253:47: note: in expansion of macro 'VERSION' 253 | glprintf(font1, 0, -7.0f, -5.3f, -13, VERSION); | ^~~~~~~ +src/screenshot.cpp: In function 'void save_tga(char*, short int, short int, unsigned char*)': +src/screenshot.cpp:123:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 123 | error_msg("Unable to save a screenshot to \"%s\"!\n", filename); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/menu.cpp:370:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 370 | glprintf(font1, 0, -5.0f, 3.0f, -13, "Settings for: %s", (whose_keys == 0) ? "PLAYER ONE" : "PLAYER TWO"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1749,35 +1678,98 @@ src/menu.cpp:931:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 931 | menu_bg = load_jpg("menubg.jpg", false, true, true); | ^~~~~~~~~~~~ -src/main.cpp: In function 'void loading_screen()': -src/main.cpp:61:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 61 | logo_tex = load_png("logotex.png", true, false, true); - | ^~~~~~~~~~~~~ -src/main.cpp:95:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 95 | glprintf_center(font1, 0, 0, -1, -20, "...LOADING..."); - | ^~~~~~~~~~~~~~~ -src/main.cpp: In function 'int main(int, char**)': -src/main.cpp:116:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 116 | font1 = load_png("fonts.png", true, false, true); - | ^~~~~~~~~~~ -src/main.cpp:125:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 125 | font_num = load_png("fonts_num.png", true, false, true); - | ^~~~~~~~~~~~~~~ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/select_special.cpp -o obj/select_special.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/soundmusic.cpp -o obj/soundmusic.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/special_power.cpp -o obj/special_power.o -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/teleport.cpp -o obj/teleport.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +src/init.cpp: In function 'void init_sdl_and_gl()': +src/init.cpp:94:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 94 | 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:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 98 | error_msg("Unable to init SDL: %s", SDL_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +src/init.cpp:108:41: note: in expansion of macro 'MPK_DIR' + 108 | if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) + | ^~~~~~~ +: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +src/init.cpp:108:65: note: in expansion of macro 'OVERRIDE_DIR' + 108 | if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) + | ^~~~~~~~~~~~ +src/init.cpp:109:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 109 | error_msg("Unable to open 'tomatoes.mpk'.\nThe file either doesn't exist or is corrupted."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/init.cpp:113:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 113 | FILE *fin = pakfile.open_file("icon.bmp"); + | ^~~~~~~~~~ +src/init.cpp:115:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 115 | error_msg("Unable to load the icon!\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/init.cpp:118:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 118 | error_msg("Unable to load the icon!\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/init.cpp:135:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 135 | error_msg("Unable to set the OpenGL video mode %d x %d (%d bit)!\n%s", config.vid_w, config.vid_h, config.vid_color_depth, SDL_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/hiscore.cpp: In member function 'void HISCORE_LIST::input_name(int)': +src/hiscore.cpp:333:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 333 | 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:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 353 | glprintf_center(font1, 0, 0, 3.05f, -13, "%s", ((this == &hiscore_1) ? "SINGLE PLAYER HIGH SCORES" : "TWO PLAYERS HIGH SCORES")); + | ^~~~ +src/hiscore.cpp:366:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 366 | glprintf(font1, 0, -5.0f, ypos, -13, "%2d.", f+1); + | ^~~~~~ +src/hiscore.cpp:373:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 373 | glprintf(font1, 0, -3.7f, ypos, -13, "%s", list[f].name); + | ^~~~ +src/hiscore.cpp:380:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 380 | glprintf(font1, 0, 3.4f, ypos, -13, "%03d", list[f].score); + | ^~~~~~ +src/hiscore.cpp: In member function 'void HISCORE_LIST::save(std::string)': +src/hiscore.cpp:408:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 408 | error_msg("Unable to save the hiscore list to %s!\n", file.c_str()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/helpers.cpp: In function 'void load_wisps()': +src/helpers.cpp:85:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | wisp_tex = load_jpg("wisp.jpg", false, false, true); + | ^~~~~~~~~~ +src/helpers.cpp: In function 'void load_potatoman()': +src/helpers.cpp:300:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 300 | potatoman_tex = load_png("potatoman.png", true, false, false); + | ^~~~~~~~~~~~~~~ +src/levels.cpp: In function 'void load_bg_number(int)': +src/levels.cpp:181:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 181 | load_texture_into(cur_bground, str, "JPG", false, false, true); + | ^~~~~ +src/levels.cpp: In function 'void init_levels()': +src/levels.cpp:209:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 209 | 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:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 256 | add_comment(COL_DEFAULT, "Ten seconds left."); + | ^~~~~~~~~~~~~~~~~~~ +src/levels.cpp:318:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 318 | add_comment(COL_DEFAULT, "Level finished."); + | ^~~~~~~~~~~~~~~~~ +src/levels.cpp:320:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 320 | add_comment(COL_DEFAULT, "GAME OVER"); + | ^~~~~~~~~~~ +src/levels.cpp: In function 'void next_level()': +src/levels.cpp:378:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 378 | add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/hiscore.cpp: In member function 'void HISCORE_LIST::load(std::string)': +src/hiscore.cpp:436:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 436 | fread(&list[f].score, sizeof(int), 1, fin); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/hiscore.cpp:440:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 440 | fread(list[f].name, NAME_LEN, 1, fin); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/texture.cpp -o obj/texture.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -src/screenshot.cpp: In function 'void save_tga(char*, short int, short int, unsigned char*)': -src/screenshot.cpp:123:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 123 | error_msg("Unable to save a screenshot to \"%s\"!\n", filename); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/tilemap.cpp -o obj/tilemap.o +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/timer.cpp -o obj/timer.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/particle.cpp: In function 'void load_particles()': @@ -1802,49 +1794,6 @@ src/particle.cpp:75:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | part_flower = load_png("flower.png", true, false, true); | ^~~~~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -src/player.cpp: In function 'void load_players()': -src/player.cpp:99:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 99 | player1_anim = load_png("player1.png", true, false, false); - | ^~~~~~~~~~~~~ -src/player.cpp:102:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 102 | sprite_shadow = load_png("shadow.png", true, false, true); - | ^~~~~~~~~~~~ -src/player.cpp:105:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 105 | p_icons = load_png("picons.png", true, false, false); - | ^~~~~~~~~~~~ -src/player.cpp: In member function 'void PLAYER::die()': -src/player.cpp:772:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 772 | add_comment(COL_DEFAULT, "Respawning soon..."); - | ^~~~~~~~~~~~~~~~~~~~ -src/player.cpp: In member function 'void PLAYER::pick_bonus(BONUS*)': -src/player.cpp:796:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 796 | add_comment(COL_RED, "You have received a Trap."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:798:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 798 | add_comment(COL_RED, "You have received a Wild Fire."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:800:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 800 | add_comment(COL_RED, "You have received a Napalm Strike."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:802:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 802 | add_comment(COL_GREEN, "You have received a Will O' The Wisp."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:804:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 804 | add_comment(COL_GREEN, "You have received a Potato Man."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:806:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 806 | add_comment(COL_GREEN, "You have received a Flower Power."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:808:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 808 | add_comment(COL_BLUE, "You have received a Teleport."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:810:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 810 | add_comment(COL_BLUE, "You have received a Turn."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/player.cpp:812:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 812 | add_comment(COL_BLUE, "You have received a Lightning Bolt."); break; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/soundmusic.cpp: In function 'void load_sound(char*)': src/soundmusic.cpp:173:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 173 | error_msg("load_sounds():\nTrying to load too many sounds!\nNUM_SOUNDS is defined as %d.\n", NUM_SOUNDS); @@ -1946,6 +1895,121 @@ | ^~~~~~~~~~~~~~~~~~~ g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-10\" -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -DLINUX -DMPK_DIR=\"/usr/share/tomatoes/\" -DMUSIC_DIR=\"/usr/share/tomatoes/music/\" -DHISCORE_DIR=\"./\" -DCONFIG_DIR=\"/etc/tomatoes/\" -DOVERRIDE_DIR=\"./data/\" -c src/trap.cpp -o obj/trap.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +src/game.cpp: In function 'void draw()': +src/game.cpp:223:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 223 | glprintf_center(font1, 0, 0, 9, -25, "FPS: %02.1f", fps); + | ^~~~~~~~~~~~~ +src/game.cpp:260:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 260 | glprintf_center(font1, 0, 0, 2.0f, -13, "ARE YOU SURE YOU WANT TO EXIT?"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/game.cpp:261:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 261 | 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:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 526 | int place = list.add_name("null", kill_count); + | ^~~~~~ +src/bonus.cpp: In function 'void load_bonus()': +src/bonus.cpp:97:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 97 | bonus_tex = load_png("bonus.png", true, false, false); + | ^~~~~~~~~~~ +src/bonus.cpp:98:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 98 | bonus_particle = load_jpg("bonus_part.jpg", false, false, true); + | ^~~~~~~~~~~~~~~~ +src/player.cpp: In function 'void load_players()': +src/player.cpp:99:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 99 | player1_anim = load_png("player1.png", true, false, false); + | ^~~~~~~~~~~~~ +src/player.cpp:102:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 102 | sprite_shadow = load_png("shadow.png", true, false, true); + | ^~~~~~~~~~~~ +src/player.cpp:105:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 105 | p_icons = load_png("picons.png", true, false, false); + | ^~~~~~~~~~~~ +src/enemy.cpp: In function 'void load_enemies()': +src/enemy.cpp:80:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 80 | enemy_anim[0] = load_png("enemy1.png", true, false, false); + | ^~~~~~~~~~~~ +src/enemy.cpp:81:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 81 | enemy_anim[1] = load_png("enemy2.png", true, false, false); + | ^~~~~~~~~~~~ +src/enemy.cpp:82:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 82 | enemy_anim[2] = load_png("enemy3.png", true, false, false); + | ^~~~~~~~~~~~ +src/select_special.cpp: In function 'void do_special_selection()': +src/select_special.cpp:308:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 308 | add_comment(COL_YELLOW, "%s chosen.", (char*)icon_names[power]); + | ^~~~~~~~~~~~ +src/select_special.cpp: In function 'void load_icons()': +src/select_special.cpp:347:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 347 | special_icons[0] = load_png("icons1.png", true, false, false); + | ^~~~~~~~~~~~ +src/select_special.cpp:348:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 348 | special_icons[1] = load_png("icons2.png", true, false, false); + | ^~~~~~~~~~~~ +src/select_special.cpp:349:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 349 | special_icons[2] = load_png("icons3.png", true, false, false); + | ^~~~~~~~~~~~ +src/select_special.cpp:350:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 350 | icon_bg = load_png("iconbg.png", true, false, false); + | ^~~~~~~~~~~~ +src/player.cpp: In member function 'void PLAYER::die()': +src/player.cpp:772:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 772 | add_comment(COL_DEFAULT, "Respawning soon..."); + | ^~~~~~~~~~~~~~~~~~~~ +src/player.cpp: In member function 'void PLAYER::pick_bonus(BONUS*)': +src/player.cpp:796:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 796 | add_comment(COL_RED, "You have received a Trap."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:798:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 798 | add_comment(COL_RED, "You have received a Wild Fire."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:800:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 800 | add_comment(COL_RED, "You have received a Napalm Strike."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:802:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 802 | add_comment(COL_GREEN, "You have received a Will O' The Wisp."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:804:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 804 | add_comment(COL_GREEN, "You have received a Potato Man."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:806:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 806 | add_comment(COL_GREEN, "You have received a Flower Power."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:808:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 808 | add_comment(COL_BLUE, "You have received a Teleport."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:810:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 810 | add_comment(COL_BLUE, "You have received a Turn."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/player.cpp:812:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 812 | add_comment(COL_BLUE, "You have received a Lightning Bolt."); break; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/main.cpp: In function 'void loading_screen()': +src/main.cpp:61:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 61 | logo_tex = load_png("logotex.png", true, false, true); + | ^~~~~~~~~~~~~ +src/main.cpp:95:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 95 | glprintf_center(font1, 0, 0, -1, -20, "...LOADING..."); + | ^~~~~~~~~~~~~~~ +src/main.cpp: In function 'int main(int, char**)': +src/main.cpp:116:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 116 | font1 = load_png("fonts.png", true, false, true); + | ^~~~~~~~~~~ +src/main.cpp:125:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 125 | font_num = load_png("fonts_num.png", true, false, true); + | ^~~~~~~~~~~~~~~ +src/timer.cpp: In function 'void start_timer(int)': +src/timer.cpp:59:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 59 | error_msg("Error setting timer!\n%s", SDL_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +src/teleport.cpp: In function 'void load_teleports()': +src/teleport.cpp:121:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 121 | teleport_tex = load_png("teleport1.png", true, false, false); + | ^~~~~~~~~~~~~~~ +src/teleport.cpp:122:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 122 | part_teleport = load_jpg("teleport2.jpg", false, false, true); + | ^~~~~~~~~~~~~~~ src/texture.cpp: In function 'GLuint load_png(char*, bool, bool, bool)': src/texture.cpp:71:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | return load_texture(file, "PNG", alpha, repeat, mipmaps); @@ -1978,41 +2042,6 @@ src/texture.cpp:269:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 269 | error_msg("Unable to create an empty texture!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/select_special.cpp: In function 'void do_special_selection()': -src/select_special.cpp:308:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 308 | add_comment(COL_YELLOW, "%s chosen.", (char*)icon_names[power]); - | ^~~~~~~~~~~~ -src/select_special.cpp: In function 'void load_icons()': -src/select_special.cpp:347:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 347 | special_icons[0] = load_png("icons1.png", true, false, false); - | ^~~~~~~~~~~~ -src/select_special.cpp:348:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 348 | special_icons[1] = load_png("icons2.png", true, false, false); - | ^~~~~~~~~~~~ -src/select_special.cpp:349:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 349 | special_icons[2] = load_png("icons3.png", true, false, false); - | ^~~~~~~~~~~~ -src/select_special.cpp:350:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 350 | icon_bg = load_png("iconbg.png", true, false, false); - | ^~~~~~~~~~~~ -src/timer.cpp: In function 'void start_timer(int)': -src/timer.cpp:59:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 59 | error_msg("Error setting timer!\n%s", SDL_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -src/tilemap.cpp: In function 'void load_map(char*)': -src/tilemap.cpp:474:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 474 | error_msg("Unable to load the level %s from the pakfile!\n", file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/tilemap.cpp:488:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 488 | error_msg("'%s' is not a level file for this game!\n", file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/teleport.cpp: In function 'void load_teleports()': -src/teleport.cpp:121:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 121 | teleport_tex = load_png("teleport1.png", true, false, false); - | ^~~~~~~~~~~~~~~ -src/teleport.cpp:122:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 122 | part_teleport = load_jpg("teleport2.jpg", false, false, true); - | ^~~~~~~~~~~~~~~ src/trap.cpp: In function 'void load_traps()': src/trap.cpp:58:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | trap_texture = load_png("trap.png", true, false, false); @@ -2020,6 +2049,13 @@ src/trap.cpp:59:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | part_trap = load_jpg("part_trap.jpg", false, false, true); | ^~~~~~~~~~~~~~~ +src/tilemap.cpp: In function 'void load_map(char*)': +src/tilemap.cpp:474:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 474 | error_msg("Unable to load the level %s from the pakfile!\n", file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/tilemap.cpp:488:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 488 | error_msg("'%s' is not a level file for this game!\n", file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -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 -Wl,-z,relro -Wl,-z,now `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU make[2]: Leaving directory '/build/reproducible-path/tomatoes-1.55' make[1]: Leaving directory '/build/reproducible-path/tomatoes-1.55' @@ -2061,12 +2097,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/35922/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/35922/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/15350 and its subdirectories -I: Current time: Fri Jan 31 14:57:10 -12 2025 -I: pbuilder-time-stamp: 1738378630 +I: removing directory /srv/workspace/pbuilder/35922 and its subdirectories +I: Current time: Fri Mar 6 23:20:56 +14 2026 +I: pbuilder-time-stamp: 1772788856