Diff of the two buildlogs: -- --- b1/build.log 2025-03-22 02:59:59.276170792 +0000 +++ b2/build.log 2025-03-22 03:06:46.957652565 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Mar 21 14:38:50 -12 2025 -I: pbuilder-time-stamp: 1742611130 +I: Current time: Fri Apr 24 23:23:02 +14 2026 +I: pbuilder-time-stamp: 1777022582 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying thanks-utf-8.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/482474/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1770233/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 24 09:23 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1770233/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1770233/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='f565a9a507c448acbd52aff198b8b3d8' - 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='482474' - PS1='# ' - PS2='> ' + INVOCATION_ID=62a85731378b4f4490d9453ae2a81baf + 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=1770233 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.OCxslD4z/pbuilderrc_0km8 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.OCxslD4z/b1 --logfile b1/build.log dosbox_0.74-3-5.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.OCxslD4z/pbuilderrc_S13a --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.OCxslD4z/b2 --logfile b2/build.log dosbox_0.74-3-5.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/482474/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1770233/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -333,7 +365,7 @@ Get: 209 http://deb.debian.org/debian trixie/main amd64 libvorbisfile3 amd64 1.3.7-2+b1 [21.5 kB] Get: 210 http://deb.debian.org/debian trixie/main amd64 libsdl-sound1.2 amd64 1.0.3-9+b5 [86.2 kB] Get: 211 http://deb.debian.org/debian trixie/main amd64 libsdl-sound1.2-dev amd64 1.0.3-9+b5 [103 kB] -Fetched 103 MB in 16s (6555 kB/s) +Fetched 103 MB in 21s (4851 kB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19785 files and directories currently installed.) @@ -1015,8 +1047,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Mar 22 02:42:35 UTC 2025. -Universal Time is now: Sat Mar 22 02:42:35 UTC 2025. +Local time is now: Fri Apr 24 09:25:46 UTC 2026. +Universal Time is now: Fri Apr 24 09:25:46 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:amd64 (1.17.0-2+b1) ... @@ -1208,7 +1240,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/dosbox-0.74-3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../dosbox_0.74-3-5_source.changes +I: user script /srv/workspace/pbuilder/1770233/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1770233/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/dosbox-0.74-3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../dosbox_0.74-3-5_source.changes dpkg-buildpackage: info: source package dosbox dpkg-buildpackage: info: source version 0.74-3-5 dpkg-buildpackage: info: source distribution unstable @@ -1559,7 +1595,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/dosbox-0.74-3' dh_auto_build -Bbuild-release - cd build-release && make -j20 + cd build-release && make -j42 make[2]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-release' make all-recursive make[3]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-release' @@ -1754,6 +1790,8 @@ 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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o cdrom_ioctl_os2.o ../../../src/dos/cdrom_ioctl_os2.cpp ../../../src/dos/drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(CFileInfo*, CFileInfo*)': ../../../src/dos/drive_cache.cpp:517:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 517 | sprintf(buffer,"%d",info->shortNr); @@ -1784,8 +1822,6 @@ ../../../src/dos/dos_keyboard_layout.cpp:806:70: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 806 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o cdrom_ioctl_os2.o ../../../src/dos/cdrom_ioctl_os2.cpp ../../../src/dos/dos_programs.cpp: In member function 'virtual void BOOT::Run()': ../../../src/dos/dos_programs.cpp:698:46: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 698 | fread(rombuf, 1, rombytesize_1-0x200, usefile_1); @@ -2000,27 +2036,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../src/gui/render.cpp: In function 'void RENDER_Reset()': -../../../src/gui/render.cpp:484:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 484 | E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); - | ~^ ~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/gui/render.cpp: In function 'void IncreaseFrameSkip(bool)': -../../../src/gui/render.cpp:543:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 543 | LOG_MSG("Frame Skip at %d",render.frameskip.max); - | ~^ ~~~~~~~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/gui/render.cpp: In function 'void DecreaseFrameSkip(bool)': -../../../src/gui/render.cpp:551:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 551 | LOG_MSG("Frame Skip at %d",render.frameskip.max); - | ~^ ~~~~~~~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld ../../../src/gui/sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': ../../../src/gui/sdlmain.cpp:294:84: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] 294 | sprintf(title,"DOSBox %s, Cpu speed: max %3d%% cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); @@ -2077,6 +2092,27 @@ | | | | int Bitu {aka long unsigned int} | %li +../../../src/gui/render.cpp: In function 'void RENDER_Reset()': +../../../src/gui/render.cpp:484:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 484 | E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); + | ~^ ~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/gui/render.cpp: In function 'void IncreaseFrameSkip(bool)': +../../../src/gui/render.cpp:543:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 543 | LOG_MSG("Frame Skip at %d",render.frameskip.max); + | ~^ ~~~~~~~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/gui/render.cpp: In function 'void DecreaseFrameSkip(bool)': +../../../src/gui/render.cpp:551:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 551 | LOG_MSG("Frame Skip at %d",render.frameskip.max); + | ~^ ~~~~~~~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld In file included from ../../../src/gui/midi.cpp:91: ../../../src/gui/midi_oss.h: In member function 'virtual void MidiHandler_oss::PlaySysex(Bit8u*, Bitu)': ../../../src/gui/midi_oss.h:68:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -2143,6 +2179,22 @@ 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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o nullmodem.o ../../../../src/hardware/serialport/nullmodem.cpp +In file included from ../../../../src/hardware/serialport/softmodem.cpp:31: +../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': +../../../../src/hardware/serialport/softmodem.h:95:75: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 95 | LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lu +../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': +../../../../src/hardware/serialport/softmodem.h:129:76: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 129 | LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); + | ~^ ~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld ../../../../src/hardware/serialport/directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': ../../../../src/hardware/serialport/directserial.cpp:46:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 46 | LOG_MSG ("Serial%d: Opening %s", COMNUMBER, tmpstring.c_str()); @@ -2180,22 +2232,6 @@ | | | int | %ld -In file included from ../../../../src/hardware/serialport/softmodem.cpp:31: -../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': -../../../../src/hardware/serialport/softmodem.h:95:75: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 95 | LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lu -../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': -../../../../src/hardware/serialport/softmodem.h:129:76: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 129 | LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); - | ~^ ~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld ../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()': ../../../../src/hardware/serialport/softmodem.cpp:280:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 280 | LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); @@ -2240,77 +2276,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': -../../../../src/hardware/serialport/nullmodem.cpp:108:65: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 108 | LOG_MSG("Serial%d: Connection failed.",COMNUMBER); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:121:57: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 121 | LOG_MSG("Serial%d: Connected to %s",COMNUMBER,peernamebuf); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:136:57: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 136 | LOG_MSG("Serial%d: -socket start parameter missing.",COMNUMBER); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:141:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 141 | LOG_MSG("Serial%d: socket inheritance not supported on this platform.", - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:163:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 163 | LOG_MSG("Serial%d: Waiting for DTR...",COMNUMBER); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:170:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 170 | LOG_MSG("Serial%d: Nullmodem server waiting for connection on port %d...", - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::ClientConnect()': -../../../../src/hardware/serialport/nullmodem.cpp:226:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 226 | LOG_MSG("Serial%d: Connection failed.",idnumber+1); - | ~^ ~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:236:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 236 | LOG_MSG("Serial%d: Connected to %s",idnumber+1,peernamebuf); - | ~^ ~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::Disconnect()': -../../../../src/hardware/serialport/nullmodem.cpp:244:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 244 | LOG_MSG("Serial%d: Disconnected.",COMNUMBER); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'virtual void CNullModem::handleUpperEvent(Bit16u)': -../../../../src/hardware/serialport/nullmodem.cpp:388:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 388 | LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': -../../../../src/hardware/serialport/nullmodem.cpp:462:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 462 | LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); - | ~^ - | | - | int - | %ld In file included from ../../../../src/hardware/serialport/serialport.cpp:35: ../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': ../../../../src/hardware/serialport/softmodem.h:95:75: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] @@ -2405,6 +2370,77 @@ | | | | int Bitu {aka long unsigned int} | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': +../../../../src/hardware/serialport/nullmodem.cpp:108:65: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 108 | LOG_MSG("Serial%d: Connection failed.",COMNUMBER); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:121:57: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 121 | LOG_MSG("Serial%d: Connected to %s",COMNUMBER,peernamebuf); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:136:57: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 136 | LOG_MSG("Serial%d: -socket start parameter missing.",COMNUMBER); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:141:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 141 | LOG_MSG("Serial%d: socket inheritance not supported on this platform.", + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:163:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 163 | LOG_MSG("Serial%d: Waiting for DTR...",COMNUMBER); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:170:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 170 | LOG_MSG("Serial%d: Nullmodem server waiting for connection on port %d...", + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::ClientConnect()': +../../../../src/hardware/serialport/nullmodem.cpp:226:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 226 | LOG_MSG("Serial%d: Connection failed.",idnumber+1); + | ~^ ~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:236:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 236 | LOG_MSG("Serial%d: Connected to %s",idnumber+1,peernamebuf); + | ~^ ~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::Disconnect()': +../../../../src/hardware/serialport/nullmodem.cpp:244:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 244 | LOG_MSG("Serial%d: Disconnected.",COMNUMBER); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'virtual void CNullModem::handleUpperEvent(Bit16u)': +../../../../src/hardware/serialport/nullmodem.cpp:388:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 388 | LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': +../../../../src/hardware/serialport/nullmodem.cpp:462:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 462 | LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); + | ~^ + | | + | int + | %ld rm -f libserial.a ar cr libserial.a directserial.o libserial.o serialdummy.o serialport.o softmodem.o misc_util.o nullmodem.o ranlib libserial.a @@ -2442,68 +2478,17 @@ 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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o vga_seq.o ../../../src/hardware/vga_seq.cpp -../../../src/hardware/memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': -../../../src/hardware/memory.cpp:564:70: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 564 | if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); - | ~^ ~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o vga_tseng.o ../../../src/hardware/vga_tseng.cpp -../../../src/hardware/adlib.cpp: In member function 'void Adlib::Capture::CloseFile()': -../../../src/hardware/adlib.cpp:257:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 257 | var_write( &header.versionHigh, header.versionHigh ); - | ^~~~~~~~~~~~~~~~~~~ -../../../src/hardware/adlib.cpp:258:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 258 | var_write( &header.versionLow, header.versionLow ); - | ^~~~~~~~~~~~~~~~~~ -../../../src/hardware/iohandler.cpp: In member function 'void IO_ReadHandleObject::Install(Bitu, Bitu (*)(Bitu, Bitu), Bitu, Bitu)': -../../../src/hardware/iohandler.cpp:119:63: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 119 | } else E_Exit("IO_readHandler already installed port %x",port); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx -../../../src/hardware/adlib.cpp:259:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 259 | var_write( &header.commands, header.commands ); - | ^~~~~~~~~~~~~~~~ -../../../src/hardware/adlib.cpp:260:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 260 | var_write( &header.milliseconds, header.milliseconds ); - | ^~~~~~~~~~~~~~~~~~~~ -../../../src/hardware/iohandler.cpp: In member function 'void IO_WriteHandleObject::Install(Bitu, void (*)(Bitu, Bitu, Bitu), Bitu, Bitu)': -../../../src/hardware/iohandler.cpp:134:64: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 134 | } else E_Exit("IO_writeHandler already installed port %x",port); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o cmos.o ../../../src/hardware/cmos.cpp -../../../src/hardware/pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)': -../../../src/hardware/pic.cpp:204:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 204 | if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/hardware/pic.cpp:205:56: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 205 | if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': -../../../src/hardware/tandy_sound.cpp:230:48: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 230 | LOG_MSG("Tandy DAC: Read from unknown %X",port); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o dbopl.o ../../../src/hardware/dbopl.cpp ../../../src/hardware/vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)': ../../../src/hardware/vga_xga.cpp:108:72: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 108 | LOG_MSG("XGA: Unhandled multifunction command %x", regselect); @@ -2536,6 +2521,19 @@ | | Bitu {aka long unsigned int} | unsigned int | %lx +../../../src/hardware/pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)': +../../../src/hardware/pic.cpp:204:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 204 | if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/hardware/pic.cpp:205:56: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 205 | if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx ../../../src/hardware/vga_xga.cpp: In function 'void XGA_DrawWait(Bitu, Bitu)': ../../../src/hardware/vga_xga.cpp:642:112: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 642 | LOG_MSG("XGA: unsupported bpp / datawidth combination %x", @@ -2582,6 +2580,29 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lx +../../../src/hardware/memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': +../../../src/hardware/memory.cpp:564:70: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 564 | if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); + | ~^ ~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/hardware/iohandler.cpp: In member function 'void IO_ReadHandleObject::Install(Bitu, Bitu (*)(Bitu, Bitu), Bitu, Bitu)': +../../../src/hardware/iohandler.cpp:119:63: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 119 | } else E_Exit("IO_readHandler already installed port %x",port); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx +../../../src/hardware/iohandler.cpp: In member function 'void IO_WriteHandleObject::Install(Bitu, void (*)(Bitu, Bitu, Bitu), Bitu, Bitu)': +../../../src/hardware/iohandler.cpp:134:64: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 134 | } else E_Exit("IO_writeHandler already installed port %x",port); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx ../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': ../../../src/hardware/hardware.cpp:122:37: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 122 | sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); @@ -2589,12 +2610,27 @@ | | | | int Bitu {aka long unsigned int} | %03ld -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o dbopl.o ../../../src/hardware/dbopl.cpp +../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': +../../../src/hardware/tandy_sound.cpp:230:48: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 230 | LOG_MSG("Tandy DAC: Read from unknown %X",port); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +../../../src/hardware/adlib.cpp: In member function 'void Adlib::Capture::CloseFile()': +../../../src/hardware/adlib.cpp:257:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 257 | var_write( &header.versionHigh, header.versionHigh ); + | ^~~~~~~~~~~~~~~~~~~ +../../../src/hardware/adlib.cpp:258:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 258 | var_write( &header.versionLow, header.versionLow ); + | ^~~~~~~~~~~~~~~~~~ +../../../src/hardware/adlib.cpp:259:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 259 | var_write( &header.commands, header.commands ); + | ^~~~~~~~~~~~~~~~ +../../../src/hardware/adlib.cpp:260:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 260 | var_write( &header.milliseconds, header.milliseconds ); + | ^~~~~~~~~~~~~~~~~~~~ rm -f libhardware.a ar cr libhardware.a adlib.o dma.o gameblaster.o hardware.o iohandler.o joystick.o keyboard.o memory.o mixer.o pcspeaker.o pic.o sblaster.o tandy_sound.o timer.o vga.o vga_attr.o vga_crtc.o vga_dac.o vga_draw.o vga_gfx.o vga_other.o vga_memory.o vga_misc.o vga_seq.o vga_xga.o vga_s3.o vga_tseng.o vga_paradise.o cmos.o disney.o gus.o mpu401.o ipx.o ipxserver.o dbopl.o ranlib libhardware.a @@ -2750,13 +2786,6 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/shell -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o shell_batch.o ../../../src/shell/shell_batch.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/shell -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o shell_cmds.o ../../../src/shell/shell_cmds.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/shell -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o shell_misc.o ../../../src/shell/shell_misc.cpp -../../../src/shell/shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)': -../../../src/shell/shell.cpp:391:39: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 391 | getcwd(buffer,CROSS_LEN); - | ~~~~~~^~~~~~~~~~~~~~~~~~ -../../../src/shell/shell.cpp:404:47: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 404 | getcwd(buffer,CROSS_LEN); - | ~~~~~~^~~~~~~~~~~~~~~~~~ ../../../src/shell/shell_cmds.cpp: In function 'void FormatNumber(Bitu, char*)': ../../../src/shell/shell_cmds.cpp:379:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 379 | sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb); @@ -2819,6 +2848,13 @@ | | Bitu {aka long unsigned int} | int | %ld +../../../src/shell/shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)': +../../../src/shell/shell.cpp:391:39: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 391 | getcwd(buffer,CROSS_LEN); + | ~~~~~~^~~~~~~~~~~~~~~~~~ +../../../src/shell/shell.cpp:404:47: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 404 | getcwd(buffer,CROSS_LEN); + | ~~~~~~^~~~~~~~~~~~~~~~~~ rm -f libshell.a ar cr libshell.a shell.o shell_batch.o shell_cmds.o shell_misc.o ranlib libshell.a @@ -2855,7 +2891,7 @@ make[3]: Leaving directory '/build/reproducible-path/dosbox-0.74-3/build-release' make[2]: Leaving directory '/build/reproducible-path/dosbox-0.74-3/build-release' dh_auto_build -Bbuild-debug - cd build-debug && make -j20 + cd build-debug && make -j42 make[2]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-debug' make all-recursive make[3]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-debug' @@ -2919,6 +2955,13 @@ | | | | int Bitu {aka long unsigned int} | %ld +../../../src/cpu/flags.cpp: In function 'Bit32u get_OF()': +../../../src/cpu/flags.cpp:429:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 429 | LOG(LOG_CPU,LOG_ERROR)("get_OF Unknown %d",lflags.type); + | ~^ ~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld ../../../src/cpu/callback.cpp: In function 'Bitu CALLBACK_SetupExtra(Bitu, Bitu, PhysPt, bool)': ../../../src/cpu/callback.cpp:435:54: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 435 | E_Exit("CALLBACK:Setup:Illegal type %d",type); @@ -2927,13 +2970,6 @@ | | Bitu {aka long unsigned int} | int | %ld -../../../src/cpu/flags.cpp: In function 'Bit32u get_OF()': -../../../src/cpu/flags.cpp:429:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 429 | LOG(LOG_CPU,LOG_ERROR)("get_OF Unknown %d",lflags.type); - | ~^ ~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld ../../../src/cpu/flags.cpp: In function 'Bitu FillFlags()': ../../../src/cpu/flags.cpp:877:62: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 877 | LOG(LOG_CPU,LOG_ERROR)("Unhandled flag type %d",lflags.type); @@ -2997,8 +3033,8 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lX -In file included from ../../../src/cpu/core_prefetch.cpp:264: -../../../src/cpu/core_normal/prefix_none.h: In function 'Bits CPU_Core_Prefetch_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:81: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1168 | LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); | ~~^ ~~~~~ @@ -3015,14 +3051,7 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -In file included from ../../../src/cpu/core_prefetch.cpp:265: -../../../src/cpu/core_normal/prefix_0f.h:156:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 156 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); - | ~^ ~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lu -In file included from ../../../src/cpu/core_normal.cpp:160: +In file included from ../../../src/cpu/core_simple.cpp:157: ../../../src/cpu/core_normal/prefix_0f.h:156:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 156 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); | ~^ ~~~~~ @@ -3035,18 +3064,6 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lu -../../../src/cpu/core_normal/prefix_0f.h:170:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 170 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR%u with non-register",which); - | ~^ ~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lu -../../../src/cpu/core_normal/prefix_0f.h:184:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 184 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); - | ~^ ~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lu ../../../src/cpu/core_normal/prefix_0f.h:184:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 184 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); | ~^ ~~~~~ @@ -3059,6 +3076,15 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lu +In file included from ../../../src/cpu/core_prefetch.cpp:264: +../../../src/cpu/core_normal/prefix_none.h: In function 'Bits CPU_Core_Prefetch_Run()': +../../../src/cpu/core_normal/prefix_none.h:1168:81: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1168 | LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); + | ~~^ ~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX ../../../src/cpu/core_normal/prefix_0f.h:208:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 208 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR%u with non-register",which); | ~^ ~~~~~ @@ -3071,58 +3097,68 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lu -../../../src/cpu/core_normal/prefix_0f.h:196:64: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 196 | LOG(LOG_CPU,LOG_ERROR)("MOV DR%u,XXX with non-register",which); - | ~^ ~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lu -../../../src/cpu/core_normal/prefix_0f.h:208:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 208 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR%u with non-register",which); +In file included from ../../../src/cpu/core_normal.cpp:160: +../../../src/cpu/core_normal/prefix_0f.h:156:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 156 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu -../../../src/cpu/core_normal/prefix_0f.h:222:64: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 222 | LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); - | ~^ ~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lu -In file included from ../../../src/cpu/core_simple.cpp:156: -../../../src/cpu/core_normal/prefix_none.h: In function 'Bits CPU_Core_Simple_Run()': -../../../src/cpu/core_normal/prefix_none.h:1168:81: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1168 | LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); - | ~~^ ~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX -In file included from ../../../src/cpu/core_simple.cpp:157: +../../../src/cpu/core_normal/prefix_0f.h:170:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 170 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR%u with non-register",which); + | ~^ ~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lu +In file included from ../../../src/cpu/core_prefetch.cpp:265: ../../../src/cpu/core_normal/prefix_0f.h:156:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 156 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu +../../../src/cpu/core_normal/prefix_0f.h:184:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 184 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); + | ~^ ~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lu ../../../src/cpu/core_normal/prefix_0f.h:170:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 170 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu +../../../src/cpu/core_normal/prefix_0f.h:196:64: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 196 | LOG(LOG_CPU,LOG_ERROR)("MOV DR%u,XXX with non-register",which); + | ~^ ~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lu ../../../src/cpu/core_normal/prefix_0f.h:184:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 184 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu +../../../src/cpu/core_normal/prefix_0f.h:208:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 208 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR%u with non-register",which); + | ~^ ~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lu ../../../src/cpu/core_normal/prefix_0f.h:196:64: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 196 | LOG(LOG_CPU,LOG_ERROR)("MOV DR%u,XXX with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu +../../../src/cpu/core_normal/prefix_0f.h:222:64: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 222 | LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); + | ~^ ~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lu ../../../src/cpu/core_normal/prefix_0f.h:208:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 208 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR%u with non-register",which); | ~^ ~~~~~ @@ -3135,7 +3171,7 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lu -In file included from ../../../src/cpu/core_prefetch.cpp:266: +In file included from ../../../src/cpu/core_simple.cpp:158: ../../../src/cpu/core_normal/prefix_66.h:712:84: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 712 | LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); | ~~^ ~~~~~ @@ -3143,7 +3179,7 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -In file included from ../../../src/cpu/core_prefetch.cpp:267: +In file included from ../../../src/cpu/core_simple.cpp:159: ../../../src/cpu/core_normal/prefix_66_0f.h:59:77: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 59 | LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); | ~~^ ~~~~~ @@ -3158,7 +3194,7 @@ | | Bitu {aka long unsigned int} | int | %ld -In file included from ../../../src/cpu/core_normal.cpp:161: +In file included from ../../../src/cpu/core_prefetch.cpp:266: ../../../src/cpu/core_normal/prefix_66.h:712:84: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 712 | LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); | ~~^ ~~~~~ @@ -3166,7 +3202,7 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -In file included from ../../../src/cpu/core_normal.cpp:162: +In file included from ../../../src/cpu/core_prefetch.cpp:267: ../../../src/cpu/core_normal/prefix_66_0f.h:59:77: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 59 | LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); | ~~^ ~~~~~ @@ -3174,14 +3210,7 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -../../../src/cpu/core_normal/prefix_66_0f.h:114:97: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 114 | LOG(LOG_CPU,LOG_ERROR)("Illegal group 7 RM subfunction %d",which); - | ~^ ~~~~~ - | | | - | | Bitu {aka long unsigned int} - | int - | %ld -In file included from ../../../src/cpu/core_simple.cpp:158: +In file included from ../../../src/cpu/core_normal.cpp:161: ../../../src/cpu/core_normal/prefix_66.h:712:84: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 712 | LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); | ~~^ ~~~~~ @@ -3189,7 +3218,7 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -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:77: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 59 | LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); | ~~^ ~~~~~ @@ -3204,6 +3233,13 @@ | | Bitu {aka long unsigned int} | int | %ld +../../../src/cpu/core_normal/prefix_66_0f.h:114:97: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 114 | LOG(LOG_CPU,LOG_ERROR)("Illegal group 7 RM subfunction %d",which); + | ~^ ~~~~~ + | | | + | | Bitu {aka long unsigned int} + | int + | %ld In file included from ../../../src/cpu/core_dynrec.cpp:135: ../../../src/cpu/core_dynrec/cache.h: In function 'void cache_closeblock()': ../../../src/cpu/core_dynrec/cache.h:503:100: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] @@ -3296,83 +3332,6 @@ | ~~~~~~~ | | | Bitu {aka long unsigned int} -../../../src/cpu/cpu.cpp: In function 'bool CPU_SwitchTask(Bitu, TSwitchType, Bitu)': -../../../src/cpu/cpu.cpp:348:59: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 348 | E_Exit("Illegal TSS for switch, selector=%x, switchtype=%x",new_tss_selector,tstype); - | ~^ ~~~~~~~~~~~~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/cpu/cpu.cpp:502:54: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 502 | E_Exit("Task switch CS Type %d",cs_desc.Type()); - | ~^ ~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/cpu/cpu.cpp: In function 'void CPU_Interrupt(Bitu, Bitu, Bitu)': -../../../src/cpu/cpu.cpp:724:107: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 724 | E_Exit("INT:Gate Selector points to illegal descriptor with type %x",cs_desc.Type()); - | ~^ ~~~~~~~~~~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/cpu/cpu.cpp:754:58: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 754 | E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num); - | ~^ ~~~~~~~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/cpu/cpu.cpp:754:69: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 754 | E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/cpu/cpu.cpp: In function 'void CPU_IRET(bool, Bitu)': -../../../src/cpu/cpu.cpp:901:63: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 901 | E_Exit("IRET:Illegal descriptor type %X",n_cs_desc.Type()); - | ~^ ~~~~~~~~~~~~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/cpu/cpu.cpp: In function 'void CPU_JMP(bool, Bitu, Bitu, Bitu)': -../../../src/cpu/cpu.cpp:1058:62: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1058 | E_Exit("JMP Illegal descriptor type %X",desc.Type()); - | ~^ ~~~~~~~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX -../../../src/cpu/cpu.cpp: In function 'void CPU_CALL(bool, Bitu, Bitu, Bitu)': -../../../src/cpu/cpu.cpp:1294:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1294 | E_Exit("CALL:Descriptor type %x unsupported",call.Type()); - | ~^ ~~~~~~~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/cpu/cpu.cpp: In function 'void CPU_RET(bool, Bitu, Bitu)': -../../../src/cpu/cpu.cpp:1352:75: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1352 | E_Exit("RET from illegal descriptor type %X",desc.Type()); - | ~^ ~~~~~~~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX -../../../src/cpu/cpu.cpp:1397:75: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1397 | E_Exit("RET from illegal descriptor type %X",desc.Type()); // or #GP(selector) - | ~^ ~~~~~~~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX -../../../src/cpu/cpu.cpp: In function 'bool CPU_LTR(Bitu)': -../../../src/cpu/cpu.cpp:1508:83: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1508 | if (!cpu_tss.SetSelector(selector)) E_Exit("LTR failed, selector=%X",selector); - | ~^ ~~~~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX In file included from ../../../src/cpu/core_dynrec/decoder.h:26, from ../../../src/cpu/core_dynrec.cpp:155: ../../../src/cpu/core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc1()': @@ -3651,6 +3610,83 @@ | | | | int Bitu {aka long unsigned int} | %ld +../../../src/cpu/cpu.cpp: In function 'bool CPU_SwitchTask(Bitu, TSwitchType, Bitu)': +../../../src/cpu/cpu.cpp:348:59: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 348 | E_Exit("Illegal TSS for switch, selector=%x, switchtype=%x",new_tss_selector,tstype); + | ~^ ~~~~~~~~~~~~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/cpu/cpu.cpp:502:54: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 502 | E_Exit("Task switch CS Type %d",cs_desc.Type()); + | ~^ ~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/cpu/cpu.cpp: In function 'void CPU_Interrupt(Bitu, Bitu, Bitu)': +../../../src/cpu/cpu.cpp:724:107: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 724 | E_Exit("INT:Gate Selector points to illegal descriptor with type %x",cs_desc.Type()); + | ~^ ~~~~~~~~~~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/cpu/cpu.cpp:754:58: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 754 | E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num); + | ~^ ~~~~~~~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/cpu/cpu.cpp:754:69: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 754 | E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/cpu/cpu.cpp: In function 'void CPU_IRET(bool, Bitu)': +../../../src/cpu/cpu.cpp:901:63: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 901 | E_Exit("IRET:Illegal descriptor type %X",n_cs_desc.Type()); + | ~^ ~~~~~~~~~~~~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/cpu/cpu.cpp: In function 'void CPU_JMP(bool, Bitu, Bitu, Bitu)': +../../../src/cpu/cpu.cpp:1058:62: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1058 | E_Exit("JMP Illegal descriptor type %X",desc.Type()); + | ~^ ~~~~~~~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +../../../src/cpu/cpu.cpp: In function 'void CPU_CALL(bool, Bitu, Bitu, Bitu)': +../../../src/cpu/cpu.cpp:1294:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1294 | E_Exit("CALL:Descriptor type %x unsupported",call.Type()); + | ~^ ~~~~~~~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/cpu/cpu.cpp: In function 'void CPU_RET(bool, Bitu, Bitu)': +../../../src/cpu/cpu.cpp:1352:75: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1352 | E_Exit("RET from illegal descriptor type %X",desc.Type()); + | ~^ ~~~~~~~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +../../../src/cpu/cpu.cpp:1397:75: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1397 | E_Exit("RET from illegal descriptor type %X",desc.Type()); // or #GP(selector) + | ~^ ~~~~~~~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +../../../src/cpu/cpu.cpp: In function 'bool CPU_LTR(Bitu)': +../../../src/cpu/cpu.cpp:1508:83: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1508 | if (!cpu_tss.SetSelector(selector)) E_Exit("LTR failed, selector=%X",selector); + | ~^ ~~~~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX rm -f libcpu.a ar cr libcpu.a callback.o cpu.o flags.o modrm.o core_full.o paging.o core_normal.o core_simple.o core_prefetch.o core_dyn_x86.o core_dynrec.o ranlib libcpu.a @@ -3954,6 +3990,8 @@ 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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o cdrom_ioctl_os2.o ../../../src/dos/cdrom_ioctl_os2.cpp ../../../src/dos/dos_ioctl.cpp: In function 'bool DOS_IOCTL()': ../../../src/dos/dos_ioctl.cpp:120:106: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 120 | LOG(LOG_IOCTL,LOG_NORMAL)("06:Used Get Input Status on regular file with handle %d",handle); @@ -3969,6 +4007,13 @@ | | Bitu {aka long unsigned int} | int | %ld +../../../src/dos/drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(CFileInfo*, CFileInfo*)': +../../../src/dos/drive_cache.cpp:517:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 517 | sprintf(buffer,"%d",info->shortNr); + | ~^ ~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld ../../../src/dos/dos_mscdex.cpp: In function 'Bit16u MSCDEX_IOCTL_Input(PhysPt, Bit8u)': ../../../src/dos/dos_mscdex.cpp:870:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 870 | MSCDEX_LOG("MSCDEX: IOCTL INPUT Subfunction %02X",ioctl_fct); @@ -3992,23 +4037,6 @@ | | Bitu {aka long unsigned int} | unsigned int | %02lX -../../../src/dos/drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(CFileInfo*, CFileInfo*)': -../../../src/dos/drive_cache.cpp:517:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 517 | sprintf(buffer,"%d",info->shortNr); - | ~^ ~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o cdrom_ioctl_os2.o ../../../src/dos/cdrom_ioctl_os2.cpp -../../../src/dos/dos_programs.cpp: In member function 'virtual void KEYB::Run()': -../../../src/dos/dos_programs.cpp:1404:94: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1404 | LOG(LOG_DOSMISC,LOG_ERROR)("KEYB:Invalid returncode %x",keyb_error); - | ~^ ~~~~~~~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx ../../../src/dos/dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)': ../../../src/dos/dos_keyboard_layout.cpp:179:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 179 | fread(rbuf, sizeof(Bit8u), 2, tempfile); @@ -4032,6 +4060,14 @@ ../../../src/dos/dos_keyboard_layout.cpp:806:70: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 806 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_programs.cpp: In member function 'virtual void KEYB::Run()': +../../../src/dos/dos_programs.cpp:1404:94: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1404 | LOG(LOG_DOSMISC,LOG_ERROR)("KEYB:Invalid returncode %x",keyb_error); + | ~^ ~~~~~~~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx ../../../src/dos/dos_programs.cpp: In member function 'virtual void BOOT::Run()': ../../../src/dos/dos_programs.cpp:698:46: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 698 | fread(rombuf, 1, rombytesize_1-0x200, usefile_1); @@ -4354,62 +4390,6 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/gui -I../.. -I../../../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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o render_scalers.o ../../../src/gui/render_scalers.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/gui -I../.. -I../../../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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o midi.o ../../../src/gui/midi.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/gui -I../.. -I../../../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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o sdl_gui.o ../../../src/gui/sdl_gui.cpp -../../../src/gui/sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': -../../../src/gui/sdlmain.cpp:294:84: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] - 294 | sprintf(title,"DOSBox %s, Cpu speed: max %3d%% cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); - | ~~^ ~~~~~~~~~~~~~~~~~~ - | | | - | int Bits {aka long int} - | %2ld -../../../src/gui/sdlmain.cpp:296:78: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] - 296 | sprintf(title,"DOSBox %s, Cpu speed: %8d cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); - | ~~^ ~~~~~~~~~~~~~~~~~~ - | | | - | int Bits {aka long int} - | %2ld -../../../src/gui/sdlmain.cpp: In function 'Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)': -../../../src/gui/sdlmain.cpp:536:109: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 536 | if (sdl.surface == NULL) E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",sdl.desktop.full.width,sdl.desktop.full.height,bpp,SDL_GetError()); - | ~^ ~~~ - | | | - | int Bitu {aka long unsigned int} - | %li -../../../src/gui/sdlmain.cpp:543:86: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 543 | E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - | ~^ ~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %li -../../../src/gui/sdlmain.cpp:543:89: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 543 | E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - | ~^ ~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %li -../../../src/gui/sdlmain.cpp:543:92: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 543 | E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - | ~^ ~~~ - | | | - | int Bitu {aka long unsigned int} - | %li -../../../src/gui/sdlmain.cpp:567:76: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 567 | E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - | ~^ ~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %li -../../../src/gui/sdlmain.cpp:567:79: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 567 | E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - | ~^ ~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %li -../../../src/gui/sdlmain.cpp:567:82: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 567 | E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); - | ~^ ~~~ - | | | - | int Bitu {aka long unsigned int} - | %li ../../../src/gui/sdl_mapper.cpp: In member function 'virtual void CJAxisBind::ConfigName(char*)': ../../../src/gui/sdl_mapper.cpp:544:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 544 | sprintf(buf,"%s axis %d %d",group->ConfigStart(),axis,positive ? 1 : 0); @@ -4576,6 +4556,62 @@ | | | | int Bitu {aka long unsigned int} | %ld +../../../src/gui/sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': +../../../src/gui/sdlmain.cpp:294:84: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] + 294 | sprintf(title,"DOSBox %s, Cpu speed: max %3d%% cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); + | ~~^ ~~~~~~~~~~~~~~~~~~ + | | | + | int Bits {aka long int} + | %2ld +../../../src/gui/sdlmain.cpp:296:78: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] + 296 | sprintf(title,"DOSBox %s, Cpu speed: %8d cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); + | ~~^ ~~~~~~~~~~~~~~~~~~ + | | | + | int Bits {aka long int} + | %2ld +../../../src/gui/sdlmain.cpp: In function 'Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)': +../../../src/gui/sdlmain.cpp:536:109: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 536 | if (sdl.surface == NULL) E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",sdl.desktop.full.width,sdl.desktop.full.height,bpp,SDL_GetError()); + | ~^ ~~~ + | | | + | int Bitu {aka long unsigned int} + | %li +../../../src/gui/sdlmain.cpp:543:86: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 543 | E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + | ~^ ~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %li +../../../src/gui/sdlmain.cpp:543:89: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 543 | E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + | ~^ ~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %li +../../../src/gui/sdlmain.cpp:543:92: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 543 | E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + | ~^ ~~~ + | | | + | int Bitu {aka long unsigned int} + | %li +../../../src/gui/sdlmain.cpp:567:76: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 567 | E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + | ~^ ~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %li +../../../src/gui/sdlmain.cpp:567:79: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 567 | E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + | ~^ ~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %li +../../../src/gui/sdlmain.cpp:567:82: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 567 | E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); + | ~^ ~~~ + | | | + | int Bitu {aka long unsigned int} + | %li ../../../src/gui/render.cpp: In function 'void RENDER_Reset()': ../../../src/gui/render.cpp:484:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 484 | E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); @@ -4583,6 +4619,13 @@ | | | | int Bitu {aka long unsigned int} | %ld +../../../src/gui/midi.cpp: In function 'void MIDI_RawOutByte(Bit8u)': +../../../src/gui/midi.cpp:130:70: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 130 | LOG(LOG_ALL,LOG_NORMAL)("Sysex message size %d",midi.sysex.used); + | ~^ ~~~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld ../../../src/gui/render.cpp: In function 'void IncreaseFrameSkip(bool)': ../../../src/gui/render.cpp:543:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 543 | LOG_MSG("Frame Skip at %d",render.frameskip.max); @@ -4597,13 +4640,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../src/gui/midi.cpp: In function 'void MIDI_RawOutByte(Bit8u)': -../../../src/gui/midi.cpp:130:70: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 130 | LOG(LOG_ALL,LOG_NORMAL)("Sysex message size %d",midi.sysex.used); - | ~^ ~~~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld In file included from ../../../src/gui/midi.cpp:91: ../../../src/gui/midi_oss.h: In member function 'virtual void MidiHandler_oss::PlaySysex(Bit8u*, Bitu)': ../../../src/gui/midi_oss.h:68:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -4670,77 +4706,6 @@ 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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o nullmodem.o ../../../../src/hardware/serialport/nullmodem.cpp -../../../../src/hardware/serialport/nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': -../../../../src/hardware/serialport/nullmodem.cpp:108:65: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 108 | LOG_MSG("Serial%d: Connection failed.",COMNUMBER); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:121:57: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 121 | LOG_MSG("Serial%d: Connected to %s",COMNUMBER,peernamebuf); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:136:57: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 136 | LOG_MSG("Serial%d: -socket start parameter missing.",COMNUMBER); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:141:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 141 | LOG_MSG("Serial%d: socket inheritance not supported on this platform.", - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:163:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 163 | LOG_MSG("Serial%d: Waiting for DTR...",COMNUMBER); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:170:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 170 | LOG_MSG("Serial%d: Nullmodem server waiting for connection on port %d...", - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::ClientConnect()': -../../../../src/hardware/serialport/nullmodem.cpp:226:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 226 | LOG_MSG("Serial%d: Connection failed.",idnumber+1); - | ~^ ~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../../src/hardware/serialport/nullmodem.cpp:236:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 236 | LOG_MSG("Serial%d: Connected to %s",idnumber+1,peernamebuf); - | ~^ ~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::Disconnect()': -../../../../src/hardware/serialport/nullmodem.cpp:244:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 244 | LOG_MSG("Serial%d: Disconnected.",COMNUMBER); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'virtual void CNullModem::handleUpperEvent(Bit16u)': -../../../../src/hardware/serialport/nullmodem.cpp:388:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 388 | LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': -../../../../src/hardware/serialport/nullmodem.cpp:462:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 462 | LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); - | ~^ - | | - | int - | %ld ../../../../src/hardware/serialport/directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': ../../../../src/hardware/serialport/directserial.cpp:46:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 46 | LOG_MSG ("Serial%d: Opening %s", COMNUMBER, tmpstring.c_str()); @@ -4761,6 +4726,15 @@ | | | int | %ld +In file included from ../../../../src/hardware/serialport/softmodem.cpp:31: +../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': +../../../../src/hardware/serialport/softmodem.h:95:75: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 95 | LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lu ../../../../src/hardware/serialport/directserial.cpp:277:73: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 277 | LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", | ~^ @@ -4771,22 +4745,6 @@ | ~~~~~~~~ | | | Bitu {aka long unsigned int} -../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': -../../../../src/hardware/serialport/directserial.cpp:294:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 294 | LOG_MSG("Serial%d: COM port error: write failed!", COMNUMBER); - | ~^ - | | - | int - | %ld -In file included from ../../../../src/hardware/serialport/softmodem.cpp:31: -../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': -../../../../src/hardware/serialport/softmodem.h:95:75: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 95 | LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lu ../../../../src/hardware/serialport/softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': ../../../../src/hardware/serialport/softmodem.h:129:76: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 129 | LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); @@ -4794,6 +4752,13 @@ | | | | int Bitu {aka long unsigned int} | %ld +../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': +../../../../src/hardware/serialport/directserial.cpp:294:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 294 | LOG_MSG("Serial%d: COM port error: write failed!", COMNUMBER); + | ~^ + | | + | int + | %ld ../../../../src/hardware/serialport/softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()': ../../../../src/hardware/serialport/softmodem.cpp:280:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 280 | LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); @@ -4936,6 +4901,77 @@ | | | | int Bitu {aka long unsigned int} | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': +../../../../src/hardware/serialport/nullmodem.cpp:108:65: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 108 | LOG_MSG("Serial%d: Connection failed.",COMNUMBER); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:121:57: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 121 | LOG_MSG("Serial%d: Connected to %s",COMNUMBER,peernamebuf); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:136:57: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 136 | LOG_MSG("Serial%d: -socket start parameter missing.",COMNUMBER); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:141:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 141 | LOG_MSG("Serial%d: socket inheritance not supported on this platform.", + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:163:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 163 | LOG_MSG("Serial%d: Waiting for DTR...",COMNUMBER); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:170:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 170 | LOG_MSG("Serial%d: Nullmodem server waiting for connection on port %d...", + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::ClientConnect()': +../../../../src/hardware/serialport/nullmodem.cpp:226:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 226 | LOG_MSG("Serial%d: Connection failed.",idnumber+1); + | ~^ ~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../../src/hardware/serialport/nullmodem.cpp:236:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 236 | LOG_MSG("Serial%d: Connected to %s",idnumber+1,peernamebuf); + | ~^ ~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'void CNullModem::Disconnect()': +../../../../src/hardware/serialport/nullmodem.cpp:244:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 244 | LOG_MSG("Serial%d: Disconnected.",COMNUMBER); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'virtual void CNullModem::handleUpperEvent(Bit16u)': +../../../../src/hardware/serialport/nullmodem.cpp:388:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 388 | LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': +../../../../src/hardware/serialport/nullmodem.cpp:462:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 462 | LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); + | ~^ + | | + | int + | %ld rm -f libserial.a ar cr libserial.a directserial.o libserial.o serialdummy.o serialport.o softmodem.o misc_util.o nullmodem.o ranlib libserial.a @@ -4965,34 +5001,24 @@ 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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o vga_attr.o ../../../src/hardware/vga_attr.cpp -../../../src/hardware/keyboard.cpp: In function 'void write_p60(Bitu, Bitu, Bitu)': -../../../src/hardware/keyboard.cpp:146:76: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 146 | LOG(LOG_KEYBOARD,LOG_ERROR)("60:Unhandled command %X",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX -../../../src/hardware/keyboard.cpp: In function 'void write_p64(Bitu, Bitu, Bitu)': -../../../src/hardware/keyboard.cpp:211:70: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 211 | LOG(LOG_KEYBOARD,LOG_ERROR)("Port 64 write with val %d",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | int - | %ld 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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o vga_gfx.o ../../../src/hardware/vga_gfx.cpp -../../../src/hardware/vga_dac.cpp: In function 'void write_p3c6(Bitu, Bitu, Bitu)': -../../../src/hardware/vga_dac.cpp:70:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 70 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:DCA:Pel Mask set to %X", val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o vga_tseng.o ../../../src/hardware/vga_tseng.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o ipxserver.o ../../../src/hardware/ipxserver.cpp ../../../src/hardware/vga_gfx.cpp: In function 'void write_p3cf(Bitu, Bitu, Bitu)': ../../../src/hardware/vga_gfx.cpp:185:70: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 185 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:3CF:Write %2X to illegal index 9",val); @@ -5013,6 +5039,55 @@ | | | | unsigned int Bitu {aka long unsigned int} | %4lX +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o dbopl.o ../../../src/hardware/dbopl.cpp +../../../src/hardware/vga_s3.cpp: In function 'void SVGA_S3_WriteCRTC(Bitu, Bitu, Bitu)': +../../../src/hardware/vga_s3.cpp:349:83: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 349 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:CRTC:Write to illegal index %2X", reg ); + | ~~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX +../../../src/hardware/vga_s3.cpp: In function 'void SVGA_S3_WriteSEQ(Bitu, Bitu, Bitu)': +../../../src/hardware/vga_s3.cpp:468:82: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 468 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:SEQ:Write to illegal index %2X", reg ); + | ~~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX +../../../src/hardware/vga_s3.cpp: In function 'Bitu SVGA_S3_ReadSEQ(Bitu, Bitu)': +../../../src/hardware/vga_s3.cpp:493:83: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 493 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:SEQ:Read from illegal index %2X", reg); + | ~~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX +../../../src/hardware/vga_dac.cpp: In function 'void write_p3c6(Bitu, Bitu, Bitu)': +../../../src/hardware/vga_dac.cpp:70:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 70 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:DCA:Pel Mask set to %X", val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +../../../src/hardware/keyboard.cpp: In function 'void write_p60(Bitu, Bitu, Bitu)': +../../../src/hardware/keyboard.cpp:146:76: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 146 | LOG(LOG_KEYBOARD,LOG_ERROR)("60:Unhandled command %X",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +../../../src/hardware/keyboard.cpp: In function 'void write_p64(Bitu, Bitu, Bitu)': +../../../src/hardware/keyboard.cpp:211:70: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 211 | LOG(LOG_KEYBOARD,LOG_ERROR)("Port 64 write with val %d",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | int + | %ld ../../../src/hardware/vga_draw.cpp: In function 'void VGA_SetBlinking(Bitu)': ../../../src/hardware/vga_draw.cpp:698:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 698 | LOG(LOG_VGA,LOG_NORMAL)("Blinking %d",enabled); @@ -5189,59 +5264,12 @@ | | | | int Bitu {aka long unsigned int} | %ld -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o vga_other.o ../../../src/hardware/vga_other.cpp ../../../src/hardware/vga_draw.cpp:1486:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1486 | LOG(LOG_VGA,LOG_NORMAL)("Width %d, Height %d, fps %f",width,height,fps); | ~^ ~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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:83: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 349 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:CRTC:Write to illegal index %2X", reg ); - | ~~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX -../../../src/hardware/vga_s3.cpp: In function 'void SVGA_S3_WriteSEQ(Bitu, Bitu, Bitu)': -../../../src/hardware/vga_s3.cpp:468:82: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 468 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:SEQ:Write to illegal index %2X", reg ); - | ~~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX -../../../src/hardware/vga_s3.cpp: In function 'Bitu SVGA_S3_ReadSEQ(Bitu, Bitu)': -../../../src/hardware/vga_s3.cpp:493:83: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 493 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:SEQ:Read from illegal index %2X", reg); - | ~~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX -../../../src/hardware/dma.cpp: In member function 'Bitu DmaController::ReadControllerReg(Bitu, Bitu)': -../../../src/hardware/dma.cpp:252:84: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 252 | LOG(LOG_DMACONTROL,LOG_NORMAL)("Trying to read undefined DMA port %x",reg); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o vga_paradise.o ../../../src/hardware/vga_paradise.cpp -../../../src/hardware/vga_other.cpp: In function 'void write_crtc_data_other(Bitu, Bitu, Bitu)': -../../../src/hardware/vga_other.cpp:109:60: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 109 | LOG(LOG_VGAMISC,LOG_NORMAL)("MC6845:Write %X to illegal index %x",val,vga.other.index); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX ../../../src/hardware/vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)': ../../../src/hardware/vga_xga.cpp:108:72: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 108 | LOG_MSG("XGA: Unhandled multifunction command %x", regselect); @@ -5301,13 +5329,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writeb(PhysPt, Bitu)': -../../../src/hardware/memory.cpp:111:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 111 | LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx ../../../src/hardware/vga_xga.cpp: In function 'void XGA_Write(Bitu, Bitu, Bitu)': ../../../src/hardware/vga_xga.cpp:1167:59: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1167 | else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); @@ -5327,6 +5348,13 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lx +../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writeb(PhysPt, Bitu)': +../../../src/hardware/memory.cpp:111:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 111 | LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx ../../../src/hardware/memory.cpp: In member function 'virtual void ROMPageHandler::writew(PhysPt, Bitu)': ../../../src/hardware/memory.cpp:114:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 114 | LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); @@ -5348,57 +5376,14 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../src/hardware/pic.cpp: In function 'void write_command(Bitu, Bitu, Bitu)': -../../../src/hardware/pic.cpp:104:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 104 | LOG(LOG_PIC,LOG_NORMAL)("port %X : special mask %s",port,(pic->special)?"ON":"OFF"); - | ~^ ~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/hardware/pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)': -../../../src/hardware/pic.cpp:152:51: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 152 | LOG(LOG_PIC,LOG_NORMAL)("%d mask %X",port==0x21 ? 0 : 1,val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/hardware/pic.cpp:180:58: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 180 | LOG(LOG_PIC,LOG_NORMAL)("%d:Base vector %X",port==0x21 ? 0 : 1,val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/hardware/pic.cpp:188:52: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 188 | LOG(LOG_PIC,LOG_NORMAL)("%d:ICW 3 %X",port==0x21 ? 0 : 1,val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/hardware/pic.cpp:202:52: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 202 | LOG(LOG_PIC,LOG_NORMAL)("%d:ICW 4 %X",port==0x21 ? 0 : 1,val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/hardware/pic.cpp:204:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 204 | if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/hardware/pic.cpp:205:56: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 205 | if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val); - | ~^ ~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -../../../src/hardware/pic.cpp:210:52: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 210 | LOG(LOG_PIC,LOG_NORMAL)("ICW HUH? %X",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX +../../../src/hardware/dma.cpp: In member function 'Bitu DmaController::ReadControllerReg(Bitu, Bitu)': +../../../src/hardware/dma.cpp:252:84: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 252 | LOG(LOG_DMACONTROL,LOG_NORMAL)("Trying to read undefined DMA port %x",reg); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx ../../../src/hardware/iohandler.cpp: In function 'Bitu IO_ReadDefault(Bitu, Bitu)': ../../../src/hardware/iohandler.cpp:44:57: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 44 | LOG(LOG_IO,LOG_WARN)("Read from port %04X",port); @@ -5437,6 +5422,13 @@ | | Bitu {aka long unsigned int} | unsigned int | %lx +../../../src/hardware/vga_other.cpp: In function 'void write_crtc_data_other(Bitu, Bitu, Bitu)': +../../../src/hardware/vga_other.cpp:109:60: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 109 | LOG(LOG_VGAMISC,LOG_NORMAL)("MC6845:Write %X to illegal index %x",val,vga.other.index); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX ../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': ../../../src/hardware/hardware.cpp:122:37: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 122 | sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); @@ -5444,7 +5436,14 @@ | | | | int Bitu {aka long unsigned int} | %03ld -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o cmos.o ../../../src/hardware/cmos.cpp +../../../src/hardware/disney.cpp: In function 'void disney_write(Bitu, Bitu, Bitu)': +../../../src/hardware/disney.cpp:206:64: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 206 | LOG(LOG_MISC,LOG_NORMAL)("DISNEY:Status write %x",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx ../../../src/hardware/pcspeaker.cpp: In function 'void PCSPEAKER_SetCounter(Bitu, Bitu)': ../../../src/hardware/pcspeaker.cpp:213:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 213 | LOG_MSG("Unhandled speaker mode %d",mode); @@ -5453,21 +5452,44 @@ | | Bitu {aka long unsigned int} | int | %ld -../../../src/hardware/timer.cpp: In function 'void counter_latch(Bitu)': -../../../src/hardware/timer.cpp:185:78: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 185 | LOG(LOG_PIT,LOG_ERROR)("Illegal Mode %d for reading counter %d",p->mode,counter); - | ~^ ~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': -../../../src/hardware/tandy_sound.cpp:230:48: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 230 | LOG_MSG("Tandy DAC: Read from unknown %X",port); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX +../../../src/hardware/mpu401.cpp: In function 'void MPU401_WriteCommand(Bitu, Bitu, Bitu)': +../../../src/hardware/mpu401.cpp:128:93: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 128 | if (val&0x20) LOG(LOG_MISC,LOG_ERROR)("MPU-401:Unhandled Recording Command %x",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lx +../../../src/hardware/mpu401.cpp:242:66: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 242 | LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Reset %X",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +../../../src/hardware/mpu401.cpp:251:74: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 251 | LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Set UART mode %X",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +../../../src/hardware/vga_paradise.cpp: In function 'void write_p3cf_pvga1a(Bitu, Bitu, Bitu)': +../../../src/hardware/vga_paradise.cpp:107:86: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 107 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Write to illegal index %2X", reg); + | ~~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX +../../../src/hardware/vga_paradise.cpp: In function 'Bitu read_p3cf_pvga1a(Bitu, Bitu)': +../../../src/hardware/vga_paradise.cpp:132:87: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 132 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Read from illegal index %2X", reg); + | ~~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %2lX ../../../src/hardware/vga_tseng.cpp: In function 'void write_p3d5_et4k(Bitu, Bitu, Bitu)': ../../../src/hardware/vga_tseng.cpp:175:85: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 175 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:CRTC:ET4K:Write to illegal index %2X", reg); @@ -5556,6 +5578,10 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX +../../../src/hardware/adlib.cpp: In member function 'void Adlib::Capture::CloseFile()': +../../../src/hardware/adlib.cpp:257:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 257 | var_write( &header.versionHigh, header.versionHigh ); + | ^~~~~~~~~~~~~~~~~~~ ../../../src/hardware/vga_tseng.cpp: In function 'Bitu read_p3c1_et3k(Bitu, Bitu)': ../../../src/hardware/vga_tseng.cpp:660:86: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 660 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:ET3K:Read from illegal index %2X", reg); @@ -5564,26 +5590,6 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -../../../src/hardware/vga_paradise.cpp: In function 'void write_p3cf_pvga1a(Bitu, Bitu, Bitu)': -../../../src/hardware/vga_paradise.cpp:107:86: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 107 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Write to illegal index %2X", reg); - | ~~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX -../../../src/hardware/vga_paradise.cpp: In function 'Bitu read_p3cf_pvga1a(Bitu, Bitu)': -../../../src/hardware/vga_paradise.cpp:132:87: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 132 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Read from illegal index %2X", reg); - | ~~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %2lX -../../../src/hardware/adlib.cpp: In member function 'void Adlib::Capture::CloseFile()': -../../../src/hardware/adlib.cpp:257:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 257 | var_write( &header.versionHigh, header.versionHigh ); - | ^~~~~~~~~~~~~~~~~~~ ../../../src/hardware/adlib.cpp:258:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 258 | var_write( &header.versionLow, header.versionLow ); | ^~~~~~~~~~~~~~~~~~ @@ -5593,8 +5599,72 @@ ../../../src/hardware/adlib.cpp:260:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 260 | var_write( &header.milliseconds, header.milliseconds ); | ^~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o gus.o ../../../src/hardware/gus.cpp +../../../src/hardware/tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': +../../../src/hardware/tandy_sound.cpp:230:48: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 230 | LOG_MSG("Tandy DAC: Read from unknown %X",port); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +../../../src/hardware/pic.cpp: In function 'void write_command(Bitu, Bitu, Bitu)': +../../../src/hardware/pic.cpp:104:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 104 | LOG(LOG_PIC,LOG_NORMAL)("port %X : special mask %s",port,(pic->special)?"ON":"OFF"); + | ~^ ~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/hardware/pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)': +../../../src/hardware/pic.cpp:152:51: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 152 | LOG(LOG_PIC,LOG_NORMAL)("%d mask %X",port==0x21 ? 0 : 1,val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/hardware/pic.cpp:180:58: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 180 | LOG(LOG_PIC,LOG_NORMAL)("%d:Base vector %X",port==0x21 ? 0 : 1,val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/hardware/pic.cpp:188:52: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 188 | LOG(LOG_PIC,LOG_NORMAL)("%d:ICW 3 %X",port==0x21 ? 0 : 1,val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/hardware/pic.cpp:202:52: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 202 | LOG(LOG_PIC,LOG_NORMAL)("%d:ICW 4 %X",port==0x21 ? 0 : 1,val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../src/hardware/pic.cpp:204:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 204 | if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/hardware/pic.cpp:205:56: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 205 | if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val); + | ~^ ~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx +../../../src/hardware/pic.cpp:210:52: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 210 | LOG(LOG_PIC,LOG_NORMAL)("ICW HUH? %X",val); + | ~^ ~~~ + | | | + | | Bitu {aka long unsigned int} + | unsigned int + | %lX +../../../src/hardware/timer.cpp: In function 'void counter_latch(Bitu)': +../../../src/hardware/timer.cpp:185:78: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 185 | LOG(LOG_PIT,LOG_ERROR)("Illegal Mode %d for reading counter %d",p->mode,counter); + | ~^ ~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld ../../../src/hardware/sblaster.cpp: In function 'void DSP_DoDMATransfer(DMA_MODES, Bitu, bool)': ../../../src/hardware/sblaster.cpp:636:61: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 636 | LOG(LOG_SB,LOG_NORMAL)("DMA Transfer:%s %s %s freq %d rate %d size %d", @@ -5652,40 +5722,6 @@ | | Bitu {aka long unsigned int} | unsigned int | %4lX -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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:64: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 206 | LOG(LOG_MISC,LOG_NORMAL)("DISNEY:Status write %x",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx -../../../src/hardware/mpu401.cpp: In function 'void MPU401_WriteCommand(Bitu, Bitu, Bitu)': -../../../src/hardware/mpu401.cpp:128:93: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 128 | if (val&0x20) LOG(LOG_MISC,LOG_ERROR)("MPU-401:Unhandled Recording Command %x",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lx -../../../src/hardware/mpu401.cpp:242:66: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 242 | LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Reset %X",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX -../../../src/hardware/mpu401.cpp:251:74: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 251 | LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Set UART mode %X",val); - | ~^ ~~~ - | | | - | | Bitu {aka long unsigned int} - | unsigned int - | %lX rm -f libhardware.a ar cr libhardware.a adlib.o dma.o gameblaster.o hardware.o iohandler.o joystick.o keyboard.o memory.o mixer.o pcspeaker.o pic.o sblaster.o tandy_sound.o timer.o vga.o vga_attr.o vga_crtc.o vga_dac.o vga_draw.o vga_gfx.o vga_other.o vga_memory.o vga_misc.o vga_seq.o vga_xga.o vga_s3.o vga_tseng.o vga_paradise.o cmos.o disney.o gus.o mpu401.o ipx.o ipxserver.o dbopl.o ranlib libhardware.a @@ -5722,9 +5758,6 @@ 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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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:73: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 236 | LOG(LOG_INT10,LOG_ERROR)("EGA RIL range read with port %x called",port); @@ -5739,7 +5772,6 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lx -g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o bios_keyboard.o ../../../src/ints/bios_keyboard.cpp ../../../src/ints/int10_misc.cpp: In function 'void INT10_EGA_RIL_WriteRegisterRange(Bit8u, Bit8u, Bit16u, PhysPt)': ../../../src/ints/int10_misc.cpp:255:81: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 255 | LOG(LOG_INT10,LOG_ERROR)("EGA RIL range write called with port %x",port); @@ -5792,45 +5824,10 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lx -../../../src/ints/bios_disk.cpp: In function 'void swapInDisks()': -../../../src/ints/bios_disk.cpp:109:47: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bits' {aka 'long int'} [-Wformat=] - 109 | LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname); - | ~^ ~~~~~~~~~ - | | | - | int Bits {aka long int} - | %ld -../../../src/ints/bios_disk.cpp:109:73: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bits' {aka 'long int'} [-Wformat=] - 109 | LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname); - | ~^ ~~~~~~~ - | | | - | int Bits {aka long int} - | %ld -../../../src/ints/bios_disk.cpp: In function 'bool driveInactive(Bitu)': -../../../src/ints/bios_disk.cpp:280:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 280 | LOG(LOG_BIOS,LOG_ERROR)("Disk %d non-existant", driveNum); - | ~^ ~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/ints/bios_disk.cpp:286:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 286 | LOG(LOG_BIOS,LOG_ERROR)("Disk %d not active", driveNum); - | ~^ ~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/ints/bios_disk.cpp:292:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 292 | LOG(LOG_BIOS,LOG_ERROR)("Disk %d not active", driveNum); - | ~^ ~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -../../../src/ints/bios_disk.cpp: In function 'Bitu INT13_DiskHandler()': -../../../src/ints/bios_disk.cpp:486:92: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 486 | LOG(LOG_BIOS,LOG_ERROR)("INT13: Function %x called on drive %x (dos drive %d)", reg_ah, reg_dl, drivenum); - | ~^ ~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld +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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o bios_keyboard.o ../../../src/ints/bios_keyboard.cpp ../../../src/ints/int10_vesa.cpp: In function 'Bit8u VESA_GetSVGAModeInformation(Bit16u, Bit16u, Bit16u)': ../../../src/ints/int10_vesa.cpp:147:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 147 | var_write(&minfo.BytesPerScanLine,mblock->swidth/8); @@ -5889,6 +5886,45 @@ ../../../src/ints/int10_vesa.cpp:257:42: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 257 | if (!int10.vesa_nolfb) var_write(&minfo.PhysBasePtr,S3_LFB_BASE); | ^~~~~~~~~~~~~~~~~~ +../../../src/ints/bios_disk.cpp: In function 'void swapInDisks()': +../../../src/ints/bios_disk.cpp:109:47: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bits' {aka 'long int'} [-Wformat=] + 109 | LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname); + | ~^ ~~~~~~~~~ + | | | + | int Bits {aka long int} + | %ld +../../../src/ints/bios_disk.cpp:109:73: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bits' {aka 'long int'} [-Wformat=] + 109 | LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname); + | ~^ ~~~~~~~ + | | | + | int Bits {aka long int} + | %ld +../../../src/ints/bios_disk.cpp: In function 'bool driveInactive(Bitu)': +../../../src/ints/bios_disk.cpp:280:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 280 | LOG(LOG_BIOS,LOG_ERROR)("Disk %d non-existant", driveNum); + | ~^ ~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/ints/bios_disk.cpp:286:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 286 | LOG(LOG_BIOS,LOG_ERROR)("Disk %d not active", driveNum); + | ~^ ~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/ints/bios_disk.cpp:292:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 292 | LOG(LOG_BIOS,LOG_ERROR)("Disk %d not active", driveNum); + | ~^ ~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +../../../src/ints/bios_disk.cpp: In function 'Bitu INT13_DiskHandler()': +../../../src/ints/bios_disk.cpp:486:92: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 486 | LOG(LOG_BIOS,LOG_ERROR)("INT13: Function %x called on drive %x (dos drive %d)", reg_ah, reg_dl, drivenum); + | ~^ ~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld ../../../src/ints/bios_disk.cpp: In member function 'Bit8u imageDisk::Read_AbsoluteSector(Bit32u, void*)': ../../../src/ints/bios_disk.cpp:154:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | fread(data, 1, sector_size, diskimg); @@ -5933,13 +5969,6 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/shell -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o shell_batch.o ../../../src/shell/shell_batch.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/shell -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o shell_cmds.o ../../../src/shell/shell_cmds.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/shell -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/reproducible-path/dosbox-0.74-3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields -c -o shell_misc.o ../../../src/shell/shell_misc.cpp -../../../src/shell/shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)': -../../../src/shell/shell.cpp:391:39: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 391 | getcwd(buffer,CROSS_LEN); - | ~~~~~~^~~~~~~~~~~~~~~~~~ -../../../src/shell/shell.cpp:404:47: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 404 | getcwd(buffer,CROSS_LEN); - | ~~~~~~^~~~~~~~~~~~~~~~~~ ../../../src/shell/shell_cmds.cpp: In function 'void FormatNumber(Bitu, char*)': ../../../src/shell/shell_cmds.cpp:379:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 379 | sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb); @@ -6002,6 +6031,13 @@ | | Bitu {aka long unsigned int} | int | %ld +../../../src/shell/shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)': +../../../src/shell/shell.cpp:391:39: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 391 | getcwd(buffer,CROSS_LEN); + | ~~~~~~^~~~~~~~~~~~~~~~~~ +../../../src/shell/shell.cpp:404:47: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 404 | getcwd(buffer,CROSS_LEN); + | ~~~~~~^~~~~~~~~~~~~~~~~~ rm -f libshell.a ar cr libshell.a shell.o shell_batch.o shell_cmds.o shell_misc.o ranlib libshell.a @@ -6043,7 +6079,7 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/dosbox-0.74-3' dh_auto_install -Bbuild-debug - cd build-debug && make -j20 install DESTDIR=/build/reproducible-path/dosbox-0.74-3/debian/tmp AM_UPDATE_INFO_DIR=no + cd build-debug && make -j42 install DESTDIR=/build/reproducible-path/dosbox-0.74-3/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-debug' Making install in src make[3]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-debug/src' @@ -6197,8 +6233,8 @@ make[4]: Leaving directory '/build/reproducible-path/dosbox-0.74-3/build-debug/src/platform' make[4]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-debug/src' make[5]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-debug/src' - /usr/bin/mkdir -p '/build/reproducible-path/dosbox-0.74-3/debian/tmp/usr/bin' make[5]: Nothing to be done for 'install-data-am'. + /usr/bin/mkdir -p '/build/reproducible-path/dosbox-0.74-3/debian/tmp/usr/bin' /usr/bin/install -c dosbox '/build/reproducible-path/dosbox-0.74-3/debian/tmp/usr/bin' make[5]: Leaving directory '/build/reproducible-path/dosbox-0.74-3/build-debug/src' make[4]: Leaving directory '/build/reproducible-path/dosbox-0.74-3/build-debug/src' @@ -6234,7 +6270,7 @@ make[2]: Leaving directory '/build/reproducible-path/dosbox-0.74-3/build-debug' mv debian/tmp/usr/bin/dosbox debian/tmp/usr/bin/dosbox-debug dh_auto_install -Bbuild-release - cd build-release && make -j20 install DESTDIR=/build/reproducible-path/dosbox-0.74-3/debian/tmp AM_UPDATE_INFO_DIR=no + cd build-release && make -j42 install DESTDIR=/build/reproducible-path/dosbox-0.74-3/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-release' Making install in src make[3]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-release/src' @@ -6388,8 +6424,8 @@ make[4]: Leaving directory '/build/reproducible-path/dosbox-0.74-3/build-release/src/platform' make[4]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-release/src' make[5]: Entering directory '/build/reproducible-path/dosbox-0.74-3/build-release/src' - /usr/bin/mkdir -p '/build/reproducible-path/dosbox-0.74-3/debian/tmp/usr/bin' make[5]: Nothing to be done for 'install-data-am'. + /usr/bin/mkdir -p '/build/reproducible-path/dosbox-0.74-3/debian/tmp/usr/bin' /usr/bin/install -c dosbox '/build/reproducible-path/dosbox-0.74-3/debian/tmp/usr/bin' make[5]: Leaving directory '/build/reproducible-path/dosbox-0.74-3/build-release/src' make[4]: Leaving directory '/build/reproducible-path/dosbox-0.74-3/build-release/src' @@ -6444,9 +6480,9 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'dosbox' in '../dosbox_0.74-3-5_amd64.deb'. +dpkg-deb: building package 'dosbox-debug' in '../dosbox-debug_0.74-3-5_amd64.deb'. dpkg-deb: building package 'dosbox-debug-dbgsym' in '../dosbox-debug-dbgsym_0.74-3-5_amd64.deb'. dpkg-deb: building package 'dosbox-dbgsym' in '../dosbox-dbgsym_0.74-3-5_amd64.deb'. -dpkg-deb: building package 'dosbox-debug' in '../dosbox-debug_0.74-3-5_amd64.deb'. dpkg-genbuildinfo --build=binary -O../dosbox_0.74-3-5_amd64.buildinfo dpkg-genchanges --build=binary -O../dosbox_0.74-3-5_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -6454,12 +6490,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1770233/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1770233/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/482474 and its subdirectories -I: Current time: Fri Mar 21 14:59:58 -12 2025 -I: pbuilder-time-stamp: 1742612398 +I: removing directory /srv/workspace/pbuilder/1770233 and its subdirectories +I: Current time: Fri Apr 24 23:29:45 +14 2026 +I: pbuilder-time-stamp: 1777022985