<86>May 4 04:28:34 userdel[3612660]: delete user 'rooter' <86>May 4 04:28:34 groupadd[3612758]: group added to /etc/group: name=rooter, GID=1799 <86>May 4 04:28:34 groupadd[3612758]: group added to /etc/gshadow: name=rooter <86>May 4 04:28:34 groupadd[3612758]: new group: name=rooter, GID=1799 <86>May 4 04:28:34 useradd[3612850]: new user: name=rooter, UID=1799, GID=1799, home=/root, shell=/bin/bash, from=none <86>May 4 04:28:34 userdel[3613187]: delete user 'builder' <86>May 4 04:28:34 groupadd[3613230]: group added to /etc/group: name=builder, GID=1800 <86>May 4 04:28:34 groupadd[3613230]: group added to /etc/gshadow: name=builder <86>May 4 04:28:34 groupadd[3613230]: new group: name=builder, GID=1800 <86>May 4 04:28:34 useradd[3613420]: new user: name=builder, UID=1800, GID=1800, home=/usr/src, shell=/bin/bash, from=none <13>May 4 04:28:41 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626058929 installed <13>May 4 04:28:41 rpmi: libglvnd-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>May 4 04:28:41 rpmi: libflac12-1.4.3-alt2 sisyphus+343354.100.1.1 1711118098 installed <13>May 4 04:28:41 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751601 installed <13>May 4 04:28:41 rpmi: xml-utils-1:2.12.6-alt1 sisyphus+347327.100.1.1 1714660882 installed <13>May 4 04:28:41 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>May 4 04:28:41 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075764 installed <13>May 4 04:28:41 rpmi: libwayland-server-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606299 installed <13>May 4 04:28:41 rpmi: libOpenGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>May 4 04:28:41 rpmi: libGLES-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>May 4 04:28:41 rpmi: sgml-common-0.6.3-alt15 sisyphus+276099.100.1.1 1624817971 installed <13>May 4 04:28:41 rpmi: docbook-dtds-4.5-alt1 sisyphus+276837.100.1.1 1625242123 installed <13>May 4 04:28:41 rpmi: libxslt-1.1.37-alt1 sisyphus+307481.100.1.1 1664360521 installed <13>May 4 04:28:41 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>May 4 04:28:41 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>May 4 04:28:41 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>May 4 04:28:41 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>May 4 04:28:41 rpmi: libnatspec-0.3.3-alt1 sisyphus+327088.100.1.1 1691839874 installed <13>May 4 04:28:41 rpmi: libspeex-1.2.1-alt1 sisyphus+339763.100.1.1 1707113839 installed <13>May 4 04:28:41 rpmi: libphysfs-3.0.2-alt1 sisyphus+277966.100.1.1 1625927313 installed <13>May 4 04:28:41 rpmi: libmodplug-0.8.9.0-alt1 sisyphus+275375.100.2.2 1624495419 installed <13>May 4 04:28:41 rpmi: libopus-1.5.1-alt1 sisyphus+342127.200.2.2 1709717988 installed <13>May 4 04:28:41 rpmi: libmpg123-1:1.32.6-alt1 sisyphus+344452.200.2.1 1712305494 installed <13>May 4 04:28:41 rpmi: liblame-3.100-alt1 sisyphus+276241.100.1.2 1624925657 installed <13>May 4 04:28:41 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>May 4 04:28:41 rpmi: libsndfile-1.1.0-alt1 sisyphus+339776.7300.6.2 1707350065 installed <13>May 4 04:28:41 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>May 4 04:28:41 rpmi: libsystemd-1:254.10-alt2 sisyphus+345302.400.3.1 1713818564 installed <13>May 4 04:28:41 rpmi: libdbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487401 installed <13>May 4 04:28:41 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402241 installed <13>May 4 04:28:41 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577525 installed <13>May 4 04:28:41 rpmi: libX11-locales-3:1.8.8-alt1 sisyphus+343583.100.1.1 1711440719 installed <13>May 4 04:28:41 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441061 installed <13>May 4 04:28:41 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>May 4 04:28:41 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>May 4 04:28:41 rpmi: libX11-3:1.8.8-alt1 sisyphus+343583.100.1.1 1711440719 installed <13>May 4 04:28:41 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441101 installed <13>May 4 04:28:42 rpmi: libpulseaudio-17.0-alt2 sisyphus+339257.100.1.1 1706519226 installed <13>May 4 04:28:42 rpmi: libmikmod-3.3.11.1-alt2 sisyphus+278211.100.1.1 1626077581 installed <13>May 4 04:28:42 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168523 installed <13>May 4 04:28:42 rpmi: libXfixes-6.0.1-alt1 sisyphus+331490.300.1.1 1697023233 installed <13>May 4 04:28:42 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>May 4 04:28:42 rpmi: libXrandr-1.5.4-alt1 sisyphus+330992.100.1.1 1696485400 installed <13>May 4 04:28:43 rpmi: libxcb-devel-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>May 4 04:28:43 rpmi: libX11-devel-3:1.8.8-alt1 sisyphus+343583.100.1.1 1711440719 installed <13>May 4 04:28:43 rpmi: libwayland-client-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606299 installed <13>May 4 04:28:43 rpmi: libpciaccess-1:0.18.1-alt1 sisyphus+343583.300.1.1 1711440789 installed <13>May 4 04:28:43 rpmi: libdrm-1:2.4.120-alt1 sisyphus+338137.100.1.2 1705653179 installed <13>May 4 04:28:43 rpmi: libGLX-mesa-4:24.0.6-alt1 sisyphus+345881.100.1.1 1714144931 installed <13>May 4 04:28:43 rpmi: libGLX-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>May 4 04:28:43 rpmi: libGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>May 4 04:28:43 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>May 4 04:28:43 rpmi: libgbm-4:24.0.6-alt1 sisyphus+345881.100.1.1 1714144931 installed <13>May 4 04:28:43 rpmi: libEGL-mesa-4:24.0.6-alt1 sisyphus+345881.100.1.1 1714144931 installed <13>May 4 04:28:43 rpmi: libEGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>May 4 04:28:43 rpmi: libglvnd-devel-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>May 4 04:28:43 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>May 4 04:28:43 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>May 4 04:28:44 rpmi: libstdc++13-devel-13.2.1-alt3 sisyphus+339335.100.1.1 1706563486 installed <13>May 4 04:28:44 rpmi: gcc13-c++-13.2.1-alt3 sisyphus+339335.100.1.1 1706563486 installed <13>May 4 04:28:44 rpmi: alsa-ucm-conf-1.2.10-alt2 sisyphus+337619.100.1.1 1704220124 installed <13>May 4 04:28:44 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>May 4 04:28:44 rpmi: libalsa-1:1.2.10-alt2 sisyphus+337619.200.1.1 1704220185 installed <13>May 4 04:28:44 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107838 installed <13>May 4 04:28:44 rpmi: libSDL-devel-1.2.14-alt10 sisyphus+284852.100.1.1 1631107838 installed <13>May 4 04:28:44 rpmi: libSDL_net-1.2.8-alt3.git9a629d6 sisyphus+284017.100.1.1 1630068458 installed <13>May 4 04:28:44 rpmi: libSDL_sound-1.0.3-alt6.git4a8ecd7 sisyphus+339776.1600.6.2 1707344513 installed <13>May 4 04:28:44 rpmi: libSDL_sound-devel-1.0.3-alt6.git4a8ecd7 sisyphus+339776.1600.6.2 1707344513 installed <13>May 4 04:28:44 rpmi: libSDL_net-devel-1.2.8-alt3.git9a629d6 sisyphus+284017.100.1.1 1630068458 installed <13>May 4 04:28:44 rpmi: libalsa-devel-1:1.2.10-alt2 sisyphus+337619.200.1.1 1704220185 installed <13>May 4 04:28:44 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687267966 installed <13>May 4 04:28:44 rpmi: libGL-devel-4:24.0.6-alt1 sisyphus+345881.100.1.1 1714144931 installed <13>May 4 04:28:44 rpmi: unzip-6.0-alt5 sisyphus+308257.100.1.1 1665550038 installed <13>May 4 04:28:44 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>May 4 04:28:44 rpmi: libpng-devel-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>May 4 04:28:44 rpmi: xsltproc-1.1.37-alt1 sisyphus+307481.100.1.1 1664360521 installed <13>May 4 04:28:44 rpmi: docbook-style-xsl-1.79.1-alt4 sisyphus+232871.100.1.1 1561238010 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/dosbox-0.74.3-alt3.nosrc.rpm (w1.gzdio) Installing dosbox-0.74.3-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.52521 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf dosbox-0.74.3 + echo 'Source #0 (dosbox-0.74.3.tar.gz):' Source #0 (dosbox-0.74.3.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/dosbox-0.74.3.tar.gz + /bin/tar -xf - + cd dosbox-0.74.3 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (fix_werror_return_type.patch):' Patch #0 (fix_werror_return_type.patch): + /usr/bin/patch -p2 patching file src/debug/debug.cpp + cat + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.52521 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd dosbox-0.74.3 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --enable-debug=heavy --enable-core-inline --disable-fpu-x86 configure: WARNING: unrecognized options: --without-included-gettext checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make sets $(MAKE)... (cached) yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking SDL version only being 1.2.X... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of unsigned char... 1 checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking size of int *... 8 checking for stdlib.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/socket.h... yes checking for netinet/in.h... yes checking for pwd.h... yes checking if environ can be included... yes checking if environ can be linked... yes checking if dirent includes d_type... yes checking for powf in libm... yes checking if compiler allows __attribute__... yes checking if compiler allows __attribute__((always_inline)) ... yes checking if compiler allows __attribute__((fastcall)) ... no checking if compiler allows __builtin_expect... yes checking if compiler supports -mno-ms-bitfields... yes checking for ALSA CFLAGS... checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread checking for libasound headers version >= 0.9.0... found. checking for snd_ctl_open in -lasound... yes checking whether byte ordering is bigendian... no checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lcurses... yes checking for initscr in -lncurses... yes checking for initscr in -lpdcurses... no enabling inlined memory handling in CPU Core checking for target cpu type... x86-64 bit compatible checking whether Apple user wants to override the build process to produce a 32 bit binary... no, not on Apple checking whether x86 dynamic cpu core will be enabled... no checking whether recompiling cpu core will be enabled... yes checking whether fpu emulation will be enabled... yes checking whether x86 assembly fpu core will be enabled... no checking whether to enable unaligned memory access... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_get_io_ptr in -lpng... yes checking SDL_net.h usability... yes checking SDL_net.h presence... yes checking for SDL_net.h... yes checking for SDLNet_Init in -lSDL_net... yes checking for main in -lX11... yes checking X11/XKBlib.h usability... yes checking X11/XKBlib.h presence... yes checking for X11/XKBlib.h... yes checking for XKBlib support... yes checking for main in -lGL... yes checking for main in -lopengl32... no checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking whether opengl display output will be enabled... yes checking SDL_sound.h usability... yes checking SDL_sound.h presence... yes checking for SDL_sound.h... yes checking for Sound_Init in -lSDL_sound... yes checking for Sound_Seek in -lSDL_sound... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for mprotect... yes checking for realpath... yes checking for setpriority support... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/cpu/Makefile config.status: creating src/cpu/core_full/Makefile config.status: creating src/cpu/core_normal/Makefile config.status: creating src/cpu/core_dyn_x86/Makefile config.status: creating src/cpu/core_dynrec/Makefile config.status: creating src/debug/Makefile config.status: creating src/dos/Makefile config.status: creating src/fpu/Makefile config.status: creating src/gui/Makefile config.status: creating src/hardware/Makefile config.status: creating src/hardware/mame/Makefile config.status: creating src/hardware/serialport/Makefile config.status: creating src/ints/Makefile config.status: creating src/libs/Makefile config.status: creating src/libs/zmbv/Makefile config.status: creating src/libs/gui_tk/Makefile config.status: creating src/misc/Makefile config.status: creating src/shell/Makefile config.status: creating src/platform/Makefile config.status: creating src/platform/visualc/Makefile config.status: creating visualc_net/Makefile config.status: creating include/Makefile config.status: creating docs/Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext + make -j16 make all-recursive Making all in src Making all in cpu Making all in core_full make[4]: Nothing to be done for 'all'. Making all in core_normal make[4]: Nothing to be done for 'all'. Making all in core_dyn_x86 make[4]: Nothing to be done for 'all'. Making all in core_dynrec make[4]: Nothing to be done for 'all'. make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o core_dyn_x86.o core_dyn_x86.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o modrm.o modrm.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o callback.o callback.cpp callback.cpp: In function 'Bitu CALLBACK_SetupExtra(Bitu, Bitu, PhysPt, bool)': 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 make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o flags.o flags.cpp flags.cpp: In function 'Bit32u get_CF()': flags.cpp:122:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 122 | LOG(LOG_CPU,LOG_ERROR)("get_CF Unknown %d",lflags.type); | ~^ ~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld flags.cpp: In function 'Bit32u get_AF()': 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); | ~^ ~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld flags.cpp: In function 'Bit32u get_ZF()': flags.cpp:273:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 273 | LOG(LOG_CPU,LOG_ERROR)("get_ZF Unknown %d",lflags.type); | ~^ ~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld flags.cpp: In function 'Bit32u get_SF()': flags.cpp:341:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 341 | LOG(LOG_CPU,LOG_ERROR)("get_SF Unkown %d",lflags.type); | ~^ ~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld flags.cpp: In function 'Bit32u get_OF()': flags.cpp:429:56: 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 Unkown %d",lflags.type); | ~^ ~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld flags.cpp: In function 'Bitu FillFlags()': flags.cpp:877:62: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 877 | LOG(LOG_CPU,LOG_ERROR)("Unhandled flag type %d",lflags.type); | ~^ ~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld flags.cpp: In function 'void FillFlagsNoCFOF()': 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 make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o paging.o paging.cpp paging.cpp: In function 'void PAGING_PageFault(PhysPt, Bitu, Bitu)': paging.cpp:149:60: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 149 | LOG(LOG_PAGING,LOG_NORMAL)("PageFault at %X type [%x] queue %d",lin_addr,faultcode,pf_queue.used); | ~^ ~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx paging.cpp:149:70: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 149 | LOG(LOG_PAGING,LOG_NORMAL)("PageFault at %X type [%x] queue %d",lin_addr,faultcode,pf_queue.used); | ~^ ~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld paging.cpp:164:66: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 164 | LOG(LOG_PAGING,LOG_NORMAL)("Left PageFault for %x queue %d",lin_addr,pf_queue.used); | ~^ ~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld paging.cpp: In member function 'Bitu InitPageHandler::InitPage(Bitu, bool)': paging.cpp:372:86: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 372 | LOG(LOG_PAGING,LOG_NORMAL)("Page access denied: cpl=%i, %x:%x:%x:%x", | ~^ | | | int | %li 373 | cpu.cpl,entry.block.us,table.block.us,entry.block.wr,table.block.wr); | ~~~~~~~ | | | Bitu {aka long unsigned int} paging.cpp: In member function 'bool InitPageHandler::InitPageCheckOnly(Bitu, bool)': paging.cpp:434:86: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 434 | LOG(LOG_PAGING,LOG_NORMAL)("Page access denied: cpl=%i, %x:%x:%x:%x", | ~^ | | | int | %li 435 | cpu.cpl,entry.block.us,table.block.us,entry.block.wr,table.block.wr); | ~~~~~~~ | | | Bitu {aka long unsigned int} paging.cpp: In member function 'void InitPageUserROHandler::InitPage(Bitu, Bitu)': paging.cpp:535:78: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 535 | LOG(LOG_PAGING,LOG_NORMAL)("Page access denied: cpl=%i, %x:%x:%x:%x", | ~^ | | | int | %li 536 | cpu.cpl,entry.block.us,table.block.us,entry.block.wr,table.block.wr); | ~~~~~~~ | | | Bitu {aka long unsigned int} paging.cpp: In member function 'Bitu InitPageUserROHandler::InitPageCheckOnly(Bitu, Bitu)': paging.cpp:566:86: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 566 | LOG(LOG_PAGING,LOG_NORMAL)("Page access denied: cpl=%i, %x:%x:%x:%x", | ~^ | | | int | %li 567 | cpu.cpl,entry.block.us,table.block.us,entry.block.wr,table.block.wr); | ~~~~~~~ | | | Bitu {aka long unsigned int} make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o core_full.o core_full.cpp In file included from core_full.cpp:82: core_full/load.h: In function 'Bits CPU_Core_Full_Run()': 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 core_full/load.h:324: 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 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 core_full.cpp:83: 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); | ~^ ~~~~~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX core_full/op.h:438:78: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 438 | LOG(LOG_CPU,LOG_ERROR)("Group 7 Illegal subfunction %X",inst.rm_index); | ~^ ~~~~~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX core_full/op.h:647:69: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 647 | LOG(LOG_CPU,LOG_ERROR)("OP:Unhandled code %d entry %X",inst.code.op,inst.entry); | ~^ ~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX In file included from core_full.cpp:84: core_full/save.h:98:71: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 98 | LOG(LOG_CPU,LOG_ERROR)("SAVE:Unhandled code %d entry %X",inst.code.save,inst.entry); | ~^ ~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cpu.o cpu.cpp cpu.cpp: In function 'void CPU_CheckSegments()': cpu.cpp:238:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 238 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~ cpu.cpp:238:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 238 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~~~~ cpu.cpp:248:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 248 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~ cpu.cpp:248:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 248 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~~~~ cpu.cpp:258:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 258 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~ cpu.cpp:258:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 258 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~~~~ cpu.cpp:268:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 268 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~ cpu.cpp:268:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 268 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~~~~ cpu.cpp: In function 'bool CPU_SwitchTask(Bitu, TSwitchType, Bitu)': cpu.cpp:348:59: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 348 | E_Exit("Illegal TSS for switch, selector=%x, switchtype=%x",new_tss_selector,tstype); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx cpu.cpp:502:54: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 502 | E_Exit("Task switch CS Type %d",cs_desc.Type()); | ~^ ~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld cpu.cpp: In function 'void CPU_Interrupt(Bitu, Bitu, Bitu)': cpu.cpp:724:107: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 724 | E_Exit("INT:Gate Selector points to illegal descriptor with type %x",cs_desc.Type()); | ~^ ~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx cpu.cpp:754:58: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 754 | E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num); | ~^ ~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX cpu.cpp:754:69: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 754 | E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX cpu.cpp: In function 'void CPU_IRET(bool, Bitu)': cpu.cpp:901:63: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 901 | E_Exit("IRET:Illegal descriptor type %X",n_cs_desc.Type()); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX cpu.cpp: In function 'void CPU_JMP(bool, Bitu, Bitu, Bitu)': cpu.cpp:1058:62: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1058 | E_Exit("JMP Illegal descriptor type %X",desc.Type()); | ~^ ~~~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX cpu.cpp: In function 'void CPU_CALL(bool, Bitu, Bitu, Bitu)': cpu.cpp:1294:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1294 | E_Exit("CALL:Descriptor type %x unsupported",call.Type()); | ~^ ~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx cpu.cpp: In function 'void CPU_RET(bool, Bitu, Bitu)': cpu.cpp:1352:75: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1352 | E_Exit("RET from illegal descriptor type %X",desc.Type()); | ~^ ~~~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX cpu.cpp:1397:75: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1397 | E_Exit("RET from illegal descriptor type %X",desc.Type()); // or #GP(selector) | ~^ ~~~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX cpu.cpp: In function 'bool CPU_LTR(Bitu)': cpu.cpp:1508:83: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1508 | if (!cpu_tss.SetSelector(selector)) E_Exit("LTR failed, selector=%X",selector); | ~^ ~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o core_simple.o core_simple.cpp In file included from core_simple.cpp:156: core_normal/prefix_none.h: In function 'Bits CPU_Core_Simple_Run()': core_normal/prefix_none.h:1168:81: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1168 | LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); | ~~^ ~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX In file included from core_simple.cpp:157: core_normal/prefix_0f.h:156:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 156 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:170:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 170 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:184:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 184 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:196:64: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 196 | LOG(LOG_CPU,LOG_ERROR)("MOV DR%u,XXX with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:208:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 208 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:222:64: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 222 | LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu In file included from core_simple.cpp:158: core_normal/prefix_66.h:712:84: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 712 | LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); | ~~^ ~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX In file included from core_simple.cpp:159: core_normal/prefix_66_0f.h:59:77: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 59 | LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); | ~~^ ~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX core_normal/prefix_66_0f.h:114:97: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 114 | LOG(LOG_CPU,LOG_ERROR)("Illegal group 7 RM subfunction %d",which); | ~^ ~~~~~ | | | | | Bitu {aka long unsigned int} | int | %ld make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o core_dynrec.o core_dynrec.cpp In file included from core_dynrec.cpp:135: core_dynrec/cache.h: In function 'void cache_closeblock()': core_dynrec/cache.h:503:100: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 503 | if (written>block->cache.size+CACHE_MAXSIZE) E_Exit("CacheBlock overrun 1 %d",written-block->cache.size); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/cache.h:504:62: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 504 | } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size); | ~^ ~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/cache.h:504:70: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 504 | } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld In file included from core_dynrec.cpp:144: core_dynrec/risc_x64.h: In function 'void gen_fill_branch(Bit64u)': core_dynrec/risc_x64.h:632:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bit64s' {aka 'long int'} [-Wformat=] 632 | if (len>126) LOG_MSG("Big jump %d",len); | ~^ ~~~ | | | | | Bit64s {aka long int} | int | %ld In file included from core_dynrec/decoder.h:22, from core_dynrec.cpp:155: core_dynrec/decoder_basic.h: In function 'bool mem_readw_checked_drc(PhysPt)': core_dynrec/decoder_basic.h:715:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 715 | *((Bit16u*)(&core_dynrec.readdata))=host_readw(tlb_addr+address); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core_dynrec/decoder_basic.h: In function 'bool mem_readd_checked_drc(PhysPt)': core_dynrec/decoder_basic.h:726:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 726 | *((Bit32u*)(&core_dynrec.readdata))=host_readd(tlb_addr+address); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from core_dynrec/decoder.h:24: core_dynrec/decoder_opcodes.h: In function 'void dyn_loop(LoopTypes)': core_dynrec/decoder_opcodes.h:1144:16: warning: enumeration value 'LOOP_NONE' not handled in switch [-Wswitch] 1144 | switch (type) { | ^ core_dynrec/decoder_opcodes.h:1144:16: warning: enumeration value 'LOOP_JCXZ' not handled in switch [-Wswitch] In file included from core_dynrec/decoder.h:26: core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc1()': core_dynrec/dyn_fpu.h:182:79: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 182 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX core_dynrec/dyn_fpu.h:182:94: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 182 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX core_dynrec/dyn_fpu.h:192:79: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 192 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX core_dynrec/dyn_fpu.h:192:94: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 192 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX core_dynrec/dyn_fpu.h:220:79: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 220 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX core_dynrec/dyn_fpu.h:220:94: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 220 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX core_dynrec/dyn_fpu.h:251:79: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 251 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX core_dynrec/dyn_fpu.h:251:94: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 251 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX core_dynrec/dyn_fpu.h:282:79: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 282 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX core_dynrec/dyn_fpu.h:282:94: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 282 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX core_dynrec/dyn_fpu.h:287:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 287 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX core_dynrec/dyn_fpu.h:287:86: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 287 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX core_dynrec/dyn_fpu.h:299:74: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 299 | LOG(LOG_FPU,LOG_WARN)("ESC EA 1:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:299:89: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 299 | LOG(LOG_FPU,LOG_WARN)("ESC EA 1:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:327:74: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 327 | LOG(LOG_FPU,LOG_WARN)("ESC EA 1:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:327:89: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 327 | LOG(LOG_FPU,LOG_WARN)("ESC EA 1:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc2()': core_dynrec/dyn_fpu.h:349:79: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 349 | LOG(LOG_FPU,LOG_WARN)("ESC 2:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:349:94: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 349 | LOG(LOG_FPU,LOG_WARN)("ESC 2:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:354:71: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 354 | LOG(LOG_FPU,LOG_WARN)("ESC 2:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:354:86: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 354 | LOG(LOG_FPU,LOG_WARN)("ESC 2:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc3()': core_dynrec/dyn_fpu.h:373:110: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 373 | LOG(LOG_FPU,LOG_ERROR)("8087 only fpu code used esc 3: group 4: subfuntion: %d",decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:386:69: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 386 | E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:386:84: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 386 | E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:390:71: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 390 | LOG(LOG_FPU,LOG_WARN)("ESC 3:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:390:86: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 390 | LOG(LOG_FPU,LOG_WARN)("ESC 3:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:402:74: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 402 | LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:402:89: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 402 | LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:424:74: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 424 | LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:424:89: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 424 | LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc5()': core_dynrec/dyn_fpu.h:503:71: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 503 | LOG(LOG_FPU,LOG_WARN)("ESC 5:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:503:86: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 503 | LOG(LOG_FPU,LOG_WARN)("ESC 5:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:515:74: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 515 | LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:515:89: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 515 | LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:542:74: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 542 | LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:542:89: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 542 | LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc6()': core_dynrec/dyn_fpu.h:565:79: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 565 | LOG(LOG_FPU,LOG_WARN)("ESC 6:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:565:94: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 565 | LOG(LOG_FPU,LOG_WARN)("ESC 6:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc7()': core_dynrec/dyn_fpu.h:631:87: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 631 | LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:631:102: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 631 | LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:636:71: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 636 | LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:636:86: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 636 | LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:648:74: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 648 | LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:648:89: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 648 | LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:682:74: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 682 | LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:682:89: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 682 | LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o core_prefetch.o core_prefetch.cpp In file included from core_prefetch.cpp:264: core_normal/prefix_none.h: In function 'Bits CPU_Core_Prefetch_Run()': core_normal/prefix_none.h:1168:81: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1168 | LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); | ~~^ ~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX In file included from core_prefetch.cpp:265: core_normal/prefix_0f.h:156:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 156 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:170:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 170 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:184:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 184 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:196:64: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 196 | LOG(LOG_CPU,LOG_ERROR)("MOV DR%u,XXX with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:208:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 208 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:222:64: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 222 | LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu In file included from core_prefetch.cpp:266: core_normal/prefix_66.h:712:84: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 712 | LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); | ~~^ ~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX In file included from core_prefetch.cpp:267: core_normal/prefix_66_0f.h:59:77: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 59 | LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); | ~~^ ~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX core_normal/prefix_66_0f.h:114:97: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 114 | LOG(LOG_CPU,LOG_ERROR)("Illegal group 7 RM subfunction %d",which); | ~^ ~~~~~ | | | | | Bitu {aka long unsigned int} | int | %ld make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o core_normal.o core_normal.cpp In file included from core_normal.cpp:159: core_normal/prefix_none.h: In function 'Bits CPU_Core_Normal_Run()': core_normal/prefix_none.h:1168:81: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1168 | LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); | ~~^ ~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX In file included from core_normal.cpp:160: core_normal/prefix_0f.h:156:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 156 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:170:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 170 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:184:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 184 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:196:64: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 196 | LOG(LOG_CPU,LOG_ERROR)("MOV DR%u,XXX with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:208:68: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 208 | LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR%u with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu core_normal/prefix_0f.h:222:64: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 222 | LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lu In file included from core_normal.cpp:161: core_normal/prefix_66.h:712:84: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 712 | LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); | ~~^ ~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX In file included from core_normal.cpp:162: core_normal/prefix_66_0f.h:59:77: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 59 | LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); | ~~^ ~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX core_normal/prefix_66_0f.h:114:97: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 114 | LOG(LOG_CPU,LOG_ERROR)("Illegal group 7 RM subfunction %d",which); | ~^ ~~~~~ | | | | | Bitu {aka long unsigned int} | int | %ld make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' 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') ranlib libcpu.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' Making all in debug make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o debug_win32.o debug_win32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o debug_disasm.o debug_disasm.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o debug_gui.o debug_gui.cpp debug_gui.cpp: In function 'void DEBUG_RefreshPage(char)': debug_gui.cpp:100:42: warning: zero-length gnu_printf format string [-Wformat-zero-length] 100 | mvwprintw(dbg.win_out,maxy-1, 0, ""); | ^~ debug_gui.cpp: In member function 'void LOG::operator()(const char*, ...)': debug_gui.cpp:113:27: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 113 | DEBUG_ShowMsg("%10u: %s:%s\n",cycle_count,loggrp[d_type].front,buf); | ~~~^ ~~~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %10lu make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o debug.o debug.cpp debug.cpp: In function 'bool GetDescriptorInfo(char*, char*, char*)': debug.cpp:198:56: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 198 | sprintf(out1,"%s: s:%08X type:%02X p",selname,desc.GetSelector(),desc.saved.gate.type); | ~~~^ ~~~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp:207:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 207 | sprintf(out2," l:%08X dpl : %01X %1X%1X%1X",desc.GetLimit(),desc.saved.seg.dpl,desc.saved.seg.p,desc.saved.seg.avl,desc.saved.seg.g); | ~~~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp:211:56: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 211 | sprintf(out1,"%s: s:%08X type:%02X p params: %02X",selname,desc.GetSelector(),desc.saved.gate.type,desc.saved.gate.paramcount); | ~~~^ ~~~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp:212:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 212 | sprintf(out2," o:%08X dpl : %01X %1X",desc.GetOffset(),desc.saved.gate.dpl,desc.saved.gate.p); | ~~~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp:218:56: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 218 | sprintf(out1,"%s: s:%08X type:%02X p",selname,desc.GetSelector(),desc.saved.gate.type); | ~~~^ ~~~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp:219:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 219 | sprintf(out2," o:%08X dpl : %01X %1X",desc.GetOffset(),desc.saved.gate.dpl,desc.saved.gate.p); | ~~~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp:223:40: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 223 | sprintf(out2," l:%08X dpl : %01X %1X%1X%1X%1X%1X",desc.GetLimit(),desc.saved.seg.dpl,desc.saved.seg.p,desc.saved.seg.avl,desc.saved.seg.r,desc.saved.seg.big,desc.saved.seg.g); | ~~~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp: In constructor 'CBreakpoint::CBreakpoint()': debug.cpp:322:25: warning: 'CBreakpoint::once' will be initialized after [-Wreorder] 322 | bool once; | ^~~~ debug.cpp:315:25: warning: 'Bit16u CBreakpoint::segment' [-Wreorder] 315 | Bit16u segment; | ^~~~~~~ debug.cpp:329:1: warning: when initialized here [-Wreorder] 329 | CBreakpoint::CBreakpoint(void): | ^~~~~~~~~~~ debug.cpp:319:25: warning: 'CBreakpoint::ahValue' will be initialized after [-Wreorder] 319 | Bit16u ahValue; | ^~~~~~~ debug.cpp:311:25: warning: 'EBreakpoint CBreakpoint::type' [-Wreorder] 311 | EBreakpoint type; | ^~~~ debug.cpp:329:1: warning: when initialized here [-Wreorder] 329 | CBreakpoint::CBreakpoint(void): | ^~~~~~~~~~~ debug.cpp: In function 'void DrawRegisters()': debug.cpp:737:41: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 737 | mvwprintw (dbg.win_reg,2,72,"%01X",GETFLAG(IOPL)>>12); | ~~~^ | | | unsigned int | %01lX debug.cpp:741:41: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 741 | mvwprintw (dbg.win_reg,2,78,"%01X",cpu.cpl); | ~~~^ ~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %01lX debug.cpp:760:38: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 760 | mvwprintw(dbg.win_reg,3,60,"%u ",cycle_count); | ~^ ~~~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lu debug.cpp: In function 'void DrawCode()': debug.cpp:818:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 818 | if(dline_len < 28) for (c = dline_len; c < 28;c++) dline[c] = ' '; dline[28] = 0; | ^~ debug.cpp:818:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 818 | if(dline_len < 28) for (c = dline_len; c < 28;c++) dline[c] = ' '; dline[28] = 0; | ^~~~~ debug.cpp:840:45: warning: too many arguments for format [-Wformat-extra-args] 840 | mvwprintw(dbg.win_code,10,0,"(Running)",codeViewData.inputStr); | ^~~~~~~~~~~ debug.cpp: In function 'void LogGDT()': debug.cpp:1771:57: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1771 | LOG(LOG_MISC,LOG_ERROR)("GDT Base:%08X Limit:%08X",address,length); | ~~~^ ~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %08lX debug.cpp:1774:34: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1774 | sprintf(out1,"%04X: b:%08X type: %02X parbg",(i<<3),desc.GetBase(),desc.saved.seg.type); | ~~~^ ~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %04lX debug.cpp:1776:42: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1776 | sprintf(out1," l:%08X dpl : %01X %1X%1X%1X%1X%1X",desc.GetLimit(),desc.saved.seg.dpl,desc.saved.seg.p,desc.saved.seg.avl,desc.saved.seg.r,desc.saved.seg.big,desc.saved.seg.g); | ~~~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp: In function 'void LogLDT()': debug.cpp:1791:57: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1791 | LOG(LOG_MISC,LOG_ERROR)("LDT Base:%08X Limit:%08X",address,length); | ~~~^ ~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %08lX debug.cpp:1794:34: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1794 | sprintf(out1,"%04X: b:%08X type: %02X parbg",(i<<3)|4,desc.GetBase(),desc.saved.seg.type); | ~~~^ ~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %04lX debug.cpp:1796:42: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1796 | sprintf(out1," l:%08X dpl : %01X %1X%1X%1X%1X%1X",desc.GetLimit(),desc.saved.seg.dpl,desc.saved.seg.p,desc.saved.seg.avl,desc.saved.seg.r,desc.saved.seg.big,desc.saved.seg.g); | ~~~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp: In function 'void LogIDT()': debug.cpp:1808:42: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1808 | sprintf(out1,"%04X: sel:%04X off:%02X",address/8,desc.GetSelector(),desc.GetOffset()); | ~~~^ ~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %04lX debug.cpp:1808:52: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1808 | sprintf(out1,"%04X: sel:%04X off:%02X",address/8,desc.GetSelector(),desc.GetOffset()); | ~~~^ ~~~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %04lX debug.cpp:1808:61: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1808 | sprintf(out1,"%04X: sel:%04X off:%02X",address/8,desc.GetSelector(),desc.GetOffset()); | ~~~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %02lX debug.cpp: In function 'void LogPages(char*)': debug.cpp:1844:55: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1844 | sprintf(out1,"page %05Xxxx -> %04Xxxx flags [puw] %x:%x::%x:%x::%x:%x",sel,entry.block.base,entry.block.p,table.block.p,entry.block.us,table.block.us,entry.block.wr,table.block.wr); | ~~~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %05lX debug.cpp:1847:60: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1847 | sprintf(out1,"pagetable %03X not present, flags [puw] %x::%x::%x",(sel >> 10),table.block.p,table.block.us,table.block.wr); | ~~~^ ~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %03lX debug.cpp: In function 'void LogCPUInfo()': debug.cpp:1856:30: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1856 | sprintf(out1,"cr0:%08X cr2:%08X cr3:%08X cpl=%x",cpu.cr0,paging.cr2,paging.cr3,cpu.cpl); | ~~~^ ~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp:1856:39: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1856 | sprintf(out1,"cr0:%08X cr2:%08X cr3:%08X cpl=%x",cpu.cr0,paging.cr2,paging.cr3,cpu.cpl); | ~~~^ ~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp:1856:48: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1856 | sprintf(out1,"cr0:%08X cr2:%08X cr3:%08X cpl=%x",cpu.cr0,paging.cr2,paging.cr3,cpu.cpl); | ~~~^ ~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp:1856:56: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1856 | sprintf(out1,"cr0:%08X cr2:%08X cr3:%08X cpl=%x",cpu.cr0,paging.cr2,paging.cr3,cpu.cpl); | ~^ ~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx debug.cpp:1858:33: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1858 | sprintf(out1,"eflags:%08X [vm=%x iopl=%x nt=%x]",reg_flags,GETFLAG(VM)>>17,GETFLAG(IOPL)>>12,GETFLAG(NT)>>14); | ~~~^ | | | unsigned int | %08lX debug.cpp:1858:40: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1858 | sprintf(out1,"eflags:%08X [vm=%x iopl=%x nt=%x]",reg_flags,GETFLAG(VM)>>17,GETFLAG(IOPL)>>12,GETFLAG(NT)>>14); | ~^ | | | unsigned int | %lx debug.cpp:1858:48: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1858 | sprintf(out1,"eflags:%08X [vm=%x iopl=%x nt=%x]",reg_flags,GETFLAG(VM)>>17,GETFLAG(IOPL)>>12,GETFLAG(NT)>>14); | ~^ | | | unsigned int | %lx debug.cpp:1858:54: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1858 | sprintf(out1,"eflags:%08X [vm=%x iopl=%x nt=%x]",reg_flags,GETFLAG(VM)>>17,GETFLAG(IOPL)>>12,GETFLAG(NT)>>14); | ~^ | | | unsigned int | %lx debug.cpp:1860:46: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1860 | sprintf(out1,"GDT base=%08X limit=%08X",cpu.gdt.GetBase(),cpu.gdt.GetLimit()); | ~~~^ ~~~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp:1862:46: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1862 | sprintf(out1,"IDT base=%08X limit=%08X",cpu.idt.GetBase(),cpu.idt.GetLimit()); | ~~~^ ~~~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp:1868:46: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1868 | sprintf(out1,"TR selector=%04X, base=%08X limit=%08X*%X",sel,desc.GetBase(),desc.GetLimit(),desc.saved.seg.g?0x4000:1); | ~~~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %04lX debug.cpp:1868:68: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1868 | sprintf(out1,"TR selector=%04X, base=%08X limit=%08X*%X",sel,desc.GetBase(),desc.GetLimit(),desc.saved.seg.g?0x4000:1); | ~~~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp:1873:47: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1873 | sprintf(out1,"LDT selector=%04X, base=%08X limit=%08X*%X",sel,desc.GetBase(),desc.GetLimit(),desc.saved.seg.g?0x4000:1); | ~~~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %04lX debug.cpp:1873:69: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1873 | sprintf(out1,"LDT selector=%04X, base=%08X limit=%08X*%X",sel,desc.GetBase(),desc.GetLimit(),desc.saved.seg.g?0x4000:1); | ~~~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %08lX debug.cpp: In function 'void LogInstruction(Bit16u, Bit32u, std::ofstream&)': debug.cpp:1890:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1890 | if (reslen<22) for (Bitu i=0; i<22-reslen; i++) res[reslen+i] = ' '; res[22] = 0; | ^~ debug.cpp:1890:86: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1890 | if (reslen<22) for (Bitu i=0; i<22-reslen; i++) res[reslen+i] = ' '; res[22] = 0; | ^~~ debug.cpp:1893:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1893 | if (len<30) for (Bitu i=0; i<30-len; i++) dline[len + i] = ' '; dline[30] = 0; | ^~ debug.cpp:1893:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1893 | if (len<30) for (Bitu i=0; i<30-len; i++) dline[len + i] = ' '; dline[30] = 0; | ^~~~~ debug.cpp:1905:77: warning: too many arguments for format [-Wformat-extra-args] 1905 | if (mem_readb_checked(start+i,&value)) sprintf(tmpc,"?? ",value); | ^~~~~ debug.cpp: In member function 'virtual void DEBUG::Run()': debug.cpp:1961:22: warning: unused variable 'ok' [-Wunused-variable] 1961 | bool ok = false; | ^~ debug.cpp: In function 'void SaveMemory(Bit16u, Bit32u, Bit32u)': debug.cpp:2150:92: warning: too many arguments for format [-Wformat-extra-args] 2150 | if (mem_readb_checked(GetAddress(seg,ofs1+x),&value)) sprintf(temp,"?? ",value); | ^~~~~ debug.cpp:2163:92: warning: too many arguments for format [-Wformat-extra-args] 2163 | if (mem_readb_checked(GetAddress(seg,ofs1+x),&value)) sprintf(temp,"?? ",value); | ^~~~~ debug.cpp: In function 'void DrawVariables()': debug.cpp:2225:60: warning: too many arguments for format [-Wformat-extra-args] 2225 | snprintf(buffer,DEBUG_VAR_BUF_LEN, "??????", value); | ^~~~~~~~ debug.cpp: In function 'void DEBUG_HeavyLogInstruction()': debug.cpp:2289:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2289 | if (reslen<22) for (Bitu i=0; i<22-reslen; i++) res[reslen+i] = ' '; res[22] = 0; | ^~ debug.cpp:2289:86: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2289 | if (reslen<22) for (Bitu i=0; i<22-reslen; i++) res[reslen+i] = ' '; res[22] = 0; | ^~~ debug.cpp:2283:14: warning: unused variable 'size' [-Wunused-variable] 2283 | Bitu size = DasmI386(dline, start, reg_eip, cpu.code.big); | ^~~~ debug.cpp: At global scope: debug.cpp:2245:15: warning: 'logCpuEIP' defined but not used [-Wunused-variable] 2245 | static Bit32u logCpuEIP[LOGCPUMAX]; | ^~~~~~~~~ debug.cpp:2244:15: warning: 'logCpuCS' defined but not used [-Wunused-variable] 2244 | static Bit16u logCpuCS [LOGCPUMAX]; | ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' rm -f libdebug.a ar cru libdebug.a debug.o debug_gui.o debug_disasm.o debug_win32.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libdebug.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' Making all in dos make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_classes.o dos_classes.cpp In file included from dos_classes.cpp:25: dos_classes.cpp: In member function 'void DOS_ParamBlock::LoadData()': ../../include/dos_inc.h:254:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 254 | #define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m)) | ~^~~~~~~~~ dos_classes.cpp:41:33: note: in expansion of macro 'sGet' 41 | overlay.loadseg=(Bit16u)sGet(sOverlay,loadseg); | ^~~~ ../../include/dos_inc.h:254:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 254 | #define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m)) | ~^~~~~~~~~ dos_classes.cpp:42:36: note: in expansion of macro 'sGet' 42 | overlay.relocation=(Bit16u)sGet(sOverlay,relocation); | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_execute.o dos_execute.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o drives.o drives.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o drive_virtual.o drive_virtual.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_tables.o dos_tables.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_ioctl.o dos_ioctl.cpp dos_ioctl.cpp: In function 'bool DOS_IOCTL()': dos_ioctl.cpp:120:106: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 120 | LOG(LOG_IOCTL,LOG_NORMAL)("06:Used Get Input Status on regular file with handle %d",handle); | ~^ ~~~~~~ | | | | | Bitu {aka long unsigned int} | int | %ld dos_ioctl.cpp:124:88: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 124 | LOG(LOG_IOCTL,LOG_NORMAL)("07:Fakes output status is ready for handle %d",handle); | ~^ ~~~~~~ | | | | | Bitu {aka long unsigned int} | int | %ld make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cdrom_aspi_win32.o cdrom_aspi_win32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cdrom_ioctl_win32.o cdrom_ioctl_win32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o drive_local.o drive_local.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_misc.o dos_misc.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_files.o dos_files.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_devices.o dos_devices.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_memory.o dos_memory.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos.o dos.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o drive_cache.o drive_cache.cpp drive_cache.cpp: In member function 'Bits DOS_Drive_Cache::GetLongName(CFileInfo*, char*)': drive_cache.cpp:452:28: warning: comparison of integer expressions of different signedness: 'Bits' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 452 | for (Bits i = 0; i < filelist_size; i++) { | ~~^~~~~~~~~~~~~~~ drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(CFileInfo*, CFileInfo*)': 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 make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o drive_fat.o drive_fat.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o drive_iso.o drive_iso.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cdrom_ioctl_os2.o cdrom_ioctl_os2.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_programs.o dos_programs.cpp dos_programs.cpp: In member function 'virtual void KEYB::Run()': dos_programs.cpp:1404:94: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1404 | LOG(LOG_DOSMISC,LOG_ERROR)("KEYB:Invalid returncode %x",keyb_error); | ~^ ~~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx dos_programs.cpp: In member function 'virtual void BOOT::Run()': 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.cpp:784:46: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 784 | fread(rombuf, 1, 0x200, usefile_2); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.cpp:789:46: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 789 | fread(rombuf, 1, rombytesize_2-0x200, usefile_2); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.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(rombuf, 1, 0x200, usefile_1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cdrom_ioctl_linux.o cdrom_ioctl_linux.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cdrom.o cdrom.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_keyboard_layout.o dos_keyboard_layout.cpp dos_keyboard_layout.cpp: In member function 'Bitu keyboard_layout::read_codepage_file(const char*, Bit32s)': dos_keyboard_layout.cpp:891:48: warning: variable 'font_data_length' set but not used [-Wunused-but-set-variable] 891 | Bit16u number_of_fonts,font_data_length; | ^~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)': 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp: In member function 'Bitu keyboard_layout::read_codepage_file(const char*, Bit32s)': 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++; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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++; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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++; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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++; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_mscdex.o dos_mscdex.cpp dos_mscdex.cpp: In function 'Bit16u MSCDEX_IOCTL_Input(PhysPt, Bit8u)': dos_mscdex.cpp:870:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 870 | MSCDEX_LOG("MSCDEX: IOCTL INPUT Subfunction %02X",ioctl_fct); | ~~~^ ~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %02lX dos_mscdex.cpp:971:105: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 971 | default : LOG(LOG_MISC,LOG_ERROR)("MSCDEX: Unsupported IOCTL INPUT Subfunction %02X",ioctl_fct); | ~~~^ ~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %02lX dos_mscdex.cpp: In function 'Bit16u MSCDEX_IOCTL_Optput(PhysPt, Bit8u)': dos_mscdex.cpp:995:106: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 995 | default : LOG(LOG_MISC,LOG_ERROR)("MSCDEX: Unsupported IOCTL OUTPUT Subfunction %02X",ioctl_fct); | ~~~^ ~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %02lX make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cdrom_image.o cdrom_image.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' 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') ranlib libdos.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' Making all in fpu make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o fpu.o fpu.cpp fpu.cpp: In function 'void FPU_ESC1_EA(Bitu, PhysPt)': fpu.cpp:139:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 139 | LOG(LOG_FPU,LOG_WARN)("ESC EA 1:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:139:81: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 139 | LOG(LOG_FPU,LOG_WARN)("ESC EA 1:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:161:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 161 | LOG(LOG_FPU,LOG_WARN)("ESC EA 1:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:161:81: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 161 | LOG(LOG_FPU,LOG_WARN)("ESC EA 1:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp: In function 'void FPU_ESC1_Normal(Bitu)': fpu.cpp:197:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 197 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX fpu.cpp:197:86: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 197 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX fpu.cpp:207:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 207 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX fpu.cpp:207:86: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 207 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX fpu.cpp:235:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 235 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX fpu.cpp:235:86: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 235 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX fpu.cpp:266:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 266 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX fpu.cpp:266:86: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 266 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX fpu.cpp:297:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 297 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX fpu.cpp:297:86: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 297 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX fpu.cpp:302:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 302 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); | ~^ ~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX fpu.cpp:302:86: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 302 | LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX fpu.cpp: In function 'void FPU_ESC2_Normal(Bitu)': fpu.cpp:325:71: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 325 | LOG(LOG_FPU,LOG_WARN)("ESC 2:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:325:86: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 325 | LOG(LOG_FPU,LOG_WARN)("ESC 2:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:330:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 330 | LOG(LOG_FPU,LOG_WARN)("ESC 2:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:330:78: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 330 | LOG(LOG_FPU,LOG_WARN)("ESC 2:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp: In function 'void FPU_ESC3_EA(Bitu, PhysPt)': fpu.cpp:345:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 345 | LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:345:81: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 345 | LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:363:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 363 | LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:363:81: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 363 | LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp: In function 'void FPU_ESC3_Normal(Bitu)': fpu.cpp:375:102: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 375 | LOG(LOG_FPU,LOG_ERROR)("8087 only fpu code used esc 3: group 4: subfuntion :%d",sub); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | int | %ld fpu.cpp:389:61: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 389 | E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:389:76: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 389 | E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:393:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 393 | LOG(LOG_FPU,LOG_WARN)("ESC 3:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:393:78: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 393 | LOG(LOG_FPU,LOG_WARN)("ESC 3:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp: In function 'void FPU_ESC5_EA(Bitu, PhysPt)': fpu.cpp:450:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 450 | LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:450:81: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 450 | LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:471:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 471 | LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:471:81: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 471 | LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp: In function 'void FPU_ESC5_Normal(Bitu)': fpu.cpp:500:55: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 500 | LOG(LOG_FPU,LOG_WARN)("ESC 5:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:500:70: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 500 | LOG(LOG_FPU,LOG_WARN)("ESC 5:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp: In function 'void FPU_ESC6_Normal(Bitu)': fpu.cpp:528:71: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 528 | LOG(LOG_FPU,LOG_WARN)("ESC 6:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:528:86: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 528 | LOG(LOG_FPU,LOG_WARN)("ESC 6:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp: In function 'void FPU_ESC7_EA(Bitu, PhysPt)': fpu.cpp:562:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 562 | LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:562:81: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 562 | LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:588:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 588 | LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:588:81: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 588 | LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp: In function 'void FPU_ESC7_Normal(Bitu)': fpu.cpp:616:79: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 616 | LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:616:94: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 616 | LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:621:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 621 | LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:621:78: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 621 | LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' rm -f libfpu.a ar cru libfpu.a fpu.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libfpu.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' Making all in gui make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o sdl_gui.o sdl_gui.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o midi.o midi.cpp midi.cpp: In function 'void MIDI_RawOutByte(Bit8u)': midi.cpp:130:70: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 130 | LOG(LOG_ALL,LOG_NORMAL)("Sysex message size %d",midi.sysex.used); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld In file included from midi.cpp:91: midi_oss.h: In member function 'virtual void MidiHandler_oss::PlaySysex(Bit8u*, Bitu)': 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); | ~~~~~^~~~~~~~~~~~~~~~ midi_oss.h: In member function 'virtual void MidiHandler_oss::PlayMsg(Bit8u*)': 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); | ~~~~~^~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o render.o render.cpp render.cpp: In function 'void RENDER_Reset()': render.cpp:383:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 383 | else | ^~~~ render.cpp:385:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 385 | break; | ^~~~~ render.cpp:484:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 484 | E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); | ~^ ~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld render.cpp: In function 'void IncreaseFrameSkip(bool)': render.cpp:543:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 543 | LOG_MSG("Frame Skip at %d",render.frameskip.max); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld render.cpp: In function 'void DecreaseFrameSkip(bool)': render.cpp:551:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 551 | LOG_MSG("Frame Skip at %d",render.frameskip.max); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o sdlmain.o sdlmain.cpp In file included from sdlmain.cpp:58: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46: /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': 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 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 sdlmain.cpp: In function 'Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)': 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 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 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 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 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 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 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 sdlmain.cpp: At global scope: sdlmain.cpp:327:13: warning: 'void PauseDOSBox(bool)' defined but not used [-Wunused-function] 327 | static void PauseDOSBox(bool pressed) { | ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o sdl_mapper.o sdl_mapper.cpp sdl_mapper.cpp: In member function 'virtual void CJAxisBind::ConfigName(char*)': 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); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In member function 'virtual void CJAxisBind::BindName(char*)': sdl_mapper.cpp:547:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 547 | sprintf(buf,"%s Axis %d%s",group->BindStart(),axis,positive ? "+" : "-"); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In member function 'virtual void CJButtonBind::ConfigName(char*)': sdl_mapper.cpp:562:41: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 562 | sprintf(buf,"%s button %d",group->ConfigStart(),button); | ~^ ~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In member function 'virtual void CJButtonBind::BindName(char*)': sdl_mapper.cpp:565:41: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 565 | sprintf(buf,"%s Button %d",group->BindStart(),button); | ~^ ~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In member function 'virtual void CJHatBind::ConfigName(char*)': sdl_mapper.cpp:586:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 586 | sprintf(buf,"%s hat %d %d",group->ConfigStart(),hat,dir); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In member function 'virtual void CJHatBind::BindName(char*)': sdl_mapper.cpp:589:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 589 | sprintf(buf,"%s Hat %d %s",group->BindStart(),hat,(dir==SDL_HAT_UP)?"up": | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In constructor 'CStickBindGroup::CStickBindGroup(Bitu, Bitu, bool)': sdl_mapper.cpp:606:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 606 | sprintf(configname,"stick_%d",emustick); | ~^ ~~~~~~~~ | | | | | Bitu {aka long unsigned int} | int | %ld sdl_mapper.cpp:659:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 659 | LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:659:59: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 659 | LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats); | ~^ ~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:659:74: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 659 | LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In member function 'void CHandlerEvent::MakeDefaultBind(char*)': 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\"", | ~^ | | | int | %ld 1589 | entry, 1590 | key, | ~~~ | | | Bitu {aka long unsigned int} sdl_mapper.cpp: In function 'CJAxisEvent* AddJAxisButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu, bool, CJAxisEvent*)': sdl_mapper.cpp:1688:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1688 | sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:1688:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1688 | sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In function 'CJAxisEvent* AddJAxisButton_hidden(Bitu, Bitu, bool, CJAxisEvent*)': sdl_mapper.cpp:1695:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1695 | sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:1695:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1695 | sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In function 'void AddJButtonButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu)': sdl_mapper.cpp:1701:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1701 | sprintf(buf,"jbutton_%d_%d",stick,button); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:1701:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1701 | sprintf(buf,"jbutton_%d_%d",stick,button); | ~^ ~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In function 'void AddJButtonButton_hidden(Bitu, Bitu)': sdl_mapper.cpp:1707:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1707 | sprintf(buf,"jbutton_%d_%d",stick,button); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:1707:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1707 | sprintf(buf,"jbutton_%d_%d",stick,button); | ~^ ~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In function 'void AddJHatButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu, Bitu)': sdl_mapper.cpp:1713:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1713 | sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir); | ~^ ~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:1713:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1713 | sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:1713:34: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1713 | sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In function 'void AddModButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu)': sdl_mapper.cpp:1720:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1720 | sprintf(buf,"mod_%d",_mod); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | int | %ld sdl_mapper.cpp: In function 'void CreateDefaultBinds()': sdl_mapper.cpp:2061:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 2061 | sprintf(buffer,"key_%s \"key %d\"",DefaultKeys[i].eventend,DefaultKeys[i].key); | ~^ ~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o render_scalers.o render_scalers.cpp In file included from render_templates.h:434, from render_scalers.cpp:129: render_templates_sai.h: In function 'void Super2xSaI_15(Bit16u*, Bit16u*, const Bit16u*)': render_templates_sai.h:46:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 46 | register int r = 0; | ^ render_templates_sai.h: In function 'void SuperEagle_15(Bit16u*, Bit16u*, const Bit16u*)': render_templates_sai.h:130:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 130 | register int r = 0; | ^ render_templates_sai.h: In function 'void _2xSaI_15(Bit16u*, Bit16u*, const Bit16u*)': render_templates_sai.h:188:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 188 | register int r = 0; | ^ In file included from render_templates.h:434, from render_scalers.cpp:144: render_templates_sai.h: In function 'void Super2xSaI_16(Bit16u*, Bit16u*, const Bit16u*)': render_templates_sai.h:46:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 46 | register int r = 0; | ^ render_templates_sai.h: In function 'void SuperEagle_16(Bit16u*, Bit16u*, const Bit16u*)': render_templates_sai.h:130:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 130 | register int r = 0; | ^ render_templates_sai.h: In function 'void _2xSaI_16(Bit16u*, Bit16u*, const Bit16u*)': render_templates_sai.h:188:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 188 | register int r = 0; | ^ In file included from render_templates.h:434, from render_scalers.cpp:159: render_templates_sai.h: In function 'void Super2xSaI_32(Bit32u*, Bit32u*, const Bit32u*)': render_templates_sai.h:46:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 46 | register int r = 0; | ^ render_templates_sai.h: In function 'void SuperEagle_32(Bit32u*, Bit32u*, const Bit32u*)': render_templates_sai.h:130:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 130 | register int r = 0; | ^ render_templates_sai.h: In function 'void _2xSaI_32(Bit32u*, Bit32u*, const Bit32u*)': render_templates_sai.h:188:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 188 | register int r = 0; | ^ render_loops.h: At global scope: render_templates.h:532:33: warning: 'void AdvMame3x_15_L()' defined but not used [-Wunused-function] 532 | #define SCALERNAME AdvMame3x | ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:532:33: warning: 'void AdvMame3x_15_R()' defined but not used [-Wunused-function] 532 | #define SCALERNAME AdvMame3x | ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:513:33: warning: 'void AdvMame2x_15_L()' defined but not used [-Wunused-function] 513 | #define SCALERNAME AdvMame2x | ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:513:33: warning: 'void AdvMame2x_15_R()' defined but not used [-Wunused-function] 513 | #define SCALERNAME AdvMame2x | ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:456:33: warning: 'void _2xSaI_15_L()' defined but not used [-Wunused-function] 456 | #define SCALERNAME _2xSaI | ^~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:456:33: warning: 'void _2xSaI_15_R()' defined but not used [-Wunused-function] 456 | #define SCALERNAME _2xSaI | ^~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:446:33: warning: 'void SuperEagle_15_L()' defined but not used [-Wunused-function] 446 | #define SCALERNAME SuperEagle | ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:446:33: warning: 'void SuperEagle_15_R()' defined but not used [-Wunused-function] 446 | #define SCALERNAME SuperEagle | ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:436:33: warning: 'void Super2xSaI_15_L()' defined but not used [-Wunused-function] 436 | #define SCALERNAME Super2xSaI | ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:436:33: warning: 'void Super2xSaI_15_R()' defined but not used [-Wunused-function] 436 | #define SCALERNAME Super2xSaI | ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:423:33: warning: 'void HQ3x_15_L()' defined but not used [-Wunused-function] 423 | #define SCALERNAME HQ3x | ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:423:33: warning: 'void HQ3x_15_R()' defined but not used [-Wunused-function] 423 | #define SCALERNAME HQ3x | ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:412:33: warning: 'void HQ2x_15_L()' defined but not used [-Wunused-function] 412 | #define SCALERNAME HQ2x | ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:412:33: warning: 'void HQ2x_15_R()' defined but not used [-Wunused-function] 412 | #define SCALERNAME HQ2x | ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:272:33: warning: 'void NormalDh_9_8_L(const void*)' defined but not used [-Wunused-function] 272 | #define SCALERNAME NormalDh | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:22:13: note: in expansion of macro 'conc4d' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~~~~~ render_templates.h:272:33: warning: 'void NormalDh_9_8_R(const void*)' defined but not used [-Wunused-function] 272 | #define SCALERNAME NormalDh | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:24:13: note: in expansion of macro 'conc4d' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~~~~~ render_templates.h:260:33: warning: 'void NormalDw_9_8_L(const void*)' defined but not used [-Wunused-function] 260 | #define SCALERNAME NormalDw | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:22:13: note: in expansion of macro 'conc4d' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~~~~~ render_templates.h:260:33: warning: 'void NormalDw_9_8_R(const void*)' defined but not used [-Wunused-function] 260 | #define SCALERNAME NormalDw | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:24:13: note: in expansion of macro 'conc4d' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~~~~~ render_templates.h:241:33: warning: 'void Normal3x_9_8_L(const void*)' defined but not used [-Wunused-function] 241 | #define SCALERNAME Normal3x | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:22:13: note: in expansion of macro 'conc4d' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~~~~~ render_templates.h:241:33: warning: 'void Normal3x_9_8_R(const void*)' defined but not used [-Wunused-function] 241 | #define SCALERNAME Normal3x | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:24:13: note: in expansion of macro 'conc4d' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~~~~~ render_templates.h:227:33: warning: 'void Normal2x_9_8_L(const void*)' defined but not used [-Wunused-function] 227 | #define SCALERNAME Normal2x | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:22:13: note: in expansion of macro 'conc4d' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~~~~~ render_templates.h:227:33: warning: 'void Normal2x_9_8_R(const void*)' defined but not used [-Wunused-function] 227 | #define SCALERNAME Normal2x | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:24:13: note: in expansion of macro 'conc4d' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~~~~~ render_templates.h:216:33: warning: 'void Normal1x_9_8_L(const void*)' defined but not used [-Wunused-function] 216 | #define SCALERNAME Normal1x | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:22:13: note: in expansion of macro 'conc4d' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~~~~~ render_templates.h:216:33: warning: 'void Normal1x_9_8_R(const void*)' defined but not used [-Wunused-function] 216 | #define SCALERNAME Normal1x | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:24:13: note: in expansion of macro 'conc4d' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~~~~~ render_templates.h:156:20: warning: 'void Cache_9_8(const void*)' defined but not used [-Wunused-function] 156 | static void conc3d(Cache,SBPP,DBPP) (const void * s) { | ^~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_templates.h:156:13: note: in expansion of macro 'conc3d' 156 | static void conc3d(Cache,SBPP,DBPP) (const void * s) { | ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' rm -f libgui.a ar cru libgui.a sdlmain.o sdl_mapper.o render.o render_scalers.o midi.o sdl_gui.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libgui.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' Making all in hardware Making all in serialport make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o libserial.o libserial.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o misc_util.o misc_util.cpp misc_util.cpp: In member function 'bool TCPClientSocket::SendArray(Bit8u*, Bitu)': misc_util.cpp:230:50: warning: comparison of integer expressions of different signedness: 'int' and 'Bitu' {aka 'long unsigned int'} [-Wsign-compare] 230 | if(SDLNet_TCP_Send(mysock, data, bufsize)!=bufsize) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ misc_util.cpp: In member function 'bool TCPClientSocket::SendByteBuffered(Bit8u)': misc_util.cpp:244:71: warning: comparison of integer expressions of different signedness: 'int' and 'Bitu' {aka 'long unsigned int'} [-Wsign-compare] 244 | if(SDLNet_TCP_Send(mysock, sendbuffer, sendbuffersize)!=sendbuffersize) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ misc_util.cpp: In member function 'void TCPClientSocket::FlushBuffer()': misc_util.cpp:276:41: warning: comparison of integer expressions of different signedness: 'int' and 'Bitu' {aka 'long unsigned int'} [-Wsign-compare] 275 | if(SDLNet_TCP_Send(mysock, sendbuffer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | sendbufferindex)!=sendbufferindex) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o serialdummy.o serialdummy.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o directserial.o directserial.cpp directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': 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 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 directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': 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 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} directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': 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 make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o softmodem.o softmodem.cpp In file included from softmodem.cpp:31: softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': softmodem.h:95:75: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 95 | LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lu softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': softmodem.h:129:76: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 129 | LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld softmodem.cpp: In member function 'void CSerialModem::SendRes(ResTypes)': softmodem.cpp:149:16: warning: enumeration value 'ResBUSY' not handled in switch [-Wswitch] 149 | switch (response) | ^ softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()': softmodem.cpp:274:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 274 | while(waitingclientsocket=serversocket->Accept()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ softmodem.cpp:280:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 280 | LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); | ~^ | | | int | %ld softmodem.cpp:280:75: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 280 | LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); | ~^ ~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld softmodem.cpp:283:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 283 | } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); | ~^ | | | int | %ld softmodem.cpp:283:68: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 283 | } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); | ~^ ~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld softmodem.cpp: In member function 'void CSerialModem::DoCommand()': softmodem.cpp:513:80: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 513 | LOG_MSG("Modem: Unhandled command: &%c%d",cmdchar,ScanNumber(scanbuf)); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld softmodem.cpp:533:81: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 533 | LOG_MSG("Modem: Unhandled command: \\%c%d",cmdchar, ScanNumber(scanbuf)); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld softmodem.cpp:542:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 542 | LOG_MSG("Modem: Unhandled command: %c%d",chr,ScanNumber(scanbuf)); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld softmodem.cpp: In member function 'void CSerialModem::Timer2()': softmodem.cpp:651:23: warning: unused variable 'args' [-Wunused-variable] 651 | unsigned long args = 1; | ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o nullmodem.o nullmodem.cpp nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': 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 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 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 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 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 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 nullmodem.cpp: In member function 'void CNullModem::ClientConnect()': nullmodem.cpp:226:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 226 | LOG_MSG("Serial%d: Connection failed.",idnumber+1); | ~^ ~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld nullmodem.cpp:236:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 236 | LOG_MSG("Serial%d: Connected to %s",idnumber+1,peernamebuf); | ~^ ~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld nullmodem.cpp: In member function 'void CNullModem::Disconnect()': nullmodem.cpp:244:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 244 | LOG_MSG("Serial%d: Disconnected.",COMNUMBER); | ~^ | | | int | %ld nullmodem.cpp: In member function 'virtual void CNullModem::handleUpperEvent(Bit16u)': nullmodem.cpp:388:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 388 | LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf); | ~^ | | | int | %ld nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': nullmodem.cpp:462:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 462 | LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); | ~^ | | | int | %ld make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o serialport.o serialport.cpp In file included from serialport.cpp:35: softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': softmodem.h:95:75: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 95 | LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lu softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': softmodem.h:129:76: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 129 | LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld serialport.cpp: In member function 'void CSerial::log_ser(bool, const char*, ...)': serialport.cpp:206:41: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] 206 | sprintf(buf,"%12.3f [% 7u] ",PIC_FullIndex(), SDL_GetTicks()); | ^ serialport.cpp: In member function 'void CSerial::handleEvent(Bit16u)': 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: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 272 | LOG_MSG("Serial%d: Errors: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | COMNUMBER, framingErrors, parityErrors, overrunErrors, | ~~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 272 | LOG_MSG("Serial%d: Errors: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | COMNUMBER, framingErrors, parityErrors, overrunErrors, | ~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 272 | LOG_MSG("Serial%d: Errors: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | COMNUMBER, framingErrors, parityErrors, overrunErrors, | ~~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 272 | LOG_MSG("Serial%d: Errors: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | COMNUMBER, framingErrors, parityErrors, overrunErrors, 275 | overrunIF0,txOverrunErrors, breakErrors); | ~~~~~~~~~~ | | | Bitu {aka long unsigned int} serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 272 | LOG_MSG("Serial%d: Errors: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | COMNUMBER, framingErrors, parityErrors, overrunErrors, 275 | overrunIF0,txOverrunErrors, breakErrors); | ~~~~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 272 | LOG_MSG("Serial%d: Errors: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | COMNUMBER, framingErrors, parityErrors, overrunErrors, 275 | overrunIF0,txOverrunErrors, breakErrors); | ~~~~~~~~~~~ | | | Bitu {aka long unsigned int} serialport.cpp: In static member function 'static bool CSerial::getBituSubstring(const char*, Bitu*, CommandLine*)': 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 serialport.cpp: In constructor 'SERIALPORTS::SERIALPORTS(Section*)': 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 make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' rm -f libserial.a ar cru libserial.a directserial.o libserial.o serialdummy.o serialport.o softmodem.o misc_util.o nullmodem.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libserial.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' Making all in mame make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o saa1099.o saa1099.cpp In file included from saa1099.cpp:70: emu.h:122:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] 122 | static void auto_free(const device_t::machine_t& machine, void * buffer) { | ^~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o sn76496.o sn76496.cpp sn76496.cpp: In member function 'virtual void sn76496_base_device::sound_stream_update(device_sound_interface::sound_stream&, stream_sample_t**, stream_sample_t**, int)': sn76496.cpp:430:102: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 430 | if (((m_RNG & m_whitenoise_tap1)!=0) != (((m_RNG & m_whitenoise_tap2)!=(m_ncr_style_psg?m_whitenoise_tap2:0)) && in_noise_mode())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sn76496.cpp:139: emu.h: At global scope: emu.h:122:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] 122 | static void auto_free(const device_t::machine_t& machine, void * buffer) { | ^~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' rm -f libmame.a ar cru libmame.a saa1099.o sn76496.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libmame.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_attr.o vga_attr.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga.o vga.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o keyboard.o keyboard.cpp keyboard.cpp: In function 'void write_p60(Bitu, Bitu, Bitu)': keyboard.cpp:146:76: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 146 | LOG(LOG_KEYBOARD,LOG_ERROR)("60:Unhandled command %X",val); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX keyboard.cpp: In function 'void write_p64(Bitu, Bitu, Bitu)': keyboard.cpp:211:70: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 211 | LOG(LOG_KEYBOARD,LOG_ERROR)("Port 64 write with val %d",val); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | int | %ld make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_dac.o vga_dac.cpp vga_dac.cpp: In function 'void write_p3c6(Bitu, Bitu, Bitu)': vga_dac.cpp:70:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 70 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:DCA:Pel Mask set to %X", val); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_crtc.o vga_crtc.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_gfx.o vga_gfx.cpp vga_gfx.cpp: In function 'void write_p3cf(Bitu, Bitu, Bitu)': vga_gfx.cpp:185:70: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 185 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:3CF:Write %2X to illegal index 9",val); | ~~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %2lX vga_gfx.cpp:189:62: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 189 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:3CF:Write %2X to illegal index %2X",val,gfx(index)); | ~~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %2lX vga_gfx.cpp: In function 'Bitu read_p3cf(Bitu, Bitu)': vga_gfx.cpp:217:87: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 217 | LOG(LOG_VGAMISC,LOG_NORMAL)("Reading from illegal index %2X in port %4X",static_cast(gfx(index)),port); | ~~^ ~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %4lX make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dma.o dma.cpp dma.cpp: In member function 'Bitu DmaController::ReadControllerReg(Bitu, Bitu)': 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 make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_draw.o vga_draw.cpp vga_draw.cpp: In function 'void VGA_SetBlinking(Bitu)': vga_draw.cpp:698:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 698 | LOG(LOG_VGA,LOG_NORMAL)("Blinking %d",enabled); | ~^ ~~~~~~~ | | | | | Bitu {aka long unsigned int} | int | %ld vga_draw.cpp: In function 'void VGA_VerticalTimer(Bitu)': vga_draw.cpp:883:68: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 883 | LOG(LOG_VGAMISC,LOG_NORMAL)( "Parts left: %d", vga.draw.parts_left ); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld vga_draw.cpp:893:68: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 893 | LOG(LOG_VGAMISC,LOG_NORMAL)( "Lines left: %d", | ~^ | | | int | %ld 894 | vga.draw.lines_total-vga.draw.lines_done); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} vga_draw.cpp: In function 'void VGA_SetupDrawing(Bitu)': vga_draw.cpp:1123:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1123 | LOG(LOG_VGA,LOG_NORMAL)("h total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ | | | int | %ld 1124 | htotal, hdend, hbstart, hbend, hrstart, hrend ); | ~~~~~~ | | | Bitu {aka long unsigned int} vga_draw.cpp:1123:50: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1123 | LOG(LOG_VGA,LOG_NORMAL)("h total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ | | | int | %ld 1124 | htotal, hdend, hbstart, hbend, hrstart, hrend ); | ~~~~~ | | | Bitu {aka long unsigned int} vga_draw.cpp:1123:60: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1123 | LOG(LOG_VGA,LOG_NORMAL)("h total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ | | | int | %ld 1124 | htotal, hdend, hbstart, hbend, hrstart, hrend ); | ~~~~~~~ | | | Bitu {aka long unsigned int} vga_draw.cpp:1123:63: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1123 | LOG(LOG_VGA,LOG_NORMAL)("h total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ | | | int | %ld 1124 | htotal, hdend, hbstart, hbend, hrstart, hrend ); | ~~~~~ | | | Bitu {aka long unsigned int} vga_draw.cpp:1123:76: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1123 | LOG(LOG_VGA,LOG_NORMAL)("h total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ | | | int | %ld 1124 | htotal, hdend, hbstart, hbend, hrstart, hrend ); | ~~~~~~~ | | | Bitu {aka long unsigned int} vga_draw.cpp:1123:79: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1123 | LOG(LOG_VGA,LOG_NORMAL)("h total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ | | | int | %ld 1124 | htotal, hdend, hbstart, hbend, hrstart, hrend ); | ~~~~~ | | | Bitu {aka long unsigned int} vga_draw.cpp:1125:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1125 | LOG(LOG_VGA,LOG_NORMAL)("v total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ | | | int | %ld 1126 | vtotal, vdend, vbstart, vbend, vrstart, vrend ); | ~~~~~~ | | | Bitu {aka long unsigned int} vga_draw.cpp:1125:50: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1125 | LOG(LOG_VGA,LOG_NORMAL)("v total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ | | | int | %ld 1126 | vtotal, vdend, vbstart, vbend, vrstart, vrend ); | ~~~~~ | | | Bitu {aka long unsigned int} vga_draw.cpp:1125:60: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1125 | LOG(LOG_VGA,LOG_NORMAL)("v total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ | | | int | %ld 1126 | vtotal, vdend, vbstart, vbend, vrstart, vrend ); | ~~~~~~~ | | | Bitu {aka long unsigned int} vga_draw.cpp:1125:63: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1125 | LOG(LOG_VGA,LOG_NORMAL)("v total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ | | | int | %ld 1126 | vtotal, vdend, vbstart, vbend, vrstart, vrend ); | ~~~~~ | | | Bitu {aka long unsigned int} vga_draw.cpp:1125:76: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1125 | LOG(LOG_VGA,LOG_NORMAL)("v total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ | | | int | %ld 1126 | vtotal, vdend, vbstart, vbend, vrstart, vrend ); | ~~~~~~~ | | | Bitu {aka long unsigned int} vga_draw.cpp:1125:79: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1125 | LOG(LOG_VGA,LOG_NORMAL)("v total %d end %d blank (%d/%d) retrace (%d/%d)", | ~^ | | | int | %ld 1126 | vtotal, vdend, vbstart, vbend, vrstart, vrend ); | ~~~~~ | | | Bitu {aka long unsigned int} vga_draw.cpp:1163:71: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1163 | LOG(LOG_VGA,LOG_WARN)("Blanking wrap to line %d", vblank_skip); | ~^ ~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld vga_draw.cpp:1167:55: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1167 | LOG(LOG_VGA,LOG_WARN)("Upper %d lines of the screen blanked", vblank_skip); | ~^ ~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld vga_draw.cpp:1171:84: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1171 | LOG(LOG_VGA,LOG_WARN)("Unsupported blanking: line %d-%d",vbstart,vbend); | ~^ ~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld vga_draw.cpp:1171:87: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1171 | LOG(LOG_VGA,LOG_WARN)("Unsupported blanking: line %d-%d",vbstart,vbend); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld 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); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld vga_draw.cpp:1486:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1486 | LOG(LOG_VGA,LOG_NORMAL)("Width %d, Height %d, fps %f",width,height,fps); | ~^ ~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o pic.o pic.cpp pic.cpp: In function 'void write_command(Bitu, Bitu, Bitu)': pic.cpp:104:56: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 104 | LOG(LOG_PIC,LOG_NORMAL)("port %X : special mask %s",port,(pic->special)?"ON":"OFF"); | ~^ ~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)': pic.cpp:152:51: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 152 | LOG(LOG_PIC,LOG_NORMAL)("%d mask %X",port==0x21 ? 0 : 1,val); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX pic.cpp:180:58: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 180 | LOG(LOG_PIC,LOG_NORMAL)("%d:Base vector %X",port==0x21 ? 0 : 1,val); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX pic.cpp:188:52: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 188 | LOG(LOG_PIC,LOG_NORMAL)("%d:ICW 3 %X",port==0x21 ? 0 : 1,val); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX pic.cpp:202:52: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 202 | LOG(LOG_PIC,LOG_NORMAL)("%d:ICW 4 %X",port==0x21 ? 0 : 1,val); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX pic.cpp:204:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 204 | if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx pic.cpp:205:56: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 205 | if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx pic.cpp:210:52: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 210 | LOG(LOG_PIC,LOG_NORMAL)("ICW HUH? %X",val); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o iohandler.o iohandler.cpp iohandler.cpp: In function 'Bitu IO_ReadDefault(Bitu, Bitu)': 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); | ~~~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %04lX iohandler.cpp: In function 'void IO_WriteDefault(Bitu, Bitu, Bitu)': iohandler.cpp:62:50: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 62 | LOG(LOG_IO,LOG_WARN)("Writing %02X to port %04X",val,port); | ~~~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %02lX iohandler.cpp:62:63: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 62 | LOG(LOG_IO,LOG_WARN)("Writing %02X to port %04X",val,port); | ~~~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %04lX iohandler.cpp: In member function 'void IO_ReadHandleObject::Install(Bitu, Bitu (*)(Bitu, Bitu), Bitu, Bitu)': iohandler.cpp:119:64: 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 allready installed port %x",port); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx iohandler.cpp: In member function 'void IO_WriteHandleObject::Install(Bitu, void (*)(Bitu, Bitu, Bitu), Bitu, Bitu)': iohandler.cpp:134:65: 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 allready installed port %x",port); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_seq.o vga_seq.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o joystick.o joystick.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o memory.o memory.cpp memory.cpp: In member function 'virtual void ROMPageHandler::writeb(PhysPt, Bitu)': memory.cpp:111:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 111 | LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx memory.cpp: In member function 'virtual void ROMPageHandler::writew(PhysPt, Bitu)': memory.cpp:114:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 114 | LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx memory.cpp: In member function 'virtual void ROMPageHandler::writed(PhysPt, Bitu)': memory.cpp:117:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 117 | LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx memory.cpp: In function 'bool mem_unalignedwritew_checked(PhysPt, Bit16u)': memory.cpp:477:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 477 | if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~ memory.cpp:477:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 477 | if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~~ memory.cpp: In function 'bool mem_unalignedwrited_checked(PhysPt, Bit32u)': memory.cpp:483:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 483 | if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~ memory.cpp:483:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 483 | if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~~ memory.cpp:484:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 484 | if (mem_writeb_checked(address+1,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~ memory.cpp:484:76: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 484 | if (mem_writeb_checked(address+1,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~~ memory.cpp:485:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 485 | if (mem_writeb_checked(address+2,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~ memory.cpp:485:76: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 485 | if (mem_writeb_checked(address+2,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~~ memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': memory.cpp:564:70: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 564 | if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); | ~^ ~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_s3.o vga_s3.cpp vga_s3.cpp: In function 'void SVGA_S3_WriteCRTC(Bitu, Bitu, Bitu)': vga_s3.cpp:349:83: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 349 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:CRTC:Write to illegal index %2X", reg ); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_s3.cpp: In function 'void SVGA_S3_WriteSEQ(Bitu, Bitu, Bitu)': vga_s3.cpp:468:82: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 468 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:SEQ:Write to illegal index %2X", reg ); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_s3.cpp: In function 'Bitu SVGA_S3_ReadSEQ(Bitu, Bitu)': vga_s3.cpp:483:56: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 483 | return vga.s3.mclk.n || (vga.s3.mclk.r << 5); | ~~~~~~~~~~~~~~~^~~~~ vga_s3.cpp:487:60: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 487 | return vga.s3.clk[3].n || (vga.s3.clk[3].r << 5); | ~~~~~~~~~~~~~~~~~^~~~~ vga_s3.cpp:493:83: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 493 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:SEQ:Read from illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_other.o vga_other.cpp vga_other.cpp: In function 'void write_crtc_data_other(Bitu, Bitu, Bitu)': 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 vga_other.cpp: In function 'void write_color_select(Bit8u)': vga_other.cpp:240:16: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] 240 | switch (vga.mode) { | ^ vga_other.cpp:240:16: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o pcspeaker.o pcspeaker.cpp pcspeaker.cpp: In function 'void PCSPEAKER_SetCounter(Bitu, Bitu)': pcspeaker.cpp:213:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 213 | LOG_MSG("Unhandled speaker mode %d",mode); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | int | %ld make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o gameblaster.o gameblaster.cpp gameblaster.cpp: In constructor 'CMS::CMS(Section*)': gameblaster.cpp:148:24: warning: unused variable 'freq' [-Wunused-variable] 148 | Bit32u freq = 7159000; //14318180 isa clock / 2 | ^~~~ gameblaster.cpp: In destructor 'virtual CMS::~CMS()': gameblaster.cpp:160:17: warning: deleting object of polymorphic class type 'saa1099_device' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 160 | delete device[0]; | ^~~~~~~~~~~~~~~~ gameblaster.cpp:161:17: warning: deleting object of polymorphic class type 'saa1099_device' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 161 | delete device[1]; | ^~~~~~~~~~~~~~~~ In file included from gameblaster.cpp:30: mame/emu.h: At global scope: mame/emu.h:122:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] 122 | static void auto_free(const device_t::machine_t& machine, void * buffer) { | ^~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o tandy_sound.o tandy_sound.cpp tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': 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 In file included from tandy_sound.cpp:33: mame/emu.h: At global scope: mame/emu.h:122:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] 122 | static void auto_free(const device_t::machine_t& machine, void * buffer) { | ^~~~~~~~~ In file included from tandy_sound.cpp:29: ../../include/dma.h:117:15: warning: 'dma_wrapping' defined but not used [-Wunused-variable] 117 | static Bit32u dma_wrapping = 0xffff; | ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_memory.o vga_memory.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o timer.o timer.cpp timer.cpp: In function 'void counter_latch(Bitu)': 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 make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_misc.o vga_misc.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o mixer.o mixer.cpp mixer.cpp: In function 'void MIXER_Init(Section*)': mixer.cpp:655:32: warning: comparison of integer expressions of different signedness: 'Bit32u' {aka 'unsigned int'} and 'int' [-Wsign-compare] 655 | if((mixer.freq != obtained.freq) || (mixer.blocksize != obtained.samples)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o hardware.o hardware.cpp In file included from hardware.cpp:36: ../libs/zmbv/zmbv.cpp: In member function 'int VideoCodec::FinishCompressFrame()': ../libs/zmbv/zmbv.cpp:342:24: warning: enumeration value 'ZMBV_FORMAT_NONE' not handled in switch [-Wswitch] 342 | switch (format) { | ^ ../libs/zmbv/zmbv.cpp:342:24: warning: enumeration value 'ZMBV_FORMAT_1BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:342:24: warning: enumeration value 'ZMBV_FORMAT_2BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:342:24: warning: enumeration value 'ZMBV_FORMAT_4BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:342:24: warning: enumeration value 'ZMBV_FORMAT_24BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:363:13: warning: unused variable 'res' [-Wunused-variable] 363 | int res = deflate(&zstream, Z_SYNC_FLUSH); | ^~~ ../libs/zmbv/zmbv.cpp: In member function 'bool VideoCodec::DecompressFrame(void*, int)': ../libs/zmbv/zmbv.cpp:463:24: warning: enumeration value 'ZMBV_FORMAT_NONE' not handled in switch [-Wswitch] 463 | switch (format) { | ^ ../libs/zmbv/zmbv.cpp:463:24: warning: enumeration value 'ZMBV_FORMAT_1BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:463:24: warning: enumeration value 'ZMBV_FORMAT_2BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:463:24: warning: enumeration value 'ZMBV_FORMAT_4BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:463:24: warning: enumeration value 'ZMBV_FORMAT_24BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:433:13: warning: unused variable 'res' [-Wunused-variable] 433 | int res = inflate(&zstream, Z_FINISH); | ^~~ ../libs/zmbv/zmbv.cpp: In member function 'void VideoCodec::Output_UpsideDown_24(void*)': ../libs/zmbv/zmbv.cpp:487:24: warning: enumeration value 'ZMBV_FORMAT_NONE' not handled in switch [-Wswitch] 487 | switch (format) { | ^ ../libs/zmbv/zmbv.cpp:487:24: warning: enumeration value 'ZMBV_FORMAT_1BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:487:24: warning: enumeration value 'ZMBV_FORMAT_2BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:487:24: warning: enumeration value 'ZMBV_FORMAT_4BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:487:24: warning: enumeration value 'ZMBV_FORMAT_24BPP' not handled in switch [-Wswitch] hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': 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 ../libs/zmbv/zmbv.cpp: In instantiation of 'void VideoCodec::AddXorFrame() [with P = char]': ../libs/zmbv/zmbv.cpp:344:21: required from here ../libs/zmbv/zmbv.cpp:197:13: warning: unused variable 'written' [-Wunused-variable] 197 | int written=0; | ^~~~~~~ ../libs/zmbv/zmbv.cpp:198:13: warning: unused variable 'lastvector' [-Wunused-variable] 198 | int lastvector=0; | ^~~~~~~~~~ ../libs/zmbv/zmbv.cpp:202:13: warning: unused variable 'totalx' [-Wunused-variable] 202 | int totalx=0; | ^~~~~~ ../libs/zmbv/zmbv.cpp:203:13: warning: unused variable 'totaly' [-Wunused-variable] 203 | int totaly=0; | ^~~~~~ ../libs/zmbv/zmbv.cpp: In instantiation of 'void VideoCodec::AddXorFrame() [with P = short int]': ../libs/zmbv/zmbv.cpp:348:22: required from here ../libs/zmbv/zmbv.cpp:197:13: warning: unused variable 'written' [-Wunused-variable] 197 | int written=0; | ^~~~~~~ ../libs/zmbv/zmbv.cpp:198:13: warning: unused variable 'lastvector' [-Wunused-variable] 198 | int lastvector=0; | ^~~~~~~~~~ ../libs/zmbv/zmbv.cpp:202:13: warning: unused variable 'totalx' [-Wunused-variable] 202 | int totalx=0; | ^~~~~~ ../libs/zmbv/zmbv.cpp:203:13: warning: unused variable 'totaly' [-Wunused-variable] 203 | int totaly=0; | ^~~~~~ ../libs/zmbv/zmbv.cpp: In instantiation of 'void VideoCodec::AddXorFrame() [with P = long int]': ../libs/zmbv/zmbv.cpp:351:21: required from here ../libs/zmbv/zmbv.cpp:197:13: warning: unused variable 'written' [-Wunused-variable] 197 | int written=0; | ^~~~~~~ ../libs/zmbv/zmbv.cpp:198:13: warning: unused variable 'lastvector' [-Wunused-variable] 198 | int lastvector=0; | ^~~~~~~~~~ ../libs/zmbv/zmbv.cpp:202:13: warning: unused variable 'totalx' [-Wunused-variable] 202 | int totalx=0; | ^~~~~~ ../libs/zmbv/zmbv.cpp:203:13: warning: unused variable 'totaly' [-Wunused-variable] 203 | int totaly=0; | ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_xga.o vga_xga.cpp vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)': vga_xga.cpp:108:72: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 108 | LOG_MSG("XGA: Unhandled multifunction command %x", regselect); | ~^ ~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx vga_xga.cpp: In function 'void XGA_DrawLineVector(Bitu)': vga_xga.cpp:329:72: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 329 | LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode); | ~^ ~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx vga_xga.cpp: In function 'void XGA_DrawLineBresenham(Bitu)': vga_xga.cpp:433:80: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 433 | LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode); | ~^ ~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx vga_xga.cpp: In function 'void XGA_DrawRectangle(Bitu)': vga_xga.cpp:505:80: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 505 | LOG_MSG("XGA: DrawRect: Needs mixmode %x", mixmode); | ~^ ~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx vga_xga.cpp: In function 'void XGA_DrawWait(Bitu, Bitu)': vga_xga.cpp:642:112: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 642 | LOG_MSG("XGA: unsupported bpp / datawidth combination %x", | ~^ | | | unsigned int | %lx 643 | xga.waitcmd.buswidth); | ~~~~~~~~~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} vga_xga.cpp:690:118: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 690 | LOG_MSG("XGA: DrawBlitWait: Unsupported src %x", | ~^ | | | unsigned int | %lx 691 | (mixmode >> 5) & 0x03); | ~~~~~~~~~~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} vga_xga.cpp:710:89: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 710 | LOG_MSG("XGA: DrawBlitWait: Unhandled mixmode: %d", mixmode); | ~^ ~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld vga_xga.cpp: In function 'void XGA_SetDualReg(Bit32u&, Bitu)': vga_xga.cpp:976:15: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] 976 | switch(XGA_COLOR_MODE) { | ^ vga_xga.cpp:976:15: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] vga_xga.cpp: In function 'Bitu XGA_GetDualReg(Bit32u)': vga_xga.cpp:995:15: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] 995 | switch(XGA_COLOR_MODE) { | ^ vga_xga.cpp:995:15: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] vga_xga.cpp: In function 'void XGA_Write(Bitu, Bitu, Bitu)': vga_xga.cpp:1167:59: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1167 | else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); | ~^ ~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx vga_xga.cpp:1167:67: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1167 | else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx vga_xga.cpp:1167:75: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1167 | else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o ipxserver.o ipxserver.cpp ipxserver.cpp: In function 'void ackClient(IPaddress)': ipxserver.cpp:129:14: warning: variable 'result' set but not used [-Wunused-but-set-variable] 129 | Bits result; | ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o adlib.o adlib.cpp adlib.cpp: In member function 'void Adlib::Capture::CloseFile()': 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 ); | ^~~~~~~~~~~~~~~~~~~ adlib.cpp:258:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 258 | var_write( &header.versionLow, header.versionLow ); | ^~~~~~~~~~~~~~~~~~ adlib.cpp:259:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 259 | var_write( &header.commands, header.commands ); | ^~~~~~~~~~~~~~~~ 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 ); | ^~~~~~~~~~~~~~~~~~~~ adlib.cpp: In constructor 'Adlib::Module::Module(Section*)': adlib.cpp:657:16: warning: enumeration value 'OPL_none' not handled in switch [-Wswitch] 657 | switch ( oplmode ) { | ^ adlib.cpp:657:16: warning: enumeration value 'OPL_cms' not handled in switch [-Wswitch] adlib.cpp: At global scope: adlib.cpp:570:13: warning: 'void SaveRad()' defined but not used [-Wunused-function] 570 | static void SaveRad() { | ^~~~~~~ In file included from adlib.cpp:33: opl.cpp: In function 'OPL2::adlib_getsample(short*, long)': opl.cpp:1101:63: warning: storing the address of local variable 'trem_lut' in 'OPL2::tremval4' [-Wdangling-pointer=] 1101 | if (cptr[9].tremolo) tremval4 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:49: note: 'OPL2::tremval4' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ opl.cpp:1091:63: warning: storing the address of local variable 'trem_lut' in 'OPL2::tremval2' [-Wdangling-pointer=] 1091 | if (cptr[9].tremolo) tremval2 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:27: note: 'OPL2::tremval2' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ opl.cpp:1089:63: warning: storing the address of local variable 'trem_lut' in 'OPL2::tremval1' [-Wdangling-pointer=] 1089 | if (cptr[0].tremolo) tremval1 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:16: note: 'OPL2::tremval1' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ opl.cpp:1061:63: warning: storing the address of local variable 'trem_lut' in 'OPL2::tremval3' [-Wdangling-pointer=] 1061 | if (cptr[0].tremolo) tremval3 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:38: note: 'OPL2::tremval3' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ In file included from adlib.cpp:62: opl.cpp: In function 'OPL3::adlib_getsample(short*, long)': opl.cpp:1101:63: warning: storing the address of local variable 'trem_lut' in 'OPL3::tremval4' [-Wdangling-pointer=] 1101 | if (cptr[9].tremolo) tremval4 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:49: note: 'OPL3::tremval4' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ opl.cpp:1091:63: warning: storing the address of local variable 'trem_lut' in 'OPL3::tremval2' [-Wdangling-pointer=] 1091 | if (cptr[9].tremolo) tremval2 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:27: note: 'OPL3::tremval2' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ opl.cpp:1089:63: warning: storing the address of local variable 'trem_lut' in 'OPL3::tremval1' [-Wdangling-pointer=] 1089 | if (cptr[0].tremolo) tremval1 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:16: note: 'OPL3::tremval1' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ opl.cpp:1061:63: warning: storing the address of local variable 'trem_lut' in 'OPL3::tremval3' [-Wdangling-pointer=] 1061 | if (cptr[0].tremolo) tremval3 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:38: note: 'OPL3::tremval3' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_paradise.o vga_paradise.cpp vga_paradise.cpp: In function 'void write_p3cf_pvga1a(Bitu, Bitu, Bitu)': vga_paradise.cpp:107:86: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 107 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Write to illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_paradise.cpp: In function 'Bitu read_p3cf_pvga1a(Bitu, Bitu)': vga_paradise.cpp:132:87: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 132 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Read from illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_tseng.o vga_tseng.cpp vga_tseng.cpp: In function 'void write_p3d5_et4k(Bitu, Bitu, Bitu)': 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); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_tseng.cpp: In function 'Bitu read_p3d5_et4k(Bitu, Bitu)': vga_tseng.cpp:193:86: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 193 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:CRTC:ET4K:Read from illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_tseng.cpp: In function 'void write_p3c5_et4k(Bitu, Bitu, Bitu)': vga_tseng.cpp:216:84: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 216 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:SEQ:ET4K:Write to illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_tseng.cpp: In function 'Bitu read_p3c5_et4k(Bitu, Bitu)': vga_tseng.cpp:226:85: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 226 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:SEQ:ET4K:Read from illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_tseng.cpp: In function 'void write_p3c0_et4k(Bitu, Bitu, Bitu)': vga_tseng.cpp:279:85: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 279 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:ET4K:Write to illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_tseng.cpp: In function 'Bitu read_p3c1_et4k(Bitu, Bitu)': vga_tseng.cpp:289:86: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 289 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:ET4K:Read from illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_tseng.cpp: In function 'void write_p3d5_et3k(Bitu, Bitu, Bitu)': vga_tseng.cpp:576:85: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 576 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:CRTC:ET3K:Write to illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_tseng.cpp: In function 'Bitu read_p3d5_et3k(Bitu, Bitu)': vga_tseng.cpp:594:86: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 594 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:CRTC:ET3K:Read from illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_tseng.cpp: In function 'void write_p3c5_et3k(Bitu, Bitu, Bitu)': vga_tseng.cpp:607:84: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 607 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:SEQ:ET3K:Write to illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_tseng.cpp: In function 'Bitu read_p3c5_et3k(Bitu, Bitu)': vga_tseng.cpp:617:85: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 617 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:SEQ:ET3K:Read from illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_tseng.cpp: In function 'void write_p3c0_et3k(Bitu, Bitu, Bitu)': vga_tseng.cpp:650:85: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 650 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:ET3K:Write to illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_tseng.cpp: In function 'Bitu read_p3c1_et3k(Bitu, Bitu)': vga_tseng.cpp:660:86: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 660 | LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:ET3K:Read from illegal index %2X", reg); | ~~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %2lX vga_tseng.cpp: In function 'void FinishSetMode_ET3K(Bitu, VGA_ModeExtraData*)': vga_tseng.cpp:705:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 705 | for (Bitu i=0x16; i<=0x21; i++) | ^~~ vga_tseng.cpp:706:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 706 | IO_Write(crtc_base,i);IO_Write(crtc_base+1,0); | ^~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o disney.o disney.cpp disney.cpp: In function 'void disney_write(Bitu, Bitu, Bitu)': disney.cpp:206:64: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 206 | LOG(LOG_MISC,LOG_NORMAL)("DISNEY:Status write %x",val); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o mpu401.o mpu401.cpp mpu401.cpp: In function 'void MPU401_WriteCommand(Bitu, Bitu, Bitu)': mpu401.cpp:128:93: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 128 | if (val&0x20) LOG(LOG_MISC,LOG_ERROR)("MPU-401:Unhandled Recording Command %x",val); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx mpu401.cpp:242:66: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 242 | LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Reset %X",val); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX mpu401.cpp:251:74: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 251 | LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Set UART mode %X",val); | ~^ ~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o sblaster.o sblaster.cpp sblaster.cpp: In function 'void DSP_DoDMATransfer(DMA_MODES, Bitu, bool)': 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", | ~^ | | | int | %ld ...... 640 | freq,sb.dma.rate,sb.dma.total | ~~~~ | | | Bitu {aka long unsigned int} sblaster.cpp:636:69: warning: format '%d' expects argument of type 'int', but argument 7 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", | ~^ | | | int | %ld ...... 640 | freq,sb.dma.rate,sb.dma.total | ~~~~~~~~~~~ | | | Bitu {aka long unsigned int} sblaster.cpp:636:77: warning: format '%d' expects argument of type 'int', but argument 8 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", | ~^ | | | int | %ld ...... 640 | freq,sb.dma.rate,sb.dma.total | ~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} sblaster.cpp: In function 'void DSP_DoCommand()': sblaster.cpp:831:59: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 831 | LOG(LOG_SB,LOG_ERROR)("DSP:Faked ADC for %d bytes",sb.dma.total); | ~^ ~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sblaster.cpp: In function 'Bitu read_sb(Bitu, Bitu)': sblaster.cpp:1394:71: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1394 | LOG(LOG_SB,LOG_NORMAL)("Unhandled read from SB Port %4X",port); | ~~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %4lX sblaster.cpp: In function 'void write_sb(Bitu, Bitu, Bitu)': sblaster.cpp:1416:70: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1416 | LOG(LOG_SB,LOG_NORMAL)("Unhandled write to SB Port %4X",port); | ~~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %4lX In file included from sblaster.cpp:28: ../../include/dma.h: At global scope: ../../include/dma.h:117:15: warning: 'dma_wrapping' defined but not used [-Wunused-variable] 117 | static Bit32u dma_wrapping = 0xffff; | ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o ipx.o ipx.cpp ipx.cpp: In function 'void pingAck(IPaddress)': ipx.cpp:513:14: warning: variable 'result' set but not used [-Wunused-but-set-variable] 513 | Bits result; | ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cmos.o cmos.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dbopl.o dbopl.cpp dbopl.cpp: In instantiation of 'DBOPL::Channel* DBOPL::Channel::BlockTemplate(DBOPL::Chip*, Bit32u, Bit32s*) [with DBOPL::SynthMode mode = DBOPL::sm3Percussion; Bit32u = unsigned int; Bit32s = int]': dbopl.cpp:1035:28: required from here dbopl.cpp:848:9: warning: enumeration value 'sm3Percussion' not handled in switch [-Wswitch] 848 | switch( mode ) { | ^~~~~~ dbopl.cpp:938:17: warning: enumeration value 'sm3Percussion' not handled in switch [-Wswitch] 938 | switch( mode ) { | ^~~~~~ dbopl.cpp: In instantiation of 'DBOPL::Channel* DBOPL::Channel::BlockTemplate(DBOPL::Chip*, Bit32u, Bit32s*) [with DBOPL::SynthMode mode = DBOPL::sm2Percussion; Bit32u = unsigned int; Bit32s = int]': dbopl.cpp:1037:28: required from here dbopl.cpp:848:9: warning: enumeration value 'sm2Percussion' not handled in switch [-Wswitch] 848 | switch( mode ) { | ^~~~~~ dbopl.cpp:938:17: warning: enumeration value 'sm2Percussion' not handled in switch [-Wswitch] 938 | switch( mode ) { | ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o gus.o gus.cpp In file included from gus.cpp:27: ../../include/dma.h:117:15: warning: 'dma_wrapping' defined but not used [-Wunused-variable] 117 | static Bit32u dma_wrapping = 0xffff; | ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' rm -f libhardware.a ar cru libhardware.a adlib.o dma.o gameblaster.o hardware.o iohandler.o joystick.o keyboard.o memory.o mixer.o pcspeaker.o pic.o sblaster.o tandy_sound.o timer.o vga.o vga_attr.o vga_crtc.o vga_dac.o vga_draw.o vga_gfx.o vga_other.o vga_memory.o vga_misc.o vga_seq.o vga_xga.o vga_s3.o vga_tseng.o vga_paradise.o cmos.o disney.o gus.o mpu401.o ipx.o ipxserver.o dbopl.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libhardware.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' Making all in libs Making all in zmbv make[4]: Nothing to be done for 'all'. Making all in gui_tk make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o gui_tk.o gui_tk.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' rm -f libgui_tk.a ar cru libgui_tk.a gui_tk.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libgui_tk.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' make[4]: Nothing to be done for 'all-am'. Making all in ints make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_vptable.o int10_vptable.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_pal.o int10_pal.cpp int10_pal.cpp: In function 'void INT10_SetSinglePaletteRegister(Bit8u, Bit8u)': int10_pal.cpp:37:16: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] 37 | switch (machine) { | ^ int10_pal.cpp:37:16: warning: enumeration value 'MCH_CGA' not handled in switch [-Wswitch] int10_pal.cpp: In function 'void INT10_SetOverscanBorderColor(Bit8u)': int10_pal.cpp:56:16: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] 56 | switch (machine) { | ^ int10_pal.cpp:56:16: warning: enumeration value 'MCH_CGA' not handled in switch [-Wswitch] int10_pal.cpp: In function 'void INT10_SetAllPaletteRegisters(PhysPt)': int10_pal.cpp:71:16: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] 71 | switch (machine) { | ^ int10_pal.cpp:71:16: warning: enumeration value 'MCH_CGA' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_put_pixel.o int10_put_pixel.cpp int10_put_pixel.cpp: In function 'void INT10_PutPixel(Bit16u, Bit16u, Bit8u, Bit8u)': int10_put_pixel.cpp:117:76: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 117 | LOG(LOG_INT10,LOG_ERROR)("PutPixel_EGA_p: %x!=%x",CurMode->plength,real_readw(BIOSMEM_SEG,BIOSMEM_PAGE_SIZE)); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx int10_put_pixel.cpp:119:76: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 119 | LOG(LOG_INT10,LOG_ERROR)("PutPixel_EGA_w: %x!=%x",CurMode->swidth,real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8); | ~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx int10_put_pixel.cpp:138:76: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 138 | LOG(LOG_INT10,LOG_ERROR)("PutPixel_VGA_w: %x!=%x",CurMode->swidth,real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8); | ~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx int10_put_pixel.cpp: In function 'void INT10_GetPixel(Bit16u, Bit16u, Bit8u, Bit8u*)': int10_put_pixel.cpp:174:76: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 174 | LOG(LOG_INT10,LOG_ERROR)("GetPixel_EGA_p: %x!=%x",CurMode->plength,real_readw(BIOSMEM_SEG,BIOSMEM_PAGE_SIZE)); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx int10_put_pixel.cpp:176:76: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 176 | LOG(LOG_INT10,LOG_ERROR)("GetPixel_EGA_w: %x!=%x",CurMode->swidth,real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8); | ~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx int10_put_pixel.cpp:197:76: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 197 | LOG(LOG_INT10,LOG_ERROR)("GetPixel_VGA_w: %x!=%x",CurMode->swidth,real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8); | ~^ ~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_misc.o int10_misc.cpp int10_misc.cpp: In function 'void INT10_EGA_RIL_ReadRegisterRange(Bit8u, Bit8u, Bit16u, PhysPt)': int10_misc.cpp:236:73: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 236 | LOG(LOG_INT10,LOG_ERROR)("EGA RIL range read with port %x called",port); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx int10_misc.cpp:246:75: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 246 | } else LOG(LOG_INT10,LOG_ERROR)("EGA RIL range read from %x for invalid register %x",port,ch); | ~^ ~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx int10_misc.cpp: In function 'void INT10_EGA_RIL_WriteRegisterRange(Bit8u, Bit8u, Bit16u, PhysPt)': int10_misc.cpp:255:81: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 255 | LOG(LOG_INT10,LOG_ERROR)("EGA RIL range write called with port %x",port); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx int10_misc.cpp:271:74: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 271 | } else LOG(LOG_INT10,LOG_ERROR)("EGA RIL range write to %x with invalid register %x",port,ch); | ~^ ~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_memory.o int10_memory.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_video_state.o int10_video_state.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_char.o int10_char.cpp int10_char.cpp: In function 'void INT10_WriteChar(Bit8u, Bit8u, Bit8u, Bit16u, bool)': int10_char.cpp:546:24: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] 546 | switch (machine) { | ^ int10_char.cpp:546:24: warning: enumeration value 'MCH_TANDY' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_modes.o int10_modes.cpp int10_modes.cpp: In function 'void FinishSetMode(bool)': int10_modes.cpp:380:24: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] 380 | switch (CurMode->type) { | ^ int10_modes.cpp:380:24: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:380:24: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:380:24: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:380:24: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:380:24: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:380:24: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp: In function 'bool INT10_SetVideoMode_OTHER(Bit16u, bool)': int10_modes.cpp:439:16: warning: enumeration value 'MCH_EGA' not handled in switch [-Wswitch] 439 | switch (machine) { | ^ int10_modes.cpp:439:16: warning: enumeration value 'MCH_VGA' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] 482 | switch(CurMode->type) { | ^ int10_modes.cpp:482:15: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:516:16: warning: enumeration value 'MCH_EGA' not handled in switch [-Wswitch] 516 | switch (machine) { | ^ int10_modes.cpp:516:16: warning: enumeration value 'MCH_VGA' not handled in switch [-Wswitch] int10_modes.cpp: In function 'bool INT10_SetVideoMode(Bit16u)': int10_modes.cpp:723:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] 723 | switch (CurMode->type) { | ^ int10_modes.cpp:723:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:723:16: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:723:16: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:723:16: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:723:16: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:723:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:723:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] 878 | switch (CurMode->type) { | ^ int10_modes.cpp:878:16: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] 947 | switch (CurMode->type) { | ^ int10_modes.cpp:947:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] 1020 | switch (CurMode->type) { | ^ int10_modes.cpp:1020:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1058:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] 1058 | switch (CurMode->type) { | ^ int10_modes.cpp:1058:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1058:16: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1058:16: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1058:16: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1058:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1058:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1157:24: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] 1157 | switch (CurMode->type) { | ^ int10_modes.cpp:1157:24: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1157:24: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1157:24: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1157:24: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1157:24: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1157:24: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] 1238 | switch (CurMode->type) { | ^ int10_modes.cpp:1238:16: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp: In function 'Bitu VideoModeMemSize(Bitu)': int10_modes.cpp:1401:15: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] 1401 | switch(vmodeBlock->type) { | ^ int10_modes.cpp:1401:15: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_vesa.o int10_vesa.cpp int10_vesa.cpp: In function 'Bit8u VESA_GetSVGAModeInformation(Bit16u, Bit16u, Bit16u)': 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); | ^~~~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:156:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 156 | var_write(&minfo.BytesPerScanLine,mblock->swidth); | ^~~~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:166:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 166 | var_write(&minfo.BytesPerScanLine,mblock->swidth*2); | ^~~~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:184:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 184 | var_write(&minfo.BytesPerScanLine,mblock->swidth*2); | ^~~~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:200:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 200 | var_write(&minfo.BytesPerScanLine,mblock->swidth*4); | ^~~~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:231:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 231 | var_write(&minfo.ModeAttributes, modeAttributes & ~0x1); | ^~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:234:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 234 | var_write(&minfo.ModeAttributes, modeAttributes); | ^~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:240:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 240 | var_write(&minfo.WinGranularity,32); | ^~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:241:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 241 | var_write(&minfo.WinSize,32); | ^~~~~~~~~~~~~~ int10_vesa.cpp:242:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 242 | var_write(&minfo.WinASegment,0xb800); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp:243:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 243 | var_write(&minfo.XResolution,mblock->swidth/8); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp:244:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 244 | var_write(&minfo.YResolution,mblock->sheight/8); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp:246:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 246 | var_write(&minfo.WinGranularity,64); | ^~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:247:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 247 | var_write(&minfo.WinSize,64); | ^~~~~~~~~~~~~~ int10_vesa.cpp:248:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 248 | var_write(&minfo.WinASegment,0xa000); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp:249:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 249 | var_write(&minfo.XResolution,mblock->swidth); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp:250:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 250 | var_write(&minfo.YResolution,mblock->sheight); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp:252:19: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 252 | var_write(&minfo.WinFuncPtr,CALLBACK_RealPointer(callback.setwindow)); | ^~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp: In function 'void INT10_SetupVESA()': int10_vesa.cpp:491:16: warning: enumeration value 'SVGA_None' not handled in switch [-Wswitch] 491 | switch (svgaCard) { | ^ int10_vesa.cpp:491:16: warning: enumeration value 'SVGA_TsengET4K' not handled in switch [-Wswitch] int10_vesa.cpp:491:16: warning: enumeration value 'SVGA_TsengET3K' not handled in switch [-Wswitch] int10_vesa.cpp:491:16: warning: enumeration value 'SVGA_ParadisePVGA1A' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o bios_keyboard.o bios_keyboard.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10.o int10.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o ems.o ems.cpp ems.cpp: In function 'Bit8u EMM_RestoreMappingTable()': ems.cpp:413:15: warning: variable 'result' set but not used [-Wunused-but-set-variable] 413 | Bit8u result; | ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o bios.o bios.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o xms.o xms.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o bios_disk.o bios_disk.cpp bios_disk.cpp: In function 'void swapInDisks()': bios_disk.cpp:109:47: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bits' {aka 'long int'} [-Wformat=] 109 | LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname); | ~^ ~~~~~~~~~ | | | | int Bits {aka long int} | %ld bios_disk.cpp:109:73: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bits' {aka 'long int'} [-Wformat=] 109 | LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname); | ~^ ~~~~~~~ | | | | int Bits {aka long int} | %ld bios_disk.cpp: In function 'bool driveInactive(Bitu)': bios_disk.cpp:280:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 280 | LOG(LOG_BIOS,LOG_ERROR)("Disk %d non-existant", driveNum); | ~^ ~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld bios_disk.cpp:286:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 286 | LOG(LOG_BIOS,LOG_ERROR)("Disk %d not active", driveNum); | ~^ ~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld bios_disk.cpp:292:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 292 | LOG(LOG_BIOS,LOG_ERROR)("Disk %d not active", driveNum); | ~^ ~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld bios_disk.cpp: In function 'Bitu INT13_DiskHandler()': bios_disk.cpp:486:92: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 486 | LOG(LOG_BIOS,LOG_ERROR)("INT13: Function %x called on drive %x (dos drive %d)", reg_ah, reg_dl, drivenum); | ~^ ~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld bios_disk.cpp: In member function 'Bit8u imageDisk::Read_AbsoluteSector(Bit32u, void*)': bios_disk.cpp:154:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | fread(data, 1, sector_size, diskimg); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o mouse.o mouse.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' rm -f libints.a ar cru libints.a mouse.o xms.o ems.o int10.o int10_char.o int10_memory.o int10_misc.o int10_modes.o int10_vesa.o int10_pal.o int10_put_pixel.o int10_video_state.o int10_vptable.o bios.o bios_disk.o bios_keyboard.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libints.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' Making all in misc make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o support.o support.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cross.o cross.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o messages.o messages.cpp messages.cpp: In function 'void LoadMessageFile(const char*)': messages.cpp:93:25: warning: value computed is not used [-Wunused-value] 93 | *parser++; | ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o programs.o programs.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o setup.o setup.cpp setup.cpp: In member function 'virtual bool Prop_string::CheckValue(const Value&, bool)': setup.cpp:275:59: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'Bitu*' {aka 'long unsigned int*'} [-Wformat=] 275 | if(sscanf(in.ToString().c_str(),"%u",&value) == 1) { | ~^ ~~~~~~ | | | | | Bitu* {aka long unsigned int*} | unsigned int* | %lu setup.cpp: In member function 'bool Config::PrintConfig(const char*) const': setup.cpp:636:51: warning: field width specifier '*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 636 | snprintf(prefix,80, "\n# %*s ", maxwidth, ""); | ~^~ ~~~~~~~~ | | | | int size_t {aka long unsigned int} setup.cpp:644:54: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 644 | fprintf(outfile, "# %*s: %s", maxwidth, p->propname.c_str(), help.c_str()); | ~^~ ~~~~~~~~ | | | | int size_t {aka long unsigned int} make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' rm -f libmisc.a ar cru libmisc.a cross.o messages.o programs.o setup.o support.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libmisc.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' Making all in shell make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o shell_batch.o shell_batch.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o shell.o shell.cpp shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)': 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); | ~~~~~~^~~~~~~~~~~~~~~~~~ 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); | ~~~~~~^~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o shell_misc.o shell_misc.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o shell_cmds.o shell_cmds.cpp shell_cmds.cpp: In function 'void FormatNumber(Bitu, char*)': 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); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld shell_cmds.cpp:379:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 379 | sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb); | ~~~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %03ld shell_cmds.cpp:379:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 379 | sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb); | ~~~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %03ld shell_cmds.cpp:379:46: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 379 | sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb); | ~~~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %03ld shell_cmds.cpp:383:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 383 | sprintf(buf,"%d,%03d,%03d",numm,numk,numb); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld shell_cmds.cpp:383:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 383 | sprintf(buf,"%d,%03d,%03d",numm,numk,numb); | ~~~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %03ld shell_cmds.cpp:383:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 383 | sprintf(buf,"%d,%03d,%03d",numm,numk,numb); | ~~~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %03ld shell_cmds.cpp:387:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 387 | sprintf(buf,"%d,%03d",numk,numb); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld shell_cmds.cpp:387:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 387 | sprintf(buf,"%d,%03d",numk,numb); | ~~~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %03ld shell_cmds.cpp:390:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 390 | sprintf(buf,"%d",numb); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | int | %ld shell_cmds.cpp: In member function 'void DOS_Shell::CMD_SET(char*)': shell_cmds.cpp:757:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 757 | if(!second) continue; *second++ = 0; | ^~ shell_cmds.cpp:757:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 757 | if(!second) continue; *second++ = 0; | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' 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') ranlib libshell.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' Making all in platform Making all in visualc make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all-am'. make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dosbox.o dosbox.cpp dosbox.cpp: In function 'void DOSBOX_Init()': dosbox.cpp:383:24: warning: variable 'secline' set but not used [-Wunused-but-set-variable] 383 | Section_line * secline; | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -o dosbox dosbox.o cpu/libcpu.a debug/libdebug.a dos/libdos.a fpu/libfpu.a hardware/libhardware.a gui/libgui.a ints/libints.a misc/libmisc.a shell/libshell.a hardware/mame/libmame.a hardware/serialport/libserial.a libs/gui_tk/libgui_tk.a -lSDL_sound -lasound -lm -ldl -lpthread -lSDL -lncurses -lpng -lz -lSDL_net -lX11 -lGL ld: warning: type of symbol `glGenBuffersARB' changed from 2 to 1 in /usr/src/tmp/cceEEejp.ltrans21.ltrans.o ld: warning: type of symbol `glBindBufferARB' changed from 2 to 1 in /usr/src/tmp/cceEEejp.ltrans21.ltrans.o ld: warning: type of symbol `glDeleteBuffersARB' changed from 2 to 1 in /usr/src/tmp/cceEEejp.ltrans21.ltrans.o ld: warning: type of symbol `glBufferDataARB' changed from 2 to 1 in /usr/src/tmp/cceEEejp.ltrans21.ltrans.o ld: warning: type of symbol `glMapBufferARB' changed from 2 to 1 in /usr/src/tmp/cceEEejp.ltrans21.ltrans.o ld: warning: type of symbol `glUnmapBufferARB' changed from 2 to 1 in /usr/src/tmp/cceEEejp.ltrans21.ltrans.o make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' Making all in include make[2]: Nothing to be done for 'all'. Making all in docs make[2]: Nothing to be done for 'all'. Making all in visualc_net make[2]: Nothing to be done for 'all'. + cp -a src/dosbox src/dosbox-debug + make distclean make: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3' Making distclean in src make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' Making distclean in cpu make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' Making distclean in core_full make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_full' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f Makefile make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_full' Making distclean in core_normal make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_normal' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f Makefile make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_normal' Making distclean in core_dyn_x86 make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_dyn_x86' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f Makefile make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_dyn_x86' Making distclean in core_dynrec make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_dynrec' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f Makefile make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_dynrec' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' test -z "libcpu.a" || rm -f libcpu.a rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' rm -rf ./.deps rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' Making distclean in debug make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' test -z "libdebug.a" || rm -f libdebug.a rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' Making distclean in dos make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' test -z "libdos.a" || rm -f libdos.a rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' Making distclean in fpu make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' test -z "libfpu.a" || rm -f libfpu.a rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' Making distclean in gui make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' test -z "libgui.a" || rm -f libgui.a rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' Making distclean in hardware make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' Making distclean in serialport make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' test -z "libserial.a" || rm -f libserial.a rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' Making distclean in mame make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' test -z "libmame.a" || rm -f libmame.a rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' test -z "libhardware.a" || rm -f libhardware.a rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' rm -rf ./.deps rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' Making distclean in libs make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs' Making distclean in zmbv make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/zmbv' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f Makefile make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/zmbv' Making distclean in gui_tk make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' test -z "libgui_tk.a" || rm -f libgui_tk.a rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs' rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs' Making distclean in ints make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' test -z "libints.a" || rm -f libints.a rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' Making distclean in misc make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' test -z "libmisc.a" || rm -f libmisc.a rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' Making distclean in shell make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' test -z "libshell.a" || rm -f libshell.a rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' Making distclean in platform make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform' Making distclean in visualc make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform/visualc' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f Makefile make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform/visualc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform' rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform' make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' test -z "dosbox" || rm -f dosbox rm -f *.o rm -f *.tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' rm -rf ./.deps rm -f Makefile make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' Making distclean in include make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/include' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f Makefile make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/include' Making distclean in docs make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/docs' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f Makefile make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/docs' Making distclean in visualc_net make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/visualc_net' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f Makefile make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/visualc_net' make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f config.h stamp-h1 rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f cscope.out cscope.in.out cscope.po.out cscope.files make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3' rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -f Makefile make: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --enable-core-inline --disable-fpu-x86 configure: WARNING: unrecognized options: --without-included-gettext checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make sets $(MAKE)... (cached) yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking SDL version only being 1.2.X... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of unsigned char... 1 checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking size of int *... 8 checking for stdlib.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/socket.h... yes checking for netinet/in.h... yes checking for pwd.h... yes checking if environ can be included... yes checking if environ can be linked... yes checking if dirent includes d_type... yes checking for powf in libm... yes checking if compiler allows __attribute__... yes checking if compiler allows __attribute__((always_inline)) ... yes checking if compiler allows __attribute__((fastcall)) ... no checking if compiler allows __builtin_expect... yes checking if compiler supports -mno-ms-bitfields... yes checking for ALSA CFLAGS... checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread checking for libasound headers version >= 0.9.0... found. checking for snd_ctl_open in -lasound... yes checking whether byte ordering is bigendian... no enabling inlined memory handling in CPU Core checking for target cpu type... x86-64 bit compatible checking whether Apple user wants to override the build process to produce a 32 bit binary... no, not on Apple checking whether x86 dynamic cpu core will be enabled... no checking whether recompiling cpu core will be enabled... yes checking whether fpu emulation will be enabled... yes checking whether x86 assembly fpu core will be enabled... no checking whether to enable unaligned memory access... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_get_io_ptr in -lpng... yes checking SDL_net.h usability... yes checking SDL_net.h presence... yes checking for SDL_net.h... yes checking for SDLNet_Init in -lSDL_net... yes checking for main in -lX11... yes checking X11/XKBlib.h usability... yes checking X11/XKBlib.h presence... yes checking for X11/XKBlib.h... yes checking for XKBlib support... yes checking for main in -lGL... yes checking for main in -lopengl32... no checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking whether opengl display output will be enabled... yes checking SDL_sound.h usability... yes checking SDL_sound.h presence... yes checking for SDL_sound.h... yes checking for Sound_Init in -lSDL_sound... yes checking for Sound_Seek in -lSDL_sound... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for mprotect... yes checking for realpath... yes checking for setpriority support... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/cpu/Makefile config.status: creating src/cpu/core_full/Makefile config.status: creating src/cpu/core_normal/Makefile config.status: creating src/cpu/core_dyn_x86/Makefile config.status: creating src/cpu/core_dynrec/Makefile config.status: creating src/debug/Makefile config.status: creating src/dos/Makefile config.status: creating src/fpu/Makefile config.status: creating src/gui/Makefile config.status: creating src/hardware/Makefile config.status: creating src/hardware/mame/Makefile config.status: creating src/hardware/serialport/Makefile config.status: creating src/ints/Makefile config.status: creating src/libs/Makefile config.status: creating src/libs/zmbv/Makefile config.status: creating src/libs/gui_tk/Makefile config.status: creating src/misc/Makefile config.status: creating src/shell/Makefile config.status: creating src/platform/Makefile config.status: creating src/platform/visualc/Makefile config.status: creating visualc_net/Makefile config.status: creating include/Makefile config.status: creating docs/Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext + make -j16 make all-recursive Making all in src Making all in cpu Making all in core_full make[4]: Nothing to be done for 'all'. Making all in core_normal make[4]: Nothing to be done for 'all'. Making all in core_dyn_x86 make[4]: Nothing to be done for 'all'. Making all in core_dynrec make[4]: Nothing to be done for 'all'. make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o core_dyn_x86.o core_dyn_x86.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o modrm.o modrm.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o callback.o callback.cpp callback.cpp: In function 'Bitu CALLBACK_SetupExtra(Bitu, Bitu, PhysPt, bool)': 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 make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o flags.o flags.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o core_full.o core_full.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o paging.o paging.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o core_simple.o core_simple.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cpu.o cpu.cpp cpu.cpp: In function 'void CPU_CheckSegments()': cpu.cpp:238:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 238 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~ cpu.cpp:238:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 238 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~~~~ cpu.cpp:248:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 248 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~ cpu.cpp:248:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 248 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~~~~ cpu.cpp:258:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 258 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~ cpu.cpp:258:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 258 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~~~~ cpu.cpp:268:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 268 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~ cpu.cpp:268:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 268 | if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; | ^~~~~ cpu.cpp: In function 'bool CPU_SwitchTask(Bitu, TSwitchType, Bitu)': cpu.cpp:348:59: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 348 | E_Exit("Illegal TSS for switch, selector=%x, switchtype=%x",new_tss_selector,tstype); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx cpu.cpp:502:54: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 502 | E_Exit("Task switch CS Type %d",cs_desc.Type()); | ~^ ~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld cpu.cpp: In function 'void CPU_Interrupt(Bitu, Bitu, Bitu)': cpu.cpp:724:107: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 724 | E_Exit("INT:Gate Selector points to illegal descriptor with type %x",cs_desc.Type()); | ~^ ~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx cpu.cpp:754:58: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 754 | E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num); | ~^ ~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX cpu.cpp:754:69: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 754 | E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX cpu.cpp: In function 'void CPU_IRET(bool, Bitu)': cpu.cpp:901:63: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 901 | E_Exit("IRET:Illegal descriptor type %X",n_cs_desc.Type()); | ~^ ~~~~~~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lX cpu.cpp: In function 'void CPU_JMP(bool, Bitu, Bitu, Bitu)': cpu.cpp:1058:62: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1058 | E_Exit("JMP Illegal descriptor type %X",desc.Type()); | ~^ ~~~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX cpu.cpp: In function 'void CPU_CALL(bool, Bitu, Bitu, Bitu)': cpu.cpp:1294:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1294 | E_Exit("CALL:Descriptor type %x unsupported",call.Type()); | ~^ ~~~~~~~~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx cpu.cpp: In function 'void CPU_RET(bool, Bitu, Bitu)': cpu.cpp:1352:75: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1352 | E_Exit("RET from illegal descriptor type %X",desc.Type()); | ~^ ~~~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX cpu.cpp:1397:75: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1397 | E_Exit("RET from illegal descriptor type %X",desc.Type()); // or #GP(selector) | ~^ ~~~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX cpu.cpp: In function 'bool CPU_LTR(Bitu)': cpu.cpp:1508:83: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1508 | if (!cpu_tss.SetSelector(selector)) E_Exit("LTR failed, selector=%X",selector); | ~^ ~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lX make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o core_dynrec.o core_dynrec.cpp In file included from core_dynrec.cpp:135: core_dynrec/cache.h: In function 'void cache_closeblock()': core_dynrec/cache.h:503:100: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 503 | if (written>block->cache.size+CACHE_MAXSIZE) E_Exit("CacheBlock overrun 1 %d",written-block->cache.size); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/cache.h:504:62: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 504 | } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size); | ~^ ~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/cache.h:504:70: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 504 | } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld In file included from core_dynrec/decoder.h:22, from core_dynrec.cpp:155: core_dynrec/decoder_basic.h: In function 'bool mem_readw_checked_drc(PhysPt)': core_dynrec/decoder_basic.h:715:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 715 | *((Bit16u*)(&core_dynrec.readdata))=host_readw(tlb_addr+address); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ core_dynrec/decoder_basic.h: In function 'bool mem_readd_checked_drc(PhysPt)': core_dynrec/decoder_basic.h:726:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 726 | *((Bit32u*)(&core_dynrec.readdata))=host_readd(tlb_addr+address); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from core_dynrec/decoder.h:24: core_dynrec/decoder_opcodes.h: In function 'void dyn_loop(LoopTypes)': core_dynrec/decoder_opcodes.h:1144:16: warning: enumeration value 'LOOP_NONE' not handled in switch [-Wswitch] 1144 | switch (type) { | ^ core_dynrec/decoder_opcodes.h:1144:16: warning: enumeration value 'LOOP_JCXZ' not handled in switch [-Wswitch] In file included from core_dynrec/decoder.h:26: core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc3()': core_dynrec/dyn_fpu.h:386:69: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 386 | E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld core_dynrec/dyn_fpu.h:386:84: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 386 | E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); | ~^ ~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o core_prefetch.o core_prefetch.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o core_normal.o core_normal.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' 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') ranlib libcpu.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' Making all in debug make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o debug_win32.o debug_win32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o debug_disasm.o debug_disasm.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o debug_gui.o debug_gui.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o debug.o debug.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' rm -f libdebug.a ar cru libdebug.a debug.o debug_gui.o debug_disasm.o debug_win32.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libdebug.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' Making all in dos make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_tables.o dos_tables.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_ioctl.o dos_ioctl.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_memory.o dos_memory.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_execute.o dos_execute.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_misc.o dos_misc.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o drive_virtual.o drive_virtual.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cdrom_ioctl_win32.o cdrom_ioctl_win32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_classes.o dos_classes.cpp In file included from dos_classes.cpp:25: dos_classes.cpp: In member function 'void DOS_ParamBlock::LoadData()': ../../include/dos_inc.h:254:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 254 | #define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m)) | ~^~~~~~~~~ dos_classes.cpp:41:33: note: in expansion of macro 'sGet' 41 | overlay.loadseg=(Bit16u)sGet(sOverlay,loadseg); | ^~~~ ../../include/dos_inc.h:254:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 254 | #define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m)) | ~^~~~~~~~~ dos_classes.cpp:42:36: note: in expansion of macro 'sGet' 42 | overlay.relocation=(Bit16u)sGet(sOverlay,relocation); | ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cdrom_aspi_win32.o cdrom_aspi_win32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o drives.o drives.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_devices.o dos_devices.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o drive_local.o drive_local.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o drive_fat.o drive_fat.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos.o dos.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_files.o dos_files.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o drive_iso.o drive_iso.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o drive_cache.o drive_cache.cpp drive_cache.cpp: In member function 'Bits DOS_Drive_Cache::GetLongName(CFileInfo*, char*)': drive_cache.cpp:452:28: warning: comparison of integer expressions of different signedness: 'Bits' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 452 | for (Bits i = 0; i < filelist_size; i++) { | ~~^~~~~~~~~~~~~~~ drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(CFileInfo*, CFileInfo*)': 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 make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cdrom.o cdrom.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_programs.o dos_programs.cpp dos_programs.cpp: In member function 'virtual void BOOT::Run()': 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.cpp:784:46: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 784 | fread(rombuf, 1, 0x200, usefile_2); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.cpp:789:46: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 789 | fread(rombuf, 1, rombytesize_2-0x200, usefile_2); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.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(rombuf, 1, 0x200, usefile_1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cdrom_ioctl_os2.o cdrom_ioctl_os2.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cdrom_ioctl_linux.o cdrom_ioctl_linux.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_keyboard_layout.o dos_keyboard_layout.cpp dos_keyboard_layout.cpp: In member function 'Bitu keyboard_layout::read_codepage_file(const char*, Bit32s)': dos_keyboard_layout.cpp:891:48: warning: variable 'font_data_length' set but not used [-Wunused-but-set-variable] 891 | Bit16u number_of_fonts,font_data_length; | ^~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)': 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp: In member function 'Bitu keyboard_layout::read_codepage_file(const char*, Bit32s)': 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++; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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++; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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++; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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++; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dos_mscdex.o dos_mscdex.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cdrom_image.o cdrom_image.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' 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') ranlib libdos.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' Making all in fpu make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o fpu.o fpu.cpp fpu.cpp: In function 'void FPU_ESC3_Normal(Bitu)': fpu.cpp:389:61: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 389 | E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",group,sub); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld fpu.cpp:389:76: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 389 | E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",group,sub); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' rm -f libfpu.a ar cru libfpu.a fpu.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libfpu.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' Making all in gui make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o sdl_gui.o sdl_gui.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o midi.o midi.cpp In file included from midi.cpp:91: midi_oss.h: In member function 'virtual void MidiHandler_oss::PlaySysex(Bit8u*, Bitu)': 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); | ~~~~~^~~~~~~~~~~~~~~~ midi_oss.h: In member function 'virtual void MidiHandler_oss::PlayMsg(Bit8u*)': 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); | ~~~~~^~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o render.o render.cpp render.cpp: In function 'void RENDER_Reset()': render.cpp:383:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 383 | else | ^~~~ render.cpp:385:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 385 | break; | ^~~~~ render.cpp:484:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 484 | E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); | ~^ ~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld render.cpp: In function 'void IncreaseFrameSkip(bool)': render.cpp:543:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 543 | LOG_MSG("Frame Skip at %d",render.frameskip.max); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld render.cpp: In function 'void DecreaseFrameSkip(bool)': render.cpp:551:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 551 | LOG_MSG("Frame Skip at %d",render.frameskip.max); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o sdlmain.o sdlmain.cpp In file included from sdlmain.cpp:58: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46: /usr/include/GL/glext.h:35: note: this is the location of the previous definition 35 | #define GL_GLEXT_VERSION 20220530 | sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': 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 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 sdlmain.cpp: In function 'Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)': 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 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 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 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 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 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 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 make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o sdl_mapper.o sdl_mapper.cpp sdl_mapper.cpp: In member function 'virtual void CJAxisBind::ConfigName(char*)': 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); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In member function 'virtual void CJAxisBind::BindName(char*)': sdl_mapper.cpp:547:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 547 | sprintf(buf,"%s Axis %d%s",group->BindStart(),axis,positive ? "+" : "-"); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In member function 'virtual void CJButtonBind::ConfigName(char*)': sdl_mapper.cpp:562:41: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 562 | sprintf(buf,"%s button %d",group->ConfigStart(),button); | ~^ ~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In member function 'virtual void CJButtonBind::BindName(char*)': sdl_mapper.cpp:565:41: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 565 | sprintf(buf,"%s Button %d",group->BindStart(),button); | ~^ ~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In member function 'virtual void CJHatBind::ConfigName(char*)': sdl_mapper.cpp:586:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 586 | sprintf(buf,"%s hat %d %d",group->ConfigStart(),hat,dir); | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In member function 'virtual void CJHatBind::BindName(char*)': sdl_mapper.cpp:589:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 589 | sprintf(buf,"%s Hat %d %s",group->BindStart(),hat,(dir==SDL_HAT_UP)?"up": | ~^ ~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In constructor 'CStickBindGroup::CStickBindGroup(Bitu, Bitu, bool)': sdl_mapper.cpp:606:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 606 | sprintf(configname,"stick_%d",emustick); | ~^ ~~~~~~~~ | | | | | Bitu {aka long unsigned int} | int | %ld sdl_mapper.cpp:659:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 659 | LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:659:59: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 659 | LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats); | ~^ ~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:659:74: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 659 | LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In member function 'void CHandlerEvent::MakeDefaultBind(char*)': 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\"", | ~^ | | | int | %ld 1589 | entry, 1590 | key, | ~~~ | | | Bitu {aka long unsigned int} sdl_mapper.cpp: In function 'CJAxisEvent* AddJAxisButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu, bool, CJAxisEvent*)': sdl_mapper.cpp:1688:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1688 | sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:1688:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1688 | sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In function 'CJAxisEvent* AddJAxisButton_hidden(Bitu, Bitu, bool, CJAxisEvent*)': sdl_mapper.cpp:1695:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1695 | sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:1695:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1695 | sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In function 'void AddJButtonButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu)': sdl_mapper.cpp:1701:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1701 | sprintf(buf,"jbutton_%d_%d",stick,button); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:1701:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1701 | sprintf(buf,"jbutton_%d_%d",stick,button); | ~^ ~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In function 'void AddJButtonButton_hidden(Bitu, Bitu)': sdl_mapper.cpp:1707:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1707 | sprintf(buf,"jbutton_%d_%d",stick,button); | ~^ ~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:1707:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1707 | sprintf(buf,"jbutton_%d_%d",stick,button); | ~^ ~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In function 'void AddJHatButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu, Bitu)': sdl_mapper.cpp:1713:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1713 | sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir); | ~^ ~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:1713:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1713 | sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp:1713:34: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1713 | sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld sdl_mapper.cpp: In function 'void AddModButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu)': sdl_mapper.cpp:1720:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1720 | sprintf(buf,"mod_%d",_mod); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | int | %ld sdl_mapper.cpp: In function 'void CreateDefaultBinds()': sdl_mapper.cpp:2061:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 2061 | sprintf(buffer,"key_%s \"key %d\"",DefaultKeys[i].eventend,DefaultKeys[i].key); | ~^ ~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o render_scalers.o render_scalers.cpp In file included from render_templates.h:434, from render_scalers.cpp:129: render_templates_sai.h: In function 'void Super2xSaI_15(Bit16u*, Bit16u*, const Bit16u*)': render_templates_sai.h:46:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 46 | register int r = 0; | ^ render_templates_sai.h: In function 'void SuperEagle_15(Bit16u*, Bit16u*, const Bit16u*)': render_templates_sai.h:130:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 130 | register int r = 0; | ^ render_templates_sai.h: In function 'void _2xSaI_15(Bit16u*, Bit16u*, const Bit16u*)': render_templates_sai.h:188:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 188 | register int r = 0; | ^ In file included from render_templates.h:434, from render_scalers.cpp:144: render_templates_sai.h: In function 'void Super2xSaI_16(Bit16u*, Bit16u*, const Bit16u*)': render_templates_sai.h:46:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 46 | register int r = 0; | ^ render_templates_sai.h: In function 'void SuperEagle_16(Bit16u*, Bit16u*, const Bit16u*)': render_templates_sai.h:130:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 130 | register int r = 0; | ^ render_templates_sai.h: In function 'void _2xSaI_16(Bit16u*, Bit16u*, const Bit16u*)': render_templates_sai.h:188:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 188 | register int r = 0; | ^ In file included from render_templates.h:434, from render_scalers.cpp:159: render_templates_sai.h: In function 'void Super2xSaI_32(Bit32u*, Bit32u*, const Bit32u*)': render_templates_sai.h:46:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 46 | register int r = 0; | ^ render_templates_sai.h: In function 'void SuperEagle_32(Bit32u*, Bit32u*, const Bit32u*)': render_templates_sai.h:130:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 130 | register int r = 0; | ^ render_templates_sai.h: In function 'void _2xSaI_32(Bit32u*, Bit32u*, const Bit32u*)': render_templates_sai.h:188:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 188 | register int r = 0; | ^ render_loops.h: At global scope: render_templates.h:532:33: warning: 'void AdvMame3x_15_L()' defined but not used [-Wunused-function] 532 | #define SCALERNAME AdvMame3x | ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:532:33: warning: 'void AdvMame3x_15_R()' defined but not used [-Wunused-function] 532 | #define SCALERNAME AdvMame3x | ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:513:33: warning: 'void AdvMame2x_15_L()' defined but not used [-Wunused-function] 513 | #define SCALERNAME AdvMame2x | ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:513:33: warning: 'void AdvMame2x_15_R()' defined but not used [-Wunused-function] 513 | #define SCALERNAME AdvMame2x | ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:456:33: warning: 'void _2xSaI_15_L()' defined but not used [-Wunused-function] 456 | #define SCALERNAME _2xSaI | ^~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:456:33: warning: 'void _2xSaI_15_R()' defined but not used [-Wunused-function] 456 | #define SCALERNAME _2xSaI | ^~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:446:33: warning: 'void SuperEagle_15_L()' defined but not used [-Wunused-function] 446 | #define SCALERNAME SuperEagle | ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:446:33: warning: 'void SuperEagle_15_R()' defined but not used [-Wunused-function] 446 | #define SCALERNAME SuperEagle | ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:436:33: warning: 'void Super2xSaI_15_L()' defined but not used [-Wunused-function] 436 | #define SCALERNAME Super2xSaI | ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:436:33: warning: 'void Super2xSaI_15_R()' defined but not used [-Wunused-function] 436 | #define SCALERNAME Super2xSaI | ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:423:33: warning: 'void HQ3x_15_L()' defined but not used [-Wunused-function] 423 | #define SCALERNAME HQ3x | ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:423:33: warning: 'void HQ3x_15_R()' defined but not used [-Wunused-function] 423 | #define SCALERNAME HQ3x | ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:412:33: warning: 'void HQ2x_15_L()' defined but not used [-Wunused-function] 412 | #define SCALERNAME HQ2x | ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' 20 | static void conc3d(SCALERNAME,SBPP,L)(void) { | ^~~~~~~~~~ render_templates.h:412:33: warning: 'void HQ2x_15_R()' defined but not used [-Wunused-function] 412 | #define SCALERNAME HQ2x | ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc3d(SCALERNAME,SBPP,R)(void) { | ^~~~~~~~~~ render_templates.h:272:33: warning: 'void NormalDh_9_8_L(const void*)' defined but not used [-Wunused-function] 272 | #define SCALERNAME NormalDh | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:22:13: note: in expansion of macro 'conc4d' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~~~~~ render_templates.h:272:33: warning: 'void NormalDh_9_8_R(const void*)' defined but not used [-Wunused-function] 272 | #define SCALERNAME NormalDh | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:24:13: note: in expansion of macro 'conc4d' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~~~~~ render_templates.h:260:33: warning: 'void NormalDw_9_8_L(const void*)' defined but not used [-Wunused-function] 260 | #define SCALERNAME NormalDw | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:22:13: note: in expansion of macro 'conc4d' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~~~~~ render_templates.h:260:33: warning: 'void NormalDw_9_8_R(const void*)' defined but not used [-Wunused-function] 260 | #define SCALERNAME NormalDw | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:24:13: note: in expansion of macro 'conc4d' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~~~~~ render_templates.h:241:33: warning: 'void Normal3x_9_8_L(const void*)' defined but not used [-Wunused-function] 241 | #define SCALERNAME Normal3x | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:22:13: note: in expansion of macro 'conc4d' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~~~~~ render_templates.h:241:33: warning: 'void Normal3x_9_8_R(const void*)' defined but not used [-Wunused-function] 241 | #define SCALERNAME Normal3x | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:24:13: note: in expansion of macro 'conc4d' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~~~~~ render_templates.h:227:33: warning: 'void Normal2x_9_8_L(const void*)' defined but not used [-Wunused-function] 227 | #define SCALERNAME Normal2x | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:22:13: note: in expansion of macro 'conc4d' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~~~~~ render_templates.h:227:33: warning: 'void Normal2x_9_8_R(const void*)' defined but not used [-Wunused-function] 227 | #define SCALERNAME Normal2x | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:24:13: note: in expansion of macro 'conc4d' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~~~~~ render_templates.h:216:33: warning: 'void Normal1x_9_8_L(const void*)' defined but not used [-Wunused-function] 216 | #define SCALERNAME Normal1x | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:22:13: note: in expansion of macro 'conc4d' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' 22 | static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { | ^~~~~~~~~~ render_templates.h:216:33: warning: 'void Normal1x_9_8_R(const void*)' defined but not used [-Wunused-function] 216 | #define SCALERNAME Normal1x | ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' 47 | #define _conc7(A,B,C,D,E,F,G) A ## B ## C ## D ## E ## F ## G | ^ render_simple.h:24:13: note: in expansion of macro 'conc4d' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' 24 | static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { | ^~~~~~~~~~ render_templates.h:156:20: warning: 'void Cache_9_8(const void*)' defined but not used [-Wunused-function] 156 | static void conc3d(Cache,SBPP,DBPP) (const void * s) { | ^~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' 46 | #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E | ^ render_templates.h:156:13: note: in expansion of macro 'conc3d' 156 | static void conc3d(Cache,SBPP,DBPP) (const void * s) { | ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' rm -f libgui.a ar cru libgui.a sdlmain.o sdl_mapper.o render.o render_scalers.o midi.o sdl_gui.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libgui.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' Making all in hardware Making all in serialport make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o libserial.o libserial.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o misc_util.o misc_util.cpp misc_util.cpp: In member function 'bool TCPClientSocket::SendArray(Bit8u*, Bitu)': misc_util.cpp:230:50: warning: comparison of integer expressions of different signedness: 'int' and 'Bitu' {aka 'long unsigned int'} [-Wsign-compare] 230 | if(SDLNet_TCP_Send(mysock, data, bufsize)!=bufsize) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ misc_util.cpp: In member function 'bool TCPClientSocket::SendByteBuffered(Bit8u)': misc_util.cpp:244:71: warning: comparison of integer expressions of different signedness: 'int' and 'Bitu' {aka 'long unsigned int'} [-Wsign-compare] 244 | if(SDLNet_TCP_Send(mysock, sendbuffer, sendbuffersize)!=sendbuffersize) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ misc_util.cpp: In member function 'void TCPClientSocket::FlushBuffer()': misc_util.cpp:276:41: warning: comparison of integer expressions of different signedness: 'int' and 'Bitu' {aka 'long unsigned int'} [-Wsign-compare] 275 | if(SDLNet_TCP_Send(mysock, sendbuffer, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | sendbufferindex)!=sendbufferindex) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o directserial.o directserial.cpp directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': 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 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 directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': 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 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} directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': 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 make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o serialdummy.o serialdummy.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o softmodem.o softmodem.cpp In file included from softmodem.cpp:31: softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': softmodem.h:95:75: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 95 | LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lu softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': softmodem.h:129:76: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 129 | LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld softmodem.cpp: In member function 'void CSerialModem::SendRes(ResTypes)': softmodem.cpp:149:16: warning: enumeration value 'ResBUSY' not handled in switch [-Wswitch] 149 | switch (response) | ^ softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()': softmodem.cpp:274:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 274 | while(waitingclientsocket=serversocket->Accept()) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ softmodem.cpp:280:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 280 | LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); | ~^ | | | int | %ld softmodem.cpp:280:75: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 280 | LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); | ~^ ~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld softmodem.cpp:283:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 283 | } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); | ~^ | | | int | %ld softmodem.cpp:283:68: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 283 | } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); | ~^ ~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld softmodem.cpp: In member function 'void CSerialModem::DoCommand()': softmodem.cpp:513:80: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 513 | LOG_MSG("Modem: Unhandled command: &%c%d",cmdchar,ScanNumber(scanbuf)); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld softmodem.cpp:533:81: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 533 | LOG_MSG("Modem: Unhandled command: \\%c%d",cmdchar, ScanNumber(scanbuf)); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld softmodem.cpp:542:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 542 | LOG_MSG("Modem: Unhandled command: %c%d",chr,ScanNumber(scanbuf)); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld softmodem.cpp: In member function 'void CSerialModem::Timer2()': softmodem.cpp:651:23: warning: unused variable 'args' [-Wunused-variable] 651 | unsigned long args = 1; | ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o nullmodem.o nullmodem.cpp nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': 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 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 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 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 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 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 nullmodem.cpp: In member function 'void CNullModem::ClientConnect()': nullmodem.cpp:226:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 226 | LOG_MSG("Serial%d: Connection failed.",idnumber+1); | ~^ ~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld nullmodem.cpp:236:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 236 | LOG_MSG("Serial%d: Connected to %s",idnumber+1,peernamebuf); | ~^ ~~~~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld nullmodem.cpp: In member function 'void CNullModem::Disconnect()': nullmodem.cpp:244:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 244 | LOG_MSG("Serial%d: Disconnected.",COMNUMBER); | ~^ | | | int | %ld nullmodem.cpp: In member function 'virtual void CNullModem::handleUpperEvent(Bit16u)': nullmodem.cpp:388:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 388 | LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf); | ~^ | | | int | %ld nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': nullmodem.cpp:462:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 462 | LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); | ~^ | | | int | %ld make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o serialport.o serialport.cpp In file included from serialport.cpp:35: softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)': softmodem.h:95:75: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 95 | LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lu softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': softmodem.h:129:76: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 129 | LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld serialport.cpp: In member function 'void CSerial::handleEvent(Bit16u)': 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: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 272 | LOG_MSG("Serial%d: Errors: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | COMNUMBER, framingErrors, parityErrors, overrunErrors, | ~~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 272 | LOG_MSG("Serial%d: Errors: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | COMNUMBER, framingErrors, parityErrors, overrunErrors, | ~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 272 | LOG_MSG("Serial%d: Errors: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | COMNUMBER, framingErrors, parityErrors, overrunErrors, | ~~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 272 | LOG_MSG("Serial%d: Errors: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | COMNUMBER, framingErrors, parityErrors, overrunErrors, 275 | overrunIF0,txOverrunErrors, breakErrors); | ~~~~~~~~~~ | | | Bitu {aka long unsigned int} serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 272 | LOG_MSG("Serial%d: Errors: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | COMNUMBER, framingErrors, parityErrors, overrunErrors, 275 | overrunIF0,txOverrunErrors, breakErrors); | ~~~~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 272 | LOG_MSG("Serial%d: Errors: "\ | ^~~~~~~~~~~~~~~~~~~~~ 273 | "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | COMNUMBER, framingErrors, parityErrors, overrunErrors, 275 | overrunIF0,txOverrunErrors, breakErrors); | ~~~~~~~~~~~ | | | Bitu {aka long unsigned int} serialport.cpp: In static member function 'static bool CSerial::getBituSubstring(const char*, Bitu*, CommandLine*)': 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 serialport.cpp: In constructor 'SERIALPORTS::SERIALPORTS(Section*)': 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 make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' rm -f libserial.a ar cru libserial.a directserial.o libserial.o serialdummy.o serialport.o softmodem.o misc_util.o nullmodem.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libserial.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' Making all in mame make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o saa1099.o saa1099.cpp In file included from saa1099.cpp:70: emu.h:122:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] 122 | static void auto_free(const device_t::machine_t& machine, void * buffer) { | ^~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o sn76496.o sn76496.cpp sn76496.cpp: In member function 'virtual void sn76496_base_device::sound_stream_update(device_sound_interface::sound_stream&, stream_sample_t**, stream_sample_t**, int)': sn76496.cpp:430:102: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 430 | if (((m_RNG & m_whitenoise_tap1)!=0) != (((m_RNG & m_whitenoise_tap2)!=(m_ncr_style_psg?m_whitenoise_tap2:0)) && in_noise_mode())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sn76496.cpp:139: emu.h: At global scope: emu.h:122:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] 122 | static void auto_free(const device_t::machine_t& machine, void * buffer) { | ^~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' rm -f libmame.a ar cru libmame.a saa1099.o sn76496.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libmame.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_attr.o vga_attr.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga.o vga.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o keyboard.o keyboard.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_crtc.o vga_crtc.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_dac.o vga_dac.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_gfx.o vga_gfx.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o iohandler.o iohandler.cpp iohandler.cpp: In member function 'void IO_ReadHandleObject::Install(Bitu, Bitu (*)(Bitu, Bitu), Bitu, Bitu)': iohandler.cpp:119:64: 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 allready installed port %x",port); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx iohandler.cpp: In member function 'void IO_WriteHandleObject::Install(Bitu, void (*)(Bitu, Bitu, Bitu), Bitu, Bitu)': iohandler.cpp:134:65: 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 allready installed port %x",port); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o joystick.o joystick.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_other.o vga_other.cpp vga_other.cpp: In function 'void write_color_select(Bit8u)': vga_other.cpp:240:16: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] 240 | switch (vga.mode) { | ^ vga_other.cpp:240:16: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_other.cpp:240:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dma.o dma.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o pic.o pic.cpp pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)': pic.cpp:204:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 204 | if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx pic.cpp:205:56: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 205 | if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_draw.o vga_draw.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_seq.o vga_seq.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_s3.o vga_s3.cpp vga_s3.cpp: In function 'Bitu SVGA_S3_ReadSEQ(Bitu, Bitu)': vga_s3.cpp:483:56: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 483 | return vga.s3.mclk.n || (vga.s3.mclk.r << 5); | ~~~~~~~~~~~~~~~^~~~~ vga_s3.cpp:487:60: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 487 | return vga.s3.clk[3].n || (vga.s3.clk[3].r << 5); | ~~~~~~~~~~~~~~~~~^~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o memory.o memory.cpp memory.cpp: In function 'bool mem_unalignedwritew_checked(PhysPt, Bit16u)': memory.cpp:477:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 477 | if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~ memory.cpp:477:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 477 | if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~~ memory.cpp: In function 'bool mem_unalignedwrited_checked(PhysPt, Bit32u)': memory.cpp:483:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 483 | if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~ memory.cpp:483:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 483 | if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~~ memory.cpp:484:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 484 | if (mem_writeb_checked(address+1,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~ memory.cpp:484:76: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 484 | if (mem_writeb_checked(address+1,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~~ memory.cpp:485:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 485 | if (mem_writeb_checked(address+2,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~ memory.cpp:485:76: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 485 | if (mem_writeb_checked(address+2,(Bit8u)(val & 0xff))) return true;val>>=8; | ^~~ memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': memory.cpp:564:70: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 564 | if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); | ~^ ~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o pcspeaker.o pcspeaker.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o gameblaster.o gameblaster.cpp gameblaster.cpp: In constructor 'CMS::CMS(Section*)': gameblaster.cpp:148:24: warning: unused variable 'freq' [-Wunused-variable] 148 | Bit32u freq = 7159000; //14318180 isa clock / 2 | ^~~~ gameblaster.cpp: In destructor 'virtual CMS::~CMS()': gameblaster.cpp:160:17: warning: deleting object of polymorphic class type 'saa1099_device' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 160 | delete device[0]; | ^~~~~~~~~~~~~~~~ gameblaster.cpp:161:17: warning: deleting object of polymorphic class type 'saa1099_device' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 161 | delete device[1]; | ^~~~~~~~~~~~~~~~ In file included from gameblaster.cpp:30: mame/emu.h: At global scope: mame/emu.h:122:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] 122 | static void auto_free(const device_t::machine_t& machine, void * buffer) { | ^~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o timer.o timer.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o tandy_sound.o tandy_sound.cpp tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': 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 In file included from tandy_sound.cpp:33: mame/emu.h: At global scope: mame/emu.h:122:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] 122 | static void auto_free(const device_t::machine_t& machine, void * buffer) { | ^~~~~~~~~ In file included from tandy_sound.cpp:29: ../../include/dma.h:117:15: warning: 'dma_wrapping' defined but not used [-Wunused-variable] 117 | static Bit32u dma_wrapping = 0xffff; | ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_memory.o vga_memory.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o ipxserver.o ipxserver.cpp ipxserver.cpp: In function 'void ackClient(IPaddress)': ipxserver.cpp:129:14: warning: variable 'result' set but not used [-Wunused-but-set-variable] 129 | Bits result; | ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_misc.o vga_misc.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_xga.o vga_xga.cpp vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)': vga_xga.cpp:108:72: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 108 | LOG_MSG("XGA: Unhandled multifunction command %x", regselect); | ~^ ~~~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx vga_xga.cpp: In function 'void XGA_DrawLineVector(Bitu)': vga_xga.cpp:329:72: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 329 | LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode); | ~^ ~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx vga_xga.cpp: In function 'void XGA_DrawLineBresenham(Bitu)': vga_xga.cpp:433:80: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 433 | LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode); | ~^ ~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx vga_xga.cpp: In function 'void XGA_DrawRectangle(Bitu)': vga_xga.cpp:505:80: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 505 | LOG_MSG("XGA: DrawRect: Needs mixmode %x", mixmode); | ~^ ~~~~~~~ | | | | | Bitu {aka long unsigned int} | unsigned int | %lx vga_xga.cpp: In function 'void XGA_DrawWait(Bitu, Bitu)': vga_xga.cpp:642:112: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 642 | LOG_MSG("XGA: unsupported bpp / datawidth combination %x", | ~^ | | | unsigned int | %lx 643 | xga.waitcmd.buswidth); | ~~~~~~~~~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} vga_xga.cpp:690:118: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 690 | LOG_MSG("XGA: DrawBlitWait: Unsupported src %x", | ~^ | | | unsigned int | %lx 691 | (mixmode >> 5) & 0x03); | ~~~~~~~~~~~~~~~~~~~~~ | | | Bitu {aka long unsigned int} vga_xga.cpp:710:89: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 710 | LOG_MSG("XGA: DrawBlitWait: Unhandled mixmode: %d", mixmode); | ~^ ~~~~~~~ | | | | int Bitu {aka long unsigned int} | %ld vga_xga.cpp: In function 'void XGA_SetDualReg(Bit32u&, Bitu)': vga_xga.cpp:976:15: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] 976 | switch(XGA_COLOR_MODE) { | ^ vga_xga.cpp:976:15: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:976:15: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] vga_xga.cpp: In function 'Bitu XGA_GetDualReg(Bit32u)': vga_xga.cpp:995:15: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] 995 | switch(XGA_COLOR_MODE) { | ^ vga_xga.cpp:995:15: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:995:15: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] vga_xga.cpp: In function 'void XGA_Write(Bitu, Bitu, Bitu)': vga_xga.cpp:1167:59: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1167 | else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); | ~^ ~~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx vga_xga.cpp:1167:67: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1167 | else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx vga_xga.cpp:1167:75: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 1167 | else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); | ~^ ~~~ | | | | unsigned int Bitu {aka long unsigned int} | %lx make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o hardware.o hardware.cpp In file included from hardware.cpp:36: ../libs/zmbv/zmbv.cpp: In member function 'int VideoCodec::FinishCompressFrame()': ../libs/zmbv/zmbv.cpp:342:24: warning: enumeration value 'ZMBV_FORMAT_NONE' not handled in switch [-Wswitch] 342 | switch (format) { | ^ ../libs/zmbv/zmbv.cpp:342:24: warning: enumeration value 'ZMBV_FORMAT_1BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:342:24: warning: enumeration value 'ZMBV_FORMAT_2BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:342:24: warning: enumeration value 'ZMBV_FORMAT_4BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:342:24: warning: enumeration value 'ZMBV_FORMAT_24BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:363:13: warning: unused variable 'res' [-Wunused-variable] 363 | int res = deflate(&zstream, Z_SYNC_FLUSH); | ^~~ ../libs/zmbv/zmbv.cpp: In member function 'bool VideoCodec::DecompressFrame(void*, int)': ../libs/zmbv/zmbv.cpp:463:24: warning: enumeration value 'ZMBV_FORMAT_NONE' not handled in switch [-Wswitch] 463 | switch (format) { | ^ ../libs/zmbv/zmbv.cpp:463:24: warning: enumeration value 'ZMBV_FORMAT_1BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:463:24: warning: enumeration value 'ZMBV_FORMAT_2BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:463:24: warning: enumeration value 'ZMBV_FORMAT_4BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:463:24: warning: enumeration value 'ZMBV_FORMAT_24BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:433:13: warning: unused variable 'res' [-Wunused-variable] 433 | int res = inflate(&zstream, Z_FINISH); | ^~~ ../libs/zmbv/zmbv.cpp: In member function 'void VideoCodec::Output_UpsideDown_24(void*)': ../libs/zmbv/zmbv.cpp:487:24: warning: enumeration value 'ZMBV_FORMAT_NONE' not handled in switch [-Wswitch] 487 | switch (format) { | ^ ../libs/zmbv/zmbv.cpp:487:24: warning: enumeration value 'ZMBV_FORMAT_1BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:487:24: warning: enumeration value 'ZMBV_FORMAT_2BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:487:24: warning: enumeration value 'ZMBV_FORMAT_4BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:487:24: warning: enumeration value 'ZMBV_FORMAT_24BPP' not handled in switch [-Wswitch] hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': 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 ../libs/zmbv/zmbv.cpp: In instantiation of 'void VideoCodec::AddXorFrame() [with P = char]': ../libs/zmbv/zmbv.cpp:344:21: required from here ../libs/zmbv/zmbv.cpp:197:13: warning: unused variable 'written' [-Wunused-variable] 197 | int written=0; | ^~~~~~~ ../libs/zmbv/zmbv.cpp:198:13: warning: unused variable 'lastvector' [-Wunused-variable] 198 | int lastvector=0; | ^~~~~~~~~~ ../libs/zmbv/zmbv.cpp:202:13: warning: unused variable 'totalx' [-Wunused-variable] 202 | int totalx=0; | ^~~~~~ ../libs/zmbv/zmbv.cpp:203:13: warning: unused variable 'totaly' [-Wunused-variable] 203 | int totaly=0; | ^~~~~~ ../libs/zmbv/zmbv.cpp: In instantiation of 'void VideoCodec::AddXorFrame() [with P = short int]': ../libs/zmbv/zmbv.cpp:348:22: required from here ../libs/zmbv/zmbv.cpp:197:13: warning: unused variable 'written' [-Wunused-variable] 197 | int written=0; | ^~~~~~~ ../libs/zmbv/zmbv.cpp:198:13: warning: unused variable 'lastvector' [-Wunused-variable] 198 | int lastvector=0; | ^~~~~~~~~~ ../libs/zmbv/zmbv.cpp:202:13: warning: unused variable 'totalx' [-Wunused-variable] 202 | int totalx=0; | ^~~~~~ ../libs/zmbv/zmbv.cpp:203:13: warning: unused variable 'totaly' [-Wunused-variable] 203 | int totaly=0; | ^~~~~~ ../libs/zmbv/zmbv.cpp: In instantiation of 'void VideoCodec::AddXorFrame() [with P = long int]': ../libs/zmbv/zmbv.cpp:351:21: required from here ../libs/zmbv/zmbv.cpp:197:13: warning: unused variable 'written' [-Wunused-variable] 197 | int written=0; | ^~~~~~~ ../libs/zmbv/zmbv.cpp:198:13: warning: unused variable 'lastvector' [-Wunused-variable] 198 | int lastvector=0; | ^~~~~~~~~~ ../libs/zmbv/zmbv.cpp:202:13: warning: unused variable 'totalx' [-Wunused-variable] 202 | int totalx=0; | ^~~~~~ ../libs/zmbv/zmbv.cpp:203:13: warning: unused variable 'totaly' [-Wunused-variable] 203 | int totaly=0; | ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o mixer.o mixer.cpp mixer.cpp: In function 'void MIXER_Init(Section*)': mixer.cpp:655:32: warning: comparison of integer expressions of different signedness: 'Bit32u' {aka 'unsigned int'} and 'int' [-Wsign-compare] 655 | if((mixer.freq != obtained.freq) || (mixer.blocksize != obtained.samples)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_paradise.o vga_paradise.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o vga_tseng.o vga_tseng.cpp vga_tseng.cpp: In function 'void FinishSetMode_ET3K(Bitu, VGA_ModeExtraData*)': vga_tseng.cpp:705:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 705 | for (Bitu i=0x16; i<=0x21; i++) | ^~~ vga_tseng.cpp:706:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 706 | IO_Write(crtc_base,i);IO_Write(crtc_base+1,0); | ^~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o adlib.o adlib.cpp adlib.cpp: In member function 'void Adlib::Capture::CloseFile()': 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 ); | ^~~~~~~~~~~~~~~~~~~ adlib.cpp:258:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 258 | var_write( &header.versionLow, header.versionLow ); | ^~~~~~~~~~~~~~~~~~ adlib.cpp:259:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 259 | var_write( &header.commands, header.commands ); | ^~~~~~~~~~~~~~~~ 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 ); | ^~~~~~~~~~~~~~~~~~~~ adlib.cpp: In constructor 'Adlib::Module::Module(Section*)': adlib.cpp:657:16: warning: enumeration value 'OPL_none' not handled in switch [-Wswitch] 657 | switch ( oplmode ) { | ^ adlib.cpp:657:16: warning: enumeration value 'OPL_cms' not handled in switch [-Wswitch] adlib.cpp: At global scope: adlib.cpp:570:13: warning: 'void SaveRad()' defined but not used [-Wunused-function] 570 | static void SaveRad() { | ^~~~~~~ In file included from adlib.cpp:33: opl.cpp: In function 'OPL2::adlib_getsample(short*, long)': opl.cpp:1101:63: warning: storing the address of local variable 'trem_lut' in 'OPL2::tremval4' [-Wdangling-pointer=] 1101 | if (cptr[9].tremolo) tremval4 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:49: note: 'OPL2::tremval4' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ opl.cpp:1091:63: warning: storing the address of local variable 'trem_lut' in 'OPL2::tremval2' [-Wdangling-pointer=] 1091 | if (cptr[9].tremolo) tremval2 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:27: note: 'OPL2::tremval2' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ opl.cpp:1089:63: warning: storing the address of local variable 'trem_lut' in 'OPL2::tremval1' [-Wdangling-pointer=] 1089 | if (cptr[0].tremolo) tremval1 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:16: note: 'OPL2::tremval1' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ opl.cpp:1061:63: warning: storing the address of local variable 'trem_lut' in 'OPL2::tremval3' [-Wdangling-pointer=] 1061 | if (cptr[0].tremolo) tremval3 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:38: note: 'OPL2::tremval3' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ In file included from adlib.cpp:62: opl.cpp: In function 'OPL3::adlib_getsample(short*, long)': opl.cpp:1101:63: warning: storing the address of local variable 'trem_lut' in 'OPL3::tremval4' [-Wdangling-pointer=] 1101 | if (cptr[9].tremolo) tremval4 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:49: note: 'OPL3::tremval4' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ opl.cpp:1091:63: warning: storing the address of local variable 'trem_lut' in 'OPL3::tremval2' [-Wdangling-pointer=] 1091 | if (cptr[9].tremolo) tremval2 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:27: note: 'OPL3::tremval2' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ opl.cpp:1089:63: warning: storing the address of local variable 'trem_lut' in 'OPL3::tremval1' [-Wdangling-pointer=] 1089 | if (cptr[0].tremolo) tremval1 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:16: note: 'OPL3::tremval1' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ opl.cpp:1061:63: warning: storing the address of local variable 'trem_lut' in 'OPL3::tremval3' [-Wdangling-pointer=] 1061 | if (cptr[0].tremolo) tremval3 = trem_lut; // tremolo enabled, use table | ~~~~~~~~~^~~~~~~~~~ opl.cpp:965:16: note: 'trem_lut' declared here 965 | Bit32s trem_lut[BLOCKBUF_SIZE]; | ^~~~~~~~ opl.cpp:53:38: note: 'OPL3::tremval3' declared here 53 | static Bit32s *tremval1, *tremval2, *tremval3, *tremval4; | ^~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o sblaster.o sblaster.cpp sblaster.cpp: In function 'void DSP_DoDMATransfer(DMA_MODES, Bitu, bool)': sblaster.cpp:591:22: warning: variable 'type' set but not used [-Wunused-but-set-variable] 591 | char const * type; | ^~~~ In file included from sblaster.cpp:28: ../../include/dma.h: At global scope: ../../include/dma.h:117:15: warning: 'dma_wrapping' defined but not used [-Wunused-variable] 117 | static Bit32u dma_wrapping = 0xffff; | ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o disney.o disney.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o mpu401.o mpu401.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cmos.o cmos.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o ipx.o ipx.cpp ipx.cpp: In function 'void pingAck(IPaddress)': ipx.cpp:513:14: warning: variable 'result' set but not used [-Wunused-but-set-variable] 513 | Bits result; | ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o gus.o gus.cpp In file included from gus.cpp:27: ../../include/dma.h:117:15: warning: 'dma_wrapping' defined but not used [-Wunused-variable] 117 | static Bit32u dma_wrapping = 0xffff; | ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dbopl.o dbopl.cpp dbopl.cpp: In instantiation of 'DBOPL::Channel* DBOPL::Channel::BlockTemplate(DBOPL::Chip*, Bit32u, Bit32s*) [with DBOPL::SynthMode mode = DBOPL::sm3Percussion; Bit32u = unsigned int; Bit32s = int]': dbopl.cpp:1035:28: required from here dbopl.cpp:848:9: warning: enumeration value 'sm3Percussion' not handled in switch [-Wswitch] 848 | switch( mode ) { | ^~~~~~ dbopl.cpp:938:17: warning: enumeration value 'sm3Percussion' not handled in switch [-Wswitch] 938 | switch( mode ) { | ^~~~~~ dbopl.cpp: In instantiation of 'DBOPL::Channel* DBOPL::Channel::BlockTemplate(DBOPL::Chip*, Bit32u, Bit32s*) [with DBOPL::SynthMode mode = DBOPL::sm2Percussion; Bit32u = unsigned int; Bit32s = int]': dbopl.cpp:1037:28: required from here dbopl.cpp:848:9: warning: enumeration value 'sm2Percussion' not handled in switch [-Wswitch] 848 | switch( mode ) { | ^~~~~~ dbopl.cpp:938:17: warning: enumeration value 'sm2Percussion' not handled in switch [-Wswitch] 938 | switch( mode ) { | ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' rm -f libhardware.a ar cru libhardware.a adlib.o dma.o gameblaster.o hardware.o iohandler.o joystick.o keyboard.o memory.o mixer.o pcspeaker.o pic.o sblaster.o tandy_sound.o timer.o vga.o vga_attr.o vga_crtc.o vga_dac.o vga_draw.o vga_gfx.o vga_other.o vga_memory.o vga_misc.o vga_seq.o vga_xga.o vga_s3.o vga_tseng.o vga_paradise.o cmos.o disney.o gus.o mpu401.o ipx.o ipxserver.o dbopl.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libhardware.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' Making all in libs Making all in zmbv make[4]: Nothing to be done for 'all'. Making all in gui_tk make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o gui_tk.o gui_tk.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' rm -f libgui_tk.a ar cru libgui_tk.a gui_tk.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libgui_tk.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' make[4]: Nothing to be done for 'all-am'. Making all in ints make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_vptable.o int10_vptable.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_misc.o int10_misc.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_put_pixel.o int10_put_pixel.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_pal.o int10_pal.cpp int10_pal.cpp: In function 'void INT10_SetSinglePaletteRegister(Bit8u, Bit8u)': int10_pal.cpp:37:16: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] 37 | switch (machine) { | ^ int10_pal.cpp:37:16: warning: enumeration value 'MCH_CGA' not handled in switch [-Wswitch] int10_pal.cpp: In function 'void INT10_SetOverscanBorderColor(Bit8u)': int10_pal.cpp:56:16: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] 56 | switch (machine) { | ^ int10_pal.cpp:56:16: warning: enumeration value 'MCH_CGA' not handled in switch [-Wswitch] int10_pal.cpp: In function 'void INT10_SetAllPaletteRegisters(PhysPt)': int10_pal.cpp:71:16: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] 71 | switch (machine) { | ^ int10_pal.cpp:71:16: warning: enumeration value 'MCH_CGA' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_video_state.o int10_video_state.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_memory.o int10_memory.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_char.o int10_char.cpp int10_char.cpp: In function 'void INT10_WriteChar(Bit8u, Bit8u, Bit8u, Bit16u, bool)': int10_char.cpp:546:24: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] 546 | switch (machine) { | ^ int10_char.cpp:546:24: warning: enumeration value 'MCH_TANDY' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_modes.o int10_modes.cpp int10_modes.cpp: In function 'void FinishSetMode(bool)': int10_modes.cpp:380:24: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] 380 | switch (CurMode->type) { | ^ int10_modes.cpp:380:24: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:380:24: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:380:24: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:380:24: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:380:24: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:380:24: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp: In function 'bool INT10_SetVideoMode_OTHER(Bit16u, bool)': int10_modes.cpp:439:16: warning: enumeration value 'MCH_EGA' not handled in switch [-Wswitch] 439 | switch (machine) { | ^ int10_modes.cpp:439:16: warning: enumeration value 'MCH_VGA' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] 482 | switch(CurMode->type) { | ^ int10_modes.cpp:482:15: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:482:15: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:516:16: warning: enumeration value 'MCH_EGA' not handled in switch [-Wswitch] 516 | switch (machine) { | ^ int10_modes.cpp:516:16: warning: enumeration value 'MCH_VGA' not handled in switch [-Wswitch] int10_modes.cpp: In function 'bool INT10_SetVideoMode(Bit16u)': int10_modes.cpp:723:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] 723 | switch (CurMode->type) { | ^ int10_modes.cpp:723:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:723:16: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:723:16: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:723:16: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:723:16: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:723:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:723:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] 878 | switch (CurMode->type) { | ^ int10_modes.cpp:878:16: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:878:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] 947 | switch (CurMode->type) { | ^ int10_modes.cpp:947:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:947:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] 1020 | switch (CurMode->type) { | ^ int10_modes.cpp:1020:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1020:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1058:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] 1058 | switch (CurMode->type) { | ^ int10_modes.cpp:1058:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1058:16: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1058:16: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1058:16: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1058:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1058:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1157:24: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] 1157 | switch (CurMode->type) { | ^ int10_modes.cpp:1157:24: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1157:24: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1157:24: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1157:24: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1157:24: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1157:24: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] 1238 | switch (CurMode->type) { | ^ int10_modes.cpp:1238:16: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1238:16: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp: In function 'Bitu VideoModeMemSize(Bitu)': int10_modes.cpp:1401:15: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] 1401 | switch(vmodeBlock->type) { | ^ int10_modes.cpp:1401:15: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1401:15: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o bios_keyboard.o bios_keyboard.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10_vesa.o int10_vesa.cpp int10_vesa.cpp: In function 'Bit8u VESA_GetSVGAModeInformation(Bit16u, Bit16u, Bit16u)': 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); | ^~~~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:156:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 156 | var_write(&minfo.BytesPerScanLine,mblock->swidth); | ^~~~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:166:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 166 | var_write(&minfo.BytesPerScanLine,mblock->swidth*2); | ^~~~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:184:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 184 | var_write(&minfo.BytesPerScanLine,mblock->swidth*2); | ^~~~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:200:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 200 | var_write(&minfo.BytesPerScanLine,mblock->swidth*4); | ^~~~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:231:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 231 | var_write(&minfo.ModeAttributes, modeAttributes & ~0x1); | ^~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:234:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 234 | var_write(&minfo.ModeAttributes, modeAttributes); | ^~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:240:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 240 | var_write(&minfo.WinGranularity,32); | ^~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:241:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 241 | var_write(&minfo.WinSize,32); | ^~~~~~~~~~~~~~ int10_vesa.cpp:242:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 242 | var_write(&minfo.WinASegment,0xb800); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp:243:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 243 | var_write(&minfo.XResolution,mblock->swidth/8); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp:244:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 244 | var_write(&minfo.YResolution,mblock->sheight/8); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp:246:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 246 | var_write(&minfo.WinGranularity,64); | ^~~~~~~~~~~~~~~~~~~~~ int10_vesa.cpp:247:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 247 | var_write(&minfo.WinSize,64); | ^~~~~~~~~~~~~~ int10_vesa.cpp:248:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 248 | var_write(&minfo.WinASegment,0xa000); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp:249:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 249 | var_write(&minfo.XResolution,mblock->swidth); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp:250:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 250 | var_write(&minfo.YResolution,mblock->sheight); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp:252:19: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member] 252 | var_write(&minfo.WinFuncPtr,CALLBACK_RealPointer(callback.setwindow)); | ^~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~ int10_vesa.cpp: In function 'void INT10_SetupVESA()': int10_vesa.cpp:491:16: warning: enumeration value 'SVGA_None' not handled in switch [-Wswitch] 491 | switch (svgaCard) { | ^ int10_vesa.cpp:491:16: warning: enumeration value 'SVGA_TsengET4K' not handled in switch [-Wswitch] int10_vesa.cpp:491:16: warning: enumeration value 'SVGA_TsengET3K' not handled in switch [-Wswitch] int10_vesa.cpp:491:16: warning: enumeration value 'SVGA_ParadisePVGA1A' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o int10.o int10.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o bios_disk.o bios_disk.cpp bios_disk.cpp: In function 'void swapInDisks()': bios_disk.cpp:109:47: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bits' {aka 'long int'} [-Wformat=] 109 | LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname); | ~^ ~~~~~~~~~ | | | | int Bits {aka long int} | %ld bios_disk.cpp:109:73: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bits' {aka 'long int'} [-Wformat=] 109 | LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname); | ~^ ~~~~~~~ | | | | int Bits {aka long int} | %ld bios_disk.cpp: In member function 'Bit8u imageDisk::Read_AbsoluteSector(Bit32u, void*)': bios_disk.cpp:154:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | fread(data, 1, sector_size, diskimg); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o xms.o xms.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o bios.o bios.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o ems.o ems.cpp ems.cpp: In function 'Bit8u EMM_RestoreMappingTable()': ems.cpp:413:15: warning: variable 'result' set but not used [-Wunused-but-set-variable] 413 | Bit8u result; | ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o mouse.o mouse.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' rm -f libints.a ar cru libints.a mouse.o xms.o ems.o int10.o int10_char.o int10_memory.o int10_misc.o int10_modes.o int10_vesa.o int10_pal.o int10_put_pixel.o int10_video_state.o int10_vptable.o bios.o bios_disk.o bios_keyboard.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libints.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' Making all in misc make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o support.o support.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o cross.o cross.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o messages.o messages.cpp messages.cpp: In function 'void LoadMessageFile(const char*)': messages.cpp:93:25: warning: value computed is not used [-Wunused-value] 93 | *parser++; | ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o programs.o programs.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o setup.o setup.cpp setup.cpp: In member function 'virtual bool Prop_string::CheckValue(const Value&, bool)': setup.cpp:275:59: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'Bitu*' {aka 'long unsigned int*'} [-Wformat=] 275 | if(sscanf(in.ToString().c_str(),"%u",&value) == 1) { | ~^ ~~~~~~ | | | | | Bitu* {aka long unsigned int*} | unsigned int* | %lu setup.cpp: In member function 'bool Config::PrintConfig(const char*) const': setup.cpp:636:51: warning: field width specifier '*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 636 | snprintf(prefix,80, "\n# %*s ", maxwidth, ""); | ~^~ ~~~~~~~~ | | | | int size_t {aka long unsigned int} setup.cpp:644:54: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 644 | fprintf(outfile, "# %*s: %s", maxwidth, p->propname.c_str(), help.c_str()); | ~^~ ~~~~~~~~ | | | | int size_t {aka long unsigned int} make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' rm -f libmisc.a ar cru libmisc.a cross.o messages.o programs.o setup.o support.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libmisc.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' Making all in shell make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o shell_batch.o shell_batch.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o shell.o shell.cpp shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)': 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); | ~~~~~~^~~~~~~~~~~~~~~~~~ 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); | ~~~~~~^~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o shell_misc.o shell_misc.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o shell_cmds.o shell_cmds.cpp shell_cmds.cpp: In function 'void FormatNumber(Bitu, char*)': 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); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld shell_cmds.cpp:379:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 379 | sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb); | ~~~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %03ld shell_cmds.cpp:379:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 379 | sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb); | ~~~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %03ld shell_cmds.cpp:379:46: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 379 | sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb); | ~~~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %03ld shell_cmds.cpp:383:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 383 | sprintf(buf,"%d,%03d,%03d",numm,numk,numb); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld shell_cmds.cpp:383:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 383 | sprintf(buf,"%d,%03d,%03d",numm,numk,numb); | ~~~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %03ld shell_cmds.cpp:383:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 383 | sprintf(buf,"%d,%03d,%03d",numm,numk,numb); | ~~~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %03ld shell_cmds.cpp:387:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 387 | sprintf(buf,"%d,%03d",numk,numb); | ~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %ld shell_cmds.cpp:387:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 387 | sprintf(buf,"%d,%03d",numk,numb); | ~~~^ ~~~~ | | | | int Bitu {aka long unsigned int} | %03ld shell_cmds.cpp:390:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 390 | sprintf(buf,"%d",numb); | ~^ ~~~~ | | | | | Bitu {aka long unsigned int} | int | %ld shell_cmds.cpp: In member function 'void DOS_Shell::CMD_SET(char*)': shell_cmds.cpp:757:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 757 | if(!second) continue; *second++ = 0; | ^~ shell_cmds.cpp:757:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 757 | if(!second) continue; *second++ = 0; | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' 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') ranlib libshell.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' Making all in platform Making all in visualc make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all-am'. make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -c -o dosbox.o dosbox.cpp dosbox.cpp: In function 'void DOSBOX_Init()': dosbox.cpp:383:24: warning: variable 'secline' set but not used [-Wunused-but-set-variable] 383 | Section_line * secline; | ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -mno-ms-bitfields -o dosbox dosbox.o cpu/libcpu.a debug/libdebug.a dos/libdos.a fpu/libfpu.a hardware/libhardware.a gui/libgui.a ints/libints.a misc/libmisc.a shell/libshell.a hardware/mame/libmame.a hardware/serialport/libserial.a libs/gui_tk/libgui_tk.a -lSDL_sound -lasound -lm -ldl -lpthread -lSDL -lpng -lz -lSDL_net -lX11 -lGL ld: warning: type of symbol `glUnmapBufferARB' changed from 2 to 1 in /usr/src/tmp/ccmJ4XE1.ltrans19.ltrans.o ld: warning: type of symbol `glBindBufferARB' changed from 2 to 1 in /usr/src/tmp/ccmJ4XE1.ltrans19.ltrans.o ld: warning: type of symbol `glGenBuffersARB' changed from 2 to 1 in /usr/src/tmp/ccmJ4XE1.ltrans19.ltrans.o ld: warning: type of symbol `glDeleteBuffersARB' changed from 2 to 1 in /usr/src/tmp/ccmJ4XE1.ltrans19.ltrans.o ld: warning: type of symbol `glBufferDataARB' changed from 2 to 1 in /usr/src/tmp/ccmJ4XE1.ltrans19.ltrans.o ld: warning: type of symbol `glMapBufferARB' changed from 2 to 1 in /usr/src/tmp/ccmJ4XE1.ltrans19.ltrans.o make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' Making all in include make[2]: Nothing to be done for 'all'. Making all in docs make[2]: Nothing to be done for 'all'. Making all in visualc_net make[2]: Nothing to be done for 'all'. + xsltproc /usr/share/xml/docbook/xsl-stylesheets/manpages/docbook.xsl /usr/src/RPM/SOURCES/dosbox-install.xml Note: meta source : no *info/productname or alternative dosbox-install Note: meta source : see http://docbook.sf.net/el/productname dosbox-install Note: meta source : no refentry/refmeta/refmiscinfo@class=source dosbox-install Note: meta source : see http://docbook.sf.net/el/refmiscinfo dosbox-install Note: meta version: no *info/productnumber or alternative dosbox-install Note: meta version: see http://docbook.sf.net/el/productnumber dosbox-install Note: meta version: no refentry/refmeta/refmiscinfo@class=version dosbox-install Note: meta version: see http://docbook.sf.net/el/refmiscinfo dosbox-install Warn: meta source : no fallback for source, so inserted a fixme dosbox-install Warn: meta author : no refentry/info/author dosbox-install Note: meta author : see http://docbook.sf.net/el/author dosbox-install Warn: meta author : no author data, so inserted a fixme dosbox-install Note: Writing dosbox-install.1 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.33246 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/dosbox-buildroot + : + /bin/rm -rf -- /usr/src/tmp/dosbox-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd dosbox-0.74.3 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/dosbox-buildroot make: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' Making install in cpu make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' Making install in core_full make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_full' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_full' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_full' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_full' Making install in core_normal make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_normal' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_normal' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_normal' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_normal' Making install in core_dyn_x86 make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_dyn_x86' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_dyn_x86' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_dyn_x86' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_dyn_x86' Making install in core_dynrec make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_dynrec' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_dynrec' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_dynrec' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu/core_dynrec' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/cpu' Making install in debug make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/debug' Making install in dos make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/dos' Making install in fpu make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/fpu' Making install in gui make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/gui' Making install in hardware make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' Making install in serialport make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/serialport' Making install in mame make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware/mame' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/hardware' Making install in libs make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs' Making install in zmbv make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/zmbv' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/zmbv' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/zmbv' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/zmbv' Making install in gui_tk make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs/gui_tk' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/libs' Making install in ints make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/ints' Making install in misc make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/misc' Making install in shell make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/shell' Making install in platform make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform' Making install in visualc make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform/visualc' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform/visualc' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform/visualc' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform/visualc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src/platform' make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' /usr/bin/mkdir -p '/usr/src/tmp/dosbox-buildroot/usr/bin' /usr/libexec/rpm-build/install -p dosbox '/usr/src/tmp/dosbox-buildroot/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/src' Making install in include make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/include' make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/include' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/include' make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/include' Making install in docs make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/docs' make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/docs' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/dosbox-buildroot/usr/share/man/man1' /usr/libexec/rpm-build/install -p -m 644 dosbox.1 '/usr/src/tmp/dosbox-buildroot/usr/share/man/man1' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/docs' make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/docs' Making install in visualc_net make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/visualc_net' make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3/visualc_net' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/visualc_net' make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3/visualc_net' make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3' make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.3' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3' make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3' make: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.3' + install src/dosbox-debug /usr/src/tmp/dosbox-buildroot/usr/bin/dosbox-debug + install -D -p /usr/src/RPM/SOURCES/dosbox-wrapper /usr/src/tmp/dosbox-buildroot//usr/bin/dosbox-install + install -D -p /usr/src/RPM/SOURCES/dosbox-install /usr/src/tmp/dosbox-buildroot//usr/bin/dosbox-wrapper + install -D dosbox-install.1 /usr/src/tmp/dosbox-buildroot//usr/share/man/man1/dosbox-install.1 + mkdir -p /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.3/ + unzip /usr/src/RPM/SOURCES/DOSBox-russian-lang.zip -d /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.3/ Archive: /usr/src/RPM/SOURCES/DOSBox-russian-lang.zip creating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.3/DOSBox-russian-lang/ inflating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.3/DOSBox-russian-lang/DOSBox 0.74 Manual RUS.txt inflating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.3/DOSBox-russian-lang/Instructions_RUS_ENG.txt inflating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.3/DOSBox-russian-lang/Video Instructions Rus.txt inflating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.3/DOSBox-russian-lang/russian.txt + cp AUTHORS ChangeLog NEWS README THANKS /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.3 + cp docs/README.video docs/PORTING /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.3 + mkdir -p /usr/src/tmp/dosbox-buildroot/usr/share/dosbox /usr/src/tmp/dosbox-buildroot/usr/games/dosbox + install -D -m 0644 /usr/src/RPM/SOURCES/dosbox.xpm /usr/src/tmp/dosbox-buildroot//usr/share/icons/dosbox.xpm + install -D -m 0644 /usr/src/RPM/SOURCES/dosbox.desktop /usr/src/tmp/dosbox-buildroot//usr/share/applications/dosbox.desktop + install -D -m755 dosbox-set-lang /usr/src/tmp/dosbox-buildroot/usr/bin/dosbox-set-lang + cp /usr/src/RPM/SOURCES/dosbox-0.74-2.conf /usr/src/RPM/SOURCES/README_ru.ALT /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.3 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/dosbox-buildroot (auto) mode of 'usr/share/man/man1/dosbox-install.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/dosbox-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/dosbox-buildroot/ (default) Compressing files in /usr/src/tmp/dosbox-buildroot (auto) Verifying ELF objects in /usr/src/tmp/dosbox-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/dosbox-buildroot Processing files: dosbox-0.74.3-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vndT7X find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jE5eE3 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: cat chmod cp rm sed tr Requires: shadow-utils, unarj, unzip, unrar, /bin/bash, /bin/sh, /lib64/ld-linux-x86-64.so.2, coreutils, libGL.so.1()(64bit) >= set:pksosk90Feppd7GTeEqPZ61i5fNNUFZwPJjPoFyQt3vZH7JJ21nU5I111kEc74gTFzGMwlKrnnj21kE5Lc9Q7, libSDL-1.2.so.0()(64bit) >= set:leE244Z0qyVI5xcERlZxUIb8QXmQzbGbtUeCuI6qBr6wgIzdUzpAd0ZwqvUlbmVhVD7fV4IMXHx870tPEJ8dWHi0fcdiA69NWOUlQV1cP5QwNimmSWCBBUogDNsssl9OewCFTnqbbZssNhcv6LZ7Z5tslgAVP4, libSDL_net-1.2.so.0()(64bit) >= set:je8X5Wrmztno4aL5cmZpSuZrqLos404ORdXEEV87an0, libSDL_sound-1.0.so.1()(64bit) >= set:ieEcy11c4OgYRFMGlkBv, libX11.so.6()(64bit) >= set:olNEvuKkxBKdvMqZhFd, libasound.so.2()(64bit) >= set:okUyPzguvGyZq4fwCk33Bhs3Pm6U2, libasound.so.2(ALSA_0.9)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.38)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libgcc_s.so.1(GCC_3.3.1)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libm.so.6(GLIBC_2.27)(64bit), libm.so.6(GLIBC_2.29)(64bit), libm.so.6(GLIBC_2.38)(64bit), libncurses.so.6()(64bit) >= set:mhWiBzD9fQ3XoZIVWJ0uShBvWkXq3mXIohzpXcx5tNAWJDXtMwP0, libpng16.so.16()(64bit) >= set:lgHMixNOil0GJDjr0GPO8mwb8ZKf7F2UeOHa2bXOZG46, libpng16.so.16(PNG16_0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.11)(64bit), libstdc++.so.6(GLIBCXX_3.4.15)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.29)(64bit), libstdc++.so.6(GLIBCXX_3.4.32)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), libtinfo.so.6()(64bit) >= set:lidIBtZyTGpUWw7R0, libz.so.1()(64bit) >= set:kidWjqrIkT, rtld(GNU_HASH), sed Requires(rpmlib): rpmlib(SetVersions) Conflicts: dosbox-russian Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pABmXI Creating dosbox-debuginfo package Processing files: dosbox-debuginfo-0.74.3-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vvtNdH find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cPHZf9 find-requires: running scripts (debuginfo) Requires: dosbox = 1:0.74.3-alt3, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libGL.so.1), debug64(libSDL-1.2.so.0), debug64(libSDL_net-1.2.so.0), debug64(libSDL_sound-1.0.so.1), debug64(libX11.so.6), debug64(libasound.so.2), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libncurses.so.6), debug64(libpng16.so.16), debug64(libstdc++.so.6), debug64(libtinfo.so.6), debug64(libz.so.1) Adding to dosbox-debuginfo a strict dependency on dosbox Wrote: /usr/src/RPM/RPMS/x86_64/dosbox-0.74.3-alt3.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/dosbox-debuginfo-0.74.3-alt3.x86_64.rpm (w2T16.xzdio) 278.29user 34.53system 1:07.38elapsed 464%CPU (0avgtext+0avgdata 391196maxresident)k 0inputs+0outputs (0major+7522431minor)pagefaults 0swaps 5.66user 4.14system 1:29.49elapsed 10%CPU (0avgtext+0avgdata 131492maxresident)k 480inputs+0outputs (0major+220329minor)pagefaults 0swaps --- dosbox-0.74.3-alt3.x86_64.rpm.repo 2023-09-05 17:09:40.000000000 +0000 +++ dosbox-0.74.3-alt3.x86_64.rpm.hasher 2024-05-04 04:29:55.401260149 +0000 @@ -77,4 +77,4 @@ Conflicts: dosbox-russian -File: /usr/bin/dosbox 100755 root:root e85ecc6ba7c47eae2c85693a03744a0b -File: /usr/bin/dosbox-debug 100755 root:root 6444c8470ca23a9e63ed4a58f09e2ffc +File: /usr/bin/dosbox 100755 root:root d1dc502cd690cfb22990bbf1e948537f +File: /usr/bin/dosbox-debug 100755 root:root 345900f06f0af056f582a5ca96a53988 File: /usr/bin/dosbox-install 100755 root:root adaa24efced00c9d64b2e12d01d0c4fc @@ -102,2 +102,2 @@ File: /usr/share/man/man1/dosbox.1.xz 100644 root:root 75d7561bb332c592463c1d14a39cb9e5 -RPMIdentity: 9a024919e6a3b0d7666274d1d08b5b83dd31dc5decbfed59775fc11c056fad11b53dd6da69db235133133a6638ab53c02179edaad5fdaed5f08d0ccde49b4370 +RPMIdentity: 583453dc43d61f58b362927b434ee4757a4aca60a1060475f83546cee5dcbc07f27e565aac859f2e8a26e5e88deaf08f94fca60f64ba3d630a7e2b98c3dfd562 --- dosbox-debuginfo-0.74.3-alt3.x86_64.rpm.repo 2023-09-05 17:09:40.000000000 +0000 +++ dosbox-debuginfo-0.74.3-alt3.x86_64.rpm.hasher 2024-05-04 04:29:55.476261696 +0000 @@ -1,7 +1,7 @@ -/usr/lib/debug/.build-id/3c 40755 root:root -/usr/lib/debug/.build-id/3c/b10a425072740eb6c3dd401f68df038d30cdf6 120777 root:root ../../../../bin/dosbox-debug -/usr/lib/debug/.build-id/3c/b10a425072740eb6c3dd401f68df038d30cdf6.debug 120777 root:root ../../usr/bin/dosbox-debug.debug -/usr/lib/debug/.build-id/d6 40755 root:root -/usr/lib/debug/.build-id/d6/a0cc5550c4c53829fa32c7e3bb6234c3f7bec0 120777 root:root ../../../../bin/dosbox -/usr/lib/debug/.build-id/d6/a0cc5550c4c53829fa32c7e3bb6234c3f7bec0.debug 120777 root:root ../../usr/bin/dosbox.debug +/usr/lib/debug/.build-id/2f 40755 root:root +/usr/lib/debug/.build-id/2f/e1216aca6cad6c966afd522b49c2aa93ce0650 120777 root:root ../../../../bin/dosbox-debug +/usr/lib/debug/.build-id/2f/e1216aca6cad6c966afd522b49c2aa93ce0650.debug 120777 root:root ../../usr/bin/dosbox-debug.debug +/usr/lib/debug/.build-id/5d 40755 root:root +/usr/lib/debug/.build-id/5d/efca69398444f52efde2e85377a0e5499903b9 120777 root:root ../../../../bin/dosbox +/usr/lib/debug/.build-id/5d/efca69398444f52efde2e85377a0e5499903b9.debug 120777 root:root ../../usr/bin/dosbox.debug /usr/lib/debug/usr/bin/dosbox-debug.debug 100644 root:root @@ -249,10 +249,10 @@ Provides: dosbox-debuginfo = 1:0.74.3-alt3:sisyphus+328802.1100.2.1 -File: /usr/lib/debug/.build-id/3c 40755 root:root -File: /usr/lib/debug/.build-id/3c/b10a425072740eb6c3dd401f68df038d30cdf6 120777 root:root ../../../../bin/dosbox-debug -File: /usr/lib/debug/.build-id/3c/b10a425072740eb6c3dd401f68df038d30cdf6.debug 120777 root:root ../../usr/bin/dosbox-debug.debug -File: /usr/lib/debug/.build-id/d6 40755 root:root -File: /usr/lib/debug/.build-id/d6/a0cc5550c4c53829fa32c7e3bb6234c3f7bec0 120777 root:root ../../../../bin/dosbox -File: /usr/lib/debug/.build-id/d6/a0cc5550c4c53829fa32c7e3bb6234c3f7bec0.debug 120777 root:root ../../usr/bin/dosbox.debug -File: /usr/lib/debug/usr/bin/dosbox-debug.debug 100644 root:root 67f436177d071babb9f9167b6079301d -File: /usr/lib/debug/usr/bin/dosbox.debug 100644 root:root f2f8fde3c49db278d56eb8f890a98ad1 +File: /usr/lib/debug/.build-id/2f 40755 root:root +File: /usr/lib/debug/.build-id/2f/e1216aca6cad6c966afd522b49c2aa93ce0650 120777 root:root ../../../../bin/dosbox-debug +File: /usr/lib/debug/.build-id/2f/e1216aca6cad6c966afd522b49c2aa93ce0650.debug 120777 root:root ../../usr/bin/dosbox-debug.debug +File: /usr/lib/debug/.build-id/5d 40755 root:root +File: /usr/lib/debug/.build-id/5d/efca69398444f52efde2e85377a0e5499903b9 120777 root:root ../../../../bin/dosbox +File: /usr/lib/debug/.build-id/5d/efca69398444f52efde2e85377a0e5499903b9.debug 120777 root:root ../../usr/bin/dosbox.debug +File: /usr/lib/debug/usr/bin/dosbox-debug.debug 100644 root:root 56cef9f3cc6787298250bb27eeb550fc +File: /usr/lib/debug/usr/bin/dosbox.debug 100644 root:root 71e8e405a521494bcc593d1838b17801 File: /usr/src/debug/dosbox-0.74.3 40755 root:root @@ -480,2 +480,2 @@ File: /usr/src/debug/dosbox-0.74.3/src/shell/shell_misc.cpp 100644 root:root 85c79e547e7271586e82cc891d8035db -RPMIdentity: d67d328cf384501ca0b91a3ae0d25c07a3663d3375a0e39b4ebf45055130ddcd9a542b1b9dc291589ab550e5ec7dd032cf5d31d2a3dc42d20f244ce1ec99d0c9 +RPMIdentity: adbbe133dfee7cb421170d755a07a6d1f7f059b76700532e8104017a50940f8bcf6b15de5b8a39bbb6554af24466e37c824a8f34f2d3a0fc3d0c0ed698cade51