Diff of the two buildlogs: -- --- b1/build.log 2024-07-17 19:13:52.284873734 +0000 +++ b2/build.log 2024-07-17 19:21:33.625280919 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Aug 19 13:33:33 -12 2025 -I: pbuilder-time-stamp: 1755653613 +I: Current time: Thu Jul 18 09:13:54 +14 2024 +I: pbuilder-time-stamp: 1721243634 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./dosbox_0.74-3-3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.nJ49tZRw/trustedkeys.kbx': General error -gpgv: Signature made Wed Feb 3 00:04:41 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.s_nj2WjI/trustedkeys.kbx': General error +gpgv: Signature made Thu Feb 4 02:04:41 2021 +14 gpgv: using RSA key 9CF557FE13CB90CA2AEF1D2080D302F5886D839C gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./dosbox_0.74-3-3.dsc @@ -31,135 +31,166 @@ dpkg-source: info: applying 74-3-events.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/671295/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1103760/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 18 09:14 /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/1103760/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1103760/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=42 ' - DISTRIBUTION='bullseye' - 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]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build/reproducible-path + 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,-fixfilepath parallel=20 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='c4a63fe4e44e4c2cb83319be3641942e' - 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='671295' - PS1='# ' - PS2='> ' + INVOCATION_ID=15fff7bf7b3a4890b816a1e43f1537fb + 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=1103760 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.1a7gVwJh/pbuilderrc_5gM1 --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1a7gVwJh/b1 --logfile b1/build.log dosbox_0.74-3-3.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.1a7gVwJh/pbuilderrc_1UrZ --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1a7gVwJh/b2 --logfile b2/build.log dosbox_0.74-3-3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Mar 27 2024 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Mar 27 2024 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Jan 24 2023 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 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Mar 27 2024 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Mar 27 2024 more - -rwsr-xr-x 1 root root 55528 Mar 27 2024 mount - -rwxr-xr-x 1 root root 18664 Mar 27 2024 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 9 03:46 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Mar 27 2024 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Jan 19 2024 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Mar 27 2024 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Mar 27 2024 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 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 5898 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 8049 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/671295/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Mar 29 00:09 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Mar 29 00:09 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 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 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Mar 29 00:09 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Mar 29 00:09 more + -rwsr-xr-x 1 root root 55528 Mar 29 00:09 mount + -rwxr-xr-x 1 root root 18664 Mar 29 00:09 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Jul 18 09:14 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Mar 29 00:09 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Jan 20 23:59 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Mar 29 00:09 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Mar 29 00:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 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 5898 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 8049 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/1103760/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -388,7 +419,7 @@ Get: 178 http://deb.debian.org/debian bullseye/main amd64 libvorbisfile3 amd64 1.3.7-1 [26.1 kB] Get: 179 http://deb.debian.org/debian bullseye/main amd64 libsdl-sound1.2 amd64 1.0.3-9+b1 [85.0 kB] Get: 180 http://deb.debian.org/debian bullseye/main amd64 libsdl-sound1.2-dev amd64 1.0.3-9+b1 [102 kB] -Fetched 82.1 MB in 2s (47.2 MB/s) +Fetched 82.1 MB in 4s (20.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19711 files and directories currently installed.) @@ -1129,7 +1160,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/dosbox-0.74-3/ && 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 > ../dosbox_0.74-3-3_source.changes +I: user script /srv/workspace/pbuilder/1103760/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/1103760/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/dosbox-0.74-3/ && 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 > ../dosbox_0.74-3-3_source.changes dpkg-buildpackage: info: source package dosbox dpkg-buildpackage: info: source version 0.74-3-3 dpkg-buildpackage: info: source distribution unstable @@ -1440,7 +1475,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/dosbox-0.74-3' dh_auto_build -Bbuild-release - cd build-release && make -j42 + cd build-release && make -j20 make[2]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-release' make all-recursive make[3]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-release' @@ -1646,22 +1681,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../src/dos/dos_programs.cpp: In member function 'virtual void BOOT::Run()': -../../../src/dos/dos_programs.cpp:698:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 698 | fread(rombuf, 1, rombytesize_1-0x200, usefile_1); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_programs.cpp:784:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 784 | fread(rombuf, 1, 0x200, usefile_2); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_programs.cpp:789:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 789 | fread(rombuf, 1, rombytesize_2-0x200, usefile_2); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_programs.cpp:797:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 797 | fread(rombuf, 1, 0x200, usefile_1); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_programs.cpp:802:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 802 | fread(rombuf, 1, rombytesize_1-0x200, usefile_1); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/dos/dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)': ../../../src/dos/dos_keyboard_layout.cpp:179:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 179 | fread(rbuf, sizeof(Bit8u), 2, tempfile); @@ -1685,6 +1704,22 @@ ../../../src/dos/dos_keyboard_layout.cpp:806:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 806 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_programs.cpp: In member function 'virtual void BOOT::Run()': +../../../src/dos/dos_programs.cpp:698:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 698 | fread(rombuf, 1, rombytesize_1-0x200, usefile_1); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_programs.cpp:784:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 784 | fread(rombuf, 1, 0x200, usefile_2); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_programs.cpp:789:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 789 | fread(rombuf, 1, rombytesize_2-0x200, usefile_2); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_programs.cpp:797:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 797 | fread(rombuf, 1, 0x200, usefile_1); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_programs.cpp:802:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 802 | fread(rombuf, 1, rombytesize_1-0x200, usefile_1); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libdos.a ar cru libdos.a dos.o dos_devices.o dos_execute.o dos_files.o dos_ioctl.o dos_memory.o dos_misc.o dos_classes.o dos_programs.o dos_tables.o drives.o drive_virtual.o drive_local.o drive_cache.o drive_fat.o drive_iso.o dos_mscdex.o dos_keyboard_layout.o cdrom.o cdrom_ioctl_win32.o cdrom_aspi_win32.o cdrom_ioctl_linux.o cdrom_image.o cdrom_ioctl_os2.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -1888,6 +1923,13 @@ | | Bitu {aka long unsigned int} | int | %ld +../../../src/gui/sdl_mapper.cpp: In function 'void CreateDefaultBinds()': +../../../src/gui/sdl_mapper.cpp:2061:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 2061 | sprintf(buffer,"key_%s \"key %d\"",DefaultKeys[i].eventend,DefaultKeys[i].key); + | ~^ ~~~~~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld ../../../src/gui/render.cpp: In function 'void RENDER_Reset()': ../../../src/gui/render.cpp:484:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 484 | E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); @@ -1909,13 +1951,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../src/gui/sdl_mapper.cpp: In function 'void CreateDefaultBinds()': -../../../src/gui/sdl_mapper.cpp:2061:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 2061 | sprintf(buffer,"key_%s \"key %d\"",DefaultKeys[i].eventend,DefaultKeys[i].key); - | ~^ ~~~~~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld ../../../src/gui/sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': ../../../src/gui/sdlmain.cpp:294:70: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] 294 | sprintf(title,"DOSBox %s, Cpu speed: max %3d%% cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); @@ -1997,43 +2032,77 @@ g++ -DHAVE_CONFIG_H -I. -I../../../../src/hardware/serialport -I../../.. -I../../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o softmodem.o ../../../../src/hardware/serialport/softmodem.cpp g++ -DHAVE_CONFIG_H -I. -I../../../../src/hardware/serialport -I../../.. -I../../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o misc_util.o ../../../../src/hardware/serialport/misc_util.cpp g++ -DHAVE_CONFIG_H -I. -I../../../../src/hardware/serialport -I../../.. -I../../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o nullmodem.o ../../../../src/hardware/serialport/nullmodem.cpp -../../../../src/hardware/serialport/directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': -../../../../src/hardware/serialport/directserial.cpp:46:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 46 | LOG_MSG ("Serial%d: Opening %s", COMNUMBER, tmpstring.c_str()); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/directserial.cpp:50:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 50 | LOG_MSG("Serial%d: Serial Port \"%s\" could not be opened.", - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': -../../../../src/hardware/serialport/directserial.cpp:277:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 277 | LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", +../../../../src/hardware/serialport/nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': +../../../../src/hardware/serialport/nullmodem.cpp:108:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 108 | LOG_MSG("Serial%d: Connection failed.",COMNUMBER); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:121:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 121 | LOG_MSG("Serial%d: Connected to %s",COMNUMBER,peernamebuf); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:136:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 136 | LOG_MSG("Serial%d: -socket start parameter missing.",COMNUMBER); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:141:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 141 | LOG_MSG("Serial%d: socket inheritance not supported on this platform.", | ~^ | | | int | %ld -../../../../src/hardware/serialport/directserial.cpp:277:59: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 277 | LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", - | ~^ - | | - | int - | %ld - 278 | COMNUMBER, baudrate,bytelength,parity,stopbits); - | ~~~~~~~~ - | | - | Bitu {aka long unsigned int} -../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': -../../../../src/hardware/serialport/directserial.cpp:294:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 294 | LOG_MSG("Serial%d: COM port error: write failed!", COMNUMBER); +../../../../src/hardware/serialport/nullmodem.cpp:163:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 163 | LOG_MSG("Serial%d: Waiting for DTR...",COMNUMBER); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:170:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 170 | LOG_MSG("Serial%d: Nullmodem server waiting for connection on port %d...", | ~^ | | | int | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::ClientConnect()': +../../../../src/hardware/serialport/nullmodem.cpp:226:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 226 | LOG_MSG("Serial%d: Connection failed.",idnumber+1); + | ~^ ~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:236:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 236 | LOG_MSG("Serial%d: Connected to %s",idnumber+1,peernamebuf); + | ~^ ~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::Disconnect()': +../../../../src/hardware/serialport/nullmodem.cpp:244:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 244 | LOG_MSG("Serial%d: Disconnected.",COMNUMBER); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'virtual void CNullModem::handleUpperEvent(Bit16u)': +../../../../src/hardware/serialport/nullmodem.cpp:388:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 388 | LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': +../../../../src/hardware/serialport/nullmodem.cpp:462:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 462 | LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); + | ~^ + | | + | int + | %ld In file included from ../../../../src/hardware/serialport/softmodem.cpp:31: ../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': ../../../../src/hardware/serialport/softmodem.h:95:47: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] @@ -2050,6 +2119,19 @@ | | | | int Bitu {aka long unsigned int} | %ld +../../../../src/hardware/serialport/directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': +../../../../src/hardware/serialport/directserial.cpp:46:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 46 | LOG_MSG ("Serial%d: Opening %s", COMNUMBER, tmpstring.c_str()); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/directserial.cpp:50:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 50 | LOG_MSG("Serial%d: Serial Port \"%s\" could not be opened.", + | ~^ + | | + | int + | %ld ../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()': ../../../../src/hardware/serialport/softmodem.cpp:280:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 280 | LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); @@ -2075,6 +2157,23 @@ | | | | int Bitu {aka long unsigned int} | %ld +../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': +../../../../src/hardware/serialport/directserial.cpp:277:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 277 | LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/directserial.cpp:277:59: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 277 | LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", + | ~^ + | | + | int + | %ld + 278 | COMNUMBER, baudrate,bytelength,parity,stopbits); + | ~~~~~~~~ + | | + | Bitu {aka long unsigned int} ../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::DoCommand()': ../../../../src/hardware/serialport/softmodem.cpp:513:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 513 | LOG_MSG("Modem: Unhandled command: &%c%d",cmdchar,ScanNumber(scanbuf)); @@ -2094,6 +2193,13 @@ | | | | int Bitu {aka long unsigned int} | %ld +../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': +../../../../src/hardware/serialport/directserial.cpp:294:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 294 | LOG_MSG("Serial%d: COM port error: write failed!", COMNUMBER); + | ~^ + | | + | int + | %ld In file included from ../../../../src/hardware/serialport/serialport.cpp:35: ../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': ../../../../src/hardware/serialport/softmodem.h:95:47: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] @@ -2137,77 +2243,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': -../../../../src/hardware/serialport/nullmodem.cpp:108:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 108 | LOG_MSG("Serial%d: Connection failed.",COMNUMBER); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:121:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 121 | LOG_MSG("Serial%d: Connected to %s",COMNUMBER,peernamebuf); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:136:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 136 | LOG_MSG("Serial%d: -socket start parameter missing.",COMNUMBER); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:141:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 141 | LOG_MSG("Serial%d: socket inheritance not supported on this platform.", - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:163:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 163 | LOG_MSG("Serial%d: Waiting for DTR...",COMNUMBER); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:170:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 170 | LOG_MSG("Serial%d: Nullmodem server waiting for connection on port %d...", - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::ClientConnect()': -../../../../src/hardware/serialport/nullmodem.cpp:226:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 226 | LOG_MSG("Serial%d: Connection failed.",idnumber+1); - | ~^ ~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:236:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 236 | LOG_MSG("Serial%d: Connected to %s",idnumber+1,peernamebuf); - | ~^ ~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::Disconnect()': -../../../../src/hardware/serialport/nullmodem.cpp:244:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 244 | LOG_MSG("Serial%d: Disconnected.",COMNUMBER); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'virtual void CNullModem::handleUpperEvent(Bit16u)': -../../../../src/hardware/serialport/nullmodem.cpp:388:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 388 | LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': -../../../../src/hardware/serialport/nullmodem.cpp:462:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 462 | LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); - | ~^ - | | - | int - | %ld rm -f libserial.a ar cru libserial.a directserial.o libserial.o serialdummy.o serialport.o softmodem.o misc_util.o nullmodem.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -2243,21 +2278,77 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_dac.o ../../../src/hardware/vga_dac.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_draw.o ../../../src/hardware/vga_draw.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_gfx.o ../../../src/hardware/vga_gfx.cpp +../../../src/hardware/pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)': +../../../src/hardware/pic.cpp:204:41: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 204 | if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/hardware/pic.cpp:205:42: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 205 | if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/hardware/memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': +../../../src/hardware/memory.cpp:564:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 564 | if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); + | ~^ ~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': +../../../src/hardware/tandy_sound.cpp:230:41: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 230 | LOG_MSG("Tandy DAC: Read from unknown %X",port); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +../../../src/hardware/iohandler.cpp: In member function 'void IO_ReadHandleObject::Install(Bitu, Bitu (*)(Bitu, Bitu), Bitu, Bitu)': +../../../src/hardware/iohandler.cpp:119:56: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 119 | } else E_Exit("IO_readHandler already installed port %x",port); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx +../../../src/hardware/iohandler.cpp: In member function 'void IO_WriteHandleObject::Install(Bitu, void (*)(Bitu, Bitu, Bitu), Bitu, Bitu)': +../../../src/hardware/iohandler.cpp:134:57: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 134 | } else E_Exit("IO_writeHandler already installed port %x",port); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx +../../../src/hardware/adlib.cpp: In member function 'void Adlib::Capture::CloseFile()': +../../../src/hardware/adlib.cpp:257:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 257 | var_write( &header.versionHigh, header.versionHigh ); + | ^~~~~~~~~~~~~~~~~~~ +../../../src/hardware/adlib.cpp:258:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 258 | var_write( &header.versionLow, header.versionLow ); + | ^~~~~~~~~~~~~~~~~~ +../../../src/hardware/adlib.cpp:259:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 259 | var_write( &header.commands, header.commands ); + | ^~~~~~~~~~~~~~~~ +../../../src/hardware/adlib.cpp:260:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 260 | var_write( &header.milliseconds, header.milliseconds ); + | ^~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_other.o ../../../src/hardware/vga_other.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_memory.o ../../../src/hardware/vga_memory.cpp +../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': +../../../src/hardware/hardware.cpp:122:30: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 122 | sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); + | ~~~^ ~~~~ + | | | + | int Bitu {aka long unsigned int} + | %03ld g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_misc.o ../../../src/hardware/vga_misc.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_seq.o ../../../src/hardware/vga_seq.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_xga.o ../../../src/hardware/vga_xga.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_s3.o ../../../src/hardware/vga_s3.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_tseng.o ../../../src/hardware/vga_tseng.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_paradise.o ../../../src/hardware/vga_paradise.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cmos.o ../../../src/hardware/cmos.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o disney.o ../../../src/hardware/disney.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o gus.o ../../../src/hardware/gus.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o mpu401.o ../../../src/hardware/mpu401.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o ipx.o ../../../src/hardware/ipx.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o ipxserver.o ../../../src/hardware/ipxserver.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o dbopl.o ../../../src/hardware/dbopl.cpp ../../../src/hardware/vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)': ../../../src/hardware/vga_xga.cpp:108:51: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 108 | LOG_MSG("XGA: Unhandled multifunction command %x", regselect); @@ -2317,6 +2408,7 @@ | | | | int Bitu {aka long unsigned int} | %ld +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_paradise.o ../../../src/hardware/vga_paradise.cpp ../../../src/hardware/vga_xga.cpp: In function 'void XGA_Write(Bitu, Bitu, Bitu)': ../../../src/hardware/vga_xga.cpp:1167:38: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1167 | else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); @@ -2336,70 +2428,13 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lx -../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': -../../../src/hardware/tandy_sound.cpp:230:41: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 230 | LOG_MSG("Tandy DAC: Read from unknown %X",port); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX -../../../src/hardware/memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': -../../../src/hardware/memory.cpp:564:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 564 | if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); - | ~^ ~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/hardware/iohandler.cpp: In member function 'void IO_ReadHandleObject::Install(Bitu, Bitu (*)(Bitu, Bitu), Bitu, Bitu)': -../../../src/hardware/iohandler.cpp:119:56: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 119 | } else E_Exit("IO_readHandler already installed port %x",port); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx -../../../src/hardware/iohandler.cpp: In member function 'void IO_WriteHandleObject::Install(Bitu, void (*)(Bitu, Bitu, Bitu), Bitu, Bitu)': -../../../src/hardware/iohandler.cpp:134:57: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 134 | } else E_Exit("IO_writeHandler already installed port %x",port); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx -../../../src/hardware/pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)': -../../../src/hardware/pic.cpp:204:41: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 204 | if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/hardware/pic.cpp:205:42: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 205 | if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/hardware/adlib.cpp: In member function 'void Adlib::Capture::CloseFile()': -../../../src/hardware/adlib.cpp:257:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 257 | var_write( &header.versionHigh, header.versionHigh ); - | ^~~~~~~~~~~~~~~~~~~ -../../../src/hardware/adlib.cpp:258:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 258 | var_write( &header.versionLow, header.versionLow ); - | ^~~~~~~~~~~~~~~~~~ -../../../src/hardware/adlib.cpp:259:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 259 | var_write( &header.commands, header.commands ); - | ^~~~~~~~~~~~~~~~ -../../../src/hardware/adlib.cpp:260:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 260 | var_write( &header.milliseconds, header.milliseconds ); - | ^~~~~~~~~~~~~~~~~~~~ -../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': -../../../src/hardware/hardware.cpp:122:30: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 122 | sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); - | ~~~^ ~~~~ - | | | - | int Bitu {aka long unsigned int} - | %03ld +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cmos.o ../../../src/hardware/cmos.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o disney.o ../../../src/hardware/disney.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o gus.o ../../../src/hardware/gus.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o mpu401.o ../../../src/hardware/mpu401.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o ipx.o ../../../src/hardware/ipx.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o ipxserver.o ../../../src/hardware/ipxserver.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o dbopl.o ../../../src/hardware/dbopl.cpp rm -f libhardware.a ar cru libhardware.a adlib.o dma.o gameblaster.o hardware.o iohandler.o joystick.o keyboard.o memory.o mixer.o pcspeaker.o pic.o sblaster.o tandy_sound.o timer.o vga.o vga_attr.o vga_crtc.o vga_dac.o vga_draw.o vga_gfx.o vga_other.o vga_memory.o vga_misc.o vga_seq.o vga_xga.o vga_s3.o vga_tseng.o vga_paradise.o cmos.o disney.o gus.o mpu401.o ipx.o ipxserver.o dbopl.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -2665,7 +2700,7 @@ make[3]: Leaving directory '/build/reproducible-path/dosbox-0.74-3/build-release' make[2]: Leaving directory '/build/reproducible-path/dosbox-0.74-3/build-release' dh_auto_build -Bbuild-debug - cd build-debug && make -j42 + cd build-debug && make -j20 make[2]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-debug' make all-recursive make[3]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-debug' @@ -2700,7 +2735,6 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o core_simple.o ../../../src/cpu/core_simple.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o core_prefetch.o ../../../src/cpu/core_prefetch.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o core_dyn_x86.o ../../../src/cpu/core_dyn_x86.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o core_dynrec.o ../../../src/cpu/core_dynrec.cpp ../../../src/cpu/flags.cpp: In function 'Bit32u get_CF()': ../../../src/cpu/flags.cpp:122:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 122 | LOG(LOG_CPU,LOG_ERROR)("get_CF Unknown %d",lflags.type); @@ -2722,6 +2756,7 @@ | | | | int Bitu {aka long unsigned int} | %ld +g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o core_dynrec.o ../../../src/cpu/core_dynrec.cpp ../../../src/cpu/flags.cpp: In function 'Bit32u get_SF()': ../../../src/cpu/flags.cpp:341:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 341 | LOG(LOG_CPU,LOG_ERROR)("get_SF Unknown %d",lflags.type); @@ -2736,14 +2771,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../src/cpu/callback.cpp: In function 'Bitu CALLBACK_SetupExtra(Bitu, Bitu, PhysPt, bool)': -../../../src/cpu/callback.cpp:435:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 435 | E_Exit("CALLBACK:Setup:Illegal type %d",type); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | int - | %ld ../../../src/cpu/flags.cpp: In function 'Bitu FillFlags()': ../../../src/cpu/flags.cpp:877:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 877 | LOG(LOG_CPU,LOG_ERROR)("Unhandled flag type %d",lflags.type); @@ -2767,13 +2794,6 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lX -../../../src/cpu/flags.cpp: In function 'void FillFlagsNoCFOF()': -../../../src/cpu/flags.cpp:1178:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1178 | LOG(LOG_CPU,LOG_ERROR)("Unhandled flag type %d",lflags.type); - | ~^ ~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld In file included from ../../../src/cpu/core_full.cpp:82: ../../../src/cpu/core_full/load.h:486:58: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 486 | LOG(LOG_CPU,LOG_ERROR)("LOAD:Unhandled code %d opcode %X",inst.code.load,inst.entry); @@ -2781,6 +2801,21 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lX +../../../src/cpu/flags.cpp: In function 'void FillFlagsNoCFOF()': +../../../src/cpu/flags.cpp:1178:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1178 | LOG(LOG_CPU,LOG_ERROR)("Unhandled flag type %d",lflags.type); + | ~^ ~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/cpu/callback.cpp: In function 'Bitu CALLBACK_SetupExtra(Bitu, Bitu, PhysPt, bool)': +../../../src/cpu/callback.cpp:435:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 435 | E_Exit("CALLBACK:Setup:Illegal type %d",type); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | int + | %ld In file included from ../../../src/cpu/core_full.cpp:83: ../../../src/cpu/core_full/op.h:402:57: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 402 | LOG(LOG_CPU,LOG_ERROR)("Group 6 Illegal subfunction %X",inst.rm_index); @@ -2809,15 +2844,6 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lX -In file included from ../../../src/cpu/core_simple.cpp:156: -../../../src/cpu/core_normal/prefix_none.h: In function 'Bits CPU_Core_Simple_Run()': -../../../src/cpu/core_normal/prefix_none.h:1168:53: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1168 | LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); - | ~~^ ~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX In file included from ../../../src/cpu/core_normal.cpp:159: ../../../src/cpu/core_normal/prefix_none.h: In function 'Bits CPU_Core_Normal_Run()': ../../../src/cpu/core_normal/prefix_none.h:1168:53: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] @@ -2834,19 +2860,6 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lu -In file included from ../../../src/cpu/core_simple.cpp:157: -../../../src/cpu/core_normal/prefix_0f.h:156:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 156 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); - | ~^ ~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lu -../../../src/cpu/core_normal/prefix_0f.h:170:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 170 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR%u with non-register",which); - | ~^ ~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lu ../../../src/cpu/core_normal/prefix_0f.h:170:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 170 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR%u with non-register",which); | ~^ ~~~~~ @@ -2859,27 +2872,6 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lu -../../../src/cpu/core_normal/prefix_0f.h:184:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 184 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); - | ~^ ~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lu -In file included from ../../../src/cpu/core_prefetch.cpp:264: -../../../src/cpu/core_normal/prefix_none.h: In function 'Bits CPU_Core_Prefetch_Run()': -../../../src/cpu/core_normal/prefix_none.h:1168:53: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1168 | LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); - | ~~^ ~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX -../../../src/cpu/core_normal/prefix_0f.h:196:36: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 196 | LOG(LOG_CPU,LOG_ERROR)("MOV DR%u,XXX with non-register",which); - | ~^ ~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lu ../../../src/cpu/core_normal/prefix_0f.h:196:36: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 196 | LOG(LOG_CPU,LOG_ERROR)("MOV DR%u,XXX with non-register",which); | ~^ ~~~~~ @@ -2892,45 +2884,22 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lu -../../../src/cpu/core_normal/prefix_0f.h:208:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 208 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR%u with non-register",which); - | ~^ ~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lu -../../../src/cpu/core_normal/prefix_0f.h:222:36: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 222 | LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); - | ~^ ~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lu ../../../src/cpu/core_normal/prefix_0f.h:222:36: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 222 | LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu -In file included from ../../../src/cpu/core_dynrec.cpp:135: -../../../src/cpu/core_dynrec/cache.h: In function 'void cache_closeblock()': -../../../src/cpu/core_dynrec/cache.h:503:79: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 503 | if (written>block->cache.size+CACHE_MAXSIZE) E_Exit("CacheBlock overrun 1 %d",written-block->cache.size); - | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/cpu/core_dynrec/cache.h:504:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 504 | } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size); - | ~^ ~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/cpu/core_dynrec/cache.h:504:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 504 | } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size); - | ~^ ~~~~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -In file included from ../../../src/cpu/core_prefetch.cpp:265: +In file included from ../../../src/cpu/core_simple.cpp:156: +../../../src/cpu/core_normal/prefix_none.h: In function 'Bits CPU_Core_Simple_Run()': +../../../src/cpu/core_normal/prefix_none.h:1168:53: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1168 | LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); + | ~~^ ~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX +In file included from ../../../src/cpu/core_simple.cpp:157: ../../../src/cpu/core_normal/prefix_0f.h:156:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 156 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); | ~^ ~~~~~ @@ -2967,15 +2936,6 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lu -In file included from ../../../src/cpu/core_dynrec.cpp:144: -../../../src/cpu/core_dynrec/risc_x64.h: In function 'void gen_fill_branch(Bit64u)': -../../../src/cpu/core_dynrec/risc_x64.h:632:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bit64s' {aka 'long int'} [-Wformat=] - 632 | if (len>126) LOG_MSG("Big jump %d",len); - | ~^ ~~~ - | | | - | | Bit64s {aka long int} - | int - | %ld In file included from ../../../src/cpu/core_normal.cpp:161: ../../../src/cpu/core_normal/prefix_66.h:712:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 712 | LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); @@ -2984,14 +2944,6 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -In file included from ../../../src/cpu/core_simple.cpp:158: -../../../src/cpu/core_normal/prefix_66.h:712:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 712 | LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); - | ~~^ ~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX In file included from ../../../src/cpu/core_normal.cpp:162: ../../../src/cpu/core_normal/prefix_66_0f.h:59:49: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 59 | LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); @@ -3000,14 +2952,6 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -In file included from ../../../src/cpu/core_simple.cpp:159: -../../../src/cpu/core_normal/prefix_66_0f.h:59:49: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 59 | LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); - | ~~^ ~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX ../../../src/cpu/core_normal/prefix_66_0f.h:114:62: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 114 | LOG(LOG_CPU,LOG_ERROR)("Illegal group 7 RM subfunction %d",which); | ~^ ~~~~~ @@ -3015,14 +2959,7 @@ | | Bitu {aka long unsigned int} | int | %ld -../../../src/cpu/core_normal/prefix_66_0f.h:114:62: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 114 | LOG(LOG_CPU,LOG_ERROR)("Illegal group 7 RM subfunction %d",which); - | ~^ ~~~~~ - | | | - | | Bitu {aka long unsigned int} - | int - | %ld -In file included from ../../../src/cpu/core_prefetch.cpp:266: +In file included from ../../../src/cpu/core_simple.cpp:158: ../../../src/cpu/core_normal/prefix_66.h:712:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 712 | LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); | ~~^ ~~~~~ @@ -3030,7 +2967,7 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -In file included from ../../../src/cpu/core_prefetch.cpp:267: +In file included from ../../../src/cpu/core_simple.cpp:159: ../../../src/cpu/core_normal/prefix_66_0f.h:59:49: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 59 | LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); | ~~^ ~~~~~ @@ -3045,6 +2982,81 @@ | | Bitu {aka long unsigned int} | int | %ld +In file included from ../../../src/cpu/core_prefetch.cpp:264: +../../../src/cpu/core_normal/prefix_none.h: In function 'Bits CPU_Core_Prefetch_Run()': +../../../src/cpu/core_normal/prefix_none.h:1168:53: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1168 | LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); + | ~~^ ~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX +In file included from ../../../src/cpu/core_dynrec.cpp:135: +../../../src/cpu/core_dynrec/cache.h: In function 'void cache_closeblock()': +../../../src/cpu/core_dynrec/cache.h:503:79: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 503 | if (written>block->cache.size+CACHE_MAXSIZE) E_Exit("CacheBlock overrun 1 %d",written-block->cache.size); + | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +In file included from ../../../src/cpu/core_prefetch.cpp:265: +../../../src/cpu/core_normal/prefix_0f.h:156:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 156 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); + | ~^ ~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lu +../../../src/cpu/core_dynrec/cache.h:504:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 504 | } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size); + | ~^ ~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/cpu/core_dynrec/cache.h:504:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 504 | } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size); + | ~^ ~~~~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/cpu/core_normal/prefix_0f.h:170:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 170 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR%u with non-register",which); + | ~^ ~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lu +../../../src/cpu/core_normal/prefix_0f.h:184:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 184 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); + | ~^ ~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lu +../../../src/cpu/core_normal/prefix_0f.h:196:36: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 196 | LOG(LOG_CPU,LOG_ERROR)("MOV DR%u,XXX with non-register",which); + | ~^ ~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lu +../../../src/cpu/core_normal/prefix_0f.h:208:40: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 208 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR%u with non-register",which); + | ~^ ~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lu +../../../src/cpu/core_normal/prefix_0f.h:222:36: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 222 | LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); + | ~^ ~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lu +In file included from ../../../src/cpu/core_dynrec.cpp:144: +../../../src/cpu/core_dynrec/risc_x64.h: In function 'void gen_fill_branch(Bit64u)': +../../../src/cpu/core_dynrec/risc_x64.h:632:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bit64s' {aka 'long int'} [-Wformat=] + 632 | if (len>126) LOG_MSG("Big jump %d",len); + | ~^ ~~~ + | | | + | | Bit64s {aka long int} + | int + | %ld ../../../src/cpu/paging.cpp: In function 'void PAGING_PageFault(PhysPt, Bitu, Bitu)': ../../../src/cpu/paging.cpp:149:53: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 149 | LOG(LOG_PAGING,LOG_NORMAL)("PageFault at %X type [%x] queue %d",lin_addr,faultcode,pf_queue.used); @@ -3108,6 +3120,29 @@ | ~~~~~~~ | | | Bitu {aka long unsigned int} +In file included from ../../../src/cpu/core_prefetch.cpp:266: +../../../src/cpu/core_normal/prefix_66.h:712:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 712 | LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); + | ~~^ ~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX +In file included from ../../../src/cpu/core_prefetch.cpp:267: +../../../src/cpu/core_normal/prefix_66_0f.h:59:49: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 59 | LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); + | ~~^ ~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX +../../../src/cpu/core_normal/prefix_66_0f.h:114:62: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 114 | LOG(LOG_CPU,LOG_ERROR)("Illegal group 7 RM subfunction %d",which); + | ~^ ~~~~~ + | | | + | | Bitu {aka long unsigned int} + | int + | %ld In file included from ../../../src/cpu/core_dynrec/decoder.h:26, from ../../../src/cpu/core_dynrec.cpp:155: ../../../src/cpu/core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc1()': @@ -3739,8 +3774,6 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom_ioctl_win32.o ../../../src/dos/cdrom_ioctl_win32.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom_aspi_win32.o ../../../src/dos/cdrom_aspi_win32.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom_ioctl_linux.o ../../../src/dos/cdrom_ioctl_linux.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom_image.o ../../../src/dos/cdrom_image.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom_ioctl_os2.o ../../../src/dos/cdrom_ioctl_os2.cpp ../../../src/dos/dos_ioctl.cpp: In function 'bool DOS_IOCTL()': ../../../src/dos/dos_ioctl.cpp:120:85: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 120 | LOG(LOG_IOCTL,LOG_NORMAL)("06:Used Get Input Status on regular file with handle %d",handle); @@ -3756,6 +3789,31 @@ | | Bitu {aka long unsigned int} | int | %ld +g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom_image.o ../../../src/dos/cdrom_image.cpp +../../../src/dos/dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)': +../../../src/dos/dos_keyboard_layout.cpp:179:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 179 | fread(rbuf, sizeof(Bit8u), 2, tempfile); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_keyboard_layout.cpp:184:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 184 | fread(rbuf, sizeof(Bit8u), 1, tempfile); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom_ioctl_os2.o ../../../src/dos/cdrom_ioctl_os2.cpp +../../../src/dos/dos_keyboard_layout.cpp: In member function 'Bitu keyboard_layout::read_codepage_file(const char*, Bit32s)': +../../../src/dos/dos_keyboard_layout.cpp:797:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 797 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_keyboard_layout.cpp:799:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 799 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_keyboard_layout.cpp:801:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 801 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_keyboard_layout.cpp:803:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 803 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_keyboard_layout.cpp:806:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 806 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/dos/drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(DOS_Drive_Cache::CFileInfo*, DOS_Drive_Cache::CFileInfo*)': ../../../src/dos/drive_cache.cpp:517:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 517 | sprintf(buffer,"%d",info->shortNr); @@ -3794,29 +3852,6 @@ | | Bitu {aka long unsigned int} | unsigned int | %lx -../../../src/dos/dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)': -../../../src/dos/dos_keyboard_layout.cpp:179:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 179 | fread(rbuf, sizeof(Bit8u), 2, tempfile); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_keyboard_layout.cpp:184:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 184 | fread(rbuf, sizeof(Bit8u), 1, tempfile); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_keyboard_layout.cpp: In member function 'Bitu keyboard_layout::read_codepage_file(const char*, Bit32s)': -../../../src/dos/dos_keyboard_layout.cpp:797:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 797 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_keyboard_layout.cpp:799:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 799 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_keyboard_layout.cpp:801:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 801 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_keyboard_layout.cpp:803:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 803 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_keyboard_layout.cpp:806:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 806 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/dos/dos_programs.cpp: In member function 'virtual void BOOT::Run()': ../../../src/dos/dos_programs.cpp:698:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 698 | fread(rombuf, 1, rombytesize_1-0x200, usefile_1); @@ -4270,6 +4305,13 @@ | | | | int Bitu {aka long unsigned int} | %ld +../../../src/gui/render.cpp: In function 'void RENDER_Reset()': +../../../src/gui/render.cpp:484:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 484 | E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); + | ~^ ~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld ../../../src/gui/sdl_mapper.cpp: In function 'void AddJButtonButton_hidden(Bitu, Bitu)': ../../../src/gui/sdl_mapper.cpp:1707:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1707 | sprintf(buf,"jbutton_%d_%d",stick,button); @@ -4310,13 +4352,6 @@ | | Bitu {aka long unsigned int} | int | %ld -../../../src/gui/render.cpp: In function 'void RENDER_Reset()': -../../../src/gui/render.cpp:484:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 484 | E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); - | ~^ ~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld ../../../src/gui/render.cpp: In function 'void IncreaseFrameSkip(bool)': ../../../src/gui/render.cpp:543:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 543 | LOG_MSG("Frame Skip at %d",render.frameskip.max); @@ -4439,6 +4474,22 @@ | | | int | %ld +In file included from ../../../../src/hardware/serialport/softmodem.cpp:31: +../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': +../../../../src/hardware/serialport/softmodem.h:95:47: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 95 | LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lu +../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': +../../../../src/hardware/serialport/softmodem.h:129:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 129 | LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); + | ~^ ~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld ../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': ../../../../src/hardware/serialport/directserial.cpp:277:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 277 | LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", @@ -4463,22 +4514,6 @@ | | | int | %ld -In file included from ../../../../src/hardware/serialport/softmodem.cpp:31: -../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': -../../../../src/hardware/serialport/softmodem.h:95:47: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 95 | LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lu -../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': -../../../../src/hardware/serialport/softmodem.h:129:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 129 | LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); - | ~^ ~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld ../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()': ../../../../src/hardware/serialport/softmodem.cpp:280:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 280 | LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); @@ -4567,6 +4602,15 @@ | | | | int Bitu {aka long unsigned int} | %ld +In file included from ../../../../src/hardware/serialport/serialport.cpp:35: +../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': +../../../../src/hardware/serialport/softmodem.h:95:47: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 95 | LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lu ../../../../src/hardware/serialport/nullmodem.cpp:236:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 236 | LOG_MSG("Serial%d: Connected to %s",idnumber+1,peernamebuf); | ~^ ~~~~~~~~~~ @@ -4580,6 +4624,13 @@ | | | int | %ld +../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': +../../../../src/hardware/serialport/softmodem.h:129:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 129 | LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); + | ~^ ~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld ../../../../src/hardware/serialport/nullmodem.cpp: In member function 'virtual void CNullModem::handleUpperEvent(Bit16u)': ../../../../src/hardware/serialport/nullmodem.cpp:388:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 388 | LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf); @@ -4594,22 +4645,6 @@ | | | int | %ld -In file included from ../../../../src/hardware/serialport/serialport.cpp:35: -../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': -../../../../src/hardware/serialport/softmodem.h:95:47: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 95 | LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lu -../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': -../../../../src/hardware/serialport/softmodem.h:129:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 129 | LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); - | ~^ ~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld ../../../../src/hardware/serialport/serialport.cpp: In member function 'void CSerial::log_ser(bool, const char*, ...)': ../../../../src/hardware/serialport/serialport.cpp:206:27: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] 206 | sprintf(buf,"%12.3f [% 7u] ",PIC_FullIndex(), SDL_GetTicks()); @@ -4676,21 +4711,22 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_dac.o ../../../src/hardware/vga_dac.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_draw.o ../../../src/hardware/vga_draw.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_gfx.o ../../../src/hardware/vga_gfx.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_other.o ../../../src/hardware/vga_other.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_memory.o ../../../src/hardware/vga_memory.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_misc.o ../../../src/hardware/vga_misc.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_seq.o ../../../src/hardware/vga_seq.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_xga.o ../../../src/hardware/vga_xga.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_s3.o ../../../src/hardware/vga_s3.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_tseng.o ../../../src/hardware/vga_tseng.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_paradise.o ../../../src/hardware/vga_paradise.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cmos.o ../../../src/hardware/cmos.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o disney.o ../../../src/hardware/disney.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o gus.o ../../../src/hardware/gus.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o mpu401.o ../../../src/hardware/mpu401.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o ipx.o ../../../src/hardware/ipx.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o ipxserver.o ../../../src/hardware/ipxserver.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o dbopl.o ../../../src/hardware/dbopl.cpp +../../../src/hardware/keyboard.cpp: In function 'void write_p60(Bitu, Bitu, Bitu)': +../../../src/hardware/keyboard.cpp:146:55: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 146 | LOG(LOG_KEYBOARD,LOG_ERROR)("60:Unhandled command %X",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +../../../src/hardware/keyboard.cpp: In function 'void write_p64(Bitu, Bitu, Bitu)': +../../../src/hardware/keyboard.cpp:211:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 211 | LOG(LOG_KEYBOARD,LOG_ERROR)("Port 64 write with val %d",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | int + | %ld ../../../src/hardware/vga_dac.cpp: In function 'void write_p3c6(Bitu, Bitu, Bitu)': ../../../src/hardware/vga_dac.cpp:70:57: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 70 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:DCA:Pel Mask set to %X", val); @@ -4719,53 +4755,11 @@ | | | | unsigned int Bitu {aka long unsigned int} | %4lX -../../../src/hardware/vga_s3.cpp: In function 'void SVGA_S3_WriteCRTC(Bitu, Bitu, Bitu)': -../../../src/hardware/vga_s3.cpp:349:69: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 349 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:CRTC:Write to illegal index %2X", reg ); - | ~~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX -../../../src/hardware/vga_s3.cpp: In function 'void SVGA_S3_WriteSEQ(Bitu, Bitu, Bitu)': -../../../src/hardware/vga_s3.cpp:468:68: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 468 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:SEQ:Write to illegal index %2X", reg ); - | ~~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX -../../../src/hardware/vga_s3.cpp: In function 'Bitu SVGA_S3_ReadSEQ(Bitu, Bitu)': -../../../src/hardware/vga_s3.cpp:493:69: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 493 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:SEQ:Read from illegal index %2X", reg); - | ~~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX -../../../src/hardware/keyboard.cpp: In function 'void write_p60(Bitu, Bitu, Bitu)': -../../../src/hardware/keyboard.cpp:146:55: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 146 | LOG(LOG_KEYBOARD,LOG_ERROR)("60:Unhandled command %X",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX -../../../src/hardware/keyboard.cpp: In function 'void write_p64(Bitu, Bitu, Bitu)': -../../../src/hardware/keyboard.cpp:211:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 211 | LOG(LOG_KEYBOARD,LOG_ERROR)("Port 64 write with val %d",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | int - | %ld -../../../src/hardware/vga_other.cpp: In function 'void write_crtc_data_other(Bitu, Bitu, Bitu)': -../../../src/hardware/vga_other.cpp:109:46: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 109 | LOG(LOG_VGAMISC,LOG_NORMAL)("MC6845:Write %X to illegal index %x",val,vga.other.index); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_other.o ../../../src/hardware/vga_other.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_memory.o ../../../src/hardware/vga_memory.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_misc.o ../../../src/hardware/vga_misc.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_seq.o ../../../src/hardware/vga_seq.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_xga.o ../../../src/hardware/vga_xga.cpp ../../../src/hardware/vga_draw.cpp: In function 'void VGA_SetBlinking(Bitu)': ../../../src/hardware/vga_draw.cpp:698:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 698 | LOG(LOG_VGA,LOG_NORMAL)("Blinking %d",enabled); @@ -4842,6 +4836,7 @@ | ~~~~~~~ | | | Bitu {aka long unsigned int} +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_s3.o ../../../src/hardware/vga_s3.cpp ../../../src/hardware/vga_draw.cpp:1123:72: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1123 | LOG(LOG_VGA,LOG_NORMAL)("h total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ @@ -4902,14 +4897,6 @@ | ~~~~~~~ | | | Bitu {aka long unsigned int} -../../../src/hardware/vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)': -../../../src/hardware/vga_xga.cpp:108:51: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 108 | LOG_MSG("XGA: Unhandled multifunction command %x", regselect); - | ~^ ~~~~~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx ../../../src/hardware/vga_draw.cpp:1125:72: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1125 | LOG(LOG_VGA,LOG_NORMAL)("v total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ @@ -4944,14 +4931,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../src/hardware/vga_xga.cpp: In function 'void XGA_DrawLineVector(Bitu)': -../../../src/hardware/vga_xga.cpp:329:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 329 | LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode); - | ~^ ~~~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx ../../../src/hardware/vga_draw.cpp:1486:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1486 | LOG(LOG_VGA,LOG_NORMAL)("Width %d, Height %d, fps %f",width,height,fps); | ~^ ~~~~~ @@ -4964,6 +4943,82 @@ | | | | int Bitu {aka long unsigned int} | %ld +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_tseng.o ../../../src/hardware/vga_tseng.cpp +../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writeb(PhysPt, Bitu)': +../../../src/hardware/memory.cpp:111:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 111 | LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writew(PhysPt, Bitu)': +../../../src/hardware/memory.cpp:114:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 114 | LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writed(PhysPt, Bitu)': +../../../src/hardware/memory.cpp:117:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 117 | LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/hardware/memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': +../../../src/hardware/memory.cpp:564:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 564 | if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); + | ~^ ~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/hardware/vga_s3.cpp: In function 'void SVGA_S3_WriteCRTC(Bitu, Bitu, Bitu)': +../../../src/hardware/vga_s3.cpp:349:69: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 349 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:CRTC:Write to illegal index %2X", reg ); + | ~~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX +../../../src/hardware/vga_s3.cpp: In function 'void SVGA_S3_WriteSEQ(Bitu, Bitu, Bitu)': +../../../src/hardware/vga_s3.cpp:468:68: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 468 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:SEQ:Write to illegal index %2X", reg ); + | ~~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX +../../../src/hardware/vga_s3.cpp: In function 'Bitu SVGA_S3_ReadSEQ(Bitu, Bitu)': +../../../src/hardware/vga_s3.cpp:493:69: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 493 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:SEQ:Read from illegal index %2X", reg); + | ~~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX +../../../src/hardware/timer.cpp: In function 'void counter_latch(Bitu)': +../../../src/hardware/timer.cpp:185:64: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 185 | LOG(LOG_PIT,LOG_ERROR)("Illegal Mode %d for reading counter %d",p->mode,counter); + | ~^ ~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/hardware/vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)': +../../../src/hardware/vga_xga.cpp:108:51: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 108 | LOG_MSG("XGA: Unhandled multifunction command %x", regselect); + | ~^ ~~~~~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx +../../../src/hardware/vga_xga.cpp: In function 'void XGA_DrawLineVector(Bitu)': +../../../src/hardware/vga_xga.cpp:329:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 329 | LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode); + | ~^ ~~~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx ../../../src/hardware/vga_xga.cpp: In function 'void XGA_DrawLineBresenham(Bitu)': ../../../src/hardware/vga_xga.cpp:433:45: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 433 | LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode); @@ -5026,30 +5081,41 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lx -../../../src/hardware/vga_paradise.cpp: In function 'void write_p3cf_pvga1a(Bitu, Bitu, Bitu)': -../../../src/hardware/vga_paradise.cpp:107:72: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 107 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Write to illegal index %2X", reg); - | ~~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX -../../../src/hardware/vga_paradise.cpp: In function 'Bitu read_p3cf_pvga1a(Bitu, Bitu)': -../../../src/hardware/vga_paradise.cpp:132:73: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 132 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Read from illegal index %2X", reg); - | ~~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX -../../../src/hardware/disney.cpp: In function 'void disney_write(Bitu, Bitu, Bitu)': -../../../src/hardware/disney.cpp:206:50: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 206 | LOG(LOG_MISC,LOG_NORMAL)("DISNEY:Status write %x",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx +../../../src/hardware/vga_other.cpp: In function 'void write_crtc_data_other(Bitu, Bitu, Bitu)': +../../../src/hardware/vga_other.cpp:109:46: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 109 | LOG(LOG_VGAMISC,LOG_NORMAL)("MC6845:Write %X to illegal index %x",val,vga.other.index); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/hardware/pcspeaker.cpp: In function 'void PCSPEAKER_SetCounter(Bitu, Bitu)': +../../../src/hardware/pcspeaker.cpp:213:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 213 | LOG_MSG("Unhandled speaker mode %d",mode); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | int + | %ld +../../../src/hardware/adlib.cpp: In member function 'void Adlib::Capture::CloseFile()': +../../../src/hardware/adlib.cpp:257:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 257 | var_write( &header.versionHigh, header.versionHigh ); + | ^~~~~~~~~~~~~~~~~~~ +../../../src/hardware/adlib.cpp:258:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 258 | var_write( &header.versionLow, header.versionLow ); + | ^~~~~~~~~~~~~~~~~~ +../../../src/hardware/adlib.cpp:259:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 259 | var_write( &header.commands, header.commands ); + | ^~~~~~~~~~~~~~~~ +../../../src/hardware/adlib.cpp:260:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 260 | var_write( &header.milliseconds, header.milliseconds ); + | ^~~~~~~~~~~~~~~~~~~~ +../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': +../../../src/hardware/hardware.cpp:122:30: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 122 | sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); + | ~~~^ ~~~~ + | | | + | int Bitu {aka long unsigned int} + | %03ld ../../../src/hardware/dma.cpp: In member function 'Bitu DmaController::ReadControllerReg(Bitu, Bitu)': ../../../src/hardware/dma.cpp:252:70: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 252 | LOG(LOG_DMACONTROL,LOG_NORMAL)("Trying to read undefined DMA port %x",reg); @@ -5058,34 +5124,109 @@ | | Bitu {aka long unsigned int} | unsigned int | %lx -../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writeb(PhysPt, Bitu)': -../../../src/hardware/memory.cpp:111:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 111 | LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writew(PhysPt, Bitu)': -../../../src/hardware/memory.cpp:114:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 114 | LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writed(PhysPt, Bitu)': -../../../src/hardware/memory.cpp:117:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 117 | LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/hardware/memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': -../../../src/hardware/memory.cpp:564:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 564 | if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); - | ~^ ~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld +../../../src/hardware/pic.cpp: In function 'void write_command(Bitu, Bitu, Bitu)': +../../../src/hardware/pic.cpp:104:35: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 104 | LOG(LOG_PIC,LOG_NORMAL)("port %X : special mask %s",port,(pic->special)?"ON":"OFF"); + | ~^ ~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/hardware/pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)': +../../../src/hardware/pic.cpp:152:37: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 152 | LOG(LOG_PIC,LOG_NORMAL)("%d mask %X",port==0x21 ? 0 : 1,val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/hardware/pic.cpp:180:44: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 180 | LOG(LOG_PIC,LOG_NORMAL)("%d:Base vector %X",port==0x21 ? 0 : 1,val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/hardware/pic.cpp:188:38: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 188 | LOG(LOG_PIC,LOG_NORMAL)("%d:ICW 3 %X",port==0x21 ? 0 : 1,val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/hardware/pic.cpp:202:38: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 202 | LOG(LOG_PIC,LOG_NORMAL)("%d:ICW 4 %X",port==0x21 ? 0 : 1,val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/hardware/pic.cpp:204:41: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 204 | if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/hardware/pic.cpp:205:42: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 205 | if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/hardware/pic.cpp:210:38: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 210 | LOG(LOG_PIC,LOG_NORMAL)("ICW HUH? %X",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_paradise.o ../../../src/hardware/vga_paradise.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cmos.o ../../../src/hardware/cmos.cpp +../../../src/hardware/iohandler.cpp: In function 'Bitu IO_ReadDefault(Bitu, Bitu)': +../../../src/hardware/iohandler.cpp:44:43: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 44 | LOG(LOG_IO,LOG_WARN)("Read from port %04X",port); + | ~~~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %04lX +../../../src/hardware/iohandler.cpp: In function 'void IO_WriteDefault(Bitu, Bitu, Bitu)': +../../../src/hardware/iohandler.cpp:62:36: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 62 | LOG(LOG_IO,LOG_WARN)("Writing %02X to port %04X",val,port); + | ~~~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %02lX +../../../src/hardware/iohandler.cpp:62:49: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 62 | LOG(LOG_IO,LOG_WARN)("Writing %02X to port %04X",val,port); + | ~~~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %04lX +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o disney.o ../../../src/hardware/disney.cpp +../../../src/hardware/iohandler.cpp: In member function 'void IO_ReadHandleObject::Install(Bitu, Bitu (*)(Bitu, Bitu), Bitu, Bitu)': +../../../src/hardware/iohandler.cpp:119:56: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 119 | } else E_Exit("IO_readHandler already installed port %x",port); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx +../../../src/hardware/iohandler.cpp: In member function 'void IO_WriteHandleObject::Install(Bitu, void (*)(Bitu, Bitu, Bitu), Bitu, Bitu)': +../../../src/hardware/iohandler.cpp:134:57: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 134 | } else E_Exit("IO_writeHandler already installed port %x",port); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o gus.o ../../../src/hardware/gus.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o mpu401.o ../../../src/hardware/mpu401.cpp +../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': +../../../src/hardware/tandy_sound.cpp:230:41: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 230 | LOG_MSG("Tandy DAC: Read from unknown %X",port); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o ipx.o ../../../src/hardware/ipx.cpp ../../../src/hardware/vga_tseng.cpp: In function 'void write_p3d5_et4k(Bitu, Bitu, Bitu)': ../../../src/hardware/vga_tseng.cpp:175:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 175 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:CRTC:ET4K:Write to illegal index %2X", reg); @@ -5158,6 +5299,7 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o ipxserver.o ../../../src/hardware/ipxserver.cpp ../../../src/hardware/vga_tseng.cpp: In function 'Bitu read_p3c5_et3k(Bitu, Bitu)': ../../../src/hardware/vga_tseng.cpp:617:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 617 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:SEQ:ET3K:Read from illegal index %2X", reg); @@ -5182,160 +5324,31 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -../../../src/hardware/iohandler.cpp: In function 'Bitu IO_ReadDefault(Bitu, Bitu)': -../../../src/hardware/iohandler.cpp:44:43: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 44 | LOG(LOG_IO,LOG_WARN)("Read from port %04X",port); - | ~~~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %04lX -../../../src/hardware/iohandler.cpp: In function 'void IO_WriteDefault(Bitu, Bitu, Bitu)': -../../../src/hardware/iohandler.cpp:62:36: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 62 | LOG(LOG_IO,LOG_WARN)("Writing %02X to port %04X",val,port); - | ~~~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %02lX -../../../src/hardware/iohandler.cpp:62:49: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 62 | LOG(LOG_IO,LOG_WARN)("Writing %02X to port %04X",val,port); - | ~~~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %04lX -../../../src/hardware/iohandler.cpp: In member function 'void IO_ReadHandleObject::Install(Bitu, Bitu (*)(Bitu, Bitu), Bitu, Bitu)': -../../../src/hardware/iohandler.cpp:119:56: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 119 | } else E_Exit("IO_readHandler already installed port %x",port); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx -../../../src/hardware/iohandler.cpp: In member function 'void IO_WriteHandleObject::Install(Bitu, void (*)(Bitu, Bitu, Bitu), Bitu, Bitu)': -../../../src/hardware/iohandler.cpp:134:57: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 134 | } else E_Exit("IO_writeHandler already installed port %x",port); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx -../../../src/hardware/mpu401.cpp: In function 'void MPU401_WriteCommand(Bitu, Bitu, Bitu)': -../../../src/hardware/mpu401.cpp:128:79: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 128 | if (val&0x20) LOG(LOG_MISC,LOG_ERROR)("MPU-401:Unhandled Recording Command %x",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx -../../../src/hardware/mpu401.cpp:242:45: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 242 | LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Reset %X",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX -../../../src/hardware/mpu401.cpp:251:53: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 251 | LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Set UART mode %X",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX -../../../src/hardware/pic.cpp: In function 'void write_command(Bitu, Bitu, Bitu)': -../../../src/hardware/pic.cpp:104:35: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 104 | LOG(LOG_PIC,LOG_NORMAL)("port %X : special mask %s",port,(pic->special)?"ON":"OFF"); - | ~^ ~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/hardware/pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)': -../../../src/hardware/pic.cpp:152:37: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 152 | LOG(LOG_PIC,LOG_NORMAL)("%d mask %X",port==0x21 ? 0 : 1,val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/hardware/pic.cpp:180:44: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 180 | LOG(LOG_PIC,LOG_NORMAL)("%d:Base vector %X",port==0x21 ? 0 : 1,val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/hardware/pic.cpp:188:38: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 188 | LOG(LOG_PIC,LOG_NORMAL)("%d:ICW 3 %X",port==0x21 ? 0 : 1,val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/hardware/pic.cpp:202:38: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 202 | LOG(LOG_PIC,LOG_NORMAL)("%d:ICW 4 %X",port==0x21 ? 0 : 1,val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/hardware/pic.cpp:204:41: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 204 | if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/hardware/pic.cpp:205:42: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 205 | if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/hardware/pic.cpp:210:38: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 210 | LOG(LOG_PIC,LOG_NORMAL)("ICW HUH? %X",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX -../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': -../../../src/hardware/tandy_sound.cpp:230:41: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 230 | LOG_MSG("Tandy DAC: Read from unknown %X",port); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX -../../../src/hardware/timer.cpp: In function 'void counter_latch(Bitu)': -../../../src/hardware/timer.cpp:185:64: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 185 | LOG(LOG_PIT,LOG_ERROR)("Illegal Mode %d for reading counter %d",p->mode,counter); - | ~^ ~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/hardware/pcspeaker.cpp: In function 'void PCSPEAKER_SetCounter(Bitu, Bitu)': -../../../src/hardware/pcspeaker.cpp:213:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 213 | LOG_MSG("Unhandled speaker mode %d",mode); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | int - | %ld -../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': -../../../src/hardware/hardware.cpp:122:30: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 122 | sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); - | ~~~^ ~~~~ - | | | - | int Bitu {aka long unsigned int} - | %03ld -../../../src/hardware/adlib.cpp: In member function 'void Adlib::Capture::CloseFile()': -../../../src/hardware/adlib.cpp:257:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 257 | var_write( &header.versionHigh, header.versionHigh ); - | ^~~~~~~~~~~~~~~~~~~ -../../../src/hardware/adlib.cpp:258:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 258 | var_write( &header.versionLow, header.versionLow ); - | ^~~~~~~~~~~~~~~~~~ -../../../src/hardware/adlib.cpp:259:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 259 | var_write( &header.commands, header.commands ); - | ^~~~~~~~~~~~~~~~ -../../../src/hardware/adlib.cpp:260:15: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 260 | var_write( &header.milliseconds, header.milliseconds ); - | ^~~~~~~~~~~~~~~~~~~~ +../../../src/hardware/vga_paradise.cpp: In function 'void write_p3cf_pvga1a(Bitu, Bitu, Bitu)': +../../../src/hardware/vga_paradise.cpp:107:72: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 107 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Write to illegal index %2X", reg); + | ~~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX +../../../src/hardware/vga_paradise.cpp: In function 'Bitu read_p3cf_pvga1a(Bitu, Bitu)': +../../../src/hardware/vga_paradise.cpp:132:73: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 132 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Read from illegal index %2X", reg); + | ~~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o dbopl.o ../../../src/hardware/dbopl.cpp +../../../src/hardware/disney.cpp: In function 'void disney_write(Bitu, Bitu, Bitu)': +../../../src/hardware/disney.cpp:206:50: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 206 | LOG(LOG_MISC,LOG_NORMAL)("DISNEY:Status write %x",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx ../../../src/hardware/sblaster.cpp: In function 'void DSP_DoDMATransfer(DMA_MODES, Bitu, bool)': ../../../src/hardware/sblaster.cpp:636:54: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 636 | LOG(LOG_SB,LOG_NORMAL)("DMA Transfer:%s %s %s freq %d rate %d size %d", @@ -5393,6 +5406,28 @@ | | Bitu {aka long unsigned int} | unsigned int | %4lX +../../../src/hardware/mpu401.cpp: In function 'void MPU401_WriteCommand(Bitu, Bitu, Bitu)': +../../../src/hardware/mpu401.cpp:128:79: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 128 | if (val&0x20) LOG(LOG_MISC,LOG_ERROR)("MPU-401:Unhandled Recording Command %x",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx +../../../src/hardware/mpu401.cpp:242:45: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 242 | LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Reset %X",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +../../../src/hardware/mpu401.cpp:251:53: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 251 | LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Set UART mode %X",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX rm -f libhardware.a ar cru libhardware.a adlib.o dma.o gameblaster.o hardware.o iohandler.o joystick.o keyboard.o memory.o mixer.o pcspeaker.o pic.o sblaster.o tandy_sound.o timer.o vga.o vga_attr.o vga_crtc.o vga_dac.o vga_draw.o vga_gfx.o vga_other.o vga_memory.o vga_misc.o vga_seq.o vga_xga.o vga_s3.o vga_tseng.o vga_paradise.o cmos.o disney.o gus.o mpu401.o ipx.o ipxserver.o dbopl.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -5644,6 +5679,13 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/shell -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o shell_batch.o ../../../src/shell/shell_batch.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/shell -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o shell_cmds.o ../../../src/shell/shell_cmds.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/shell -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -fdebug-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o shell_misc.o ../../../src/shell/shell_misc.cpp +../../../src/shell/shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)': +../../../src/shell/shell.cpp:391:11: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 391 | getcwd(buffer,CROSS_LEN); + | ~~~~~~^~~~~~~~~~~~~~~~~~ +../../../src/shell/shell.cpp:404:12: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 404 | getcwd(buffer,CROSS_LEN); + | ~~~~~~^~~~~~~~~~~~~~~~~~ ../../../src/shell/shell_cmds.cpp: In function 'void FormatNumber(Bitu, char*)': ../../../src/shell/shell_cmds.cpp:379:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 379 | sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb); @@ -5706,13 +5748,6 @@ | | Bitu {aka long unsigned int} | int | %ld -../../../src/shell/shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)': -../../../src/shell/shell.cpp:391:11: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 391 | getcwd(buffer,CROSS_LEN); - | ~~~~~~^~~~~~~~~~~~~~~~~~ -../../../src/shell/shell.cpp:404:12: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 404 | getcwd(buffer,CROSS_LEN); - | ~~~~~~^~~~~~~~~~~~~~~~~~ rm -f libshell.a ar cru libshell.a shell.o shell_batch.o shell_cmds.o shell_misc.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -5755,7 +5790,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/dosbox-0.74-3' dh_auto_install -Bbuild-debug - cd build-debug && make -j42 install DESTDIR=/build/reproducible-path/dosbox-0.74-3/debian/tmp AM_UPDATE_INFO_DIR=no + cd build-debug && make -j20 install DESTDIR=/build/reproducible-path/dosbox-0.74-3/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-debug' Making install in src make[3]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-debug/src' @@ -5946,7 +5981,7 @@ make[2]: Leaving directory '/build/reproducible-path/dosbox-0.74-3/build-debug' mv debian/tmp/usr/bin/dosbox debian/tmp/usr/bin/dosbox-debug dh_auto_install -Bbuild-release - cd build-release && make -j42 install DESTDIR=/build/reproducible-path/dosbox-0.74-3/debian/tmp AM_UPDATE_INFO_DIR=no + cd build-release && make -j20 install DESTDIR=/build/reproducible-path/dosbox-0.74-3/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-release' Making install in src make[3]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-release/src' @@ -6157,8 +6192,8 @@ dh_builddeb dpkg-deb: building package 'dosbox' in '../dosbox_0.74-3-3_amd64.deb'. dpkg-deb: building package 'dosbox-dbgsym' in '../dosbox-dbgsym_0.74-3-3_amd64.deb'. -dpkg-deb: building package 'dosbox-debug' in '../dosbox-debug_0.74-3-3_amd64.deb'. dpkg-deb: building package 'dosbox-debug-dbgsym' in '../dosbox-debug-dbgsym_0.74-3-3_amd64.deb'. +dpkg-deb: building package 'dosbox-debug' in '../dosbox-debug_0.74-3-3_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../dosbox_0.74-3-3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -6166,12 +6201,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/1103760/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1103760/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/671295 and its subdirectories -I: Current time: Tue Aug 19 13:36:51 -12 2025 -I: pbuilder-time-stamp: 1755653811 +I: removing directory /srv/workspace/pbuilder/1103760 and its subdirectories +I: Current time: Thu Jul 18 09:21:32 +14 2024 +I: pbuilder-time-stamp: 1721244092