Diff of the two buildlogs: -- --- b1/build.log 2020-08-04 00:34:16.373158841 +0000 +++ b2/build.log 2020-08-04 00:35:52.462185989 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Sep 5 18:55:56 -12 2021 -I: pbuilder-time-stamp: 1630911356 +I: Current time: Tue Aug 4 14:34:33 +14 2020 +I: pbuilder-time-stamp: 1596501273 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/var/lib/jenkins/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Wed Jan 2 09:25:12 2019 -12 +gpgv: Signature made Thu Jan 3 11:25:12 2019 +14 gpgv: using RSA key 05DB6A837E105F4B1D02C55FBBA9FAADCCFB4707 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./tomatoes_1.55-9.dsc @@ -36,136 +36,170 @@ dpkg-source: info: applying 09_sort_source_files.diff I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/24005/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/5541/tmp/hooks/D01_modify_environment starting +debug: Running on codethink-sled14-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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/5541/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/5541/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + 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=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='24005' - PS1='# ' - PS2='> ' + 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=5541 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/tmp.aW6q03iMsG/pbuilderrc_rrMk --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.aW6q03iMsG/b1 --logfile b1/build.log tomatoes_1.55-9.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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/tmp.aW6q03iMsG/pbuilderrc_kOB1 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.aW6q03iMsG/b2 --logfile b2/build.log tomatoes_1.55-9.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink-sled11-arm64 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:35:21 UTC 2020 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:35:21 UTC 2020 aarch64 GNU/Linux I: ls -l /bin total 4928 - -rwxr-xr-x 1 root root 1216928 Apr 17 2019 bash - -rwxr-xr-x 3 root root 34808 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 35576 Feb 28 2019 cat - -rwxr-xr-x 1 root root 60256 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 56096 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 64368 Feb 28 2019 chown - -rwxr-xr-x 1 root root 134632 Feb 28 2019 cp - -rwxr-xr-x 1 root root 129536 Jan 17 2019 dash - -rwxr-xr-x 1 root root 97136 Feb 28 2019 date - -rwxr-xr-x 1 root root 76736 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93752 Feb 28 2019 df - -rwxr-xr-x 1 root root 138848 Feb 28 2019 dir - -rwxr-xr-x 1 root root 75984 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 31368 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 27256 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68792 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34824 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 174304 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 89656 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 18440 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 64472 Feb 28 2019 ln - -rwxr-xr-x 1 root root 52544 Jul 26 2018 login - -rwxr-xr-x 1 root root 138848 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108552 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 76840 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 64480 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 39736 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 38840 Jan 9 2019 more - -rwsr-xr-x 1 root root 47112 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14344 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138736 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35560 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 43712 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68440 Feb 28 2019 rm - -rwxr-xr-x 1 root root 39624 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 19144 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Sep 5 02:48 sh -> dash - -rwxr-xr-x 1 root root 31384 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 72480 Feb 28 2019 stty - -rwsr-xr-x 1 root root 59424 Jan 9 2019 su - -rwxr-xr-x 1 root root 31416 Feb 28 2019 sync - -rwxr-xr-x 1 root root 449416 Apr 23 2019 tar - -rwxr-xr-x 1 root root 10560 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 88968 Feb 28 2019 touch - -rwxr-xr-x 1 root root 27256 Feb 28 2019 true - -rwxr-xr-x 1 root root 14264 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 30728 Jan 9 2019 umount - -rwxr-xr-x 1 root root 31384 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138848 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34824 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/24005/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1216928 Apr 18 2019 bash + -rwxr-xr-x 3 root root 34808 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 35576 Mar 1 2019 cat + -rwxr-xr-x 1 root root 60256 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 56096 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 64368 Mar 1 2019 chown + -rwxr-xr-x 1 root root 134632 Mar 1 2019 cp + -rwxr-xr-x 1 root root 129536 Jan 18 2019 dash + -rwxr-xr-x 1 root root 97136 Mar 1 2019 date + -rwxr-xr-x 1 root root 76736 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93752 Mar 1 2019 df + -rwxr-xr-x 1 root root 138848 Mar 1 2019 dir + -rwxr-xr-x 1 root root 75984 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 31368 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 27256 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68792 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34824 Apr 23 09:38 fusermount + -rwxr-xr-x 1 root root 174304 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 89656 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 18440 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 64472 Mar 1 2019 ln + -rwxr-xr-x 1 root root 52544 Jul 27 2018 login + -rwxr-xr-x 1 root root 138848 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108552 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 76840 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 64480 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 39736 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 38840 Jan 10 2019 more + -rwsr-xr-x 1 root root 47112 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14344 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138736 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35560 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 43712 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68440 Mar 1 2019 rm + -rwxr-xr-x 1 root root 39624 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 19144 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 4 14:34 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 3 22:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 31384 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 72480 Mar 1 2019 stty + -rwsr-xr-x 1 root root 59424 Jan 10 2019 su + -rwxr-xr-x 1 root root 31416 Mar 1 2019 sync + -rwxr-xr-x 1 root root 449416 Apr 24 2019 tar + -rwxr-xr-x 1 root root 10560 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 88968 Mar 1 2019 touch + -rwxr-xr-x 1 root root 27256 Mar 1 2019 true + -rwxr-xr-x 1 root root 14264 Apr 23 09:38 ulockmgr_server + -rwsr-xr-x 1 root root 30728 Jan 10 2019 umount + -rwxr-xr-x 1 root root 31384 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138848 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34824 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/5541/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -424,7 +458,7 @@ Get: 215 http://deb.debian.org/debian buster/main arm64 libsdl-mixer1.2 arm64 1.2.12-15 [85.8 kB] Get: 216 http://deb.debian.org/debian buster/main arm64 libvorbis-dev arm64 1.3.6-2 [322 kB] Get: 217 http://deb.debian.org/debian buster/main arm64 libsdl-mixer1.2-dev arm64 1.2.12-15 [107 kB] -Fetched 66.6 MB in 9s (7596 kB/s) +Fetched 66.6 MB in 7s (9269 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0: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 ... 19168 files and directories currently installed.) @@ -1320,7 +1354,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/tomatoes-1.55/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/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 dpkg-buildpackage: info: source package tomatoes dpkg-buildpackage: info: source version 1.55-9 dpkg-buildpackage: info: source distribution unstable @@ -1353,63 +1387,63 @@ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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/enemy.cpp -o obj/enemy.o g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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/font.cpp -o obj/font.o g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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/game.cpp -o obj/game.o -In file included from src/effects.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - #define GL_GLEXT_VERSION 29 - -In file included from src/bomb.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - #define GL_GLEXT_VERSION 29 - In file included from src/bonus.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, - from src/effects.cpp:32: + from src/bonus.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 +In file included from src/enemy.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + #define GL_GLEXT_VERSION 29 + In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, - from src/bonus.cpp:32: + from src/enemy.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 +In file included from src/game.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + #define GL_GLEXT_VERSION 29 + In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, - from src/bomb.cpp:32: + from src/game.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 -In file included from src/enemy.cpp:32: +In file included from src/comments.cpp:34: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, - from src/enemy.cpp:32: + from src/comments.cpp:34: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 -In file included from src/comments.cpp:34: +In file included from src/bomb.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, - from src/comments.cpp:34: + from src/bomb.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 -In file included from src/game.cpp:32: +In file included from src/effects.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, - from src/game.cpp:32: + from src/effects.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 @@ -1498,14 +1532,6 @@ src/enemy.cpp:82:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] enemy_anim[2] = load_png("enemy3.png", true, false, false); ^ -src/bomb.cpp: In function 'void load_bombs()': -src/bomb.cpp:80:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - bomb_tex[0] = load_png("bomb1.png", true, false, false); - ^ -src/bomb.cpp: In member function 'void BOMB::move()': -src/bomb.cpp:456:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - add_comment(COL_DEFAULT, "Five enemies with one bomb!"); - ^ In file included from src/helpers.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 @@ -1516,7 +1542,17 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 +src/bomb.cpp: In function 'void load_bombs()': +src/bomb.cpp:80:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + bomb_tex[0] = load_png("bomb1.png", true, false, false); + ^ +src/bomb.cpp: In member function 'void BOMB::move()': +src/bomb.cpp:456:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + add_comment(COL_DEFAULT, "Five enemies with one bomb!"); + ^ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 src/game.cpp: In function 'void draw()': src/game.cpp:223:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, 9, -25, "FPS: %02.1f", fps); @@ -1531,7 +1567,6 @@ src/game.cpp:526:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] int place = list.add_name("null", kill_count); ^ -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 In file included from src/hiscore.cpp:34: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 @@ -1552,8 +1587,6 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 In file included from src/levels.cpp:33: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 @@ -1564,18 +1597,17 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 -In file included from src/menu.cpp:34: +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 +In file included from src/main.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, - from src/menu.cpp:34: + from src/main.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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/helpers.cpp: In function 'void load_wisps()': src/helpers.cpp:85:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] wisp_tex = load_jpg("wisp.jpg", false, false, true); @@ -1584,42 +1616,7 @@ src/helpers.cpp:300:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] potatoman_tex = load_png("potatoman.png", true, false, false); ^ -In file included from src/main.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - #define GL_GLEXT_VERSION 29 - -In file included from /usr/include/GL/gl.h:2055, - from /usr/include/SDL/SDL_opengl.h:46, - from src/main.cpp:32: -/usr/include/GL/glext.h:54: note: this is the location of the previous definition - #define GL_GLEXT_VERSION 20180725 - -src/init.cpp: In function 'void init_sdl_and_gl()': -src/init.cpp:94:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - error_msg("Sorry, 8-bit color depth is not supported!\nYou must use 15, 16, 24 or 32-bit mode.\n"); - ^ -src/init.cpp:98:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - error_msg("Unable to init SDL: %s", SDL_GetError()); - ^ -src/init.cpp:108:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) - ^ -src/init.cpp:108:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -src/init.cpp:109:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - error_msg("Unable to open 'tomatoes.mpk'.\nThe file either doesn't exist or is corrupted."); - ^ -src/init.cpp:113:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - FILE *fin = pakfile.open_file("icon.bmp"); - ^ -src/init.cpp:115:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - error_msg("Unable to load the icon!\n"); - ^ -src/init.cpp:118:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - error_msg("Unable to load the icon!\n"); - ^ -src/init.cpp:135:140: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - error_msg("Unable to set the OpenGL video mode %d x %d (%d bit)!\n%s", config.vid_w, config.vid_h, config.vid_color_depth, SDL_GetError()); - ^ +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 src/hiscore.cpp: In member function 'void HISCORE_LIST::input_name(int)': src/hiscore.cpp:333:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] glprintf_center(font1, 0, 0, -4.5f, -13, "CONGRATULATIONS"); @@ -1641,6 +1638,24 @@ src/hiscore.cpp:408:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to save the hiscore list to %s!\n", file.c_str()); ^ +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 +In file included from src/menu.cpp:34: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + #define GL_GLEXT_VERSION 29 + +In file included from /usr/include/GL/gl.h:2055, + from /usr/include/SDL/SDL_opengl.h:46, + from src/menu.cpp:34: +/usr/include/GL/glext.h:54: note: this is the location of the previous definition + #define GL_GLEXT_VERSION 20180725 + +src/hiscore.cpp: In member function 'void HISCORE_LIST::load(std::__cxx11::string)': +src/hiscore.cpp:436:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fread(&list[f].score, sizeof(int), 1, fin); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/hiscore.cpp:440:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fread(list[f].name, NAME_LEN, 1, fin); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mpak.cpp: In member function 'int MPAK_FILE::open_mpk(int, char*, char*)': src/mpak.cpp:277:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&crc_checksum, sizeof(crc_checksum), 1, fpointer); @@ -1661,14 +1676,72 @@ src/mpak.cpp:536:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, bytes_left, fin); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/hiscore.cpp: In member function 'void HISCORE_LIST::load(std::__cxx11::string)': -src/hiscore.cpp:436:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fread(&list[f].score, sizeof(int), 1, fin); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/hiscore.cpp:440:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fread(list[f].name, NAME_LEN, 1, fin); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/init.cpp: In function 'void init_sdl_and_gl()': +src/init.cpp:94:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + error_msg("Sorry, 8-bit color depth is not supported!\nYou must use 15, 16, 24 or 32-bit mode.\n"); + ^ +src/init.cpp:98:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + error_msg("Unable to init SDL: %s", SDL_GetError()); + ^ +src/init.cpp:108:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + if(!pakfile.open_mpk(MPAK_READ, MPK_DIR "tomatoes.mpk", OVERRIDE_DIR)) + ^ +src/init.cpp:108:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] +src/init.cpp:109:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + error_msg("Unable to open 'tomatoes.mpk'.\nThe file either doesn't exist or is corrupted."); + ^ +src/init.cpp:113:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + FILE *fin = pakfile.open_file("icon.bmp"); + ^ +src/init.cpp:115:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + error_msg("Unable to load the icon!\n"); + ^ +src/init.cpp:118:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + error_msg("Unable to load the icon!\n"); + ^ +src/init.cpp:135:140: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + error_msg("Unable to set the OpenGL video mode %d x %d (%d bit)!\n%s", config.vid_w, config.vid_h, config.vid_color_depth, SDL_GetError()); + ^ g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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/main.cpp: In function 'void loading_screen()': +src/main.cpp:61:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + logo_tex = load_png("logotex.png", true, false, true); + ^ +src/main.cpp:95:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + glprintf_center(font1, 0, 0, -1, -20, "...LOADING..."); + ^ +src/main.cpp: In function 'int main(int, char**)': +src/main.cpp:116:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + font1 = load_png("fonts.png", true, false, true); + ^ +src/main.cpp:125:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + font_num = load_png("fonts_num.png", true, false, true); + ^ +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 +src/levels.cpp: In function 'void load_bg_number(int)': +src/levels.cpp:181:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + load_texture_into(cur_bground, str, "JPG", false, false, true); + ^ +src/levels.cpp: In function 'void init_levels()': +src/levels.cpp:209:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); + ^ +src/levels.cpp: In function 'bool change_level()': +src/levels.cpp:256:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + add_comment(COL_DEFAULT, "Ten seconds left."); + ^ +src/levels.cpp:318:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + add_comment(COL_DEFAULT, "Level finished."); + ^ +src/levels.cpp:320:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + add_comment(COL_DEFAULT, "GAME OVER"); + ^ +src/levels.cpp: In function 'void next_level()': +src/levels.cpp:378:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); + ^ +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 src/menu.cpp: In function 'char* key_name(int)': src/menu.cpp:111:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "LEFT ARROW"; @@ -1778,75 +1851,36 @@ src/menu.cpp:931:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu_bg = load_jpg("menubg.jpg", false, true, true); ^ -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 In file included from src/particle.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 +In file included from src/player.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + #define GL_GLEXT_VERSION 29 + In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/particle.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 -src/levels.cpp: In function 'void load_bg_number(int)': -src/levels.cpp:181:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - load_texture_into(cur_bground, str, "JPG", false, false, true); - ^ -src/levels.cpp: In function 'void init_levels()': -src/levels.cpp:209:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); - ^ -src/levels.cpp: In function 'bool change_level()': -src/levels.cpp:256:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - add_comment(COL_DEFAULT, "Ten seconds left."); - ^ -src/levels.cpp:318:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - add_comment(COL_DEFAULT, "Level finished."); - ^ -src/levels.cpp:320:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - add_comment(COL_DEFAULT, "GAME OVER"); - ^ -src/levels.cpp: In function 'void next_level()': -src/levels.cpp:378:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - add_comment(COL_DEFAULT, "Press ENTER to begin level %s.", level_names[cur_level]); - ^ -In file included from src/pathfinder.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - #define GL_GLEXT_VERSION 29 - In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, - from src/pathfinder.cpp:32: + from src/player.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 -src/main.cpp: In function 'void loading_screen()': -src/main.cpp:61:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - logo_tex = load_png("logotex.png", true, false, true); - ^ -src/main.cpp:95:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - glprintf_center(font1, 0, 0, -1, -20, "...LOADING..."); - ^ -src/main.cpp: In function 'int main(int, char**)': -src/main.cpp:116:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - font1 = load_png("fonts.png", true, false, true); - ^ -src/main.cpp:125:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - font_num = load_png("fonts_num.png", true, false, true); - ^ -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 -In file included from src/player.cpp:32: +In file included from src/pathfinder.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, - from src/player.cpp:32: + from src/pathfinder.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 @@ -1860,28 +1894,6 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 -src/particle.cpp: In function 'void load_particles()': -src/particle.cpp:69:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - part_spark = load_jpg("spark.jpg", false, false, true); - ^ -src/particle.cpp:70:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - part_explo = load_jpg("explo.jpg", false, false, true); - ^ -src/particle.cpp:71:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - part_star = load_jpg("star.jpg", false, false, true); - ^ -src/particle.cpp:72:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - part_glow = load_jpg("glow.jpg", false, false, true); - ^ -src/particle.cpp:73:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - part_smoke = load_png("smoke.png", true, false, true); - ^ -src/particle.cpp:74:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - part_fire = load_jpg("fire.jpg", false, false, true); - ^ -src/particle.cpp:75:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - part_flower = load_png("flower.png", true, false, true); - ^ In file included from src/select_special.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 @@ -1892,23 +1904,10 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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/screenshot.cpp: In function 'void save_tga(char*, short int, short int, unsigned char*)': src/screenshot.cpp:123:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to save a screenshot to \"%s\"!\n", filename); ^ -In file included from src/special_power.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - #define GL_GLEXT_VERSION 29 - -In file included from /usr/include/GL/gl.h:2055, - from /usr/include/SDL/SDL_opengl.h:46, - from src/special_power.cpp:32: -/usr/include/GL/glext.h:54: note: this is the location of the previous definition - #define GL_GLEXT_VERSION 20180725 - -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 src/soundmusic.cpp: In function 'void load_sound(char*)': src/soundmusic.cpp:173:106: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("load_sounds():\nTrying to load too many sounds!\nNUM_SOUNDS is defined as %d.\n", NUM_SOUNDS); @@ -2008,24 +2007,37 @@ src/soundmusic.cpp:284:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_DEFAULT, "Playing \"%s\"...", file); ^ -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 -In file included from src/teleport.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - #define GL_GLEXT_VERSION 29 - -In file included from /usr/include/GL/gl.h:2055, - from /usr/include/SDL/SDL_opengl.h:46, - from src/teleport.cpp:32: -/usr/include/GL/glext.h:54: note: this is the location of the previous definition - #define GL_GLEXT_VERSION 20180725 - -In file included from src/texture.cpp:35: +src/particle.cpp: In function 'void load_particles()': +src/particle.cpp:69:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + part_spark = load_jpg("spark.jpg", false, false, true); + ^ +src/particle.cpp:70:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + part_explo = load_jpg("explo.jpg", false, false, true); + ^ +src/particle.cpp:71:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + part_star = load_jpg("star.jpg", false, false, true); + ^ +src/particle.cpp:72:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + part_glow = load_jpg("glow.jpg", false, false, true); + ^ +src/particle.cpp:73:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + part_smoke = load_png("smoke.png", true, false, true); + ^ +src/particle.cpp:74:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + part_fire = load_jpg("fire.jpg", false, false, true); + ^ +src/particle.cpp:75:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + part_flower = load_png("flower.png", true, false, true); + ^ +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 +In file included from src/special_power.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, - from src/texture.cpp:35: + from src/special_power.cpp:32: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 @@ -2039,23 +2051,6 @@ src/player.cpp:105:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] p_icons = load_png("picons.png", true, false, false); ^ -src/select_special.cpp: In function 'void do_special_selection()': -src/select_special.cpp:308:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - add_comment(COL_YELLOW, "%s chosen.", (char*)icon_names[power]); - ^ -src/select_special.cpp: In function 'void load_icons()': -src/select_special.cpp:347:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - special_icons[0] = load_png("icons1.png", true, false, false); - ^ -src/select_special.cpp:348:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - special_icons[1] = load_png("icons2.png", true, false, false); - ^ -src/select_special.cpp:349:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - special_icons[2] = load_png("icons3.png", true, false, false); - ^ -src/select_special.cpp:350:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - icon_bg = load_png("iconbg.png", true, false, false); - ^ src/player.cpp: In member function 'void PLAYER::die()': src/player.cpp:772:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_DEFAULT, "Respawning soon..."); @@ -2088,7 +2083,45 @@ src/player.cpp:812:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] add_comment(COL_BLUE, "You have received a Lightning Bolt."); break; ^ -g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 +In file included from src/teleport.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + #define GL_GLEXT_VERSION 29 + +In file included from /usr/include/GL/gl.h:2055, + from /usr/include/SDL/SDL_opengl.h:46, + from src/teleport.cpp:32: +/usr/include/GL/glext.h:54: note: this is the location of the previous definition + #define GL_GLEXT_VERSION 20180725 + +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 +src/select_special.cpp: In function 'void do_special_selection()': +src/select_special.cpp:308:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + add_comment(COL_YELLOW, "%s chosen.", (char*)icon_names[power]); + ^ +src/select_special.cpp: In function 'void load_icons()': +src/select_special.cpp:347:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + special_icons[0] = load_png("icons1.png", true, false, false); + ^ +src/select_special.cpp:348:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + special_icons[1] = load_png("icons2.png", true, false, false); + ^ +src/select_special.cpp:349:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + special_icons[2] = load_png("icons3.png", true, false, false); + ^ +src/select_special.cpp:350:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + icon_bg = load_png("iconbg.png", true, false, false); + ^ +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 +In file included from src/texture.cpp:35: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + #define GL_GLEXT_VERSION 29 + +In file included from /usr/include/GL/gl.h:2055, + from /usr/include/SDL/SDL_opengl.h:46, + from src/texture.cpp:35: +/usr/include/GL/glext.h:54: note: this is the location of the previous definition + #define GL_GLEXT_VERSION 20180725 + In file included from src/tilemap.cpp:32: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 @@ -2099,7 +2132,18 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 +g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 g++ -g -O2 -ffile-prefix-map=/build/tomatoes-1.55=. -fstack-protector-strong -Wformat -Werror=format-security `sdl-config --cflags` -DVERSION=\"1.55-9\" -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 +In file included from src/trap.cpp:32: +/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined + #define GL_GLEXT_VERSION 29 + +In file included from /usr/include/GL/gl.h:2055, + from /usr/include/SDL/SDL_opengl.h:46, + from src/trap.cpp:32: +/usr/include/GL/glext.h:54: note: this is the location of the previous definition + #define GL_GLEXT_VERSION 20180725 + src/texture.cpp: In function 'GLuint load_png(char*, bool, bool, bool)': src/texture.cpp:71:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return load_texture(file, "PNG", alpha, repeat, mipmaps); @@ -2118,10 +2162,6 @@ src/texture.cpp:113:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to flip surface %s:\nOut of memory!\n"); ^ -In file included from src/trap.cpp:32: -/usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined - #define GL_GLEXT_VERSION 29 - src/texture.cpp: In function 'void load_texture_into(GLuint, char*, char*, bool, bool, bool)': src/texture.cpp:196:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load texture from %s!\nSomething is wrong with the pakfile.", file); @@ -2136,12 +2176,10 @@ src/texture.cpp:269:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to create an empty texture!"); ^ -In file included from /usr/include/GL/gl.h:2055, - from /usr/include/SDL/SDL_opengl.h:46, - from src/trap.cpp:32: -/usr/include/GL/glext.h:54: note: this is the location of the previous definition - #define GL_GLEXT_VERSION 20180725 - +src/timer.cpp: In function 'void start_timer(int)': +src/timer.cpp:59:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + error_msg("Error setting timer!\n%s", SDL_GetError()); + ^ src/tilemap.cpp: In function 'void load_map(char*)': src/tilemap.cpp:474:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] error_msg("Unable to load the level %s from the pakfile!\n", file); @@ -2156,10 +2194,6 @@ src/teleport.cpp:122:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] part_teleport = load_jpg("teleport2.jpg", false, false, true); ^ -src/timer.cpp: In function 'void start_timer(int)': -src/timer.cpp:59:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - error_msg("Error setting timer!\n%s", SDL_GetError()); - ^ src/trap.cpp: In function 'void load_traps()': src/trap.cpp:58:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] trap_texture = load_png("trap.png", true, false, false); @@ -2210,12 +2244,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/5541/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/5541/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/24005 and its subdirectories -I: Current time: Sun Sep 5 18:57:12 -12 2021 -I: pbuilder-time-stamp: 1630911432 +I: removing directory /srv/workspace/pbuilder/5541 and its subdirectories +I: Current time: Tue Aug 4 14:35:51 +14 2020 +I: pbuilder-time-stamp: 1596501351