Diff of the two buildlogs: -- --- b1/build.log 2025-08-02 13:34:29.779890711 +0000 +++ b2/build.log 2025-08-02 13:37:44.880142442 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Aug 2 01:33:40 -12 2025 -I: pbuilder-time-stamp: 1754141620 +I: Current time: Sat Sep 5 09:57:33 +14 2026 +I: pbuilder-time-stamp: 1788551853 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -32,52 +32,84 @@ 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/1229877/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/229872/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +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 Sep 4 19:57 /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/229872/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/229872/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='ba27a27591a84b7392b3ebdc542e4f9e' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='1229877' - PS1='# ' - PS2='> ' + INVOCATION_ID=d0b6e19a18874bc78bea1f86347f88f3 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=229872 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.Vf1vpHYp/pbuilderrc_Lu02 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Vf1vpHYp/b1 --logfile b1/build.log tomatoes_1.55-10.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.Vf1vpHYp/pbuilderrc_iQ4R --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Vf1vpHYp/b2 --logfile b2/build.log tomatoes_1.55-10.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1229877/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 12 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/229872/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -372,7 +404,7 @@ Get: 251 http://deb.debian.org/debian trixie/main arm64 libsdl-mixer1.2 arm64 1.2.12-19+b1 [81.1 kB] Get: 252 http://deb.debian.org/debian trixie/main arm64 libvorbis-dev arm64 1.3.7-3 [320 kB] Get: 253 http://deb.debian.org/debian trixie/main arm64 libsdl-mixer1.2-dev arm64 1.2.12-19+b1 [98.0 kB] -Fetched 103 MB in 1s (194 MB/s) +Fetched 103 MB in 1s (73.9 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:arm64. (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 ... 19965 files and directories currently installed.) @@ -1191,8 +1223,8 @@ Setting up tzdata (2025b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Aug 2 13:34:09 UTC 2025. -Universal Time is now: Sat Aug 2 13:34:09 UTC 2025. +Local time is now: Fri Sep 4 19:59:32 UTC 2026. +Universal Time is now: Fri Sep 4 19:59:32 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:arm64 (1.17.0-2+b1) ... @@ -1417,7 +1449,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/229872/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/229872/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 @@ -1466,6 +1502,14 @@ 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/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] + 107 | error_msg("Unable to load config file: %s!", file.c_str()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp: In function 'void save_config(std::string, CONFIG*)': +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()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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"); @@ -1517,6 +1561,55 @@ 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/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)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:110:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 110 | fscanf(f, "video_mode_color_depth = %d\n", &(conf->vid_color_depth)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:111:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 111 | fscanf(f, "video_mode_fullscreen = %d\n", &(conf->fullscreen)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:112:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 112 | fscanf(f, "sound_enabled = %d\n", &(conf->sound)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:113:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 113 | fscanf(f, "sound_freq = %d\n", &(conf->sound_freq)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:114:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 114 | fscanf(f, "sound_volume = %d\n", &(conf->sound_vol)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:115:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 115 | fscanf(f, "music_volume = %d\n", &(conf->music_vol)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:116:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 116 | fscanf(f, "show_fps = %d\n", &(conf->show_fps)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:117:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 117 | fscanf(f, "key_left = %d %d\n", &(conf->key_left[0]), &(conf->key_left[1])); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:118:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | fscanf(f, "key_right = %d %d\n", &(conf->key_right[0]), &(conf->key_right[1])); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:119:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 119 | fscanf(f, "key_up = %d %d\n", &(conf->key_up[0]), &(conf->key_up[1])); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:120:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 120 | fscanf(f, "key_down = %d %d\n", &(conf->key_down[0]), &(conf->key_down[1])); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:121:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 121 | fscanf(f, "key_shoot = %d %d\n", &(conf->key_shoot[0]), &(conf->key_shoot[1])); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:122:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 122 | fscanf(f, "key_special = %d %d\n", &(conf->key_special[0]), &(conf->key_special[1])); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/config.cpp:123:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 123 | fscanf(f, "perspective = %d\n", &(conf->perspective_mode)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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::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); @@ -1524,14 +1617,6 @@ 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -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/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); @@ -1542,6 +1627,14 @@ 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/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/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); @@ -1549,19 +1642,6 @@ 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/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] - 107 | error_msg("Unable to load config file: %s!", file.c_str()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 -src/config.cpp: In function 'void save_config(std::string, CONFIG*)': -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()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -1576,14 +1656,6 @@ 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/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/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/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); @@ -1596,55 +1668,10 @@ 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/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)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:110:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 110 | fscanf(f, "video_mode_color_depth = %d\n", &(conf->vid_color_depth)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:111:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 111 | fscanf(f, "video_mode_fullscreen = %d\n", &(conf->fullscreen)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:112:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 112 | fscanf(f, "sound_enabled = %d\n", &(conf->sound)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:113:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 113 | fscanf(f, "sound_freq = %d\n", &(conf->sound_freq)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:114:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 114 | fscanf(f, "sound_volume = %d\n", &(conf->sound_vol)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:115:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 115 | fscanf(f, "music_volume = %d\n", &(conf->music_vol)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:116:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 116 | fscanf(f, "show_fps = %d\n", &(conf->show_fps)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:117:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 117 | fscanf(f, "key_left = %d %d\n", &(conf->key_left[0]), &(conf->key_left[1])); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:118:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | fscanf(f, "key_right = %d %d\n", &(conf->key_right[0]), &(conf->key_right[1])); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:119:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 119 | fscanf(f, "key_up = %d %d\n", &(conf->key_up[0]), &(conf->key_up[1])); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:120:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 120 | fscanf(f, "key_down = %d %d\n", &(conf->key_down[0]), &(conf->key_down[1])); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:121:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 121 | fscanf(f, "key_shoot = %d %d\n", &(conf->key_shoot[0]), &(conf->key_shoot[1])); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:122:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 122 | fscanf(f, "key_special = %d %d\n", &(conf->key_special[0]), &(conf->key_special[1])); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/config.cpp:123:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 123 | fscanf(f, "perspective = %d\n", &(conf->perspective_mode)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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/levels.cpp:318:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 318 | add_comment(COL_DEFAULT, "Level finished."); | ^~~~~~~~~~~~~~~~~ @@ -1655,6 +1682,17 @@ 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/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!"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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++ +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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 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] @@ -1676,18 +1714,23 @@ 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 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"; | ^~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/menu.cpp:113:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 113 | return "RIGHT ARROW"; | ^~~~~~~~~~~~~ @@ -1778,6 +1821,7 @@ src/menu.cpp:438:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 438 | glprintf(font1, 0, -5.0f, -1.5f, -13, "Sound volume:"); | ^~~~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ src/menu.cpp:468:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 468 | glprintf(font1, 0, -5.0f, -2.0f, -13, "Music volume:"); | ^~~~~~~~~~~~~~~ @@ -1794,11 +1838,9 @@ 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); | ^~~~~~~~~~~~ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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++ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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++ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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++ 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] @@ -1814,40 +1856,29 @@ 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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 -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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++ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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++ -src/particle.cpp: In function 'void load_particles()': -src/particle.cpp:69:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 69 | part_spark = load_jpg("spark.jpg", false, false, true); - | ^~~~~~~~~~~ -src/particle.cpp:70:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 70 | part_explo = load_jpg("explo.jpg", false, false, true); - | ^~~~~~~~~~~ -src/particle.cpp:71:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 71 | part_star = load_jpg("star.jpg", false, false, true); - | ^~~~~~~~~~ -src/particle.cpp:72:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 72 | part_glow = load_jpg("glow.jpg", false, false, true); - | ^~~~~~~~~~ -src/particle.cpp:73:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 73 | part_smoke = load_png("smoke.png", true, false, true); - | ^~~~~~~~~~~ -src/particle.cpp:74:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 74 | part_fire = load_jpg("fire.jpg", false, false, true); - | ^~~~~~~~~~ -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); - | ^~~~~~~~~~~~ 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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++ +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/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); @@ -1947,6 +1978,36 @@ src/soundmusic.cpp:284:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 284 | add_comment(COL_DEFAULT, "Playing \"%s\"...", file); | ^~~~~~~~~~~~~~~~~~~ +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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()': +src/particle.cpp:69:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 69 | part_spark = load_jpg("spark.jpg", false, false, true); + | ^~~~~~~~~~~ +src/particle.cpp:70:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 70 | part_explo = load_jpg("explo.jpg", false, false, true); + | ^~~~~~~~~~~ +src/particle.cpp:71:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 71 | part_star = load_jpg("star.jpg", false, false, true); + | ^~~~~~~~~~ +src/particle.cpp:72:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 72 | part_glow = load_jpg("glow.jpg", false, false, true); + | ^~~~~~~~~~ +src/particle.cpp:73:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 73 | part_smoke = load_png("smoke.png", true, false, true); + | ^~~~~~~~~~~ +src/particle.cpp:74:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 74 | part_fire = load_jpg("fire.jpg", false, false, true); + | ^~~~~~~~~~ +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); + | ^~~~~~~~~~~~ +g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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/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/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); @@ -1957,6 +2018,38 @@ 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/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); + | ^~~~~ +src/texture.cpp: In function 'GLuint load_jpg(char*, bool, bool, bool)': +src/texture.cpp:77:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 77 | return load_texture(file, "JPG", alpha, repeat, mipmaps); + | ^~~~~ +src/texture.cpp: In function 'GLuint load_texture(char*, char*, bool, bool, bool)': +src/texture.cpp:97:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 97 | error_msg("Unable to load texture from %s!\nSomething is wrong with the pakfile.", file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/texture.cpp:103:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 103 | error_msg("Unable to load texture from %s!\n%s", file, IMG_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/texture.cpp:113:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 113 | error_msg("Unable to flip surface %s:\nOut of memory!\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/texture.cpp: In function 'void load_texture_into(GLuint, char*, char*, bool, bool, bool)': +src/texture.cpp:196:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 196 | error_msg("Unable to load texture from %s!\nSomething is wrong with the pakfile.", file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/texture.cpp:202:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 202 | error_msg("Unable to load texture from %s!\n%s", file, IMG_GetError()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/texture.cpp:212:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 212 | error_msg("Unable to flip surface %s:\nOut of memory!\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/texture.cpp: In function 'GLuint create_empty_texture(int, int, int)': +src/texture.cpp:269:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 269 | error_msg("Unable to create an empty texture!"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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..."); @@ -1989,27 +2082,6 @@ 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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++ -g++ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tomatoes-1.55=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard `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/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/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); @@ -2017,49 +2089,6 @@ 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); - | ^~~~~ -src/texture.cpp: In function 'GLuint load_jpg(char*, bool, bool, bool)': -src/texture.cpp:77:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 77 | return load_texture(file, "JPG", alpha, repeat, mipmaps); - | ^~~~~ -src/texture.cpp: In function 'GLuint load_texture(char*, char*, bool, bool, bool)': -src/texture.cpp:97:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 97 | error_msg("Unable to load texture from %s!\nSomething is wrong with the pakfile.", file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/texture.cpp:103:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 103 | error_msg("Unable to load texture from %s!\n%s", file, IMG_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/texture.cpp:113:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 113 | error_msg("Unable to flip surface %s:\nOut of memory!\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/texture.cpp: In function 'void load_texture_into(GLuint, char*, char*, bool, bool, bool)': -src/texture.cpp:196:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 196 | error_msg("Unable to load texture from %s!\nSomething is wrong with the pakfile.", file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/texture.cpp:202:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 202 | error_msg("Unable to load texture from %s!\n%s", file, IMG_GetError()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/texture.cpp:212:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 212 | error_msg("Unable to flip surface %s:\nOut of memory!\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/texture.cpp: In function 'GLuint create_empty_texture(int, int, int)': -src/texture.cpp:269:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 269 | error_msg("Unable to create an empty texture!"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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/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); @@ -2067,6 +2096,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' @@ -2102,9 +2138,9 @@ dh_gencontrol dh_md5sums dh_builddeb +dpkg-deb: building package 'tomatoes-data' in '../tomatoes-data_1.55-10_all.deb'. dpkg-deb: building package 'tomatoes' in '../tomatoes_1.55-10_arm64.deb'. dpkg-deb: building package 'tomatoes-dbgsym' in '../tomatoes-dbgsym_1.55-10_arm64.deb'. -dpkg-deb: building package 'tomatoes-data' in '../tomatoes-data_1.55-10_all.deb'. dpkg-genbuildinfo --build=binary -O../tomatoes_1.55-10_arm64.buildinfo dpkg-genchanges --build=binary -O../tomatoes_1.55-10_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2112,12 +2148,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/229872/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/229872/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/1229877 and its subdirectories -I: Current time: Sat Aug 2 01:34:28 -12 2025 -I: pbuilder-time-stamp: 1754141668 +I: removing directory /srv/workspace/pbuilder/229872 and its subdirectories +I: Current time: Sat Sep 5 10:00:43 +14 2026 +I: pbuilder-time-stamp: 1788552043