Diff of the two buildlogs: -- --- b1/build.log 2023-04-28 04:50:39.196465188 +0000 +++ b2/build.log 2023-04-28 04:51:12.111005662 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 27 16:47:46 -12 2023 -I: pbuilder-time-stamp: 1682657266 +I: Current time: Fri May 31 01:13:40 +14 2024 +I: pbuilder-time-stamp: 1717067620 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./amphetamine_0.8.10.orig.tar.gz] I: copying [./amphetamine_0.8.10-21.debian.tar.xz] I: Extracting source -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: cannot verify inline signature for ./amphetamine_0.8.10-21.dsc: no acceptable signature found @@ -37,137 +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/5452/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/107304/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 31 01:13 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/107304/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/107304/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='e2e85ee1aa514230bf04f820732aca76' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='5452' - PS1='# ' - PS2='> ' + INVOCATION_ID=245e189e4b0140caa430dc52d218f123 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=107304 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.qScMsVwx/pbuilderrc_yo2h --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.qScMsVwx/b1 --logfile b1/build.log amphetamine_0.8.10-21.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://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/r-b-build.qScMsVwx/pbuilderrc_XTDN --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.qScMsVwx/b2 --logfile b2/build.log --extrapackages usrmerge amphetamine_0.8.10-21.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 5.10.0-21-686-pae #1 SMP Debian 5.10.162-1 (2023-01-21) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/5452/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 May 31 01:13 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/107304/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -380,7 +412,7 @@ Get: 169 http://deb.debian.org/debian bookworm/main i386 libsdl1.2-dev i386 1.2.15+dfsg2-8 [755 kB] Get: 170 http://deb.debian.org/debian bookworm/main i386 libxpm4 i386 1:3.5.12-1.1 [50.0 kB] Get: 171 http://deb.debian.org/debian bookworm/main i386 libxpm-dev i386 1:3.5.12-1.1 [106 kB] -Fetched 98.2 MB in 3s (34.2 MB/s) +Fetched 98.2 MB in 1s (87.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libfftw3-double3:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19604 files and directories currently installed.) @@ -1106,10 +1138,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 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 +I: user script /srv/workspace/pbuilder/107304/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/107304/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +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 @@ -1119,7 +1158,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j8 clean + make -j15 clean make[1]: Entering directory '/build/amphetamine-0.8.10' make[1]: Leaving directory '/build/amphetamine-0.8.10' debian/rules override_dh_clean @@ -1144,7 +1183,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j8 "INSTALL=install --strip-program=true" + make -j15 "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 @@ -1154,141 +1193,78 @@ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Appl.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/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 -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/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 -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/Clut.o -src/Element.cpp: In member function 'void CBackgroundElement::OnAllocate()': -src/Element.cpp:282:34: 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:38: 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:45: 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:54: 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:9: note: in expansion of macro 'READDATA' - 344 | READDATA(size); - | ^~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/ConstVal.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/ConstVal.o +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Creeper.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/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 -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/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 -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/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 -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 +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] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:345:9: note: in expansion of macro 'READDATA' - 345 | READDATA(typeID); +src/Item.cpp:271:9: note: in expansion of macro 'READDATA' + 271 | 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:349:9: note: in expansion of macro 'READDATA' - 349 | READDATA(bitData); +src/Item.cpp:272:9: note: in expansion of macro 'READDATA' + 272 | 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:350:9: note: in expansion of macro 'READDATA' - 350 | READDATA(lastState); +src/Item.cpp:273:9: note: in expansion of macro 'READDATA' + 273 | 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/Element.cpp:351:9: note: in expansion of macro 'READDATA' - 351 | READDATA(iconID); +src/Item.cpp:277:9: note: in expansion of macro 'READDATA' + 277 | 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] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:352:9: note: in expansion of macro 'READDATA' - 352 | READDATA(brightness); +src/Item.cpp:278:9: note: in expansion of macro 'READDATA' + 278 | READDATA(detonationStartTime); | ^~~~~~~~ +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] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Element.cpp:353:9: note: in expansion of macro 'READDATA' - 353 | READDATA(brightness2); +src/Item.cpp:304:9: note: in expansion of macro 'READDATA' + 304 | 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:354:9: note: in expansion of macro 'READDATA' - 354 | READDATA(key); +src/Item.cpp:305:9: note: in expansion of macro 'READDATA' + 305 | 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:355:9: note: in expansion of macro 'READDATA' - 355 | READDATA(refNum); +src/Item.cpp:306:9: note: in expansion of macro 'READDATA' + 306 | 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/Element.cpp:356:9: note: in expansion of macro 'READDATA' - 356 | READDATA(data); +src/Item.cpp:310:9: note: in expansion of macro 'READDATA' + 310 | READDATA(pickedUp); | ^~~~~~~~ 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:9: note: in expansion of macro 'READDATA' - 360 | READDATA(elemThings); +src/Item.cpp:311:9: note: in expansion of macro 'READDATA' + 311 | READDATA(type); | ^~~~~~~~ -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:17: 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:17: 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:17: 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:17: note: in expansion of macro 'READDATA' - 365 | READDATA(elementThings->passiveHasChanged); - | ^~~~~~~~ -src/Appl.cpp: In member function 'void CApplication::RunLevel()': -src/Appl.cpp:247:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 247 | sprintf(fps, "%02d", saveFrameCount); - | ~~~^ ~~~~~~~~~~~~~~ - | | | - | int long int - | %02ld -src/Appl.cpp:250:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 250 | sprintf(fps, "%02d", frameCount); - | ~~~^ ~~~~~~~~~~ - | | | - | int long int - | %02ld -src/Gifload.cpp: In function 'Graphic_file* LoadGIF(FILE*, char*)': -src/Gifload.cpp:152:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 152 | register unsigned char ch, ch1; - | ^~ -src/Gifload.cpp:152:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 152 | register unsigned char ch, ch1; - | ^~~ -src/Gifload.cpp:153:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 153 | register byte *ptr, *ptr1; - | ^~~ -src/Gifload.cpp:153:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 153 | register byte *ptr, *ptr1; - | ^~~~ -src/Gifload.cpp:154:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 154 | register int i; - | ^ In file included from src/Thing.hpp:4, from src/Bullet.hpp:4, from src/Bullet.cpp:1: @@ -1495,163 +1471,142 @@ src/Bullet.cpp:649:9: 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 -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/ConstVal.o -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Creeper.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/Creeper.o -src/Appl.cpp:247:39: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 5 [-Wformat-overflow=] - 247 | sprintf(fps, "%02d", saveFrameCount); - | ^~~~ -src/Appl.cpp:247:38: note: directive argument in the range [0, 2147483647] - 247 | sprintf(fps, "%02d", saveFrameCount); - | ^~~~~~ -In file included from /usr/include/stdio.h:906, - from src/System.hpp:8, - from src/Appl.hpp:5, - from src/Appl.cpp:1: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void CApplication::RunLevel()' at src/Appl.cpp:247:11: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 5 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ +src/Gifload.cpp: In function 'Graphic_file* LoadGIF(FILE*, char*)': +src/Gifload.cpp:152:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 152 | register unsigned char ch, ch1; + | ^~ +src/Gifload.cpp:152:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 152 | register unsigned char ch, ch1; + | ^~~ +src/Gifload.cpp:153:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 153 | register byte *ptr, *ptr1; + | ^~~ +src/Gifload.cpp:153:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 153 | register byte *ptr, *ptr1; + | ^~~~ +src/Gifload.cpp:154:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 154 | register int i; + | ^ +src/Element.cpp: In member function 'void CBackgroundElement::OnAllocate()': +src/Element.cpp:282:34: 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:38: 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:45: 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:54: 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}; + | ~~~^~~~ src/Appl.cpp: In member function 'void CApplication::RunLevel()': -src/Appl.cpp:250:39: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 5 [-Wformat-overflow=] - 250 | sprintf(fps, "%02d", frameCount); - | ^~~~ -src/Appl.cpp:250:38: note: directive argument in the range [1, 2147483647] +src/Appl.cpp:247:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 247 | sprintf(fps, "%02d", saveFrameCount); + | ~~~^ ~~~~~~~~~~~~~~ + | | | + | int long int + | %02ld +src/Appl.cpp:250:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 250 | sprintf(fps, "%02d", frameCount); - | ^~~~~~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void CApplication::RunLevel()' at src/Appl.cpp:250:11: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 5 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -DINSTALL_DIR="\"/usr/share/games/amphetamine\"" -D_USE_LIB_XPM -c src/Item.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/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 -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/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 -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 -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*)': + | ~~~^ ~~~~~~~~~~ + | | | + | int long int + | %02ld +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/Item.cpp:271:9: note: in expansion of macro 'READDATA' - 271 | READDATA(size); +src/Element.cpp:344:9: 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/Item.cpp:272:9: note: in expansion of macro 'READDATA' - 272 | READDATA(typeID); +src/Element.cpp:345:9: 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/Item.cpp:273:9: note: in expansion of macro 'READDATA' - 273 | READDATA(thingNumber); +src/Element.cpp:349:9: 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/Item.cpp:277:9: note: in expansion of macro 'READDATA' - 277 | READDATA(isCorona); +src/Element.cpp:350:9: 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/Item.cpp:278:9: note: in expansion of macro 'READDATA' - 278 | READDATA(detonationStartTime); +src/Element.cpp:351:9: note: in expansion of macro 'READDATA' + 351 | READDATA(iconID); | ^~~~~~~~ -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] 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Item.cpp:304:9: note: in expansion of macro 'READDATA' - 304 | READDATA(size); +src/Element.cpp:352:9: 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/Item.cpp:305:9: note: in expansion of macro 'READDATA' - 305 | READDATA(typeID); +src/Element.cpp:353:9: 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/Item.cpp:306:9: note: in expansion of macro 'READDATA' - 306 | READDATA(thingNumber); +src/Element.cpp:354:9: 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/Item.cpp:310:9: note: in expansion of macro 'READDATA' - 310 | READDATA(pickedUp); +src/Element.cpp:355:9: 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/Item.cpp:311:9: note: in expansion of macro 'READDATA' - 311 | READDATA(type); +src/Element.cpp:356:9: note: in expansion of macro 'READDATA' + 356 | READDATA(data); | ^~~~~~~~ -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 -src/Level.cpp: In member function 'void CLevel::GetSavedGameTitle(char*, char*)': -src/Level.cpp:273:21: 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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:274:21: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 274 | if (f) fread(&key, sizeof(key), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:279:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 279 | fread(&time, sizeof(time), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp: In member function 'short int CLevel::ReadLevel(char*)': -src/Level.cpp:302:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 302 | fread(&versionNumber, sizeof(versionNumber), 1, f); if (versionNumber != kVersionNumber) return 0; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:303:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 303 | fread(&key, sizeof(key), 1, f); if (key != kVersionKey) return 0; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:304:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 304 | fread(&theTime, sizeof(theTime), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:305:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 305 | fread(&ticks, sizeof(ticks), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:306:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 306 | fread(&gApplication->difficulty, sizeof(gApplication->difficulty), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:307:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 307 | fread(&fileSize, sizeof(fileSize), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:308:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 308 | fread(&gApplication->levelNumber, sizeof(gApplication->levelNumber), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:315:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 315 | fread(&size, sizeof(size), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:316:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 316 | fread(&typeID, sizeof(typeID), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:333:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 333 | fread(&size, sizeof(size), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:334:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 334 | fread(&typeID, sizeof(typeID), 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/Level.cpp:335:22: 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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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:9: 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:17: 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:17: 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:17: 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:17: 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/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 -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/Monster.cpp:1: @@ -1758,8 +1713,54 @@ src/Monster.cpp:372:9: note: in expansion of macro 'READDATA' 372 | READDATA(health); | ^~~~~~~~ -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 +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/Level.cpp: In member function 'void CLevel::GetSavedGameTitle(char*, char*)': +src/Level.cpp:273:21: 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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:274:21: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 274 | if (f) fread(&key, sizeof(key), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:279:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 279 | fread(&time, sizeof(time), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp: In member function 'short int CLevel::ReadLevel(char*)': +src/Level.cpp:302:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 302 | fread(&versionNumber, sizeof(versionNumber), 1, f); if (versionNumber != kVersionNumber) return 0; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:303:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 303 | fread(&key, sizeof(key), 1, f); if (key != kVersionKey) return 0; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:304:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 304 | fread(&theTime, sizeof(theTime), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:305:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 305 | fread(&ticks, sizeof(ticks), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:306:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 306 | fread(&gApplication->difficulty, sizeof(gApplication->difficulty), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:307:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 307 | fread(&fileSize, sizeof(fileSize), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:308:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 308 | fread(&gApplication->levelNumber, sizeof(gApplication->levelNumber), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:315:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 315 | fread(&size, sizeof(size), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:316:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 316 | fread(&typeID, sizeof(typeID), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:333:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 333 | fread(&size, sizeof(size), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:334:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 334 | fread(&typeID, sizeof(typeID), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Level.cpp:335:22: 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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/Thing.hpp:4, from src/Monster.hpp:4, from src/Monstrxx.hpp:4, @@ -1942,7 +1943,49 @@ src/Monstrxx.cpp:575:9: 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/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 +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 +src/Appl.cpp:247:39: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 5 [-Wformat-overflow=] + 247 | sprintf(fps, "%02d", saveFrameCount); + | ^~~~ +src/Appl.cpp:247:38: note: directive argument in the range [0, 2147483647] + 247 | sprintf(fps, "%02d", saveFrameCount); + | ^~~~~~ +In file included from /usr/include/stdio.h:906, + from src/System.hpp:8, + from src/Appl.hpp:5, + from src/Appl.cpp:1: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void CApplication::RunLevel()' at src/Appl.cpp:247:11: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 5 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +src/Appl.cpp: In member function 'void CApplication::RunLevel()': +src/Appl.cpp:250:39: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 5 [-Wformat-overflow=] + 250 | sprintf(fps, "%02d", frameCount); + | ^~~~ +src/Appl.cpp:250:38: note: directive argument in the range [1, 2147483647] + 250 | sprintf(fps, "%02d", frameCount); + | ^~~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void CApplication::RunLevel()' at src/Appl.cpp:250:11: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 5 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ 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 +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/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] @@ -2047,6 +2090,8 @@ src/Object.cpp:334:9: 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/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/ObjInfo.hpp:4, from src/ObjInfo.cpp:1: src/ObjInfo.cpp: In member function 'void CObjInfo::LoadMonsters(short int)': @@ -2062,80 +2107,6 @@ src/ObjInfo.cpp:53:37: 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 -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/Pltform.hpp:4, - from src/Pltform.cpp:1: -src/Pltform.cpp: In member function 'virtual void CPlatform::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/Pltform.cpp:259:9: note: in expansion of macro 'READDATA' - 259 | 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/Pltform.cpp:260:9: note: in expansion of macro 'READDATA' - 260 | 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/Pltform.cpp:261:9: note: in expansion of macro 'READDATA' - 261 | 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/Pltform.cpp:265:9: note: in expansion of macro 'READDATA' - 265 | READDATA(origHeight); - | ^~~~~~~~ -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/Pltform.cpp:266:9: note: in expansion of macro 'READDATA' - 266 | READDATA(action); - | ^~~~~~~~ -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/Pltform.cpp:267:9: note: in expansion of macro 'READDATA' - 267 | READDATA(startx); - | ^~~~~~~~ -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/Pltform.cpp:268:9: note: in expansion of macro 'READDATA' - 268 | READDATA(starty); - | ^~~~~~~~ -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/Pltform.cpp:269:9: note: in expansion of macro 'READDATA' - 269 | READDATA(endx); - | ^~~~~~~~ -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/Pltform.cpp:270:9: note: in expansion of macro 'READDATA' - 270 | READDATA(endy); - | ^~~~~~~~ -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/Pltform.cpp:271:9: note: in expansion of macro 'READDATA' - 271 | READDATA(maxDistance); - | ^~~~~~~~ -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/Pltform.cpp:272:9: note: in expansion of macro 'READDATA' - 272 | READDATA(delayTime); - | ^~~~~~~~ -src/Pltform.cpp:276:14: 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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/Thing.hpp:4, from src/Monster.hpp:4, from src/Player.hpp:4, @@ -2213,62 +2184,79 @@ src/Player.cpp:529:9: note: in expansion of macro 'READDATA' 529 | 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 -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/Pltform.hpp:4, + from src/Pltform.cpp:1: +src/Pltform.cpp: In member function 'virtual void CPlatform::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/Thing.cpp:148:9: note: in expansion of macro 'READDATA' - 148 | READDATA(size); +src/Pltform.cpp:259:9: note: in expansion of macro 'READDATA' + 259 | 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/Thing.cpp:149:9: note: in expansion of macro 'READDATA' - 149 | READDATA(typeID); +src/Pltform.cpp:260:9: note: in expansion of macro 'READDATA' + 260 | 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/Thing.cpp:150:9: note: in expansion of macro 'READDATA' - 150 | READDATA(thingNumber); +src/Pltform.cpp:261:9: note: in expansion of macro 'READDATA' + 261 | 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/Thing.cpp:154:9: note: in expansion of macro 'READDATA' - 154 | READDATA(lookDirection); +src/Pltform.cpp:265:9: note: in expansion of macro 'READDATA' + 265 | READDATA(origHeight); | ^~~~~~~~ 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/Thing.cpp:155:9: note: in expansion of macro 'READDATA' - 155 | READDATA(weightless); +src/Pltform.cpp:266:9: note: in expansion of macro 'READDATA' + 266 | READDATA(action); | ^~~~~~~~ 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/Thing.cpp:156:9: note: in expansion of macro 'READDATA' - 156 | READDATA(dx); +src/Pltform.cpp:267:9: note: in expansion of macro 'READDATA' + 267 | READDATA(startx); | ^~~~~~~~ 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/Thing.cpp:157:9: note: in expansion of macro 'READDATA' - 157 | READDATA(dy); +src/Pltform.cpp:268:9: note: in expansion of macro 'READDATA' + 268 | READDATA(starty); | ^~~~~~~~ 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/Thing.cpp:158:9: note: in expansion of macro 'READDATA' - 158 | READDATA(modus); +src/Pltform.cpp:269:9: note: in expansion of macro 'READDATA' + 269 | READDATA(endx); + | ^~~~~~~~ +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/Pltform.cpp:270:9: note: in expansion of macro 'READDATA' + 270 | READDATA(endy); + | ^~~~~~~~ +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/Pltform.cpp:271:9: note: in expansion of macro 'READDATA' + 271 | READDATA(maxDistance); | ^~~~~~~~ +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/Pltform.cpp:272:9: note: in expansion of macro 'READDATA' + 272 | READDATA(delayTime); + | ^~~~~~~~ +src/Pltform.cpp:276:14: 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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/Thing.hpp:4, from src/ObjInfo.hpp:5, from src/Weapon.hpp:4, @@ -2385,6 +2373,57 @@ src/Weapon.cpp:468:9: note: in expansion of macro 'READDATA' 468 | 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] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Thing.cpp:148:9: note: in expansion of macro 'READDATA' + 148 | 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/Thing.cpp:149:9: note: in expansion of macro 'READDATA' + 149 | 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/Thing.cpp:150:9: note: in expansion of macro 'READDATA' + 150 | 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/Thing.cpp:154:9: note: in expansion of macro 'READDATA' + 154 | 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] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Thing.cpp:155:9: note: in expansion of macro 'READDATA' + 155 | 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] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Thing.cpp:156:9: note: in expansion of macro 'READDATA' + 156 | 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] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Thing.cpp:157:9: note: in expansion of macro 'READDATA' + 157 | 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] + 47 | #define READDATA(data) fread(&data, sizeof(data), 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/Thing.cpp:158:9: note: in expansion of macro 'READDATA' + 158 | 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/i386-linux-gnu -lSDL -lXpm make[1]: Leaving directory '/build/amphetamine-0.8.10' dh_auto_test @@ -2494,8 +2533,8 @@ dh_builddeb dpkg-deb --build debian/amphetamine .. dpkg-deb --root-owner-group --build debian/.debhelper/amphetamine/dbgsym-root .. -dpkg-deb: building package 'amphetamine-dbgsym' in '../amphetamine-dbgsym_0.8.10-21_i386.deb'. dpkg-deb: building package 'amphetamine' in '../amphetamine_0.8.10-21_i386.deb'. +dpkg-deb: building package 'amphetamine-dbgsym' in '../amphetamine-dbgsym_0.8.10-21_i386.deb'. dpkg-genbuildinfo --build=binary -O../amphetamine_0.8.10-21_i386.buildinfo dpkg-genchanges --build=binary -O../amphetamine_0.8.10-21_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2503,12 +2542,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/107304/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/107304/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/5452 and its subdirectories -I: Current time: Thu Apr 27 16:50:38 -12 2023 -I: pbuilder-time-stamp: 1682657438 +I: removing directory /srv/workspace/pbuilder/107304 and its subdirectories +I: Current time: Fri May 31 01:14:11 +14 2024 +I: pbuilder-time-stamp: 1717067651