Diff of the two buildlogs: -- --- b1/build.log 2021-10-05 15:27:06.325366416 +0000 +++ b2/build.log 2021-10-05 15:28:17.982930145 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Oct 5 03:25:56 -12 2021 -I: pbuilder-time-stamp: 1633447556 +I: Current time: Tue Nov 8 11:50:09 +14 2022 +I: pbuilder-time-stamp: 1667857809 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./amphetamine_0.8.10-21.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.JLccYF1b/trustedkeys.kbx': General error -gpgv: Signature made Sat Dec 1 05:42:23 2018 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.bVYiqASH/trustedkeys.kbx': General error +gpgv: Signature made Sun Dec 2 07:42:23 2018 +14 gpgv: using RSA key 96E872EC048206E94FF45516B8D6B2CD02D6F473 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./amphetamine_0.8.10-21.dsc @@ -37,135 +37,169 @@ dpkg-source: info: applying cross-build.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/24033/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/18789/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-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/18789/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/18789/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]="1" [2]="4" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(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,-fixfilepath 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='24033' - 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=18789 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.qCZ62Yo8Ya/pbuilderrc_AiFp --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.qCZ62Yo8Ya/b1 --logfile b1/build.log amphetamine_0.8.10-21.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.qCZ62Yo8Ya/pbuilderrc_Blcm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.qCZ62Yo8Ya/b2 --logfile b2/build.log amphetamine_0.8.10-21.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 codethink12-arm64 4.15.0-159-generic #167-Ubuntu SMP Mon Sep 20 23:06:52 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-159-generic #167-Ubuntu SMP Mon Sep 20 23:06:52 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jul 28 07:09 more - -rwsr-xr-x 1 root root 51360 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 14496 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Sep 20 21:25 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jul 28 07:09 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/24033/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Aug 5 2021 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jul 29 2021 more + -rwsr-xr-x 1 root root 51360 Jul 29 2021 mount + -rwxr-xr-x 1 root root 14496 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Nov 8 11:50 sh -> bash + lrwxrwxrwx 1 root root 4 Oct 25 05:49 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jul 29 2021 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 2021 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/18789/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -392,7 +426,7 @@ Get: 183 http://deb.debian.org/debian bullseye/main arm64 libsdl1.2-dev arm64 1.2.15+dfsg2-6 [721 kB] Get: 184 http://deb.debian.org/debian bullseye/main arm64 libxpm4 arm64 1:3.5.12-1 [43.9 kB] Get: 185 http://deb.debian.org/debian bullseye/main arm64 libxpm-dev arm64 1:3.5.12-1 [100 kB] -Fetched 79.8 MB in 2s (51.8 MB/s) +Fetched 79.8 MB in 3s (31.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19646 files and directories currently installed.) @@ -1179,7 +1213,8 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/amphetamine-0.8.10/ && 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 > ../amphetamine_0.8.10-21_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/amphetamine-0.8.10/ && 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 > ../amphetamine_0.8.10-21_source.changes dpkg-buildpackage: info: source package amphetamine dpkg-buildpackage: info: source version 0.8.10-21 dpkg-buildpackage: info: source distribution unstable @@ -1224,113 +1259,6 @@ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Appl.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Appl.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Bullet.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Bullet.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Clut.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Clut.o -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/ConstVal.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ConstVal.o -src/Element.cpp: In member function 'void CBackgroundElement::OnAllocate()': -src/Element.cpp:282:25: warning: narrowing conversion of '((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xs' from 'double' to 'short int' [-Wnarrowing] - 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; - | ^~ -src/Element.cpp:282:29: warning: narrowing conversion of '((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ys' from 'double' to 'short int' [-Wnarrowing] - 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; - | ^~ -src/Element.cpp:282:36: warning: narrowing conversion of '(((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xe - ((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xs)' from 'double' to 'short int' [-Wnarrowing] - 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; - | ~~~^~~~ -src/Element.cpp:282:45: warning: narrowing conversion of '(((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ye - ((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ys)' from 'double' to 'short int' [-Wnarrowing] - 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; - | ~~~^~~~ -In file included from src/Element.hpp:4, - from src/Element.cpp:1: -src/Element.cpp: In member function 'virtual void CElement::Read(FILE*)': -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:344:2: note: in expansion of macro 'READDATA' - 344 | READDATA(size); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:345:2: note: in expansion of macro 'READDATA' - 345 | READDATA(typeID); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:349:2: note: in expansion of macro 'READDATA' - 349 | READDATA(bitData); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:350:2: note: in expansion of macro 'READDATA' - 350 | READDATA(lastState); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:351:2: note: in expansion of macro 'READDATA' - 351 | READDATA(iconID); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:352:2: note: in expansion of macro 'READDATA' - 352 | READDATA(brightness); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:353:2: note: in expansion of macro 'READDATA' - 353 | READDATA(brightness2); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:354:2: note: in expansion of macro 'READDATA' - 354 | READDATA(key); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:355:2: note: in expansion of macro 'READDATA' - 355 | READDATA(refNum); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:356:2: note: in expansion of macro 'READDATA' - 356 | READDATA(data); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:360:2: note: in expansion of macro 'READDATA' - 360 | READDATA(elemThings); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:362:3: note: in expansion of macro 'READDATA' - 362 | READDATA(elementThings->teleportBlinkTime); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:363:3: note: in expansion of macro 'READDATA' - 363 | READDATA(elementThings->savePortBlinkTime); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:364:3: note: in expansion of macro 'READDATA' - 364 | READDATA(elementThings->exitPortBlinkTime); - | ^~~~~~~~ -src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:365:3: note: in expansion of macro 'READDATA' - 365 | READDATA(elementThings->passiveHasChanged); - | ^~~~~~~~ src/Appl.cpp: In member function 'void CApplication::RunLevel()': src/Appl.cpp:247:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 247 | sprintf(fps, "%02d", saveFrameCount); @@ -1344,7 +1272,6 @@ | | | | int long int | %02ld -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Creeper.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Creeper.o In file included from src/Thing.hpp:4, from src/Bullet.hpp:4, from src/Bullet.cpp:1: @@ -1551,8 +1478,118 @@ src/Bullet.cpp:649:2: note: in expansion of macro 'READDATA' 649 | READDATA(lastf); | ^~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/ConstVal.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ConstVal.o +src/Element.cpp: In member function 'void CBackgroundElement::OnAllocate()': +src/Element.cpp:282:25: warning: narrowing conversion of '((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xs' from 'double' to 'short int' [-Wnarrowing] + 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; + | ^~ +src/Element.cpp:282:29: warning: narrowing conversion of '((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ys' from 'double' to 'short int' [-Wnarrowing] + 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; + | ^~ +src/Element.cpp:282:36: warning: narrowing conversion of '(((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xe - ((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::xs)' from 'double' to 'short int' [-Wnarrowing] + 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; + | ~~~^~~~ +src/Element.cpp:282:45: warning: narrowing conversion of '(((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ye - ((CBackgroundElement*)this)->CBackgroundElement::.CElement::.CObject::ys)' from 'double' to 'short int' [-Wnarrowing] + 282 | short params[5] = {-1, xs, ys, xe - xs, ye - ys}; + | ~~~^~~~ +In file included from src/Element.hpp:4, + from src/Element.cpp:1: +src/Element.cpp: In member function 'virtual void CElement::Read(FILE*)': +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:344:2: note: in expansion of macro 'READDATA' + 344 | READDATA(size); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:345:2: note: in expansion of macro 'READDATA' + 345 | READDATA(typeID); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:349:2: note: in expansion of macro 'READDATA' + 349 | READDATA(bitData); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:350:2: note: in expansion of macro 'READDATA' + 350 | READDATA(lastState); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:351:2: note: in expansion of macro 'READDATA' + 351 | READDATA(iconID); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:352:2: note: in expansion of macro 'READDATA' + 352 | READDATA(brightness); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:353:2: note: in expansion of macro 'READDATA' + 353 | READDATA(brightness2); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:354:2: note: in expansion of macro 'READDATA' + 354 | READDATA(key); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:355:2: note: in expansion of macro 'READDATA' + 355 | READDATA(refNum); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:356:2: note: in expansion of macro 'READDATA' + 356 | READDATA(data); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:360:2: note: in expansion of macro 'READDATA' + 360 | READDATA(elemThings); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:362:3: note: in expansion of macro 'READDATA' + 362 | READDATA(elementThings->teleportBlinkTime); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:363:3: note: in expansion of macro 'READDATA' + 363 | READDATA(elementThings->savePortBlinkTime); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:364:3: note: in expansion of macro 'READDATA' + 364 | READDATA(elementThings->exitPortBlinkTime); + | ^~~~~~~~ +src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Element.cpp:365:3: note: in expansion of macro 'READDATA' + 365 | READDATA(elementThings->passiveHasChanged); + | ^~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Creeper.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Creeper.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Item.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Item.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Level.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Level.o +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Main.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Main.o +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Monster.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Monster.o In file included from src/Thing.hpp:4, from src/Item.hpp:4, from src/Item.cpp:1: @@ -1618,7 +1655,6 @@ src/Item.cpp:311:2: note: in expansion of macro 'READDATA' 311 | READDATA(type); | ^~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Main.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Main.o src/Level.cpp: In member function 'void CLevel::GetSavedGameTitle(char*, char*)': src/Level.cpp:273:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 273 | if (f) fread(&versionNumber, sizeof(versionNumber), 1, f); @@ -1666,302 +1702,300 @@ src/Level.cpp:335:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 335 | fread(&thingNumber, sizeof(thingNumber), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Monster.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Monster.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Monstrxx.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Monstrxx.o -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Object.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Object.o -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/ObjInfo.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ObjInfo.o -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Player.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Player.o In file included from src/Thing.hpp:4, from src/Monster.hpp:4, - from src/Monstrxx.hpp:4, - from src/Monstrxx.cpp:1: -src/Monstrxx.cpp: In member function 'virtual void CWalker::Read(FILE*)': + from src/Monster.cpp:1: +src/Monster.cpp: In member function 'virtual void CMonster::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:447:2: note: in expansion of macro 'READDATA' - 447 | READDATA(size); +src/Monster.cpp:349:2: note: in expansion of macro 'READDATA' + 349 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:448:2: note: in expansion of macro 'READDATA' - 448 | READDATA(typeID); +src/Monster.cpp:350:2: note: in expansion of macro 'READDATA' + 350 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:449:2: note: in expansion of macro 'READDATA' - 449 | READDATA(thingNumber); +src/Monster.cpp:351:2: note: in expansion of macro 'READDATA' + 351 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:453:2: note: in expansion of macro 'READDATA' - 453 | READDATA(nextShootTime); +src/Monster.cpp:359:2: note: in expansion of macro 'READDATA' + 359 | READDATA(speed); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:454:2: note: in expansion of macro 'READDATA' - 454 | READDATA(currentShootDelay); +src/Monster.cpp:360:2: note: in expansion of macro 'READDATA' + 360 | READDATA(lastWalkTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:455:2: note: in expansion of macro 'READDATA' - 455 | READDATA(lastShoot); +src/Monster.cpp:361:2: note: in expansion of macro 'READDATA' + 361 | READDATA(lastShootTime); | ^~~~~~~~ -src/Monstrxx.cpp: In member function 'virtual void CJumper::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:483:2: note: in expansion of macro 'READDATA' - 483 | READDATA(size); +src/Monster.cpp:362:2: note: in expansion of macro 'READDATA' + 362 | READDATA(walkFrame); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:484:2: note: in expansion of macro 'READDATA' - 484 | READDATA(typeID); +src/Monster.cpp:363:2: note: in expansion of macro 'READDATA' + 363 | READDATA(status); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:485:2: note: in expansion of macro 'READDATA' - 485 | READDATA(thingNumber); +src/Monster.cpp:364:2: note: in expansion of macro 'READDATA' + 364 | READDATA(lastCollisionCode); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:489:2: note: in expansion of macro 'READDATA' - 489 | READDATA(nextShootTime); +src/Monster.cpp:365:2: note: in expansion of macro 'READDATA' + 365 | READDATA(flying); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:490:2: note: in expansion of macro 'READDATA' - 490 | READDATA(currentShootDelay); +src/Monster.cpp:366:2: note: in expansion of macro 'READDATA' + 366 | READDATA(teleportDeltaTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:491:2: note: in expansion of macro 'READDATA' - 491 | READDATA(lastShoot); +src/Monster.cpp:367:2: note: in expansion of macro 'READDATA' + 367 | READDATA(teleportCounter); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:492:2: note: in expansion of macro 'READDATA' - 492 | READDATA(inJump); +src/Monster.cpp:368:2: note: in expansion of macro 'READDATA' + 368 | READDATA(lastBlessureTime); | ^~~~~~~~ -src/Monstrxx.cpp: In member function 'virtual void CFlyer::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:520:2: note: in expansion of macro 'READDATA' - 520 | READDATA(size); +src/Monster.cpp:369:2: note: in expansion of macro 'READDATA' + 369 | READDATA(dieFrameTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:521:2: note: in expansion of macro 'READDATA' - 521 | READDATA(typeID); +src/Monster.cpp:370:2: note: in expansion of macro 'READDATA' + 370 | READDATA(dieFrame); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:522:2: note: in expansion of macro 'READDATA' - 522 | READDATA(thingNumber); +src/Monster.cpp:371:2: note: in expansion of macro 'READDATA' + 371 | READDATA(doDarken); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:526:2: note: in expansion of macro 'READDATA' - 526 | READDATA(nextShootTime); +src/Monster.cpp:372:2: note: in expansion of macro 'READDATA' + 372 | READDATA(health); | ^~~~~~~~ +In file included from src/Thing.hpp:4, + from src/Monster.hpp:4, + from src/Monstrxx.hpp:4, + from src/Monstrxx.cpp:1: +src/Monstrxx.cpp: In member function 'virtual void CWalker::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:527:2: note: in expansion of macro 'READDATA' - 527 | READDATA(currentShootDelay); +src/Monstrxx.cpp:447:2: note: in expansion of macro 'READDATA' + 447 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:528:2: note: in expansion of macro 'READDATA' - 528 | READDATA(lastShoot); +src/Monstrxx.cpp:448:2: note: in expansion of macro 'READDATA' + 448 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:529:2: note: in expansion of macro 'READDATA' - 529 | READDATA(rescueMeX); +src/Monstrxx.cpp:449:2: note: in expansion of macro 'READDATA' + 449 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:530:2: note: in expansion of macro 'READDATA' - 530 | READDATA(rescueMeY); +src/Monstrxx.cpp:453:2: note: in expansion of macro 'READDATA' + 453 | READDATA(nextShootTime); | ^~~~~~~~ -src/Monstrxx.cpp: In member function 'virtual void CWarg::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:561:2: note: in expansion of macro 'READDATA' - 561 | READDATA(size); +src/Monstrxx.cpp:454:2: note: in expansion of macro 'READDATA' + 454 | READDATA(currentShootDelay); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:562:2: note: in expansion of macro 'READDATA' - 562 | READDATA(typeID); +src/Monstrxx.cpp:455:2: note: in expansion of macro 'READDATA' + 455 | READDATA(lastShoot); | ^~~~~~~~ +src/Monstrxx.cpp: In member function 'virtual void CJumper::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:563:2: note: in expansion of macro 'READDATA' - 563 | READDATA(thingNumber); +src/Monstrxx.cpp:483:2: note: in expansion of macro 'READDATA' + 483 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:571:2: note: in expansion of macro 'READDATA' - 571 | READDATA(nextShootTime); +src/Monstrxx.cpp:484:2: note: in expansion of macro 'READDATA' + 484 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:572:2: note: in expansion of macro 'READDATA' - 572 | READDATA(currentShootDelay); +src/Monstrxx.cpp:485:2: note: in expansion of macro 'READDATA' + 485 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:573:2: note: in expansion of macro 'READDATA' - 573 | READDATA(lastShoot); +src/Monstrxx.cpp:489:2: note: in expansion of macro 'READDATA' + 489 | READDATA(nextShootTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:574:2: note: in expansion of macro 'READDATA' - 574 | READDATA(inJump); +src/Monstrxx.cpp:490:2: note: in expansion of macro 'READDATA' + 490 | READDATA(currentShootDelay); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monstrxx.cpp:575:2: note: in expansion of macro 'READDATA' - 575 | READDATA(speedup); +src/Monstrxx.cpp:491:2: note: in expansion of macro 'READDATA' + 491 | READDATA(lastShoot); | ^~~~~~~~ -In file included from src/Thing.hpp:4, - from src/Monster.hpp:4, - from src/Monster.cpp:1: -src/Monster.cpp: In member function 'virtual void CMonster::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:349:2: note: in expansion of macro 'READDATA' - 349 | READDATA(size); +src/Monstrxx.cpp:492:2: note: in expansion of macro 'READDATA' + 492 | READDATA(inJump); | ^~~~~~~~ +src/Monstrxx.cpp: In member function 'virtual void CFlyer::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:350:2: note: in expansion of macro 'READDATA' - 350 | READDATA(typeID); +src/Monstrxx.cpp:520:2: note: in expansion of macro 'READDATA' + 520 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:351:2: note: in expansion of macro 'READDATA' - 351 | READDATA(thingNumber); +src/Monstrxx.cpp:521:2: note: in expansion of macro 'READDATA' + 521 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:359:2: note: in expansion of macro 'READDATA' - 359 | READDATA(speed); +src/Monstrxx.cpp:522:2: note: in expansion of macro 'READDATA' + 522 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:360:2: note: in expansion of macro 'READDATA' - 360 | READDATA(lastWalkTime); +src/Monstrxx.cpp:526:2: note: in expansion of macro 'READDATA' + 526 | READDATA(nextShootTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:361:2: note: in expansion of macro 'READDATA' - 361 | READDATA(lastShootTime); +src/Monstrxx.cpp:527:2: note: in expansion of macro 'READDATA' + 527 | READDATA(currentShootDelay); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:362:2: note: in expansion of macro 'READDATA' - 362 | READDATA(walkFrame); +src/Monstrxx.cpp:528:2: note: in expansion of macro 'READDATA' + 528 | READDATA(lastShoot); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:363:2: note: in expansion of macro 'READDATA' - 363 | READDATA(status); +src/Monstrxx.cpp:529:2: note: in expansion of macro 'READDATA' + 529 | READDATA(rescueMeX); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:364:2: note: in expansion of macro 'READDATA' - 364 | READDATA(lastCollisionCode); +src/Monstrxx.cpp:530:2: note: in expansion of macro 'READDATA' + 530 | READDATA(rescueMeY); | ^~~~~~~~ +src/Monstrxx.cpp: In member function 'virtual void CWarg::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:365:2: note: in expansion of macro 'READDATA' - 365 | READDATA(flying); +src/Monstrxx.cpp:561:2: note: in expansion of macro 'READDATA' + 561 | READDATA(size); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:366:2: note: in expansion of macro 'READDATA' - 366 | READDATA(teleportDeltaTime); +src/Monstrxx.cpp:562:2: note: in expansion of macro 'READDATA' + 562 | READDATA(typeID); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:367:2: note: in expansion of macro 'READDATA' - 367 | READDATA(teleportCounter); +src/Monstrxx.cpp:563:2: note: in expansion of macro 'READDATA' + 563 | READDATA(thingNumber); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:368:2: note: in expansion of macro 'READDATA' - 368 | READDATA(lastBlessureTime); +src/Monstrxx.cpp:571:2: note: in expansion of macro 'READDATA' + 571 | READDATA(nextShootTime); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:369:2: note: in expansion of macro 'READDATA' - 369 | READDATA(dieFrameTime); +src/Monstrxx.cpp:572:2: note: in expansion of macro 'READDATA' + 572 | READDATA(currentShootDelay); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:370:2: note: in expansion of macro 'READDATA' - 370 | READDATA(dieFrame); +src/Monstrxx.cpp:573:2: note: in expansion of macro 'READDATA' + 573 | READDATA(lastShoot); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:371:2: note: in expansion of macro 'READDATA' - 371 | READDATA(doDarken); +src/Monstrxx.cpp:574:2: note: in expansion of macro 'READDATA' + 574 | READDATA(inJump); | ^~~~~~~~ src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:372:2: note: in expansion of macro 'READDATA' - 372 | READDATA(health); +src/Monstrxx.cpp:575:2: note: in expansion of macro 'READDATA' + 575 | READDATA(speedup); | ^~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Object.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Object.o +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/ObjInfo.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ObjInfo.o +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Player.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Player.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Pltform.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Pltform.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Shape.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Shape.o -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/ShapeLd.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ShapeLd.o In file included from src/Thing.hpp:4, from src/Pltform.hpp:4, from src/Pltform.cpp:1: @@ -2035,6 +2069,23 @@ src/Pltform.cpp:276:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 276 | fread(info, sizeof(tPlatformInfo), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/ShapeLd.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/ShapeLd.o +In file included from src/ObjInfo.hpp:4, + from src/ObjInfo.cpp:1: +src/ObjInfo.cpp: In member function 'void CObjInfo::LoadMonsters(short int)': +src/ObjInfo.cpp:55:50: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] + 55 | TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +src/File.hpp:25:35: note: in definition of macro 'SWAP_PUT_SHORT' + 25 | #define SWAP_PUT_SHORT(x) ((x) = (x << 8) | (((unsigned short)x) >> 8)) + | ^ +src/ObjInfo.cpp:55:4: note: in expansion of macro 'TRANS_PUT_NUM' + 55 | TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); + | ^~~~~~~~~~~~~ +src/ObjInfo.cpp:53:23: note: within this loop + 53 | for (short m = 0; m < 3; m ++) { + | ~~^~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Surface.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Surface.o In file included from src/Thing.hpp:4, from src/Monster.hpp:4, from src/Player.hpp:4, @@ -2112,21 +2163,6 @@ src/Player.cpp:529:2: note: in expansion of macro 'READDATA' 529 | READDATA(lastOxygenDecTime); | ^~~~~~~~ -In file included from src/ObjInfo.hpp:4, - from src/ObjInfo.cpp:1: -src/ObjInfo.cpp: In member function 'void CObjInfo::LoadMonsters(short int)': -src/ObjInfo.cpp:55:50: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] - 55 | TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -src/File.hpp:25:35: note: in definition of macro 'SWAP_PUT_SHORT' - 25 | #define SWAP_PUT_SHORT(x) ((x) = (x << 8) | (((unsigned short)x) >> 8)) - | ^ -src/ObjInfo.cpp:55:4: note: in expansion of macro 'TRANS_PUT_NUM' - 55 | TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); - | ^~~~~~~~~~~~~ -src/ObjInfo.cpp:53:23: note: within this loop - 53 | for (short m = 0; m < 3; m ++) { - | ~~^~~ In file included from src/Object.cpp:1: src/Object.cpp: In member function 'virtual void CObject::Read(FILE*)': src/Object.hpp:47:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -2231,10 +2267,8 @@ src/Object.cpp:334:2: note: in expansion of macro 'READDATA' 334 | READDATA(background); | ^~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Surface.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Surface.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Thing.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Thing.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Weapon.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/Weapon.o -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/System.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/System.o In file included from src/Thing.hpp:4, from src/Thing.cpp:1: src/Thing.cpp: In member function 'virtual void CThing::Read(FILE*)': @@ -2286,6 +2320,7 @@ src/Thing.cpp:158:2: note: in expansion of macro 'READDATA' 158 | READDATA(modus); | ^~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/System.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/System.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/SndSys.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/SndSys.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/SoundList.cpp -g -O2 -fdebug-prefix-map=/build/amphetamine-0.8.10=. -fstack-protector-strong -Wformat -Werror=format-security -g -iquote . -I./src -I/usr/include/SDL -Wno-write-strings -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align -o src/SoundList.o In file included from src/Thing.hpp:4, @@ -2503,8 +2538,8 @@ chmod 0644 -- debian/.debhelper/amphetamine/dbgsym-root/DEBIAN/md5sums chown 0:0 -- debian/.debhelper/amphetamine/dbgsym-root/DEBIAN/md5sums dh_builddeb - dpkg-deb --build debian/.debhelper/amphetamine/dbgsym-root .. dpkg-deb --build debian/amphetamine .. + dpkg-deb --build debian/.debhelper/amphetamine/dbgsym-root .. dpkg-deb: building package 'amphetamine-dbgsym' in '../amphetamine-dbgsym_0.8.10-21_arm64.deb'. dpkg-deb: building package 'amphetamine' in '../amphetamine_0.8.10-21_arm64.deb'. dpkg-genbuildinfo --build=binary @@ -2514,12 +2549,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/18789/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/18789/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/24033 and its subdirectories -I: Current time: Tue Oct 5 03:27:05 -12 2021 -I: pbuilder-time-stamp: 1633447625 +I: removing directory /srv/workspace/pbuilder/18789 and its subdirectories +I: Current time: Tue Nov 8 11:51:16 +14 2022 +I: pbuilder-time-stamp: 1667857876