Diff of the two buildlogs: -- --- b1/build.log 2021-08-09 09:47:11.914240879 +0000 +++ b2/build.log 2021-08-09 09:47:59.520472073 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 8 21:46:25 -12 2021 -I: pbuilder-time-stamp: 1628502385 +I: Current time: Mon Sep 12 06:10:13 +14 2022 +I: pbuilder-time-stamp: 1662912613 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 '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Sat Dec 1 05:42:23 2018 -12 +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,136 +37,170 @@ dpkg-source: info: applying cross-build.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/37530/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/29666/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +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/29666/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/29666/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='f264b30b4a1c4eb9a34c96fd90aa727d' - 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='37530' - PS1='# ' - PS2='> ' + INVOCATION_ID=9cf5f0258c994d8aa8d4a6b74cd79a13 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=29666 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.anfcfKFYKM/pbuilderrc_pnAS --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.anfcfKFYKM/b1 --logfile b1/build.log amphetamine_0.8.10-21.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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.anfcfKFYKM/pbuilderrc_S3Vn --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.anfcfKFYKM/b2 --logfile b2/build.log amphetamine_0.8.10-21.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-0.bpo.8-amd64 #1 SMP Debian 5.10.46-2~bpo10+1 (2021-07-22) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 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 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 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 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 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 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 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 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 6 20:25 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 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/37530/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 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 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 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 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 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 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 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 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 12 06:10 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 10 04:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 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/29666/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -408,7 +442,7 @@ Get: 198 http://deb.debian.org/debian buster/main amd64 libsdl1.2-dev amd64 1.2.15+dfsg2-4 [728 kB] Get: 199 http://deb.debian.org/debian buster/main amd64 libxpm4 amd64 1:3.5.12-1 [49.1 kB] Get: 200 http://deb.debian.org/debian buster/main amd64 libxpm-dev amd64 1:3.5.12-1 [104 kB] -Fetched 74.2 MB in 1s (61.2 MB/s) +Fetched 74.2 MB in 1s (70.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (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 ... 19195 files and directories currently installed.) @@ -1259,7 +1293,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/amphetamine-0.8.10/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +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 dpkg-buildpackage: info: source package amphetamine dpkg-buildpackage: info: source version 0.8.10-21 dpkg-buildpackage: info: source distribution unstable @@ -1269,7 +1303,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j15 clean + make -j16 clean make[1]: Entering directory '/build/amphetamine-0.8.10' make[1]: Leaving directory '/build/amphetamine-0.8.10' debian/rules override_dh_clean @@ -1294,7 +1328,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j15 "INSTALL=install --strip-program=true" + make -j16 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/amphetamine-0.8.10' g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Element.cpp -g -O2 -ffile-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/Element.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/File.cpp -g -O2 -ffile-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/File.o @@ -1311,6 +1345,7 @@ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Main.cpp -g -O2 -ffile-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 -ffile-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 -ffile-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 -ffile-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 src/Appl.cpp: In member function 'void CApplication::RunLevel()': src/Appl.cpp:247:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(fps, "%02d", saveFrameCount); @@ -1318,6 +1353,7 @@ src/Appl.cpp:250:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(fps, "%02d", frameCount); ^~~~~~ ~~~~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/ObjInfo.cpp -g -O2 -ffile-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 src/Element.cpp: In member function 'void CBackgroundElement::OnAllocate()': src/Element.cpp:282:25: warning: narrowing conversion of '((CBackgroundElement*)this)->CBackgroundElement::<anonymous>.CElement::<anonymous>.CObject::xs' from 'double' to 'short int' inside { } [-Wnarrowing] short params[5] = {-1, xs, ys, xe - xs, ye - ys}; @@ -1494,177 +1530,176 @@ src/Bullet.cpp:613:2: note: in expansion of macro 'READDATA' READDATA(period); ^~~~~~~~ -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/Bullet.cpp: In member function 'virtual void CGuidedBullet::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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:344:2: note: in expansion of macro 'READDATA' +src/Bullet.cpp:640:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:345:2: note: in expansion of macro 'READDATA' +src/Bullet.cpp:641:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:349:2: note: in expansion of macro 'READDATA' - READDATA(bitData); +src/Bullet.cpp:642:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:350:2: note: in expansion of macro 'READDATA' - READDATA(lastState); +src/Bullet.cpp:646:2: note: in expansion of macro 'READDATA' + READDATA(initAbstSign); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:351:2: note: in expansion of macro 'READDATA' - READDATA(iconID); +src/Bullet.cpp:647:2: note: in expansion of macro 'READDATA' + READDATA(lastfx); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:352:2: note: in expansion of macro 'READDATA' - READDATA(brightness); +src/Bullet.cpp:648:2: note: in expansion of macro 'READDATA' + READDATA(lastfy); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:353:2: note: in expansion of macro 'READDATA' - READDATA(brightness2); +src/Bullet.cpp:649:2: note: in expansion of macro 'READDATA' + READDATA(lastf); ^~~~~~~~ +In file included from src/Thing.hpp:4, + from src/Item.hpp:4, + from src/Item.cpp:1: +src/Item.cpp: In member function 'virtual void CItem::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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:354:2: note: in expansion of macro 'READDATA' - READDATA(key); +src/Item.cpp:271:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:355:2: note: in expansion of macro 'READDATA' - READDATA(refNum); +src/Item.cpp:272:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:356:2: note: in expansion of macro 'READDATA' - READDATA(data); +src/Item.cpp:273:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:360:2: note: in expansion of macro 'READDATA' - READDATA(elemThings); +src/Item.cpp:277:2: note: in expansion of macro 'READDATA' + READDATA(isCorona); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:362:3: note: in expansion of macro 'READDATA' - READDATA(elementThings->teleportBlinkTime); - ^~~~~~~~ +src/Item.cpp:278:2: note: in expansion of macro 'READDATA' + READDATA(detonationStartTime); + ^~~~~~~~ +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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:363:3: note: in expansion of macro 'READDATA' - READDATA(elementThings->savePortBlinkTime); - ^~~~~~~~ +src/Element.cpp:344:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:364:3: note: in expansion of macro 'READDATA' - READDATA(elementThings->exitPortBlinkTime); - ^~~~~~~~ +src/Element.cpp:345:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:365:3: note: in expansion of macro 'READDATA' - READDATA(elementThings->passiveHasChanged); - ^~~~~~~~ -src/Bullet.cpp: In member function 'virtual void CGuidedBullet::Read(FILE*)': +src/Element.cpp:349:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Bullet.cpp:640:2: note: in expansion of macro 'READDATA' - READDATA(size); +src/Element.cpp:350:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Bullet.cpp:641:2: note: in expansion of macro 'READDATA' - READDATA(typeID); +src/Element.cpp:351:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Bullet.cpp:642:2: note: in expansion of macro 'READDATA' - READDATA(thingNumber); +src/Element.cpp:352:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Bullet.cpp:646:2: note: in expansion of macro 'READDATA' - READDATA(initAbstSign); +src/Element.cpp:353:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Bullet.cpp:647:2: note: in expansion of macro 'READDATA' - READDATA(lastfx); +src/Element.cpp:354:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Bullet.cpp:648:2: note: in expansion of macro 'READDATA' - READDATA(lastfy); +src/Element.cpp:355:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Bullet.cpp:649:2: note: in expansion of macro 'READDATA' - READDATA(lastf); +src/Element.cpp:356:2: note: in expansion of macro 'READDATA' + READDATA(data); ^~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Object.cpp -g -O2 -ffile-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 -In file included from src/Thing.hpp:4, - from src/Item.hpp:4, - from src/Item.cpp:1: -src/Item.cpp: In member function 'virtual void CItem::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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Item.cpp:271:2: note: in expansion of macro 'READDATA' - READDATA(size); +src/Element.cpp:360:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Item.cpp:272:2: note: in expansion of macro 'READDATA' - READDATA(typeID); - ^~~~~~~~ +src/Element.cpp:362:3: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Item.cpp:273:2: note: in expansion of macro 'READDATA' - READDATA(thingNumber); - ^~~~~~~~ +src/Element.cpp:363:3: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Item.cpp:277:2: note: in expansion of macro 'READDATA' - READDATA(isCorona); - ^~~~~~~~ +src/Element.cpp:364:3: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Item.cpp:278:2: note: in expansion of macro 'READDATA' - READDATA(detonationStartTime); - ^~~~~~~~ +src/Element.cpp:365:3: note: in expansion of macro 'READDATA' + READDATA(elementThings->passiveHasChanged); + ^~~~~~~~ src/Item.cpp: In member function 'virtual void CPortableItem::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] #define READDATA(data) fread(&data, sizeof(data), 1, f); @@ -1696,8 +1731,6 @@ src/Item.cpp:311:2: note: in expansion of macro 'READDATA' READDATA(type); ^~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/ObjInfo.cpp -g -O2 -ffile-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 -ffile-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, @@ -1880,112 +1913,112 @@ src/Monstrxx.cpp:575:2: note: in expansion of macro 'READDATA' READDATA(speedup); ^~~~~~~~ -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*)': +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Player.cpp -g -O2 -ffile-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/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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:349:2: note: in expansion of macro 'READDATA' +src/Object.cpp:317:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:350:2: note: in expansion of macro 'READDATA' +src/Object.cpp:318:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:351:2: note: in expansion of macro 'READDATA' - READDATA(thingNumber); +src/Object.cpp:320:2: note: in expansion of macro 'READDATA' + READDATA(xs); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:359:2: note: in expansion of macro 'READDATA' - READDATA(speed); +src/Object.cpp:321:2: note: in expansion of macro 'READDATA' + READDATA(ys); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:360:2: note: in expansion of macro 'READDATA' - READDATA(lastWalkTime); +src/Object.cpp:322:2: note: in expansion of macro 'READDATA' + READDATA(xe); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:361:2: note: in expansion of macro 'READDATA' - READDATA(lastShootTime); +src/Object.cpp:323:2: note: in expansion of macro 'READDATA' + READDATA(ye); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:362:2: note: in expansion of macro 'READDATA' - READDATA(walkFrame); +src/Object.cpp:324:2: note: in expansion of macro 'READDATA' + READDATA(xm); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:363:2: note: in expansion of macro 'READDATA' - READDATA(status); +src/Object.cpp:325:2: note: in expansion of macro 'READDATA' + READDATA(ym); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:364:2: note: in expansion of macro 'READDATA' - READDATA(lastCollisionCode); +src/Object.cpp:326:2: note: in expansion of macro 'READDATA' + READDATA(weight); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:365:2: note: in expansion of macro 'READDATA' - READDATA(flying); +src/Object.cpp:327:2: note: in expansion of macro 'READDATA' + READDATA(forceVectorX); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:366:2: note: in expansion of macro 'READDATA' - READDATA(teleportDeltaTime); +src/Object.cpp:328:2: note: in expansion of macro 'READDATA' + READDATA(forceVectorY); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:367:2: note: in expansion of macro 'READDATA' - READDATA(teleportCounter); +src/Object.cpp:329:2: note: in expansion of macro 'READDATA' + READDATA(environmentForceX); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:368:2: note: in expansion of macro 'READDATA' - READDATA(lastBlessureTime); +src/Object.cpp:330:2: note: in expansion of macro 'READDATA' + READDATA(environmentForceY); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:369:2: note: in expansion of macro 'READDATA' - READDATA(dieFrameTime); +src/Object.cpp:331:2: note: in expansion of macro 'READDATA' + READDATA(gravitation); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:370:2: note: in expansion of macro 'READDATA' - READDATA(dieFrame); +src/Object.cpp:332:2: note: in expansion of macro 'READDATA' + READDATA(resForceX); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:371:2: note: in expansion of macro 'READDATA' - READDATA(doDarken); +src/Object.cpp:333:2: note: in expansion of macro 'READDATA' + READDATA(resForceY); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Monster.cpp:372:2: note: in expansion of macro 'READDATA' - READDATA(health); +src/Object.cpp:334:2: note: in expansion of macro 'READDATA' + READDATA(background); ^~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Pltform.cpp -g -O2 -ffile-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 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] if (f) fread(&versionNumber, sizeof(versionNumber), 1, f); @@ -2033,209 +2066,129 @@ 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] 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/Pltform.cpp -g -O2 -ffile-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 -ffile-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 -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] - TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ -src/File.hpp:25:35: note: in definition of macro 'SWAP_PUT_SHORT' - #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' - TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); - ^~~~~~~~~~~~~ -src/ObjInfo.cpp:53:23: note: within this loop - 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*)': +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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:317:2: note: in expansion of macro 'READDATA' +src/Monster.cpp:349:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:318:2: note: in expansion of macro 'READDATA' +src/Monster.cpp:350:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:320:2: note: in expansion of macro 'READDATA' - READDATA(xs); +src/Monster.cpp:351:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:321:2: note: in expansion of macro 'READDATA' - READDATA(ys); +src/Monster.cpp:359:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:322:2: note: in expansion of macro 'READDATA' - READDATA(xe); +src/Monster.cpp:360:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:323:2: note: in expansion of macro 'READDATA' - READDATA(ye); +src/Monster.cpp:361:2: note: in expansion of macro 'READDATA' + READDATA(lastShootTime); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:324:2: note: in expansion of macro 'READDATA' - READDATA(xm); +src/Monster.cpp:362:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:325:2: note: in expansion of macro 'READDATA' - READDATA(ym); +src/Monster.cpp:363:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:326:2: note: in expansion of macro 'READDATA' - READDATA(weight); +src/Monster.cpp:364:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:327:2: note: in expansion of macro 'READDATA' - READDATA(forceVectorX); +src/Monster.cpp:365:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:328:2: note: in expansion of macro 'READDATA' - READDATA(forceVectorY); +src/Monster.cpp:366:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:329:2: note: in expansion of macro 'READDATA' - READDATA(environmentForceX); +src/Monster.cpp:367:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:330:2: note: in expansion of macro 'READDATA' - READDATA(environmentForceY); +src/Monster.cpp:368:2: note: in expansion of macro 'READDATA' + READDATA(lastBlessureTime); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:331:2: note: in expansion of macro 'READDATA' - READDATA(gravitation); +src/Monster.cpp:369:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:332:2: note: in expansion of macro 'READDATA' - READDATA(resForceX); +src/Monster.cpp:370:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:333:2: note: in expansion of macro 'READDATA' - READDATA(resForceY); +src/Monster.cpp:371:2: note: in expansion of macro 'READDATA' + 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Object.cpp:334:2: note: in expansion of macro 'READDATA' - READDATA(background); +src/Monster.cpp:372:2: note: in expansion of macro 'READDATA' + READDATA(health); ^~~~~~~~ +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] + TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ +src/File.hpp:25:35: note: in definition of macro 'SWAP_PUT_SHORT' + #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' + TRANS_PUT_NUM(monsterInfo[n]->additionalData[m]); + ^~~~~~~~~~~~~ +src/ObjInfo.cpp:53:23: note: within this loop + 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/Shape.cpp -g -O2 -ffile-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 -ffile-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 -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Surface.cpp -g -O2 -ffile-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, - from src/Player.cpp:1: -src/Player.cpp: In member function 'virtual void CPlayer::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] - #define READDATA(data) fread(&data, sizeof(data), 1, f); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Player.cpp:510:2: note: in expansion of macro 'READDATA' - 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] - #define READDATA(data) fread(&data, sizeof(data), 1, f); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Player.cpp:511:2: note: in expansion of macro 'READDATA' - 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] - #define READDATA(data) fread(&data, sizeof(data), 1, f); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Player.cpp:512:2: note: in expansion of macro 'READDATA' - 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] - #define READDATA(data) fread(&data, sizeof(data), 1, f); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Player.cpp:520:2: note: in expansion of macro 'READDATA' - READDATA(jumpTime); - ^~~~~~~~ -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] - #define READDATA(data) fread(&data, sizeof(data), 1, f); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Player.cpp:521:2: note: in expansion of macro 'READDATA' - READDATA(currentWeapon); - ^~~~~~~~ -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] - #define READDATA(data) fread(&data, sizeof(data), 1, f); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Player.cpp:522:2: note: in expansion of macro 'READDATA' - READDATA(lastWeaponChanging); - ^~~~~~~~ -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] - #define READDATA(data) fread(&data, sizeof(data), 1, f); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Player.cpp:523:2: note: in expansion of macro 'READDATA' - READDATA(lastPickupTime); - ^~~~~~~~ -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] - #define READDATA(data) fread(&data, sizeof(data), 1, f); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Player.cpp:524:2: note: in expansion of macro 'READDATA' - READDATA(lastActionTime); - ^~~~~~~~ -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] - #define READDATA(data) fread(&data, sizeof(data), 1, f); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Player.cpp:525:2: note: in expansion of macro 'READDATA' - READDATA(teleportRefNum); - ^~~~~~~~ -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] - #define READDATA(data) fread(&data, sizeof(data), 1, f); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Player.cpp:526:2: note: in expansion of macro 'READDATA' - READDATA(currentJob); - ^~~~~~~~ -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] - #define READDATA(data) fread(&data, sizeof(data), 1, f); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Player.cpp:528:2: note: in expansion of macro 'READDATA' - READDATA(oxygen); - ^~~~~~~~ -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] - #define READDATA(data) fread(&data, sizeof(data), 1, f); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Player.cpp:529:2: note: in expansion of macro 'READDATA' - READDATA(lastOxygenDecTime); - ^~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Thing.cpp -g -O2 -ffile-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 -ffile-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 -ffile-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/Pltform.hpp:4, from src/Pltform.cpp:1: @@ -2309,59 +2262,89 @@ 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] 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/SndSys.cpp -g -O2 -ffile-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 -ffile-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, - from src/Thing.cpp:1: -src/Thing.cpp: In member function 'virtual void CThing::Read(FILE*)': + from src/Monster.hpp:4, + from src/Player.hpp:4, + from src/Player.cpp:1: +src/Player.cpp: In member function 'virtual void CPlayer::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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Thing.cpp:148:2: note: in expansion of macro 'READDATA' +src/Player.cpp:510:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Thing.cpp:149:2: note: in expansion of macro 'READDATA' +src/Player.cpp:511:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Thing.cpp:150:2: note: in expansion of macro 'READDATA' +src/Player.cpp:512:2: note: in expansion of macro 'READDATA' 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Thing.cpp:154:2: note: in expansion of macro 'READDATA' - READDATA(lookDirection); +src/Player.cpp:520:2: note: in expansion of macro 'READDATA' + READDATA(jumpTime); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Thing.cpp:155:2: note: in expansion of macro 'READDATA' - READDATA(weightless); +src/Player.cpp:521:2: note: in expansion of macro 'READDATA' + READDATA(currentWeapon); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Thing.cpp:156:2: note: in expansion of macro 'READDATA' - READDATA(dx); +src/Player.cpp:522:2: note: in expansion of macro 'READDATA' + READDATA(lastWeaponChanging); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Thing.cpp:157:2: note: in expansion of macro 'READDATA' - READDATA(dy); +src/Player.cpp:523:2: note: in expansion of macro 'READDATA' + READDATA(lastPickupTime); ^~~~~~~~ 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] #define READDATA(data) fread(&data, sizeof(data), 1, f); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Thing.cpp:158:2: note: in expansion of macro 'READDATA' - READDATA(modus); +src/Player.cpp:524:2: note: in expansion of macro 'READDATA' + READDATA(lastActionTime); + ^~~~~~~~ +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] + #define READDATA(data) fread(&data, sizeof(data), 1, f); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Player.cpp:525:2: note: in expansion of macro 'READDATA' + READDATA(teleportRefNum); + ^~~~~~~~ +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] + #define READDATA(data) fread(&data, sizeof(data), 1, f); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Player.cpp:526:2: note: in expansion of macro 'READDATA' + READDATA(currentJob); + ^~~~~~~~ +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] + #define READDATA(data) fread(&data, sizeof(data), 1, f); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Player.cpp:528:2: note: in expansion of macro 'READDATA' + READDATA(oxygen); + ^~~~~~~~ +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] + #define READDATA(data) fread(&data, sizeof(data), 1, f); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Player.cpp:529:2: note: in expansion of macro 'READDATA' + READDATA(lastOxygenDecTime); ^~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Surface.cpp -g -O2 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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 -ffile-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, from src/ObjInfo.hpp:5, from src/Weapon.hpp:4, @@ -2478,6 +2461,57 @@ src/Weapon.cpp:468:2: note: in expansion of macro 'READDATA' READDATA(dy); ^~~~~~~~ +In file included from src/Thing.hpp:4, + from src/Thing.cpp:1: +src/Thing.cpp: In member function 'virtual void CThing::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] + #define READDATA(data) fread(&data, sizeof(data), 1, f); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Thing.cpp:148:2: note: in expansion of macro 'READDATA' + 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] + #define READDATA(data) fread(&data, sizeof(data), 1, f); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Thing.cpp:149:2: note: in expansion of macro 'READDATA' + 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] + #define READDATA(data) fread(&data, sizeof(data), 1, f); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Thing.cpp:150:2: note: in expansion of macro 'READDATA' + 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] + #define READDATA(data) fread(&data, sizeof(data), 1, f); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Thing.cpp:154:2: note: in expansion of macro 'READDATA' + READDATA(lookDirection); + ^~~~~~~~ +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] + #define READDATA(data) fread(&data, sizeof(data), 1, f); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Thing.cpp:155:2: note: in expansion of macro 'READDATA' + READDATA(weightless); + ^~~~~~~~ +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] + #define READDATA(data) fread(&data, sizeof(data), 1, f); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Thing.cpp:156:2: note: in expansion of macro 'READDATA' + READDATA(dx); + ^~~~~~~~ +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] + #define READDATA(data) fread(&data, sizeof(data), 1, f); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Thing.cpp:157:2: note: in expansion of macro 'READDATA' + READDATA(dy); + ^~~~~~~~ +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] + #define READDATA(data) fread(&data, sizeof(data), 1, f); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Thing.cpp:158:2: note: in expansion of macro 'READDATA' + READDATA(modus); + ^~~~~~~~ g++ -Wl,-z,relro -Wl,-z,now -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -o amph src/Element.o src/File.o src/Gifload.o src/Graphfil.o src/Gui.o src/Appl.o src/Bullet.o src/Clut.o src/ConstVal.o src/Creeper.o src/Item.o src/Level.o src/Main.o src/Monster.o src/Monstrxx.o src/Object.o src/ObjInfo.o src/Player.o src/Pltform.o src/Shape.o src/ShapeLd.o src/Surface.o src/Thing.o src/Weapon.o src/System.o src/SndSys.o src/SoundList.o -lm -L/usr/lib/x86_64-linux-gnu -lSDL -lXpm make[1]: Leaving directory '/build/amphetamine-0.8.10' dh_auto_test @@ -2586,12 +2620,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/29666/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/29666/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/37530 and its subdirectories -I: Current time: Sun Aug 8 21:47:11 -12 2021 -I: pbuilder-time-stamp: 1628502431 +I: removing directory /srv/workspace/pbuilder/29666 and its subdirectories +I: Current time: Mon Sep 12 06:10:59 +14 2022 +I: pbuilder-time-stamp: 1662912659