Diff of the two buildlogs: -- --- b1/build.log 2023-04-21 10:19:51.642622581 +0000 +++ b2/build.log 2023-04-21 10:35:07.606011934 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 20 22:08:22 -12 2023 -I: pbuilder-time-stamp: 1682071702 +I: Current time: Fri May 24 06:42:56 +14 2024 +I: pbuilder-time-stamp: 1716482576 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./dosbox_0.74-3.orig.tar.gz] I: copying [./dosbox_0.74-3-4.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Oct 25 19:44:19 2021 -12 +gpgv: Signature made Tue Oct 26 21:44:19 2021 +14 gpgv: using RSA key 9CF557FE13CB90CA2AEF1D2080D302F5886D839C gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./dosbox_0.74-3-4.dsc: no acceptable signature found @@ -30,52 +30,84 @@ dpkg-source: info: applying format-strings.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/7002/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/6394/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 24 06:43 /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/6394/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/6394/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='7002' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=6394 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.r2lsLj1L/pbuilderrc_u384 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.r2lsLj1L/b1 --logfile b1/build.log dosbox_0.74-3-4.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.r2lsLj1L/pbuilderrc_lONg --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.r2lsLj1L/b2 --logfile b2/build.log --extrapackages usrmerge dosbox_0.74-3-4.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink16-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 19 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/7002/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 23 06:50 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/6394/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -288,7 +320,7 @@ Get: 163 http://deb.debian.org/debian bookworm/main arm64 libvorbisfile3 arm64 1.3.7-1 [25.4 kB] Get: 164 http://deb.debian.org/debian bookworm/main arm64 libsdl-sound1.2 arm64 1.0.3-9+b2 [81.6 kB] Get: 165 http://deb.debian.org/debian bookworm/main arm64 libsdl-sound1.2-dev arm64 1.0.3-9+b2 [96.5 kB] -Fetched 80.3 MB in 2s (43.5 MB/s) +Fetched 80.3 MB in 2s (45.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19616 files and directories currently installed.) @@ -967,8 +999,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/dosbox-0.74-3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../dosbox_0.74-3-4_source.changes +I: user script /srv/workspace/pbuilder/6394/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/6394/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/dosbox-0.74-3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../dosbox_0.74-3-4_source.changes dpkg-buildpackage: info: source package dosbox dpkg-buildpackage: info: source version 0.74-3-4 dpkg-buildpackage: info: source distribution unstable @@ -1346,7 +1387,6 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o paging.o ../../../src/cpu/paging.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o core_normal.o ../../../src/cpu/core_normal.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o core_simple.o ../../../src/cpu/core_simple.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o core_prefetch.o ../../../src/cpu/core_prefetch.cpp ../../../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); @@ -1355,6 +1395,7 @@ | | Bitu {aka long unsigned int} | int | %ld +g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o core_prefetch.o ../../../src/cpu/core_prefetch.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o core_dyn_x86.o ../../../src/cpu/core_dyn_x86.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o core_dynrec.o ../../../src/cpu/core_dynrec.cpp ../../../src/cpu/cpu.cpp: In function 'bool CPU_SwitchTask(Bitu, TSwitchType, Bitu)': @@ -1486,7 +1527,6 @@ ../../../src/dos/dos_programs.cpp:802:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 802 | fread(rombuf, 1, rombytesize_1-0x200, usefile_1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dos_keyboard_layout.o ../../../src/dos/dos_keyboard_layout.cpp ../../../src/dos/drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(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); @@ -1494,12 +1534,11 @@ | | | | int Bitu {aka long unsigned int} | %ld +g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dos_keyboard_layout.o ../../../src/dos/dos_keyboard_layout.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom.o ../../../src/dos/cdrom.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom_ioctl_win32.o ../../../src/dos/cdrom_ioctl_win32.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom_aspi_win32.o ../../../src/dos/cdrom_aspi_win32.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom_ioctl_linux.o ../../../src/dos/cdrom_ioctl_linux.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom_image.o ../../../src/dos/cdrom_image.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom_ioctl_os2.o ../../../src/dos/cdrom_ioctl_os2.cpp ../../../src/dos/dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)': ../../../src/dos/dos_keyboard_layout.cpp:179: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); @@ -1523,6 +1562,8 @@ ../../../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/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom_image.o ../../../src/dos/cdrom_image.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom_ioctl_os2.o ../../../src/dos/cdrom_ioctl_os2.cpp rm -f libdos.a ar cru libdos.a dos.o dos_devices.o dos_execute.o dos_files.o dos_ioctl.o dos_memory.o dos_misc.o dos_classes.o dos_programs.o dos_tables.o drives.o drive_virtual.o drive_local.o drive_cache.o drive_fat.o drive_iso.o dos_mscdex.o dos_keyboard_layout.o cdrom.o cdrom_ioctl_win32.o cdrom_aspi_win32.o cdrom_ioctl_linux.o cdrom_image.o cdrom_ioctl_os2.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -1876,43 +1917,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/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o softmodem.o ../../../../src/hardware/serialport/softmodem.cpp g++ -DHAVE_CONFIG_H -I. -I../../../../src/hardware/serialport -I../../.. -I../../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o misc_util.o ../../../../src/hardware/serialport/misc_util.cpp g++ -DHAVE_CONFIG_H -I. -I../../../../src/hardware/serialport -I../../.. -I../../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o nullmodem.o ../../../../src/hardware/serialport/nullmodem.cpp -../../../../src/hardware/serialport/directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': -../../../../src/hardware/serialport/directserial.cpp:46: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()); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/directserial.cpp:50:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 50 | LOG_MSG("Serial%d: Serial Port \"%s\" could not be opened.", - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': -../../../../src/hardware/serialport/directserial.cpp:277:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 277 | LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/directserial.cpp:277: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)", - | ~^ - | | - | int - | %ld - 278 | COMNUMBER, baudrate,bytelength,parity,stopbits); - | ~~~~~~~~ - | | - | Bitu {aka long unsigned int} -../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': -../../../../src/hardware/serialport/directserial.cpp:294: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/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=] @@ -1929,43 +1933,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/serialport.cpp: In member function 'void CSerial::handleEvent(Bit16u)': ../../../../src/hardware/serialport/serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 272 | LOG_MSG("Serial%d: Errors: "\ @@ -2029,6 +1996,58 @@ | ~~~~~~~~~~~ | | | Bitu {aka long unsigned int} +../../../../src/hardware/serialport/serialport.cpp: In static member function 'static bool CSerial::getBituSubstring(const char*, Bitu*, CommandLine*)': +../../../../src/hardware/serialport/serialport.cpp:1140:29: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'Bitu*' {aka 'long unsigned int*'} [-Wformat=] + 1140 | if(sscanf(tmpchar,"%u",data)!=1) return false; + | ~^ ~~~~ + | | | + | | Bitu* {aka long unsigned int*} + | unsigned int* + | %lu +../../../../src/hardware/serialport/serialport.cpp: In constructor 'SERIALPORTS::SERIALPORTS(Section*)': +../../../../src/hardware/serialport/serialport.cpp:1264:66: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1264 | LOG_MSG("Invalid type for serial%d",i+1); + | ~^ ~~~ + | | | + | 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); @@ -2063,21 +2082,43 @@ | | | int | %ld -../../../../src/hardware/serialport/serialport.cpp: In static member function 'static bool CSerial::getBituSubstring(const char*, Bitu*, CommandLine*)': -../../../../src/hardware/serialport/serialport.cpp:1140:29: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'Bitu*' {aka 'long unsigned int*'} [-Wformat=] - 1140 | if(sscanf(tmpchar,"%u",data)!=1) return false; - | ~^ ~~~~ - | | | - | | Bitu* {aka long unsigned int*} - | unsigned int* - | %lu -../../../../src/hardware/serialport/serialport.cpp: In constructor 'SERIALPORTS::SERIALPORTS(Section*)': -../../../../src/hardware/serialport/serialport.cpp:1264:66: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1264 | LOG_MSG("Invalid type for serial%d",i+1); - | ~^ ~~~ - | | | - | 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()); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/directserial.cpp:50:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 50 | LOG_MSG("Serial%d: Serial Port \"%s\" could not be opened.", + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': +../../../../src/hardware/serialport/directserial.cpp:277:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 277 | LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/directserial.cpp:277: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)", + | ~^ + | | + | int + | %ld + 278 | COMNUMBER, baudrate,bytelength,parity,stopbits); + | ~~~~~~~~ + | | + | Bitu {aka long unsigned int} +../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': +../../../../src/hardware/serialport/directserial.cpp:294: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=] @@ -2185,8 +2226,6 @@ | | Bitu {aka long unsigned int} | unsigned int | %lx -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pcspeaker.o ../../../src/hardware/pcspeaker.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pic.o ../../../src/hardware/pic.cpp ../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': ../../../src/hardware/hardware.cpp:122:37: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 122 | sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); @@ -2207,6 +2246,8 @@ ../../../src/hardware/adlib.cpp:260:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 260 | var_write( &header.milliseconds, header.milliseconds ); | ^~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pcspeaker.o ../../../src/hardware/pcspeaker.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pic.o ../../../src/hardware/pic.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sblaster.o ../../../src/hardware/sblaster.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tandy_sound.o ../../../src/hardware/tandy_sound.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o timer.o ../../../src/hardware/timer.cpp @@ -2223,11 +2264,6 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lx -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga.o ../../../src/hardware/vga.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_attr.o ../../../src/hardware/vga_attr.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_crtc.o ../../../src/hardware/vga_crtc.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_dac.o ../../../src/hardware/vga_dac.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_draw.o ../../../src/hardware/vga_draw.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); @@ -2236,6 +2272,11 @@ | | Bitu {aka long unsigned int} | unsigned int | %lX +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga.o ../../../src/hardware/vga.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_attr.o ../../../src/hardware/vga_attr.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_crtc.o ../../../src/hardware/vga_crtc.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_dac.o ../../../src/hardware/vga_dac.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_draw.o ../../../src/hardware/vga_draw.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_gfx.o ../../../src/hardware/vga_gfx.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_other.o ../../../src/hardware/vga_other.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_memory.o ../../../src/hardware/vga_memory.cpp @@ -2243,8 +2284,6 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_seq.o ../../../src/hardware/vga_seq.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_xga.o ../../../src/hardware/vga_xga.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_s3.o ../../../src/hardware/vga_s3.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -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/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_paradise.o ../../../src/hardware/vga_paradise.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); @@ -2323,6 +2362,8 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lx +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -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/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_paradise.o ../../../src/hardware/vga_paradise.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cmos.o ../../../src/hardware/cmos.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o disney.o ../../../src/hardware/disney.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gus.o ../../../src/hardware/gus.cpp @@ -2369,6 +2410,9 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o int10_put_pixel.o ../../../src/ints/int10_put_pixel.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o int10_video_state.o ../../../src/ints/int10_video_state.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o int10_vptable.o ../../../src/ints/int10_vptable.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bios.o ../../../src/ints/bios.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bios_disk.o ../../../src/ints/bios_disk.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -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); @@ -2427,9 +2471,6 @@ ../../../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); | ^~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bios.o ../../../src/ints/bios.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bios_disk.o ../../../src/ints/bios_disk.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bios_keyboard.o ../../../src/ints/bios_keyboard.cpp ../../../src/ints/bios_disk.cpp: In function 'void swapInDisks()': ../../../src/ints/bios_disk.cpp:109: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); @@ -2635,6 +2676,14 @@ | | | | int Bitu {aka long unsigned int} | %ld +In file included from ../../../src/cpu/core_full.cpp:82: +../../../src/cpu/core_full/load.h: In function 'Bits CPU_Core_Full_Run()': +../../../src/cpu/core_full/load.h:186:80: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 186 | LOG(LOG_CPU,LOG_ERROR)("MODRM:Unhandled load %d entry %x",inst.code.extra,inst.entry); + | ~^ ~~~~~~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lx ../../../src/cpu/flags.cpp: In function 'Bit32u get_AF()': ../../../src/cpu/flags.cpp:204:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 204 | LOG(LOG_CPU,LOG_ERROR)("get_AF Unknown %d",lflags.type); @@ -2656,6 +2705,13 @@ | | | | int Bitu {aka long unsigned int} | %ld +In file included from ../../../src/cpu/core_full/load.h:324: +../../../src/cpu/core_full/string.h:215:68: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 215 | LOG(LOG_CPU,LOG_ERROR)("Unhandled string %d entry %X",inst.code.op,inst.entry); + | ~^ ~~~~~~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX ../../../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); @@ -2664,6 +2720,20 @@ | int Bitu {aka long unsigned int} | %ld g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o core_prefetch.o ../../../src/cpu/core_prefetch.cpp +../../../src/cpu/core_full/load.h:486:72: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 486 | LOG(LOG_CPU,LOG_ERROR)("LOAD:Unhandled code %d opcode %X",inst.code.load,inst.entry); + | ~^ ~~~~~~~~~~ + | | | + | unsigned int Bitu {aka long unsigned int} + | %lX +../../../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); + | ~^ ~~~~ + | | | + | | Bitu {aka long unsigned int} + | int + | %ld ../../../src/cpu/flags.cpp: In function 'Bitu FillFlags()': ../../../src/cpu/flags.cpp:877:62: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 877 | LOG(LOG_CPU,LOG_ERROR)("Unhandled flag type %d",lflags.type); @@ -2671,34 +2741,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../src/cpu/flags.cpp: In function 'void FillFlagsNoCFOF()': -../../../src/cpu/flags.cpp:1178:62: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 1178 | LOG(LOG_CPU,LOG_ERROR)("Unhandled flag type %d",lflags.type); - | ~^ ~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld -In file included from ../../../src/cpu/core_full.cpp:82: -../../../src/cpu/core_full/load.h: In function 'Bits CPU_Core_Full_Run()': -../../../src/cpu/core_full/load.h:186:80: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 186 | LOG(LOG_CPU,LOG_ERROR)("MODRM:Unhandled load %d entry %x",inst.code.extra,inst.entry); - | ~^ ~~~~~~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lx -In file included from ../../../src/cpu/core_full/load.h:324: -../../../src/cpu/core_full/string.h:215:68: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 215 | LOG(LOG_CPU,LOG_ERROR)("Unhandled string %d entry %X",inst.code.op,inst.entry); - | ~^ ~~~~~~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX -../../../src/cpu/core_full/load.h:486:72: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 486 | LOG(LOG_CPU,LOG_ERROR)("LOAD:Unhandled code %d opcode %X",inst.code.load,inst.entry); - | ~^ ~~~~~~~~~~ - | | | - | unsigned int Bitu {aka long unsigned int} - | %lX In file included from ../../../src/cpu/core_full.cpp:83: ../../../src/cpu/core_full/op.h:402:78: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 402 | LOG(LOG_CPU,LOG_ERROR)("Group 6 Illegal subfunction %X",inst.rm_index); @@ -2727,16 +2769,15 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lX -../../../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); - | ~^ ~~~~ - | | | - | | Bitu {aka long unsigned int} - | int - | %ld -In file included from ../../../src/cpu/core_simple.cpp:156: -../../../src/cpu/core_normal/prefix_none.h: In function 'Bits CPU_Core_Simple_Run()': +../../../src/cpu/flags.cpp: In function 'void FillFlagsNoCFOF()': +../../../src/cpu/flags.cpp:1178:62: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 1178 | LOG(LOG_CPU,LOG_ERROR)("Unhandled flag type %d",lflags.type); + | ~^ ~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld +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); | ~~^ ~~~~~ @@ -2744,7 +2785,7 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -In file included from ../../../src/cpu/core_simple.cpp:157: +In file included from ../../../src/cpu/core_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); | ~^ ~~~~~ @@ -2781,8 +2822,8 @@ | | | | 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()': +In file included from ../../../src/cpu/core_normal.cpp:159: +../../../src/cpu/core_normal/prefix_none.h: In function 'Bits CPU_Core_Normal_Run()': ../../../src/cpu/core_normal/prefix_none.h:1168:81: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1168 | LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); | ~~^ ~~~~~ @@ -2790,7 +2831,7 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -In file included from ../../../src/cpu/core_prefetch.cpp:265: +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); | ~^ ~~~~~ @@ -2827,8 +2868,8 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lu -In file included from ../../../src/cpu/core_normal.cpp:159: -../../../src/cpu/core_normal/prefix_none.h: In function 'Bits CPU_Core_Normal_Run()': +In file included from ../../../src/cpu/core_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); | ~~^ ~~~~~ @@ -2836,7 +2877,7 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -In file included from ../../../src/cpu/core_normal.cpp:160: +In file included from ../../../src/cpu/core_simple.cpp:157: ../../../src/cpu/core_normal/prefix_0f.h:156:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 156 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); | ~^ ~~~~~ @@ -2896,7 +2937,7 @@ | | 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); | ~~^ ~~~~~ @@ -2904,7 +2945,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); | ~~^ ~~~~~ @@ -2919,7 +2960,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_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); | ~~^ ~~~~~ @@ -2927,7 +2968,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_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); | ~~^ ~~~~~ @@ -3005,6 +3046,8 @@ | ~~~~~~~ | | | Bitu {aka long unsigned int} +g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o core_dyn_x86.o ../../../src/cpu/core_dyn_x86.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o core_dynrec.o ../../../src/cpu/core_dynrec.cpp ../../../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); @@ -3082,8 +3125,6 @@ | | Bitu {aka long unsigned int} | unsigned int | %lX -g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o core_dyn_x86.o ../../../src/cpu/core_dyn_x86.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/cpu -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o core_dynrec.o ../../../src/cpu/core_dynrec.cpp rm -f libcpu.a ar cru 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 ar: `u' modifier ignored since `D' is the default (see `U') @@ -3397,7 +3438,6 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_local.o ../../../src/dos/drive_local.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_cache.o ../../../src/dos/drive_cache.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_fat.o ../../../src/dos/drive_fat.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_iso.o ../../../src/dos/drive_iso.cpp ../../../src/dos/dos_programs.cpp: In member function 'virtual void KEYB::Run()': ../../../src/dos/dos_programs.cpp: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); @@ -3406,8 +3446,15 @@ | | Bitu {aka long unsigned int} | unsigned int | %lx +g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_iso.o ../../../src/dos/drive_iso.cpp +../../../src/dos/drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(CFileInfo*, CFileInfo*)': +../../../src/dos/drive_cache.cpp:517:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 517 | sprintf(buffer,"%d",info->shortNr); + | ~^ ~~~~~~~~~~~~~ + | | | + | int Bitu {aka long unsigned int} + | %ld g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dos_mscdex.o ../../../src/dos/dos_mscdex.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dos_keyboard_layout.o ../../../src/dos/dos_keyboard_layout.cpp ../../../src/dos/dos_programs.cpp: In member function 'virtual void BOOT::Run()': ../../../src/dos/dos_programs.cpp: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); @@ -3424,41 +3471,11 @@ ../../../src/dos/dos_programs.cpp:802:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 802 | fread(rombuf, 1, rombytesize_1-0x200, usefile_1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(CFileInfo*, CFileInfo*)': -../../../src/dos/drive_cache.cpp:517:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 517 | sprintf(buffer,"%d",info->shortNr); - | ~^ ~~~~~~~~~~~~~ - | | | - | int Bitu {aka long unsigned int} - | %ld +g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dos_keyboard_layout.o ../../../src/dos/dos_keyboard_layout.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom.o ../../../src/dos/cdrom.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom_ioctl_win32.o ../../../src/dos/cdrom_ioctl_win32.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom_aspi_win32.o ../../../src/dos/cdrom_aspi_win32.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom_ioctl_linux.o ../../../src/dos/cdrom_ioctl_linux.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom_image.o ../../../src/dos/cdrom_image.cpp -../../../src/dos/dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)': -../../../src/dos/dos_keyboard_layout.cpp:179: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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_keyboard_layout.cpp:184:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 184 | fread(rbuf, sizeof(Bit8u), 1, tempfile); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_keyboard_layout.cpp: In member function 'Bitu keyboard_layout::read_codepage_file(const char*, Bit32s)': -../../../src/dos/dos_keyboard_layout.cpp:797:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 797 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_keyboard_layout.cpp:799:46: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 799 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_keyboard_layout.cpp:801:54: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 801 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_keyboard_layout.cpp:803:62: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 803 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../../../src/dos/dos_keyboard_layout.cpp:806: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_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); @@ -3482,6 +3499,30 @@ | | Bitu {aka long unsigned int} | unsigned int | %02lX +../../../src/dos/dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)': +../../../src/dos/dos_keyboard_layout.cpp:179:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 179 | fread(rbuf, sizeof(Bit8u), 2, tempfile); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_keyboard_layout.cpp:184:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 184 | fread(rbuf, sizeof(Bit8u), 1, tempfile); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_keyboard_layout.cpp: In member function 'Bitu keyboard_layout::read_codepage_file(const char*, Bit32s)': +../../../src/dos/dos_keyboard_layout.cpp:797:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 797 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_keyboard_layout.cpp:799:46: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 799 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_keyboard_layout.cpp:801:54: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 801 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_keyboard_layout.cpp:803:62: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 803 | fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../../src/dos/dos_keyboard_layout.cpp:806: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/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom_image.o ../../../src/dos/cdrom_image.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/dos -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cdrom_ioctl_os2.o ../../../src/dos/cdrom_ioctl_os2.cpp rm -f libdos.a ar cru libdos.a dos.o dos_devices.o dos_execute.o dos_files.o dos_ioctl.o dos_memory.o dos_misc.o dos_classes.o dos_programs.o dos_tables.o drives.o drive_virtual.o drive_local.o drive_cache.o drive_fat.o drive_iso.o dos_mscdex.o dos_keyboard_layout.o cdrom.o cdrom_ioctl_win32.o cdrom_aspi_win32.o cdrom_ioctl_linux.o cdrom_image.o cdrom_ioctl_os2.o @@ -3800,62 +3841,6 @@ /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | -../../../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); @@ -3924,13 +3909,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 ../../../src/gui/sdl_mapper.cpp: In member function 'void CHandlerEvent::MakeDefaultBind(char*)': ../../../src/gui/sdl_mapper.cpp:1588:40: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1588 | sprintf(buf,"%s \"key %d%s%s%s\"", @@ -4029,15 +4007,69 @@ | | | | int Bitu {aka long unsigned int} | %ld -In file included from ../../../src/gui/midi.cpp:91: -../../../src/gui/midi_oss.h: In member function 'virtual void MidiHandler_oss::PlaySysex(Bit8u*, Bitu)': -../../../src/gui/midi_oss.h:68:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 68 | write(device,buf,pos); - | ~~~~~^~~~~~~~~~~~~~~~ -../../../src/gui/midi_oss.h: In member function 'virtual void MidiHandler_oss::PlayMsg(Bit8u*)': -../../../src/gui/midi_oss.h:58:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 58 | write(device,buf,pos); - | ~~~~~^~~~~~~~~~~~~~~~ +../../../src/gui/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/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 ); @@ -4059,6 +4091,15 @@ | | | | int Bitu {aka long unsigned int} | %ld +In file included from ../../../src/gui/midi.cpp:91: +../../../src/gui/midi_oss.h: In member function 'virtual void MidiHandler_oss::PlaySysex(Bit8u*, Bitu)': +../../../src/gui/midi_oss.h:68:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 68 | write(device,buf,pos); + | ~~~~~^~~~~~~~~~~~~~~~ +../../../src/gui/midi_oss.h: In member function 'virtual void MidiHandler_oss::PlayMsg(Bit8u*)': +../../../src/gui/midi_oss.h:58:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 58 | write(device,buf,pos); + | ~~~~~^~~~~~~~~~~~~~~~ In file included from ../../../src/gui/render_templates.h:434, from ../../../src/gui/render_scalers.cpp:129: ../../../src/gui/render_templates_sai.h: In function 'void Super2xSaI_15(Bit16u*, Bit16u*, const Bit16u*)': @@ -4117,6 +4158,43 @@ g++ -DHAVE_CONFIG_H -I. -I../../../../src/hardware/serialport -I../../.. -I../../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o softmodem.o ../../../../src/hardware/serialport/softmodem.cpp g++ -DHAVE_CONFIG_H -I. -I../../../../src/hardware/serialport -I../../.. -I../../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o misc_util.o ../../../../src/hardware/serialport/misc_util.cpp g++ -DHAVE_CONFIG_H -I. -I../../../../src/hardware/serialport -I../../.. -I../../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o nullmodem.o ../../../../src/hardware/serialport/nullmodem.cpp +../../../../src/hardware/serialport/directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': +../../../../src/hardware/serialport/directserial.cpp:46: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()); + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/directserial.cpp:50:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 50 | LOG_MSG("Serial%d: Serial Port \"%s\" could not be opened.", + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': +../../../../src/hardware/serialport/directserial.cpp:277:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 277 | LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", + | ~^ + | | + | int + | %ld +../../../../src/hardware/serialport/directserial.cpp:277: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)", + | ~^ + | | + | int + | %ld + 278 | COMNUMBER, baudrate,bytelength,parity,stopbits); + | ~~~~~~~~ + | | + | Bitu {aka long unsigned int} +../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': +../../../../src/hardware/serialport/directserial.cpp:294: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=] @@ -4248,43 +4326,6 @@ | | | 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()); - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/directserial.cpp:50:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 50 | LOG_MSG("Serial%d: Serial Port \"%s\" could not be opened.", - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': -../../../../src/hardware/serialport/directserial.cpp:277:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 277 | LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", - | ~^ - | | - | int - | %ld -../../../../src/hardware/serialport/directserial.cpp:277: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)", - | ~^ - | | - | int - | %ld - 278 | COMNUMBER, baudrate,bytelength,parity,stopbits); - | ~~~~~~~~ - | | - | Bitu {aka long unsigned int} -../../../../src/hardware/serialport/directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': -../../../../src/hardware/serialport/directserial.cpp:294: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/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=] @@ -4423,13 +4464,14 @@ | int | %ld g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mixer.o ../../../src/hardware/mixer.cpp -../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': -../../../src/hardware/hardware.cpp:122:37: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] - 122 | sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); - | ~~~^ ~~~~ - | | | - | int Bitu {aka long unsigned int} - | %03ld +../../../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); @@ -4452,14 +4494,22 @@ | | Bitu {aka long unsigned int} | unsigned int | %04lX -../../../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 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/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); @@ -4481,22 +4531,6 @@ | | | | unsigned int Bitu {aka long unsigned int} | %lx -../../../src/hardware/iohandler.cpp: In member function 'void IO_ReadHandleObject::Install(Bitu, Bitu (*)(Bitu, Bitu), Bitu, Bitu)': -../../../src/hardware/iohandler.cpp:119: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/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); @@ -4504,7 +4538,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pcspeaker.o ../../../src/hardware/pcspeaker.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 ); @@ -4518,6 +4551,14 @@ ../../../src/hardware/adlib.cpp:260:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 260 | var_write( &header.milliseconds, header.milliseconds ); | ^~~~~~~~~~~~~~~~~~~~ +../../../src/hardware/hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': +../../../src/hardware/hardware.cpp:122:37: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 122 | sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); + | ~~~^ ~~~~ + | | | + | int Bitu {aka long unsigned int} + | %03ld +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pcspeaker.o ../../../src/hardware/pcspeaker.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pic.o ../../../src/hardware/pic.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sblaster.o ../../../src/hardware/sblaster.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tandy_sound.o ../../../src/hardware/tandy_sound.cpp @@ -4581,7 +4622,23 @@ | | Bitu {aka long unsigned int} | 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 g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga.o ../../../src/hardware/vga.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_attr.o ../../../src/hardware/vga_attr.cpp +../../../src/hardware/timer.cpp: In function 'void counter_latch(Bitu)': +../../../src/hardware/timer.cpp:185:78: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] + 185 | LOG(LOG_PIT,LOG_ERROR)("Illegal Mode %d for reading counter %d",p->mode,counter); + | ~^ ~~~~~~~ + | | | + | 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", @@ -4639,24 +4696,10 @@ | | Bitu {aka long unsigned int} | unsigned int | %4lX -../../../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 -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_attr.o ../../../src/hardware/vga_attr.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_crtc.o ../../../src/hardware/vga_crtc.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_dac.o ../../../src/hardware/vga_dac.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_draw.o ../../../src/hardware/vga_draw.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -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); @@ -4665,10 +4708,6 @@ | | Bitu {aka long unsigned int} | unsigned int | %lX -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_draw.o ../../../src/hardware/vga_draw.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_gfx.o ../../../src/hardware/vga_gfx.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_other.o ../../../src/hardware/vga_other.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_memory.o ../../../src/hardware/vga_memory.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); @@ -4689,6 +4728,8 @@ | | | | 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/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_other.o ../../../src/hardware/vga_other.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_memory.o ../../../src/hardware/vga_memory.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_misc.o ../../../src/hardware/vga_misc.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_seq.o ../../../src/hardware/vga_seq.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_xga.o ../../../src/hardware/vga_xga.cpp @@ -4862,6 +4903,7 @@ | | | | int Bitu {aka long unsigned int} | %ld +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_s3.o ../../../src/hardware/vga_s3.cpp ../../../src/hardware/vga_draw.cpp:1486:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1486 | LOG(LOG_VGA,LOG_NORMAL)("Width %d, Height %d, fps %f",width,height,fps); | ~^ ~~~~~ @@ -4874,14 +4916,6 @@ | | | | int Bitu {aka long unsigned int} | %ld -../../../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 -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_s3.o ../../../src/hardware/vga_s3.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 ); @@ -4906,6 +4940,13 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX +../../../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 g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -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/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vga_paradise.o ../../../src/hardware/vga_paradise.cpp ../../../src/hardware/vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)': @@ -4987,7 +5028,6 @@ | unsigned int Bitu {aka long unsigned int} | %lx g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cmos.o ../../../src/hardware/cmos.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o disney.o ../../../src/hardware/disney.cpp ../../../src/hardware/vga_tseng.cpp: In function 'void write_p3d5_et4k(Bitu, Bitu, Bitu)': ../../../src/hardware/vga_tseng.cpp:175:85: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 175 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:CRTC:ET4K:Write to illegal index %2X", reg); @@ -5084,8 +5124,6 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gus.o ../../../src/hardware/gus.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mpu401.o ../../../src/hardware/mpu401.cpp ../../../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); @@ -5102,6 +5140,9 @@ | | Bitu {aka long unsigned int} | unsigned int | %2lX +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o disney.o ../../../src/hardware/disney.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gus.o ../../../src/hardware/gus.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/hardware -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mpu401.o ../../../src/hardware/mpu401.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); @@ -5239,10 +5280,6 @@ | unsigned int Bitu {aka long unsigned int} | %lx g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o int10_video_state.o ../../../src/ints/int10_video_state.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o int10_vptable.o ../../../src/ints/int10_vptable.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bios.o ../../../src/ints/bios.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bios_disk.o ../../../src/ints/bios_disk.cpp -g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -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); @@ -5301,6 +5338,10 @@ ../../../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); | ^~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o int10_vptable.o ../../../src/ints/int10_vptable.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bios.o ../../../src/ints/bios.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bios_disk.o ../../../src/ints/bios_disk.cpp +g++ -DHAVE_CONFIG_H -I. -I../../../src/ints -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bios_keyboard.o ../../../src/ints/bios_keyboard.cpp ../../../src/ints/bios_disk.cpp: In function 'void swapInDisks()': ../../../src/ints/bios_disk.cpp:109: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); @@ -5386,13 +5427,6 @@ g++ -DHAVE_CONFIG_H -I. -I../../../src/shell -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o shell_batch.o ../../../src/shell/shell_batch.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/shell -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -c -o shell_cmds.o ../../../src/shell/shell_cmds.cpp g++ -DHAVE_CONFIG_H -I. -I../../../src/shell -I../.. -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/build/dosbox-0.74-3=. -fstack-protector-strong -Wformat -Werror=format-security -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); @@ -5455,6 +5489,13 @@ | | Bitu {aka long unsigned int} | int | %ld +../../../src/shell/shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)': +../../../src/shell/shell.cpp:391:39: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 391 | getcwd(buffer,CROSS_LEN); + | ~~~~~~^~~~~~~~~~~~~~~~~~ +../../../src/shell/shell.cpp:404:47: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 404 | getcwd(buffer,CROSS_LEN); + | ~~~~~~^~~~~~~~~~~~~~~~~~ rm -f libshell.a ar cru libshell.a shell.o shell_batch.o shell_cmds.o shell_misc.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -5651,8 +5692,8 @@ make[4]: Leaving directory '/build/dosbox-0.74-3/build-debug/src/platform' make[4]: Entering directory '/build/dosbox-0.74-3/build-debug/src' make[5]: Entering directory '/build/dosbox-0.74-3/build-debug/src' -make[5]: Nothing to be done for 'install-data-am'. /usr/bin/mkdir -p '/build/dosbox-0.74-3/debian/tmp/usr/bin' +make[5]: Nothing to be done for 'install-data-am'. /usr/bin/install -c dosbox '/build/dosbox-0.74-3/debian/tmp/usr/bin' make[5]: Leaving directory '/build/dosbox-0.74-3/build-debug/src' make[4]: Leaving directory '/build/dosbox-0.74-3/build-debug/src' @@ -5897,10 +5938,10 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'dosbox-debug-dbgsym' in '../dosbox-debug-dbgsym_0.74-3-4_arm64.deb'. -dpkg-deb: building package 'dosbox-debug' in '../dosbox-debug_0.74-3-4_arm64.deb'. dpkg-deb: building package 'dosbox' in '../dosbox_0.74-3-4_arm64.deb'. +dpkg-deb: building package 'dosbox-debug-dbgsym' in '../dosbox-debug-dbgsym_0.74-3-4_arm64.deb'. dpkg-deb: building package 'dosbox-dbgsym' in '../dosbox-dbgsym_0.74-3-4_arm64.deb'. +dpkg-deb: building package 'dosbox-debug' in '../dosbox-debug_0.74-3-4_arm64.deb'. dpkg-genbuildinfo --build=binary -O../dosbox_0.74-3-4_arm64.buildinfo dpkg-genchanges --build=binary -O../dosbox_0.74-3-4_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -5908,12 +5949,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/6394/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/6394/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/7002 and its subdirectories -I: Current time: Thu Apr 20 22:19:50 -12 2023 -I: pbuilder-time-stamp: 1682072390 +I: removing directory /srv/workspace/pbuilder/6394 and its subdirectories +I: Current time: Fri May 24 06:58:06 +14 2024 +I: pbuilder-time-stamp: 1716483486