Diff of the two buildlogs: -- --- b1/build.log 2023-05-19 16:28:05.372516821 +0000 +++ b2/build.log 2023-05-19 16:34:17.024251903 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 19 04:13:08 -12 2023 -I: pbuilder-time-stamp: 1684512788 +I: Current time: Fri Jun 21 12:51:12 +14 2024 +I: pbuilder-time-stamp: 1718923872 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./dosbox_0.74-3.orig.tar.gz] I: copying [./dosbox_0.74-3-4.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Oct 25 19:44:19 2021 -12 +gpgv: Signature made Tue Oct 26 21:44:19 2021 +14 gpgv: using RSA key 9CF557FE13CB90CA2AEF1D2080D302F5886D839C gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./dosbox_0.74-3-4.dsc: no acceptable signature found @@ -30,135 +30,167 @@ dpkg-source: info: applying format-strings.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3000026/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2985254/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 21 12:51 /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/2985254/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2985254/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='6ab8f2355c3d4ffdb4136c1aa44c84b9' - 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='3000026' - PS1='# ' - PS2='> ' + INVOCATION_ID=b4ed650fa1254816863a4bc1b3977849 + 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=2985254 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.4vWBXYDm/pbuilderrc_9Zac --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.4vWBXYDm/b1 --logfile b1/build.log dosbox_0.74-3-4.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://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.4vWBXYDm/pbuilderrc_PZzw --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.4vWBXYDm/b2 --logfile b2/build.log --extrapackages usrmerge dosbox_0.74-3-4.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/3000026/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 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 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 21 12:51 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/2985254/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -373,7 +405,7 @@ Get: 165 http://deb.debian.org/debian bookworm/main amd64 libvorbisfile3 amd64 1.3.7-1 [26.1 kB] Get: 166 http://deb.debian.org/debian bookworm/main amd64 libsdl-sound1.2 amd64 1.0.3-9+b2 [83.8 kB] Get: 167 http://deb.debian.org/debian bookworm/main amd64 libsdl-sound1.2-dev amd64 1.0.3-9+b2 [100 kB] -Fetched 86.3 MB in 3s (26.5 MB/s) +Fetched 86.3 MB in 2s (42.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19596 files and directories currently installed.) @@ -1060,8 +1092,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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-4_source.changes +I: user script /srv/workspace/pbuilder/2985254/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/2985254/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/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-4_source.changes dpkg-buildpackage: info: source package dosbox dpkg-buildpackage: info: source version 0.74-3-4 dpkg-buildpackage: info: source distribution unstable @@ -1152,7 +1195,7 @@ checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1278,7 +1321,7 @@ checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1406,7 +1449,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/dosbox-0.74-3' dh_auto_build -Bbuild-release - cd build-release && make -j15 + cd build-release && make -j16 make[2]: Entering directory '/build/dosbox-0.74-3/build-release' make all-recursive make[3]: Entering directory '/build/dosbox-0.74-3/build-release' @@ -1598,13 +1641,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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o drive_fat.o ../../../src/dos/drive_fat.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o drive_iso.o ../../../src/dos/drive_iso.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o dos_mscdex.o ../../../src/dos/dos_mscdex.cpp -../../../src/dos/drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(CFileInfo*, CFileInfo*)': -../../../src/dos/drive_cache.cpp:517:34: 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); - | ~^ ~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o dos_keyboard_layout.o ../../../src/dos/dos_keyboard_layout.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom.o ../../../src/dos/cdrom.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 -ffile-prefix-map=/build/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 @@ -1612,6 +1648,13 @@ 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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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/drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(CFileInfo*, CFileInfo*)': +../../../src/dos/drive_cache.cpp:517:34: 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); + | ~^ ~~~~~~~~~~~~~ + | | | + | 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:46: 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); @@ -1860,27 +1903,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../src/gui/render.cpp: In function 'void RENDER_Reset()': -../../../src/gui/render.cpp:484:50: 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:33: 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); - | ~^ ~~~~~~~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/gui/render.cpp: In function 'void DecreaseFrameSkip(bool)': -../../../src/gui/render.cpp:551:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 551 | LOG_MSG("Frame Skip at %d",render.frameskip.max); - | ~^ ~~~~~~~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld ../../../src/gui/sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': ../../../src/gui/sdlmain.cpp:294:84: 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); @@ -1937,6 +1959,27 @@ | | | | int Bitu {aka long unsigned int} | %li +../../../src/gui/render.cpp: In function 'void RENDER_Reset()': +../../../src/gui/render.cpp:484:50: 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:33: 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); + | ~^ ~~~~~~~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/gui/render.cpp: In function 'void DecreaseFrameSkip(bool)': +../../../src/gui/render.cpp:551:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 551 | LOG_MSG("Frame Skip at %d",render.frameskip.max); + | ~^ ~~~~~~~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld In file included from ../../../src/gui/midi.cpp:91: ../../../src/gui/midi_oss.h: In member function 'virtual void MidiHandler_oss::PlaySysex(Bit8u*, Bitu)': ../../../src/gui/midi_oss.h:68:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -2004,6 +2047,66 @@ 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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o nullmodem.o ../../../../src/hardware/serialport/nullmodem.cpp +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:75: 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:76: 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:41: 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); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/softmodem.cpp:280:75: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 280 | LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); + | ~^ ~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../../src/hardware/serialport/softmodem.cpp:283:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 283 | } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/softmodem.cpp:283:68: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 283 | } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); + | ~^ ~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::DoCommand()': +../../../../src/hardware/serialport/softmodem.cpp:513:80: 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)); + | ~^ ~~~~~~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../../src/hardware/serialport/softmodem.cpp:533:81: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 533 | LOG_MSG("Modem: Unhandled command: \\%c%d",cmdchar, ScanNumber(scanbuf)); + | ~^ ~~~~~~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../../src/hardware/serialport/softmodem.cpp:542:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 542 | LOG_MSG("Modem: Unhandled command: %c%d",chr,ScanNumber(scanbuf)); + | ~^ ~~~~~~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld ../../../../src/hardware/serialport/nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': ../../../../src/hardware/serialport/nullmodem.cpp:108:65: 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); @@ -2112,66 +2215,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:75: 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:76: 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:41: 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); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/softmodem.cpp:280:75: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 280 | LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); - | ~^ ~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../../src/hardware/serialport/softmodem.cpp:283:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 283 | } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/softmodem.cpp:283:68: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 283 | } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); - | ~^ ~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::DoCommand()': -../../../../src/hardware/serialport/softmodem.cpp:513:80: 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)); - | ~^ ~~~~~~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../../src/hardware/serialport/softmodem.cpp:533:81: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 533 | LOG_MSG("Modem: Unhandled command: \\%c%d",cmdchar, ScanNumber(scanbuf)); - | ~^ ~~~~~~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../../src/hardware/serialport/softmodem.cpp:542:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 542 | LOG_MSG("Modem: Unhandled command: %c%d",chr,ScanNumber(scanbuf)); - | ~^ ~~~~~~~~~~~~~~~~~~~ - | | | - | 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:75: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] @@ -2296,23 +2339,31 @@ 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o tandy_sound.o ../../../src/hardware/tandy_sound.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o timer.o ../../../src/hardware/timer.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga.o ../../../src/hardware/vga.cpp -../../../src/hardware/adlib.cpp: In member function 'void Adlib::Capture::CloseFile()': -../../../src/hardware/adlib.cpp:257:36: 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:36: 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:36: 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:36: 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_attr.o ../../../src/hardware/vga_attr.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_crtc.o ../../../src/hardware/vga_crtc.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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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:55: 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:56: 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:70: 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:63: 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); @@ -2329,37 +2380,21 @@ | | Bitu {aka long unsigned int} | unsigned int | %lx -../../../src/hardware/memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': -../../../src/hardware/memory.cpp:564:70: 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 -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 -ffile-prefix-map=/build/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:55: 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:56: 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 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_other.o ../../../src/hardware/vga_other.cpp -../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': -../../../src/hardware/tandy_sound.cpp:230:48: 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 -ffile-prefix-map=/build/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/adlib.cpp: In member function 'void Adlib::Capture::CloseFile()': +../../../src/hardware/adlib.cpp:257:36: 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:36: 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:36: 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:36: 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:37: 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); @@ -2367,6 +2402,14 @@ | | | | int Bitu {aka long unsigned int} | %03ld +../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': +../../../src/hardware/tandy_sound.cpp:230:48: 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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_xga.o ../../../src/hardware/vga_xga.cpp @@ -2378,6 +2421,7 @@ 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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)': ../../../src/hardware/vga_xga.cpp:108:72: 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); @@ -2386,7 +2430,6 @@ | | 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 -ffile-prefix-map=/build/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_xga.cpp: In function 'void XGA_DrawLineVector(Bitu)': ../../../src/hardware/vga_xga.cpp:329:72: 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); @@ -2411,6 +2454,7 @@ | | 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 -ffile-prefix-map=/build/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_DrawWait(Bitu, Bitu)': ../../../src/hardware/vga_xga.cpp:642:112: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 642 | LOG_MSG("XGA: unsupported bpp / datawidth combination %x", @@ -2457,7 +2501,6 @@ | | | | 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 -ffile-prefix-map=/build/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') @@ -2617,13 +2660,6 @@ 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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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:39: 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:47: 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:31: 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); @@ -2686,6 +2722,13 @@ | | Bitu {aka long unsigned int} | int | %ld +../../../src/shell/shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)': +../../../src/shell/shell.cpp:391:39: 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:47: 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') @@ -2723,7 +2766,7 @@ make[3]: Leaving directory '/build/dosbox-0.74-3/build-release' make[2]: Leaving directory '/build/dosbox-0.74-3/build-release' dh_auto_build -Bbuild-debug - cd build-debug && make -j15 + cd build-debug && make -j16 make[2]: Entering directory '/build/dosbox-0.74-3/build-debug' make all-recursive make[3]: Entering directory '/build/dosbox-0.74-3/build-debug' @@ -2756,6 +2799,9 @@ 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o paging.o ../../../src/cpu/paging.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o core_normal.o ../../../src/cpu/core_normal.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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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:57: 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); @@ -2777,7 +2823,6 @@ | | | | 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o core_prefetch.o ../../../src/cpu/core_prefetch.cpp ../../../src/cpu/flags.cpp: In function 'Bit32u get_SF()': ../../../src/cpu/flags.cpp:341:57: 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); @@ -2785,7 +2830,6 @@ | | | | 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 -ffile-prefix-map=/build/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 ../../../src/cpu/flags.cpp: In function 'Bit32u get_OF()': ../../../src/cpu/flags.cpp:429:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 429 | LOG(LOG_CPU,LOG_ERROR)("get_OF Unknown %d",lflags.type); @@ -2793,21 +2837,6 @@ | | | | 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 -ffile-prefix-map=/build/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 'Bitu FillFlags()': -../../../src/cpu/flags.cpp:877:62: 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); - | ~^ ~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/cpu/flags.cpp: In function 'void FillFlagsNoCFOF()': -../../../src/cpu/flags.cpp:1178:62: 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:54: 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); @@ -2816,6 +2845,13 @@ | | Bitu {aka long unsigned int} | int | %ld +../../../src/cpu/flags.cpp: In function 'Bitu FillFlags()': +../../../src/cpu/flags.cpp:877:62: 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); + | ~^ ~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld In file included from ../../../src/cpu/core_full.cpp:82: ../../../src/cpu/core_full/load.h: In function 'Bits CPU_Core_Full_Run()': ../../../src/cpu/core_full/load.h:186:80: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] @@ -2831,6 +2867,13 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lX +../../../src/cpu/flags.cpp: In function 'void FillFlagsNoCFOF()': +../../../src/cpu/flags.cpp:1178:62: 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/core_full/load.h:486:72: 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); | ~^ ~~~~~~~~~~ @@ -2911,37 +2954,8 @@ | | | | 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:100: 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:62: 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:70: 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_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:41: 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_simple.cpp:156: -../../../src/cpu/core_normal/prefix_none.h: In function 'Bits CPU_Core_Simple_Run()': +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:81: 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); | ~~^ ~~~~~ @@ -2949,7 +2963,7 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -In file included from ../../../src/cpu/core_simple.cpp:157: +In file included from ../../../src/cpu/core_normal.cpp:160: ../../../src/cpu/core_normal/prefix_0f.h:156:68: 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); | ~^ ~~~~~ @@ -2986,8 +3000,31 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lu -In file included from ../../../src/cpu/core_normal.cpp:159: -../../../src/cpu/core_normal/prefix_none.h: In function 'Bits CPU_Core_Normal_Run()': +In file included from ../../../src/cpu/core_prefetch.cpp:266: +../../../src/cpu/core_normal/prefix_66.h:712:84: 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:77: 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:97: 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_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:81: 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); | ~~^ ~~~~~ @@ -2995,19 +3032,39 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -In file included from ../../../src/cpu/core_normal.cpp:160: +In file included from ../../../src/cpu/core_simple.cpp:157: ../../../src/cpu/core_normal/prefix_0f.h:156:68: 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 +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:100: 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:62: 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_normal/prefix_0f.h:170:68: 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_dynrec/cache.h:504:70: 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:184:68: 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); | ~^ ~~~~~ @@ -3032,7 +3089,16 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lu -In file included from ../../../src/cpu/core_prefetch.cpp:266: +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:41: 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:84: 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); | ~~^ ~~~~~ @@ -3040,7 +3106,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_normal.cpp:162: ../../../src/cpu/core_normal/prefix_66_0f.h:59:77: 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); | ~~^ ~~~~~ @@ -3078,29 +3144,6 @@ | | Bitu {aka long unsigned int} | int | %ld -In file included from ../../../src/cpu/core_normal.cpp:161: -../../../src/cpu/core_normal/prefix_66.h:712:84: 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:77: 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:97: 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 ../../../src/cpu/paging.cpp: In function 'void PAGING_PageFault(PhysPt, Bitu, Bitu)': ../../../src/cpu/paging.cpp:149:60: 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); @@ -3817,6 +3860,7 @@ 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o drive_local.o ../../../src/dos/drive_local.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o drive_cache.o ../../../src/dos/drive_cache.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o drive_fat.o ../../../src/dos/drive_fat.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o drive_iso.o ../../../src/dos/drive_iso.cpp ../../../src/dos/dos_ioctl.cpp: In function 'bool DOS_IOCTL()': ../../../src/dos/dos_ioctl.cpp:120:106: 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); @@ -3832,10 +3876,14 @@ | | 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o drive_iso.o ../../../src/dos/drive_iso.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o dos_mscdex.o ../../../src/dos/dos_mscdex.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o dos_keyboard_layout.o ../../../src/dos/dos_keyboard_layout.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom.o ../../../src/dos/cdrom.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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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/drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(CFileInfo*, CFileInfo*)': ../../../src/dos/drive_cache.cpp:517:34: 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); @@ -3843,11 +3891,29 @@ | | | | int Bitu {aka long unsigned 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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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_mscdex.cpp: In function 'Bit16u MSCDEX_IOCTL_Input(PhysPt, Bit8u)': +../../../src/dos/dos_mscdex.cpp:870:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 870 | MSCDEX_LOG("MSCDEX: IOCTL INPUT Subfunction %02X",ioctl_fct); + | ~~~^ ~~~~~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %02lX +../../../src/dos/dos_mscdex.cpp:971:105: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 971 | default : LOG(LOG_MISC,LOG_ERROR)("MSCDEX: Unsupported IOCTL INPUT Subfunction %02X",ioctl_fct); + | ~~~^ ~~~~~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %02lX +../../../src/dos/dos_mscdex.cpp: In function 'Bit16u MSCDEX_IOCTL_Optput(PhysPt, Bit8u)': +../../../src/dos/dos_mscdex.cpp:995:106: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 995 | default : LOG(LOG_MISC,LOG_ERROR)("MSCDEX: Unsupported IOCTL OUTPUT Subfunction %02X",ioctl_fct); + | ~~~^ ~~~~~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %02lX ../../../src/dos/dos_programs.cpp: In member function 'virtual void KEYB::Run()': ../../../src/dos/dos_programs.cpp:1404:94: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1404 | LOG(LOG_DOSMISC,LOG_ERROR)("KEYB:Invalid returncode %x",keyb_error); @@ -3872,29 +3938,6 @@ ../../../src/dos/dos_programs.cpp:802:38: 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_mscdex.cpp: In function 'Bit16u MSCDEX_IOCTL_Input(PhysPt, Bit8u)': -../../../src/dos/dos_mscdex.cpp:870:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 870 | MSCDEX_LOG("MSCDEX: IOCTL INPUT Subfunction %02X",ioctl_fct); - | ~~~^ ~~~~~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %02lX -../../../src/dos/dos_mscdex.cpp:971:105: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 971 | default : LOG(LOG_MISC,LOG_ERROR)("MSCDEX: Unsupported IOCTL INPUT Subfunction %02X",ioctl_fct); - | ~~~^ ~~~~~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %02lX -../../../src/dos/dos_mscdex.cpp: In function 'Bit16u MSCDEX_IOCTL_Optput(PhysPt, Bit8u)': -../../../src/dos/dos_mscdex.cpp:995:106: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 995 | default : LOG(LOG_MISC,LOG_ERROR)("MSCDEX: Unsupported IOCTL OUTPUT Subfunction %02X",ioctl_fct); - | ~~~^ ~~~~~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %02lX ../../../src/dos/dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)': ../../../src/dos/dos_keyboard_layout.cpp:179:30: 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); @@ -4303,62 +4346,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../src/gui/sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': -../../../src/gui/sdlmain.cpp:294:84: 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); - | ~~^ ~~~~~~~~~~~~~~~~~~ - | | | - | int Bits {aka long int} - | %2ld -../../../src/gui/sdlmain.cpp:296:78: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] - 296 | sprintf(title,"DOSBox %s, Cpu speed: %8d cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); - | ~~^ ~~~~~~~~~~~~~~~~~~ - | | | - | int Bits {aka long int} - | %2ld -../../../src/gui/sdlmain.cpp: In function 'Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)': -../../../src/gui/sdlmain.cpp:536:109: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 536 | if (sdl.surface == NULL) E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",sdl.desktop.full.width,sdl.desktop.full.height,bpp,SDL_GetError()); - | ~^ ~~~ - | | | - | int Bitu {aka long unsigned int} - | %li -../../../src/gui/sdlmain.cpp:543:86: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 543 | E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - | ~^ ~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %li -../../../src/gui/sdlmain.cpp:543:89: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 543 | E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - | ~^ ~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %li -../../../src/gui/sdlmain.cpp:543:92: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 543 | E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - | ~^ ~~~ - | | | - | int Bitu {aka long unsigned int} - | %li -../../../src/gui/sdlmain.cpp:567:76: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 567 | E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - | ~^ ~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %li -../../../src/gui/sdlmain.cpp:567:79: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 567 | E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - | ~^ ~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %li -../../../src/gui/sdlmain.cpp:567:82: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 567 | E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - | ~^ ~~~ - | | | - | int Bitu {aka long unsigned int} - | %li ../../../src/gui/sdl_mapper.cpp: In member function 'void CHandlerEvent::MakeDefaultBind(char*)': ../../../src/gui/sdl_mapper.cpp:1588:40: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1588 | sprintf(buf,"%s \"key %d%s%s%s\"", @@ -4450,13 +4437,6 @@ | | Bitu {aka long unsigned int} | int | %ld -../../../src/gui/midi.cpp: In function 'void MIDI_RawOutByte(Bit8u)': -../../../src/gui/midi.cpp:130:70: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 130 | LOG(LOG_ALL,LOG_NORMAL)("Sysex message size %d",midi.sysex.used); - | ~^ ~~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld ../../../src/gui/sdl_mapper.cpp: In function 'void CreateDefaultBinds()': ../../../src/gui/sdl_mapper.cpp:2061:47: 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); @@ -4464,15 +4444,62 @@ | | | | int Bitu {aka long unsigned int} | %ld -In file included from ../../../src/gui/midi.cpp:91: -../../../src/gui/midi_oss.h: In member function 'virtual void MidiHandler_oss::PlaySysex(Bit8u*, Bitu)': -../../../src/gui/midi_oss.h:68:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 68 | write(device,buf,pos); - | ~~~~~^~~~~~~~~~~~~~~~ -../../../src/gui/midi_oss.h: In member function 'virtual void MidiHandler_oss::PlayMsg(Bit8u*)': -../../../src/gui/midi_oss.h:58:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 58 | write(device,buf,pos); - | ~~~~~^~~~~~~~~~~~~~~~ +../../../src/gui/sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': +../../../src/gui/sdlmain.cpp:294:84: 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); + | ~~^ ~~~~~~~~~~~~~~~~~~ + | | | + | int Bits {aka long int} + | %2ld +../../../src/gui/sdlmain.cpp:296:78: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] + 296 | sprintf(title,"DOSBox %s, Cpu speed: %8d cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); + | ~~^ ~~~~~~~~~~~~~~~~~~ + | | | + | int Bits {aka long int} + | %2ld +../../../src/gui/sdlmain.cpp: In function 'Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)': +../../../src/gui/sdlmain.cpp:536:109: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 536 | if (sdl.surface == NULL) E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",sdl.desktop.full.width,sdl.desktop.full.height,bpp,SDL_GetError()); + | ~^ ~~~ + | | | + | int Bitu {aka long unsigned int} + | %li +../../../src/gui/sdlmain.cpp:543:86: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 543 | E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + | ~^ ~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %li +../../../src/gui/sdlmain.cpp:543:89: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 543 | E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + | ~^ ~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %li +../../../src/gui/sdlmain.cpp:543:92: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 543 | E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + | ~^ ~~~ + | | | + | int Bitu {aka long unsigned int} + | %li +../../../src/gui/sdlmain.cpp:567:76: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 567 | E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + | ~^ ~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %li +../../../src/gui/sdlmain.cpp:567:79: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 567 | E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + | ~^ ~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %li +../../../src/gui/sdlmain.cpp:567:82: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 567 | E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + | ~^ ~~~ + | | | + | int Bitu {aka long unsigned int} + | %li ../../../src/gui/render.cpp: In function 'void RENDER_Reset()': ../../../src/gui/render.cpp:484:50: 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 ); @@ -4494,6 +4521,22 @@ | | | | int Bitu {aka long unsigned int} | %ld +../../../src/gui/midi.cpp: In function 'void MIDI_RawOutByte(Bit8u)': +../../../src/gui/midi.cpp:130:70: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 130 | LOG(LOG_ALL,LOG_NORMAL)("Sysex message size %d",midi.sysex.used); + | ~^ ~~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +In file included from ../../../src/gui/midi.cpp:91: +../../../src/gui/midi_oss.h: In member function 'virtual void MidiHandler_oss::PlaySysex(Bit8u*, Bitu)': +../../../src/gui/midi_oss.h:68:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 68 | write(device,buf,pos); + | ~~~~~^~~~~~~~~~~~~~~~ +../../../src/gui/midi_oss.h: In member function 'virtual void MidiHandler_oss::PlayMsg(Bit8u*)': +../../../src/gui/midi_oss.h:58:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 58 | write(device,buf,pos); + | ~~~~~^~~~~~~~~~~~~~~~ In file included from ../../../src/gui/render_templates.h:434, from ../../../src/gui/render_scalers.cpp:129: ../../../src/gui/render_templates_sai.h: In function 'void Super2xSaI_15(Bit16u*, Bit16u*, const Bit16u*)': @@ -4552,6 +4595,43 @@ 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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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/nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': +../../../../src/hardware/serialport/nullmodem.cpp:108:65: 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:57: 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:57: 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:41: 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:41: 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:33: 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 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:75: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] @@ -4568,6 +4648,40 @@ | | | | int Bitu {aka long unsigned int} | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::ClientConnect()': +../../../../src/hardware/serialport/nullmodem.cpp:226:33: 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:25: 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:25: 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:49: 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:49: 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 ../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()': ../../../../src/hardware/serialport/softmodem.cpp:280:41: 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); @@ -4747,77 +4861,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:65: 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:57: 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:57: 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:41: 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:41: 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:33: 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:33: 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:25: 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:25: 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:49: 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:49: 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') @@ -4848,6 +4891,7 @@ 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o tandy_sound.o ../../../src/hardware/tandy_sound.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o timer.o ../../../src/hardware/timer.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga.o ../../../src/hardware/vga.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_attr.o ../../../src/hardware/vga_attr.cpp ../../../src/hardware/keyboard.cpp: In function 'void write_p60(Bitu, Bitu, Bitu)': ../../../src/hardware/keyboard.cpp:146:76: 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); @@ -4864,7 +4908,6 @@ | | Bitu {aka long unsigned int} | 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_attr.o ../../../src/hardware/vga_attr.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_crtc.o ../../../src/hardware/vga_crtc.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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_dac.o ../../../src/hardware/vga_dac.cpp ../../../src/hardware/vga_dac.cpp: In function 'void write_p3c6(Bitu, Bitu, Bitu)': @@ -4875,42 +4918,7 @@ | | Bitu {aka long unsigned int} | unsigned int | %lX -../../../src/hardware/dma.cpp: In member function 'Bitu DmaController::ReadControllerReg(Bitu, Bitu)': -../../../src/hardware/dma.cpp:252:84: 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); - | ~^ ~~~ - | | | - | | 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:48: 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:48: 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:48: 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:70: 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 +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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_draw.o ../../../src/hardware/vga_draw.cpp ../../../src/hardware/iohandler.cpp: In function 'Bitu IO_ReadDefault(Bitu, Bitu)': ../../../src/hardware/iohandler.cpp:44:57: 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); @@ -4949,8 +4957,73 @@ | | 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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_other.o ../../../src/hardware/vga_other.cpp +../../../src/hardware/vga_gfx.cpp: In function 'void write_p3cf(Bitu, Bitu, Bitu)': +../../../src/hardware/vga_gfx.cpp:185:70: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 185 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:3CF:Write %2X to illegal index 9",val); + | ~~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %2lX +../../../src/hardware/vga_gfx.cpp:189:62: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 189 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:3CF:Write %2X to illegal index %2X",val,gfx(index)); + | ~~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %2lX +../../../src/hardware/vga_gfx.cpp: In function 'Bitu read_p3cf(Bitu, Bitu)': +../../../src/hardware/vga_gfx.cpp:217:87: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 217 | LOG(LOG_VGAMISC,LOG_NORMAL)("Reading from illegal index %2X in port %4X",static_cast(gfx(index)),port); + | ~~^ ~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %4lX +../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writeb(PhysPt, Bitu)': +../../../src/hardware/memory.cpp:111:48: 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:48: 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:48: 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:70: 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/dma.cpp: In member function 'Bitu DmaController::ReadControllerReg(Bitu, Bitu)': +../../../src/hardware/dma.cpp:252:84: 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); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx +../../../src/hardware/pcspeaker.cpp: In function 'void PCSPEAKER_SetCounter(Bitu, Bitu)': +../../../src/hardware/pcspeaker.cpp:213:50: 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 +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 -ffile-prefix-map=/build/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/pic.cpp: In function 'void write_command(Bitu, Bitu, Bitu)': ../../../src/hardware/pic.cpp:104:56: 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"); @@ -5002,47 +5075,6 @@ | | Bitu {aka long unsigned int} | unsigned int | %lX -../../../src/hardware/vga_gfx.cpp: In function 'void write_p3cf(Bitu, Bitu, Bitu)': -../../../src/hardware/vga_gfx.cpp:185:70: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 185 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:3CF:Write %2X to illegal index 9",val); - | ~~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %2lX -../../../src/hardware/vga_gfx.cpp:189:62: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 189 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:3CF:Write %2X to illegal index %2X",val,gfx(index)); - | ~~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %2lX -../../../src/hardware/vga_gfx.cpp: In function 'Bitu read_p3cf(Bitu, Bitu)': -../../../src/hardware/vga_gfx.cpp:217:87: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 217 | LOG(LOG_VGAMISC,LOG_NORMAL)("Reading from illegal index %2X in port %4X",static_cast(gfx(index)),port); - | ~~^ ~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %4lX -../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': -../../../src/hardware/hardware.cpp:122:37: 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:36: 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:36: 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:36: 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:36: 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_other.o ../../../src/hardware/vga_other.cpp ../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': ../../../src/hardware/tandy_sound.cpp:230:48: 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); @@ -5051,15 +5083,6 @@ | | Bitu {aka long unsigned int} | unsigned int | %lX -../../../src/hardware/pcspeaker.cpp: In function 'void PCSPEAKER_SetCounter(Bitu, Bitu)': -../../../src/hardware/pcspeaker.cpp:213:50: 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 -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 -ffile-prefix-map=/build/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/timer.cpp: In function 'void counter_latch(Bitu)': ../../../src/hardware/timer.cpp:185:78: 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); @@ -5249,7 +5272,19 @@ | | | | 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_misc.o ../../../src/hardware/vga_misc.cpp +../../../src/hardware/adlib.cpp: In member function 'void Adlib::Capture::CloseFile()': +../../../src/hardware/adlib.cpp:257:36: 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:36: 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:36: 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:36: 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_other.cpp: In function 'void write_crtc_data_other(Bitu, Bitu, Bitu)': ../../../src/hardware/vga_other.cpp:109:60: 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); @@ -5257,6 +5292,14 @@ | | | | 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_misc.o ../../../src/hardware/vga_misc.cpp +../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': +../../../src/hardware/hardware.cpp:122:37: 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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_s3.o ../../../src/hardware/vga_s3.cpp @@ -5285,8 +5328,6 @@ | | 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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cmos.o ../../../src/hardware/cmos.cpp ../../../src/hardware/sblaster.cpp: In function 'void DSP_DoDMATransfer(DMA_MODES, Bitu, bool)': ../../../src/hardware/sblaster.cpp:636:61: 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", @@ -5321,7 +5362,6 @@ | ~~~~~~~~~~~~ | | | 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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o disney.o ../../../src/hardware/disney.cpp ../../../src/hardware/sblaster.cpp: In function 'void DSP_DoCommand()': ../../../src/hardware/sblaster.cpp:831:59: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 831 | LOG(LOG_SB,LOG_ERROR)("DSP:Faked ADC for %d bytes",sb.dma.total); @@ -5329,7 +5369,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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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/sblaster.cpp: In function 'Bitu read_sb(Bitu, Bitu)': ../../../src/hardware/sblaster.cpp:1394:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1394 | LOG(LOG_SB,LOG_NORMAL)("Unhandled read from SB Port %4X",port); @@ -5346,87 +5386,12 @@ | | Bitu {aka long unsigned int} | unsigned int | %4lX +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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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 -ffile-prefix-map=/build/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_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)': -../../../src/hardware/vga_xga.cpp:108:72: 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:72: 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:80: 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); - | ~^ ~~~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx -../../../src/hardware/vga_xga.cpp: In function 'void XGA_DrawRectangle(Bitu)': -../../../src/hardware/vga_xga.cpp:505:80: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 505 | LOG_MSG("XGA: DrawRect: Needs mixmode %x", mixmode); - | ~^ ~~~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx -../../../src/hardware/vga_xga.cpp: In function 'void XGA_DrawWait(Bitu, Bitu)': -../../../src/hardware/vga_xga.cpp:642:112: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 642 | LOG_MSG("XGA: unsupported bpp / datawidth combination %x", - | ~^ - | | - | unsigned int - | %lx - 643 | xga.waitcmd.buswidth); - | ~~~~~~~~~~~~~~~~~~~~ - | | - | Bitu {aka long unsigned int} -../../../src/hardware/vga_xga.cpp:690:118: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 690 | LOG_MSG("XGA: DrawBlitWait: Unsupported src %x", - | ~^ - | | - | unsigned int - | %lx - 691 | (mixmode >> 5) & 0x03); - | ~~~~~~~~~~~~~~~~~~~~~ - | | - | Bitu {aka long unsigned int} -../../../src/hardware/vga_xga.cpp:710:89: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 710 | LOG_MSG("XGA: DrawBlitWait: Unhandled mixmode: %d", mixmode); - | ~^ ~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/hardware/vga_xga.cpp: In function 'void XGA_Write(Bitu, Bitu, Bitu)': -../../../src/hardware/vga_xga.cpp:1167:59: 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); - | ~^ ~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/hardware/vga_xga.cpp:1167:67: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1167 | else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/hardware/vga_xga.cpp:1167:75: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1167 | else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); - | ~^ ~~~ - | | | - | 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 -ffile-prefix-map=/build/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_tseng.cpp: In function 'void write_p3d5_et4k(Bitu, Bitu, Bitu)': ../../../src/hardware/vga_tseng.cpp:175:85: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] @@ -5524,6 +5489,84 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX +../../../src/hardware/vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)': +../../../src/hardware/vga_xga.cpp:108:72: 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:72: 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:80: 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); + | ~^ ~~~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx +../../../src/hardware/vga_xga.cpp: In function 'void XGA_DrawRectangle(Bitu)': +../../../src/hardware/vga_xga.cpp:505:80: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 505 | LOG_MSG("XGA: DrawRect: Needs mixmode %x", mixmode); + | ~^ ~~~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx +../../../src/hardware/vga_xga.cpp: In function 'void XGA_DrawWait(Bitu, Bitu)': +../../../src/hardware/vga_xga.cpp:642:112: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 642 | LOG_MSG("XGA: unsupported bpp / datawidth combination %x", + | ~^ + | | + | unsigned int + | %lx + 643 | xga.waitcmd.buswidth); + | ~~~~~~~~~~~~~~~~~~~~ + | | + | Bitu {aka long unsigned int} +../../../src/hardware/vga_xga.cpp:690:118: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 690 | LOG_MSG("XGA: DrawBlitWait: Unsupported src %x", + | ~^ + | | + | unsigned int + | %lx + 691 | (mixmode >> 5) & 0x03); + | ~~~~~~~~~~~~~~~~~~~~~ + | | + | Bitu {aka long unsigned int} +../../../src/hardware/vga_xga.cpp:710:89: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 710 | LOG_MSG("XGA: DrawBlitWait: Unhandled mixmode: %d", mixmode); + | ~^ ~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/hardware/vga_xga.cpp: In function 'void XGA_Write(Bitu, Bitu, Bitu)': +../../../src/hardware/vga_xga.cpp:1167:59: 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); + | ~^ ~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/hardware/vga_xga.cpp:1167:67: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1167 | else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/hardware/vga_xga.cpp:1167:75: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1167 | else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx ../../../src/hardware/disney.cpp: In function 'void disney_write(Bitu, Bitu, Bitu)': ../../../src/hardware/disney.cpp:206:64: 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); @@ -5611,6 +5654,7 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o int10_vptable.o ../../../src/ints/int10_vptable.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o bios.o ../../../src/ints/bios.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o bios_disk.o ../../../src/ints/bios_disk.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o bios_keyboard.o ../../../src/ints/bios_keyboard.cpp ../../../src/ints/int10_misc.cpp: In function 'void INT10_EGA_RIL_ReadRegisterRange(Bit8u, Bit8u, Bit16u, PhysPt)': ../../../src/ints/int10_misc.cpp:236:73: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 236 | LOG(LOG_INT10,LOG_ERROR)("EGA RIL range read with port %x called",port); @@ -5677,7 +5721,6 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lx -g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -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 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o bios_keyboard.o ../../../src/ints/bios_keyboard.cpp ../../../src/ints/int10_vesa.cpp: In function 'Bit8u VESA_GetSVGAModeInformation(Bit16u, Bit16u, Bit16u)': ../../../src/ints/int10_vesa.cpp:147:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 147 | var_write(&minfo.BytesPerScanLine,mblock->swidth/8); @@ -5932,7 +5975,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/dosbox-0.74-3' dh_auto_install -Bbuild-debug - cd build-debug && make -j15 install DESTDIR=/build/dosbox-0.74-3/debian/tmp AM_UPDATE_INFO_DIR=no + cd build-debug && make -j16 install DESTDIR=/build/dosbox-0.74-3/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/dosbox-0.74-3/build-debug' Making install in src make[3]: Entering directory '/build/dosbox-0.74-3/build-debug/src' @@ -6086,8 +6129,8 @@ make[4]: Leaving directory '/build/dosbox-0.74-3/build-debug/src/platform' make[4]: Entering directory '/build/dosbox-0.74-3/build-debug/src' make[5]: Entering directory '/build/dosbox-0.74-3/build-debug/src' - /bin/mkdir -p '/build/dosbox-0.74-3/debian/tmp/usr/bin' make[5]: Nothing to be done for 'install-data-am'. + /usr/bin/mkdir -p '/build/dosbox-0.74-3/debian/tmp/usr/bin' /usr/bin/install -c dosbox '/build/dosbox-0.74-3/debian/tmp/usr/bin' make[5]: Leaving directory '/build/dosbox-0.74-3/build-debug/src' make[4]: Leaving directory '/build/dosbox-0.74-3/build-debug/src' @@ -6103,7 +6146,7 @@ make[3]: Entering directory '/build/dosbox-0.74-3/build-debug/docs' make[4]: Entering directory '/build/dosbox-0.74-3/build-debug/docs' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/dosbox-0.74-3/debian/tmp/usr/share/man/man1' + /usr/bin/mkdir -p '/build/dosbox-0.74-3/debian/tmp/usr/share/man/man1' /usr/bin/install -c -m 644 ../../docs/dosbox.1 '/build/dosbox-0.74-3/debian/tmp/usr/share/man/man1' make[4]: Leaving directory '/build/dosbox-0.74-3/build-debug/docs' make[3]: Leaving directory '/build/dosbox-0.74-3/build-debug/docs' @@ -6123,7 +6166,7 @@ make[2]: Leaving directory '/build/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 -j15 install DESTDIR=/build/dosbox-0.74-3/debian/tmp AM_UPDATE_INFO_DIR=no + cd build-release && make -j16 install DESTDIR=/build/dosbox-0.74-3/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/dosbox-0.74-3/build-release' Making install in src make[3]: Entering directory '/build/dosbox-0.74-3/build-release/src' @@ -6277,8 +6320,8 @@ make[4]: Leaving directory '/build/dosbox-0.74-3/build-release/src/platform' make[4]: Entering directory '/build/dosbox-0.74-3/build-release/src' make[5]: Entering directory '/build/dosbox-0.74-3/build-release/src' - /bin/mkdir -p '/build/dosbox-0.74-3/debian/tmp/usr/bin' make[5]: Nothing to be done for 'install-data-am'. + /usr/bin/mkdir -p '/build/dosbox-0.74-3/debian/tmp/usr/bin' /usr/bin/install -c dosbox '/build/dosbox-0.74-3/debian/tmp/usr/bin' make[5]: Leaving directory '/build/dosbox-0.74-3/build-release/src' make[4]: Leaving directory '/build/dosbox-0.74-3/build-release/src' @@ -6294,7 +6337,7 @@ make[3]: Entering directory '/build/dosbox-0.74-3/build-release/docs' make[4]: Entering directory '/build/dosbox-0.74-3/build-release/docs' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/dosbox-0.74-3/debian/tmp/usr/share/man/man1' + /usr/bin/mkdir -p '/build/dosbox-0.74-3/debian/tmp/usr/share/man/man1' /usr/bin/install -c -m 644 ../../docs/dosbox.1 '/build/dosbox-0.74-3/debian/tmp/usr/share/man/man1' make[4]: Leaving directory '/build/dosbox-0.74-3/build-release/docs' make[3]: Leaving directory '/build/dosbox-0.74-3/build-release/docs' @@ -6332,10 +6375,10 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'dosbox-debug-dbgsym' in '../dosbox-debug-dbgsym_0.74-3-4_amd64.deb'. +dpkg-deb: building package 'dosbox' in '../dosbox_0.74-3-4_amd64.deb'. dpkg-deb: building package 'dosbox-dbgsym' in '../dosbox-dbgsym_0.74-3-4_amd64.deb'. dpkg-deb: building package 'dosbox-debug' in '../dosbox-debug_0.74-3-4_amd64.deb'. -dpkg-deb: building package 'dosbox' in '../dosbox_0.74-3-4_amd64.deb'. +dpkg-deb: building package 'dosbox-debug-dbgsym' in '../dosbox-debug-dbgsym_0.74-3-4_amd64.deb'. dpkg-genbuildinfo --build=binary -O../dosbox_0.74-3-4_amd64.buildinfo dpkg-genchanges --build=binary -O../dosbox_0.74-3-4_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -6343,12 +6386,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/2985254/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2985254/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/3000026 and its subdirectories -I: Current time: Fri May 19 04:28:04 -12 2023 -I: pbuilder-time-stamp: 1684513684 +I: removing directory /srv/workspace/pbuilder/2985254 and its subdirectories +I: Current time: Fri Jun 21 12:57:20 +14 2024 +I: pbuilder-time-stamp: 1718924240