Diff of the two buildlogs: -- --- b1/build.log 2020-12-16 01:38:09.264678510 +0000 +++ b2/build.log 2020-12-16 01:43:23.423014041 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jan 17 19:54:00 -12 2022 -I: pbuilder-time-stamp: 1642492440 +I: Current time: Wed Dec 16 15:38:11 +14 2020 +I: pbuilder-time-stamp: 1608082691 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Mon Jul 8 08:48:31 2019 -12 +gpgv: Signature made Tue Jul 9 10:48:31 2019 +14 gpgv: using RSA key 9CF557FE13CB90CA2AEF1D2080D302F5886D839C gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./dosbox_0.74-2-3+deb10u1.dsc @@ -32,136 +32,170 @@ dpkg-source: info: applying cve-2019-12594.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/27837/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/12577/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/12577/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/12577/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=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='bc1224ef757a452783685c5e0c82a130' - 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='27837' - PS1='# ' - PS2='> ' + INVOCATION_ID=b7e3f3446cae4b678539437814cc83d5 + 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=12577 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.75g5ptVxiH/pbuilderrc_qqLZ --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.75g5ptVxiH/b1 --logfile b1/build.log dosbox_0.74-2-3+deb10u1.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://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.75g5ptVxiH/pbuilderrc_3txT --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.75g5ptVxiH/b2 --logfile b2/build.log dosbox_0.74-2-3+deb10u1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 5.9.0-0.bpo.2-amd64 #1 SMP Debian 5.9.6-1~bpo10+1 (2020-11-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jan 9 02:47 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/27837/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Dec 16 15:38 sh -> bash + lrwxrwxrwx 1 root root 4 Dec 7 22:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/12577/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -405,7 +439,7 @@ Get: 193 http://deb.debian.org/debian buster/main amd64 libvorbisfile3 amd64 1.3.6-2 [25.5 kB] Get: 194 http://deb.debian.org/debian buster/main amd64 libsdl-sound1.2 amd64 1.0.3-9 [84.5 kB] Get: 195 http://deb.debian.org/debian buster/main amd64 libsdl-sound1.2-dev amd64 1.0.3-9 [101 kB] -Fetched 67.8 MB in 2s (43.4 MB/s) +Fetched 67.8 MB in 3s (23.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19195 files and directories currently installed.) @@ -1208,7 +1242,7 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/dosbox-0.74-2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/dosbox-0.74-2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package dosbox dpkg-buildpackage: info: source version 0.74-2-3+deb10u1 dpkg-buildpackage: info: source distribution buster-security @@ -1523,7 +1557,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/dosbox-0.74-2' dh_auto_build -Bbuild-release - cd build-release && make -j16 + cd build-release && make -j15 make[2]: Entering directory '/build/dosbox-0.74-2/build-release' make all-recursive make[3]: Entering directory '/build/dosbox-0.74-2/build-release' @@ -1653,17 +1687,11 @@ 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-2=. -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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o dos_keyboard_layout.o ../../../src/dos/dos_keyboard_layout.cpp ../../../src/dos/drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(DOS_Drive_Cache::CFileInfo*, DOS_Drive_Cache::CFileInfo*)': ../../../src/dos/drive_cache.cpp:517:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buffer,"%d",info->shortNr); ^~~~ ~~~~~~~~~~~~~ -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-2=. -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-2=. -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-2=. -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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom_ioctl_os2.o ../../../src/dos/cdrom_ioctl_os2.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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o dos_keyboard_layout.o ../../../src/dos/dos_keyboard_layout.cpp ../../../src/dos/dos_programs.cpp: In member function 'virtual void BOOT::Run()': ../../../src/dos/dos_programs.cpp:671:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, rombytesize_1-0x200, usefile_1); @@ -1680,6 +1708,12 @@ ../../../src/dos/dos_programs.cpp:775:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, rombytesize_1-0x200, usefile_1); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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-2=. -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-2=. -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-2=. -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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom_ioctl_os2.o ../../../src/dos/cdrom_ioctl_os2.cpp ../../../src/dos/dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)': ../../../src/dos/dos_keyboard_layout.cpp:179:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rbuf, sizeof(Bit8u), 2, tempfile); @@ -1739,6 +1773,18 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 +../../../src/gui/render.cpp: In function 'void RENDER_Reset()': +../../../src/gui/render.cpp:484:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ +../../../src/gui/render.cpp: In function 'void IncreaseFrameSkip(bool)': +../../../src/gui/render.cpp:543:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Frame Skip at %d",render.frameskip.max); + ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ +../../../src/gui/render.cpp: In function 'void DecreaseFrameSkip(bool)': +../../../src/gui/render.cpp:551:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Frame Skip at %d",render.frameskip.max); + ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ ../../../src/gui/sdl_mapper.cpp: In member function 'virtual void CJAxisBind::ConfigName(char*)': ../../../src/gui/sdl_mapper.cpp:544:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s axis %d %d",group->ConfigStart(),axis,positive ? 1 : 0); @@ -1772,6 +1818,13 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ../../../src/gui/sdl_mapper.cpp:659:11: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] ../../../src/gui/sdl_mapper.cpp:659:11: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../src/gui/sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': +../../../src/gui/sdlmain.cpp:294:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] + sprintf(title,"DOSBox %s, Cpu speed: max %3d%% cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ +../../../src/gui/sdlmain.cpp:296:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] + sprintf(title,"DOSBox %s, Cpu speed: %8d cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ ../../../src/gui/sdl_mapper.cpp: In member function 'void CHandlerEvent::MakeDefaultBind(char*)': ../../../src/gui/sdl_mapper.cpp:1588:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s \"key %d%s%s%s\"", @@ -1784,16 +1837,30 @@ sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); ^~~~~~~~~~~~~~~ ~~~~~ ../../../src/gui/sdl_mapper.cpp:1688:14: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../src/gui/sdlmain.cpp: In function 'Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)': +../../../src/gui/sdlmain.cpp:536:37: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 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()); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ ../../../src/gui/sdl_mapper.cpp: In function 'CJAxisEvent* AddJAxisButton_hidden(Bitu, Bitu, bool, CJAxisEvent*)': ../../../src/gui/sdl_mapper.cpp:1695:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); ^~~~~~~~~~~~~~~ ~~~~~ ../../../src/gui/sdl_mapper.cpp:1695:14: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../src/gui/sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ ../../../src/gui/sdl_mapper.cpp: In function 'void AddJButtonButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu)': ../../../src/gui/sdl_mapper.cpp:1701:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jbutton_%d_%d",stick,button); ^~~~~~~~~~~~~~~ ~~~~~ +../../../src/gui/sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] ../../../src/gui/sdl_mapper.cpp:1701:14: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../src/gui/sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../src/gui/sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ +../../../src/gui/sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../src/gui/sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] ../../../src/gui/sdl_mapper.cpp: In function 'void AddJButtonButton_hidden(Bitu, Bitu)': ../../../src/gui/sdl_mapper.cpp:1707:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jbutton_%d_%d",stick,button); @@ -1813,39 +1880,6 @@ ../../../src/gui/sdl_mapper.cpp:2061:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buffer,"key_%s \"key %d\"",DefaultKeys[i].eventend,DefaultKeys[i].key); ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ -../../../src/gui/render.cpp: In function 'void RENDER_Reset()': -../../../src/gui/render.cpp:484:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ -../../../src/gui/render.cpp: In function 'void IncreaseFrameSkip(bool)': -../../../src/gui/render.cpp:543:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Frame Skip at %d",render.frameskip.max); - ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ -../../../src/gui/render.cpp: In function 'void DecreaseFrameSkip(bool)': -../../../src/gui/render.cpp:551:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Frame Skip at %d",render.frameskip.max); - ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ -../../../src/gui/sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': -../../../src/gui/sdlmain.cpp:294:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] - sprintf(title,"DOSBox %s, Cpu speed: max %3d%% cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ -../../../src/gui/sdlmain.cpp:296:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] - sprintf(title,"DOSBox %s, Cpu speed: %8d cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ -../../../src/gui/sdlmain.cpp: In function 'Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)': -../../../src/gui/sdlmain.cpp:536:37: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 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()); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ -../../../src/gui/sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ -../../../src/gui/sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../src/gui/sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../src/gui/sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ -../../../src/gui/sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../src/gui/sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 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:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] @@ -1871,10 +1905,45 @@ 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-2=. -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-2=. -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-2=. -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:13: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ +../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': +../../../../src/hardware/serialport/softmodem.h:129:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ +../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()': +../../../../src/hardware/serialport/softmodem.cpp:280:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/softmodem.cpp:280:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../../src/hardware/serialport/softmodem.cpp:283:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/softmodem.cpp:283:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::DoCommand()': +../../../../src/hardware/serialport/softmodem.cpp:513:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Modem: Unhandled command: &%c%d",cmdchar,ScanNumber(scanbuf)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/softmodem.cpp:533:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Modem: Unhandled command: \\%c%d",cmdchar, ScanNumber(scanbuf)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/softmodem.cpp:542:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Modem: Unhandled command: %c%d",chr,ScanNumber(scanbuf)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': +../../../../src/hardware/serialport/directserial.cpp:46:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG ("Serial%d: Opening %s", COMNUMBER, tmpstring.c_str()); + ^~~~~~~~~~~~~~~~~~~~~~ ../../../../src/hardware/serialport/nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': ../../../../src/hardware/serialport/nullmodem.cpp:108:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Connection failed.",COMNUMBER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/directserial.cpp:50:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Serial%d: Serial Port \"%s\" could not be opened.", + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/hardware/serialport/nullmodem.cpp:121:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Connected to %s",COMNUMBER,peernamebuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1890,6 +1959,15 @@ ../../../../src/hardware/serialport/nullmodem.cpp:170:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Nullmodem server waiting for connection on port %d...", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': +../../../../src/hardware/serialport/directserial.cpp:277:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/directserial.cpp:277:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': +../../../../src/hardware/serialport/directserial.cpp:294:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Serial%d: COM port error: write failed!", COMNUMBER); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::ClientConnect()': ../../../../src/hardware/serialport/nullmodem.cpp:226:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Connection failed.",idnumber+1); @@ -1905,54 +1983,6 @@ ../../../../src/hardware/serialport/nullmodem.cpp:388:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': -../../../../src/hardware/serialport/nullmodem.cpp:462:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': -../../../../src/hardware/serialport/directserial.cpp:46:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG ("Serial%d: Opening %s", COMNUMBER, tmpstring.c_str()); - ^~~~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/directserial.cpp:50:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Serial%d: Serial Port \"%s\" could not be opened.", - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': -../../../../src/hardware/serialport/directserial.cpp:277:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/directserial.cpp:277:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': -../../../../src/hardware/serialport/directserial.cpp:294:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Serial%d: COM port error: write failed!", COMNUMBER); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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:13: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ -../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': -../../../../src/hardware/serialport/softmodem.h:129:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ -../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()': -../../../../src/hardware/serialport/softmodem.cpp:280:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/softmodem.cpp:280:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../../src/hardware/serialport/softmodem.cpp:283:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/softmodem.cpp:283:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::DoCommand()': -../../../../src/hardware/serialport/softmodem.cpp:513:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Modem: Unhandled command: &%c%d",cmdchar,ScanNumber(scanbuf)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/softmodem.cpp:533:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Modem: Unhandled command: \\%c%d",cmdchar, ScanNumber(scanbuf)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/softmodem.cpp:542:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Modem: Unhandled command: %c%d",chr,ScanNumber(scanbuf)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ 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:13: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] @@ -1962,6 +1992,10 @@ ../../../../src/hardware/serialport/softmodem.h:129:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': +../../../../src/hardware/serialport/nullmodem.cpp:462:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/hardware/serialport/serialport.cpp: In member function 'void CSerial::handleEvent(Bit16u)': ../../../../src/hardware/serialport/serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Errors: "\ @@ -2013,9 +2047,15 @@ 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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_attr.o ../../../src/hardware/vga_attr.cpp +../../../src/hardware/memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': +../../../src/hardware/memory.cpp:564:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ +../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': +../../../src/hardware/hardware.cpp:122:20: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); + ^~~~~~~~~~~~~~ ~~~~ 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-2=. -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-2=. -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-2=. -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 member function 'void IO_ReadHandleObject::Install(Bitu, Bitu (*)(Bitu, Bitu), Bitu, Bitu)': ../../../src/hardware/iohandler.cpp:119:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else E_Exit("IO_readHandler already installed port %x",port); @@ -2024,12 +2064,6 @@ ../../../src/hardware/iohandler.cpp:134:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else E_Exit("IO_writeHandler already installed port %x",port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ -../../../src/hardware/memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': -../../../src/hardware/memory.cpp:564:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_other.o ../../../src/hardware/vga_other.cpp ../../../src/hardware/pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)': ../../../src/hardware/pic.cpp:204:29: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val); @@ -2037,15 +2071,15 @@ ../../../src/hardware/pic.cpp:205:30: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_memory.o ../../../src/hardware/vga_memory.cpp -../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': -../../../src/hardware/hardware.cpp:122:20: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); - ^~~~~~~~~~~~~~ ~~~~ +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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_gfx.o ../../../src/hardware/vga_gfx.cpp ../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': ../../../src/hardware/tandy_sound.cpp:230:10: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Tandy DAC: Read from unknown %X",port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ +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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_other.o ../../../src/hardware/vga_other.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_memory.o ../../../src/hardware/vga_memory.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_xga.o ../../../src/hardware/vga_xga.cpp @@ -2054,9 +2088,6 @@ 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-2=. -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-2=. -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-2=. -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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o ipx.o ../../../src/hardware/ipx.cpp ../../../src/hardware/vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)': ../../../src/hardware/vga_xga.cpp:108:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: Unhandled multifunction command %x", regselect); @@ -2093,6 +2124,9 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ../../../src/hardware/vga_xga.cpp:1167:17: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] ../../../src/hardware/vga_xga.cpp:1167:17: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +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-2=. -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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o ipxserver.o ../../../src/hardware/ipxserver.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o dbopl.o ../../../src/hardware/dbopl.cpp rm -f libhardware.a @@ -2243,7 +2277,7 @@ make[3]: Leaving directory '/build/dosbox-0.74-2/build-release' make[2]: Leaving directory '/build/dosbox-0.74-2/build-release' dh_auto_build -Bbuild-debug - cd build-debug && make -j16 + cd build-debug && make -j15 make[2]: Entering directory '/build/dosbox-0.74-2/build-debug' make all-recursive make[3]: Entering directory '/build/dosbox-0.74-2/build-debug' @@ -2277,6 +2311,8 @@ 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-2=. -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-2=. -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-2=. -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-2=. -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-2=. -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:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("get_CF Unknown %d",lflags.type); @@ -2293,12 +2329,10 @@ ../../../src/cpu/flags.cpp:341:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("get_SF Unknown %d",lflags.type); ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ -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-2=. -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:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("get_OF Unknown %d",lflags.type); ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ -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-2=. -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:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("Unhandled flag type %d",lflags.type); @@ -2339,26 +2373,12 @@ ../../../src/cpu/core_full/save.h:98:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("SAVE:Unhandled code %d entry %X",inst.code.save,inst.entry); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ -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:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - if (written>block->cache.size+CACHE_MAXSIZE) E_Exit("CacheBlock overrun 1 %d",written-block->cache.size); - ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/cpu/core_dynrec/cache.h:504:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -../../../src/cpu/core_dynrec/cache.h:504:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -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:596:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bit64s' {aka 'long int'} [-Wformat=] - if (len>126) LOG_MSG("Big jump %d",len); - ^~~~~~~~~~~~~ ~~~ -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_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:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ -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:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ @@ -2377,12 +2397,12 @@ ../../../src/cpu/core_normal/prefix_0f.h:222:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ -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:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ -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:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ @@ -2425,22 +2445,36 @@ ../../../src/cpu/core_normal/prefix_0f.h:222:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ -In file included from ../../../src/cpu/core_normal.cpp:161: +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:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + if (written>block->cache.size+CACHE_MAXSIZE) E_Exit("CacheBlock overrun 1 %d",written-block->cache.size); + ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/cpu/core_dynrec/cache.h:504:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ +../../../src/cpu/core_dynrec/cache.h:504:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +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:596:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bit64s' {aka 'long int'} [-Wformat=] + if (len>126) LOG_MSG("Big jump %d",len); + ^~~~~~~~~~~~~ ~~~ +In file included from ../../../src/cpu/core_simple.cpp:158: ../../../src/cpu/core_normal/prefix_66.h:712:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ -In file included from ../../../src/cpu/core_normal.cpp:162: +In file included from ../../../src/cpu/core_simple.cpp:159: ../../../src/cpu/core_normal/prefix_66_0f.h:59:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ ../../../src/cpu/core_normal/prefix_66_0f.h:114:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("Illegal group 7 RM subfunction %d",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ -In file included from ../../../src/cpu/core_simple.cpp:158: +In file included from ../../../src/cpu/core_normal.cpp:161: ../../../src/cpu/core_normal/prefix_66.h:712:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ -In file included from ../../../src/cpu/core_simple.cpp:159: +In file included from ../../../src/cpu/core_normal.cpp:162: ../../../src/cpu/core_normal/prefix_66_0f.h:59:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ @@ -2774,7 +2808,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-2=. -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-2=. -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-2=. -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-2=. -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:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_IOCTL,LOG_NORMAL)("06:Used Get Input Status on regular file with handle %d",handle); @@ -2782,22 +2815,14 @@ ../../../src/dos/dos_ioctl.cpp:124:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_IOCTL,LOG_NORMAL)("07:Fakes output status is ready for handle %d",handle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ -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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom.o ../../../src/dos/cdrom.cpp -../../../src/dos/drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(DOS_Drive_Cache::CFileInfo*, DOS_Drive_Cache::CFileInfo*)': -../../../src/dos/drive_cache.cpp:517:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - sprintf(buffer,"%d",info->shortNr); - ^~~~ ~~~~~~~~~~~~~ -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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o drive_iso.o ../../../src/dos/drive_iso.cpp ../../../src/dos/dos_programs.cpp: In member function 'virtual void KEYB::Run()': ../../../src/dos/dos_programs.cpp:1392:33: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_DOSMISC,LOG_ERROR)("KEYB:Invalid returncode %x",keyb_error); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ -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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom_ioctl_os2.o ../../../src/dos/cdrom_ioctl_os2.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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o cdrom.o ../../../src/dos/cdrom.cpp ../../../src/dos/dos_programs.cpp: In member function 'virtual void BOOT::Run()': ../../../src/dos/dos_programs.cpp:671:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, rombytesize_1-0x200, usefile_1); @@ -2814,6 +2839,15 @@ ../../../src/dos/dos_programs.cpp:775:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, rombytesize_1-0x200, usefile_1); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(DOS_Drive_Cache::CFileInfo*, DOS_Drive_Cache::CFileInfo*)': +../../../src/dos/drive_cache.cpp:517:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + sprintf(buffer,"%d",info->shortNr); + ^~~~ ~~~~~~~~~~~~~ +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-2=. -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-2=. -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-2=. -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-2=. -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-2=. -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:868:13: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] MSCDEX_LOG("MSCDEX: IOCTL INPUT Subfunction %02X",ioctl_fct); @@ -2980,39 +3014,6 @@ /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 -../../../src/gui/render.cpp: In function 'void RENDER_Reset()': -../../../src/gui/render.cpp:484:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ -../../../src/gui/render.cpp: In function 'void IncreaseFrameSkip(bool)': -../../../src/gui/render.cpp:543:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Frame Skip at %d",render.frameskip.max); - ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ -../../../src/gui/render.cpp: In function 'void DecreaseFrameSkip(bool)': -../../../src/gui/render.cpp:551:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Frame Skip at %d",render.frameskip.max); - ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ -../../../src/gui/sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': -../../../src/gui/sdlmain.cpp:294:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] - sprintf(title,"DOSBox %s, Cpu speed: max %3d%% cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ -../../../src/gui/sdlmain.cpp:296:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] - sprintf(title,"DOSBox %s, Cpu speed: %8d cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ -../../../src/gui/sdlmain.cpp: In function 'Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)': -../../../src/gui/sdlmain.cpp:536:37: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 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()); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ -../../../src/gui/sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ -../../../src/gui/sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../src/gui/sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../src/gui/sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ -../../../src/gui/sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../src/gui/sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] ../../../src/gui/sdl_mapper.cpp: In member function 'virtual void CJAxisBind::ConfigName(char*)': ../../../src/gui/sdl_mapper.cpp:544:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s axis %d %d",group->ConfigStart(),axis,positive ? 1 : 0); @@ -3021,10 +3022,6 @@ ../../../src/gui/sdl_mapper.cpp:547:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s Axis %d%s",group->BindStart(),axis,positive ? "+" : "-"); ^~~~~~~~~~~~~~ ~~~~ -../../../src/gui/midi.cpp: In function 'void MIDI_RawOutByte(Bit8u)': -../../../src/gui/midi.cpp:130:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_ALL,LOG_NORMAL)("Sysex message size %d",midi.sysex.used); - ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ../../../src/gui/sdl_mapper.cpp: In member function 'virtual void CJButtonBind::ConfigName(char*)': ../../../src/gui/sdl_mapper.cpp:562:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s button %d",group->ConfigStart(),button); @@ -3057,6 +3054,13 @@ ../../../src/gui/sdl_mapper.cpp:1590:4: key, ~~~ +../../../src/gui/sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': +../../../src/gui/sdlmain.cpp:294:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] + sprintf(title,"DOSBox %s, Cpu speed: max %3d%% cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ +../../../src/gui/sdlmain.cpp:296:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] + sprintf(title,"DOSBox %s, Cpu speed: %8d cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ ../../../src/gui/sdl_mapper.cpp: In function 'CJAxisEvent* AddJAxisButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu, bool, CJAxisEvent*)': ../../../src/gui/sdl_mapper.cpp:1688:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); @@ -3087,6 +3091,40 @@ ../../../src/gui/sdl_mapper.cpp:1720:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"mod_%d",_mod); ^~~~~~~~ ~~~~ +../../../src/gui/render.cpp: In function 'void RENDER_Reset()': +../../../src/gui/render.cpp:484:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ +../../../src/gui/sdlmain.cpp: In function 'Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)': +../../../src/gui/sdlmain.cpp:536:37: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 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()); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ +../../../src/gui/sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ +../../../src/gui/sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../src/gui/sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../src/gui/sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ +../../../src/gui/sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../src/gui/sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../src/gui/render.cpp: In function 'void IncreaseFrameSkip(bool)': +../../../src/gui/render.cpp:543:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Frame Skip at %d",render.frameskip.max); + ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ +../../../src/gui/render.cpp: In function 'void DecreaseFrameSkip(bool)': +../../../src/gui/render.cpp:551:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Frame Skip at %d",render.frameskip.max); + ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ +../../../src/gui/sdl_mapper.cpp: In function 'void CreateDefaultBinds()': +../../../src/gui/sdl_mapper.cpp:2061:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + sprintf(buffer,"key_%s \"key %d\"",DefaultKeys[i].eventend,DefaultKeys[i].key); + ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ +../../../src/gui/midi.cpp: In function 'void MIDI_RawOutByte(Bit8u)': +../../../src/gui/midi.cpp:130:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_ALL,LOG_NORMAL)("Sysex message size %d",midi.sysex.used); + ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ 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:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] @@ -3096,10 +3134,6 @@ ../../../src/gui/midi_oss.h:58:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(device,buf,pos); ~~~~~^~~~~~~~~~~~~~~~ -../../../src/gui/sdl_mapper.cpp: In function 'void CreateDefaultBinds()': -../../../src/gui/sdl_mapper.cpp:2061:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - sprintf(buffer,"key_%s \"key %d\"",DefaultKeys[i].eventend,DefaultKeys[i].key); - ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ rm -f libgui.a ar cru libgui.a sdlmain.o sdl_mapper.o render.o render_scalers.o midi.o sdl_gui.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -3116,6 +3150,59 @@ 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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o nullmodem.o ../../../../src/hardware/serialport/nullmodem.cpp +../../../../src/hardware/serialport/directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': +../../../../src/hardware/serialport/directserial.cpp:46:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG ("Serial%d: Opening %s", COMNUMBER, tmpstring.c_str()); + ^~~~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/directserial.cpp:50:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Serial%d: Serial Port \"%s\" could not be opened.", + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': +../../../../src/hardware/serialport/directserial.cpp:277:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/directserial.cpp:277:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': +../../../../src/hardware/serialport/directserial.cpp:294:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Serial%d: COM port error: write failed!", COMNUMBER); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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:13: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ +../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': +../../../../src/hardware/serialport/softmodem.h:129:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ +../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()': +../../../../src/hardware/serialport/softmodem.cpp:280:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/softmodem.cpp:280:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../../src/hardware/serialport/softmodem.cpp:283:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/softmodem.cpp:283:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::DoCommand()': +../../../../src/hardware/serialport/softmodem.cpp:513:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Modem: Unhandled command: &%c%d",cmdchar,ScanNumber(scanbuf)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/softmodem.cpp:533:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Modem: Unhandled command: \\%c%d",cmdchar, ScanNumber(scanbuf)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/softmodem.cpp:542:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Modem: Unhandled command: %c%d",chr,ScanNumber(scanbuf)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ +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:13: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ +../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': +../../../../src/hardware/serialport/softmodem.h:129:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ../../../../src/hardware/serialport/nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': ../../../../src/hardware/serialport/nullmodem.cpp:108:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Connection failed.",COMNUMBER); @@ -3150,23 +3237,14 @@ ../../../../src/hardware/serialport/nullmodem.cpp:388:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': -../../../../src/hardware/serialport/nullmodem.cpp:462:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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:13: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ -../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': -../../../../src/hardware/serialport/softmodem.h:129:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ../../../../src/hardware/serialport/serialport.cpp: In member function 'void CSerial::log_ser(bool, const char*, ...)': ../../../../src/hardware/serialport/serialport.cpp:206:15: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] sprintf(buf,"%12.3f [% 7u] ",PIC_FullIndex(), SDL_GetTicks()); ^~~~~~~~~~~~~~~~ +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': +../../../../src/hardware/serialport/nullmodem.cpp:462:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/hardware/serialport/serialport.cpp: In member function 'void CSerial::handleEvent(Bit16u)': ../../../../src/hardware/serialport/serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Errors: "\ @@ -3187,50 +3265,6 @@ ../../../../src/hardware/serialport/serialport.cpp:1264:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Invalid type for serial%d",i+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ -../../../../src/hardware/serialport/directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': -../../../../src/hardware/serialport/directserial.cpp:46:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG ("Serial%d: Opening %s", COMNUMBER, tmpstring.c_str()); - ^~~~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/directserial.cpp:50:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Serial%d: Serial Port \"%s\" could not be opened.", - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': -../../../../src/hardware/serialport/directserial.cpp:277:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/directserial.cpp:277:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': -../../../../src/hardware/serialport/directserial.cpp:294:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Serial%d: COM port error: write failed!", COMNUMBER); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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:13: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ -../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': -../../../../src/hardware/serialport/softmodem.h:129:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ -../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()': -../../../../src/hardware/serialport/softmodem.cpp:280:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/softmodem.cpp:280:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../../src/hardware/serialport/softmodem.cpp:283:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/softmodem.cpp:283:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::DoCommand()': -../../../../src/hardware/serialport/softmodem.cpp:513:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Modem: Unhandled command: &%c%d",cmdchar,ScanNumber(scanbuf)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/softmodem.cpp:533:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Modem: Unhandled command: \\%c%d",cmdchar, ScanNumber(scanbuf)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -../../../../src/hardware/serialport/softmodem.cpp:542:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Modem: Unhandled command: %c%d",chr,ScanNumber(scanbuf)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ 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') @@ -3261,7 +3295,6 @@ 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-2=. -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-2=. -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-2=. -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-2=. -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:32: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_KEYBOARD,LOG_ERROR)("60:Unhandled command %X",val); @@ -3270,17 +3303,11 @@ ../../../src/hardware/keyboard.cpp:211:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_KEYBOARD,LOG_ERROR)("Port 64 write with val %d",val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ -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-2=. -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-2=. -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)': -../../../src/hardware/vga_dac.cpp:70:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:DCA:Pel Mask set to %X", val); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ +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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_attr.o ../../../src/hardware/vga_attr.cpp ../../../src/hardware/dma.cpp: In member function 'Bitu DmaController::ReadControllerReg(Bitu, Bitu)': ../../../src/hardware/dma.cpp:252:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_DMACONTROL,LOG_NORMAL)("Trying to read undefined DMA port %x",reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ -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-2=. -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:24: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_IO,LOG_WARN)("Read from port %04X",port); @@ -3298,18 +3325,6 @@ ../../../src/hardware/iohandler.cpp:134:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else E_Exit("IO_writeHandler already installed port %x",port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_gfx.o ../../../src/hardware/vga_gfx.cpp -../../../src/hardware/vga_gfx.cpp: In function 'void write_p3cf(Bitu, Bitu, Bitu)': -../../../src/hardware/vga_gfx.cpp:185:32: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:3CF:Write %2X to illegal index 9",val); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ -../../../src/hardware/vga_gfx.cpp:189:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:3CF:Write %2X to illegal index %2X",val,gfx(index)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ -../../../src/hardware/vga_gfx.cpp: In function 'Bitu read_p3cf(Bitu, Bitu)': -../../../src/hardware/vga_gfx.cpp:217:31: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_VGAMISC,LOG_NORMAL)("Reading from illegal index %2X in port %4X",static_cast(gfx(index)),port); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ../../../src/hardware/pic.cpp: In function 'void write_command(Bitu, Bitu, Bitu)': ../../../src/hardware/pic.cpp:104:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PIC,LOG_NORMAL)("port %X : special mask %s",port,(pic->special)?"ON":"OFF"); @@ -3336,7 +3351,81 @@ ../../../src/hardware/pic.cpp:210:27: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PIC,LOG_NORMAL)("ICW HUH? %X",val); ^~~~~~~~~~~~~ ~~~ +../../../src/hardware/pcspeaker.cpp: In function 'void PCSPEAKER_SetCounter(Bitu, Bitu)': +../../../src/hardware/pcspeaker.cpp:213:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Unhandled speaker mode %d",mode); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ +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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_crtc.o ../../../src/hardware/vga_crtc.cpp +../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': +../../../src/hardware/hardware.cpp:122:20: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); + ^~~~~~~~~~~~~~ ~~~~ +../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writeb(PhysPt, Bitu)': +../../../src/hardware/memory.cpp:111:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); + ^~~~~~~~~~~~~~~~~~~~~~~ ~~~ +../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writew(PhysPt, Bitu)': +../../../src/hardware/memory.cpp:114:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); + ^~~~~~~~~~~~~~~~~~~~~~~ ~~~ +../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writed(PhysPt, Bitu)': +../../../src/hardware/memory.cpp:117:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); + ^~~~~~~~~~~~~~~~~~~~~~~ ~~~ +../../../src/hardware/memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': +../../../src/hardware/memory.cpp:564:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ +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-2=. -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)': +../../../src/hardware/vga_dac.cpp:70:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:DCA:Pel Mask set to %X", val); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ +../../../src/hardware/timer.cpp: In function 'void counter_latch(Bitu)': +../../../src/hardware/timer.cpp:185:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_PIT,LOG_ERROR)("Illegal Mode %d for reading counter %d",p->mode,counter); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ +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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_draw.o ../../../src/hardware/vga_draw.cpp +../../../src/hardware/sblaster.cpp: In function 'void DSP_DoDMATransfer(DMA_MODES, Bitu, bool)': +../../../src/hardware/sblaster.cpp:636:25: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_SB,LOG_NORMAL)("DMA Transfer:%s %s %s freq %d rate %d size %d", + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/hardware/sblaster.cpp:640:3: + freq,sb.dma.rate,sb.dma.total + ~~~~ +../../../src/hardware/sblaster.cpp:636:25: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../src/hardware/sblaster.cpp:636:25: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] +../../../src/hardware/sblaster.cpp: In function 'void DSP_DoCommand()': +../../../src/hardware/sblaster.cpp:831:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_SB,LOG_ERROR)("DSP:Faked ADC for %d bytes",sb.dma.total); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ +../../../src/hardware/sblaster.cpp: In function 'Bitu read_sb(Bitu, Bitu)': +../../../src/hardware/sblaster.cpp:1394:26: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_SB,LOG_NORMAL)("Unhandled read from SB Port %4X",port); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ +../../../src/hardware/sblaster.cpp: In function 'void write_sb(Bitu, Bitu, Bitu)': +../../../src/hardware/sblaster.cpp:1416:26: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_SB,LOG_NORMAL)("Unhandled write to SB Port %4X",port); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ +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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_gfx.o ../../../src/hardware/vga_gfx.cpp +../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': +../../../src/hardware/tandy_sound.cpp:230:10: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG_MSG("Tandy DAC: Read from unknown %X",port); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ +../../../src/hardware/vga_gfx.cpp: In function 'void write_p3cf(Bitu, Bitu, Bitu)': +../../../src/hardware/vga_gfx.cpp:185:32: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:3CF:Write %2X to illegal index 9",val); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ +../../../src/hardware/vga_gfx.cpp:189:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:3CF:Write %2X to illegal index %2X",val,gfx(index)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ +../../../src/hardware/vga_gfx.cpp: In function 'Bitu read_p3cf(Bitu, Bitu)': +../../../src/hardware/vga_gfx.cpp:217:31: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_VGAMISC,LOG_NORMAL)("Reading from illegal index %2X in port %4X",static_cast(gfx(index)),port); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ 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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_other.o ../../../src/hardware/vga_other.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_memory.o ../../../src/hardware/vga_memory.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_misc.o ../../../src/hardware/vga_misc.cpp ../../../src/hardware/vga_draw.cpp: In function 'void VGA_SetBlinking(Bitu)': ../../../src/hardware/vga_draw.cpp:698:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGA,LOG_NORMAL)("Blinking %d",enabled); @@ -3350,6 +3439,7 @@ ^~~~~~~~~~~~~~~~ vga.draw.lines_total-vga.draw.lines_done); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_seq.o ../../../src/hardware/vga_seq.cpp ../../../src/hardware/vga_draw.cpp: In function 'void VGA_SetupDrawing(Bitu)': ../../../src/hardware/vga_draw.cpp:1123:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGA,LOG_NORMAL)("h total %d end %d blank (%d/%d) retrace (%d/%d)", @@ -3385,69 +3475,13 @@ LOG(LOG_VGA,LOG_NORMAL)("Width %d, Height %d, fps %f",width,height,fps); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ ../../../src/hardware/vga_draw.cpp:1486:27: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_memory.o ../../../src/hardware/vga_memory.cpp -../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writeb(PhysPt, Bitu)': -../../../src/hardware/memory.cpp:111:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); - ^~~~~~~~~~~~~~~~~~~~~~~ ~~~ -../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writew(PhysPt, Bitu)': -../../../src/hardware/memory.cpp:114:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); - ^~~~~~~~~~~~~~~~~~~~~~~ ~~~ -../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writed(PhysPt, Bitu)': -../../../src/hardware/memory.cpp:117:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); - ^~~~~~~~~~~~~~~~~~~~~~~ ~~~ -../../../src/hardware/timer.cpp: In function 'void counter_latch(Bitu)': -../../../src/hardware/timer.cpp:185:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_PIT,LOG_ERROR)("Illegal Mode %d for reading counter %d",p->mode,counter); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -../../../src/hardware/memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': -../../../src/hardware/memory.cpp:564:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': -../../../src/hardware/hardware.cpp:122:20: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); - ^~~~~~~~~~~~~~ ~~~~ +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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_s3.o ../../../src/hardware/vga_s3.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_tseng.o ../../../src/hardware/vga_tseng.cpp ../../../src/hardware/vga_other.cpp: In function 'void write_crtc_data_other(Bitu, Bitu, Bitu)': ../../../src/hardware/vga_other.cpp:109:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("MC6845:Write %X to illegal index %x",val,vga.other.index); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ -../../../src/hardware/pcspeaker.cpp: In function 'void PCSPEAKER_SetCounter(Bitu, Bitu)': -../../../src/hardware/pcspeaker.cpp:213:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Unhandled speaker mode %d",mode); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ -../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': -../../../src/hardware/tandy_sound.cpp:230:10: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG_MSG("Tandy DAC: Read from unknown %X",port); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_seq.o ../../../src/hardware/vga_seq.cpp -../../../src/hardware/sblaster.cpp: In function 'void DSP_DoDMATransfer(DMA_MODES, Bitu, bool)': -../../../src/hardware/sblaster.cpp:636:25: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_SB,LOG_NORMAL)("DMA Transfer:%s %s %s freq %d rate %d size %d", - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/hardware/sblaster.cpp:640:3: - freq,sb.dma.rate,sb.dma.total - ~~~~ -../../../src/hardware/sblaster.cpp:636:25: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../src/hardware/sblaster.cpp:636:25: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -../../../src/hardware/sblaster.cpp: In function 'void DSP_DoCommand()': -../../../src/hardware/sblaster.cpp:831:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_SB,LOG_ERROR)("DSP:Faked ADC for %d bytes",sb.dma.total); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ -../../../src/hardware/sblaster.cpp: In function 'Bitu read_sb(Bitu, Bitu)': -../../../src/hardware/sblaster.cpp:1394:26: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_SB,LOG_NORMAL)("Unhandled read from SB Port %4X",port); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ -../../../src/hardware/sblaster.cpp: In function 'void write_sb(Bitu, Bitu, Bitu)': -../../../src/hardware/sblaster.cpp:1416:26: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_SB,LOG_NORMAL)("Unhandled write to SB Port %4X",port); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_s3.o ../../../src/hardware/vga_s3.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o vga_tseng.o ../../../src/hardware/vga_tseng.cpp ../../../src/hardware/vga_s3.cpp: In function 'void SVGA_S3_WriteCRTC(Bitu, Bitu, Bitu)': ../../../src/hardware/vga_s3.cpp:349:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:CRTC:Write to illegal index %2X", reg ); @@ -3461,6 +3495,8 @@ LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:SEQ:Read from illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o disney.o ../../../src/hardware/disney.cpp ../../../src/hardware/vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)': ../../../src/hardware/vga_xga.cpp:108:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: Unhandled multifunction command %x", regselect); @@ -3497,11 +3533,17 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ ../../../src/hardware/vga_xga.cpp:1167:17: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] ../../../src/hardware/vga_xga.cpp:1167:17: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] -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-2=. -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-2=. -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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o ipx.o ../../../src/hardware/ipx.cpp +../../../src/hardware/vga_paradise.cpp: In function 'void write_p3cf_pvga1a(Bitu, Bitu, Bitu)': +../../../src/hardware/vga_paradise.cpp:107:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Write to illegal index %2X", reg); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ +../../../src/hardware/vga_paradise.cpp: In function 'Bitu read_p3cf_pvga1a(Bitu, Bitu)': +../../../src/hardware/vga_paradise.cpp:132:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Read from illegal index %2X", reg); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o ipxserver.o ../../../src/hardware/ipxserver.cpp ../../../src/hardware/vga_tseng.cpp: In function 'void write_p3d5_et4k(Bitu, Bitu, Bitu)': ../../../src/hardware/vga_tseng.cpp:175:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] @@ -3551,19 +3593,11 @@ ../../../src/hardware/vga_tseng.cpp:660:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:ET3K:Read from illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ -../../../src/hardware/vga_paradise.cpp: In function 'void write_p3cf_pvga1a(Bitu, Bitu, Bitu)': -../../../src/hardware/vga_paradise.cpp:107:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Write to illegal index %2X", reg); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ -../../../src/hardware/vga_paradise.cpp: In function 'Bitu read_p3cf_pvga1a(Bitu, Bitu)': -../../../src/hardware/vga_paradise.cpp:132:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Read from illegal index %2X", reg); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o dbopl.o ../../../src/hardware/dbopl.cpp ../../../src/hardware/disney.cpp: In function 'void disney_write(Bitu, Bitu, Bitu)': ../../../src/hardware/disney.cpp:206:28: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_MISC,LOG_NORMAL)("DISNEY:Status write %x",val); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ +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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o dbopl.o ../../../src/hardware/dbopl.cpp ../../../src/hardware/mpu401.cpp: In function 'void MPU401_WriteCommand(Bitu, Bitu, Bitu)': ../../../src/hardware/mpu401.cpp:128:41: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if (val&0x20) LOG(LOG_MISC,LOG_ERROR)("MPU-401:Unhandled Recording Command %x",val); @@ -3612,6 +3646,9 @@ 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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o int10_pal.o ../../../src/ints/int10_pal.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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o int10_put_pixel.o ../../../src/ints/int10_put_pixel.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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o int10_video_state.o ../../../src/ints/int10_video_state.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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o bios_disk.o ../../../src/ints/bios_disk.cpp ../../../src/ints/int10_misc.cpp: In function 'void INT10_EGA_RIL_ReadRegisterRange(Bit8u, Bit8u, Bit16u, PhysPt)': ../../../src/ints/int10_misc.cpp:236:28: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_INT10,LOG_ERROR)("EGA RIL range read with port %x called",port); @@ -3626,10 +3663,6 @@ ../../../src/ints/int10_misc.cpp:271:35: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else LOG(LOG_INT10,LOG_ERROR)("EGA RIL range write to %x with invalid register %x",port,ch); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ -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-2=. -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-2=. -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-2=. -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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o bios_keyboard.o ../../../src/ints/bios_keyboard.cpp ../../../src/ints/int10_put_pixel.cpp: In function 'void INT10_PutPixel(Bit16u, Bit16u, Bit8u, Bit8u)': ../../../src/ints/int10_put_pixel.cpp:117:30: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_INT10,LOG_ERROR)("PutPixel_EGA_p: %x!=%x",CurMode->plength,real_readw(BIOSMEM_SEG,BIOSMEM_PAGE_SIZE)); @@ -3650,6 +3683,7 @@ ../../../src/ints/int10_put_pixel.cpp:197:30: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_INT10,LOG_ERROR)("GetPixel_VGA_w: %x!=%x",CurMode->swidth,real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ +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-2=. -fstack-protector-strong -Wformat -Werror=format-security -mno-ms-bitfields -c -o bios_keyboard.o ../../../src/ints/bios_keyboard.cpp ../../../src/ints/bios_disk.cpp: In function 'void swapInDisks()': ../../../src/ints/bios_disk.cpp:109:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bits' {aka 'long int'} [-Wformat=] LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname); @@ -3776,7 +3810,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/dosbox-0.74-2' dh_auto_install -Bbuild-debug - cd build-debug && make -j16 install DESTDIR=/build/dosbox-0.74-2/debian/tmp AM_UPDATE_INFO_DIR=no + cd build-debug && make -j15 install DESTDIR=/build/dosbox-0.74-2/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/dosbox-0.74-2/build-debug' Making install in src make[3]: Entering directory '/build/dosbox-0.74-2/build-debug/src' @@ -3930,8 +3964,8 @@ make[4]: Leaving directory '/build/dosbox-0.74-2/build-debug/src/platform' make[4]: Entering directory '/build/dosbox-0.74-2/build-debug/src' make[5]: Entering directory '/build/dosbox-0.74-2/build-debug/src' - /bin/mkdir -p '/build/dosbox-0.74-2/debian/tmp/usr/bin' make[5]: Nothing to be done for 'install-data-am'. + /bin/mkdir -p '/build/dosbox-0.74-2/debian/tmp/usr/bin' /usr/bin/install -c dosbox '/build/dosbox-0.74-2/debian/tmp/usr/bin' make[5]: Leaving directory '/build/dosbox-0.74-2/build-debug/src' make[4]: Leaving directory '/build/dosbox-0.74-2/build-debug/src' @@ -3967,7 +4001,7 @@ make[2]: Leaving directory '/build/dosbox-0.74-2/build-debug' mv debian/tmp/usr/bin/dosbox debian/tmp/usr/bin/dosbox-debug dh_auto_install -Bbuild-release - cd build-release && make -j16 install DESTDIR=/build/dosbox-0.74-2/debian/tmp AM_UPDATE_INFO_DIR=no + cd build-release && make -j15 install DESTDIR=/build/dosbox-0.74-2/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/dosbox-0.74-2/build-release' Making install in src make[3]: Entering directory '/build/dosbox-0.74-2/build-release/src' @@ -4121,8 +4155,8 @@ make[4]: Leaving directory '/build/dosbox-0.74-2/build-release/src/platform' make[4]: Entering directory '/build/dosbox-0.74-2/build-release/src' make[5]: Entering directory '/build/dosbox-0.74-2/build-release/src' - /bin/mkdir -p '/build/dosbox-0.74-2/debian/tmp/usr/bin' make[5]: Nothing to be done for 'install-data-am'. + /bin/mkdir -p '/build/dosbox-0.74-2/debian/tmp/usr/bin' /usr/bin/install -c dosbox '/build/dosbox-0.74-2/debian/tmp/usr/bin' make[5]: Leaving directory '/build/dosbox-0.74-2/build-release/src' make[4]: Leaving directory '/build/dosbox-0.74-2/build-release/src' @@ -4171,28 +4205,30 @@ dh_strip dh_makeshlibs dh_shlibdeps -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/dosbox/usr/bin/dosbox was not linked against libdl.so.2 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/dosbox-debug/usr/bin/dosbox-debug was not linked against libdl.so.2 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/dosbox/usr/bin/dosbox was not linked against libdl.so.2 (it uses none of the library's symbols) dh_installdeb dh_gencontrol dh_md5sums dh_builddeb +dpkg-deb: building package 'dosbox-dbgsym' in '../dosbox-dbgsym_0.74-2-3+deb10u1_amd64.deb'. +dpkg-deb: building package 'dosbox' in '../dosbox_0.74-2-3+deb10u1_amd64.deb'. dpkg-deb: building package 'dosbox-debug-dbgsym' in '../dosbox-debug-dbgsym_0.74-2-3+deb10u1_amd64.deb'. dpkg-deb: building package 'dosbox-debug' in '../dosbox-debug_0.74-2-3+deb10u1_amd64.deb'. -dpkg-deb: building package 'dosbox' in '../dosbox_0.74-2-3+deb10u1_amd64.deb'. -dpkg-deb: building package 'dosbox-dbgsym' in '../dosbox-dbgsym_0.74-2-3+deb10u1_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../dosbox_0.74-2-3+deb10u1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/12577/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/12577/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/27837 and its subdirectories -I: Current time: Mon Jan 17 20:01:09 -12 2022 -I: pbuilder-time-stamp: 1642492869 +I: removing directory /srv/workspace/pbuilder/12577 and its subdirectories +I: Current time: Wed Dec 16 15:43:23 +14 2020 +I: pbuilder-time-stamp: 1608083003