<86>Sep 29 13:17:48 userdel[3769155]: delete user 'rooter' <86>Sep 29 13:17:48 userdel[3769155]: removed group 'rooter' owned by 'rooter' <86>Sep 29 13:17:48 userdel[3769155]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 29 13:17:48 groupadd[3769178]: group added to /etc/group: name=rooter, GID=1274 <86>Sep 29 13:17:48 groupadd[3769178]: group added to /etc/gshadow: name=rooter <86>Sep 29 13:17:48 groupadd[3769178]: new group: name=rooter, GID=1274 <86>Sep 29 13:17:48 useradd[3769196]: new user: name=rooter, UID=1274, GID=1274, home=/root, shell=/bin/bash <86>Sep 29 13:17:48 userdel[3769213]: delete user 'builder' <86>Sep 29 13:17:48 userdel[3769213]: removed group 'builder' owned by 'builder' <86>Sep 29 13:17:48 userdel[3769213]: removed shadow group 'builder' owned by 'builder' <86>Sep 29 13:17:48 groupadd[3769225]: group added to /etc/group: name=builder, GID=1275 <86>Sep 29 13:17:48 groupadd[3769225]: group added to /etc/gshadow: name=builder <86>Sep 29 13:17:48 groupadd[3769225]: new group: name=builder, GID=1275 <86>Sep 29 13:17:48 useradd[3769237]: new user: name=builder, UID=1275, GID=1275, home=/usr/src, shell=/bin/bash <13>Sep 29 13:18:03 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300644 installed <13>Sep 29 13:18:03 rpmi: libglvnd-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Sep 29 13:18:03 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586301784 installed <13>Sep 29 13:18:03 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Sep 29 13:18:03 rpmi: xml-utils-1:2.9.10-alt6.p9.1 p9+314487.100.1.1 1675223837 installed <13>Sep 29 13:18:03 rpmi: xorg-proto-devel-2021.4-alt1 p9+272150.100.1.1 1621427342 installed <13>Sep 29 13:18:03 rpmi: libexpat-2.4.3-alt1 p9+293696.100.1.1 1643124786 installed <13>Sep 29 13:18:03 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Sep 29 13:18:03 rpmi: libOpenGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Sep 29 13:18:03 rpmi: sgml-common-0.6.3-alt15 1423664786 installed <13>Sep 29 13:18:03 rpmi: docbook-dtds-4.5-alt1 1223476557 installed <13>Sep 29 13:18:04 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed <13>Sep 29 13:18:04 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Sep 29 13:18:04 rpmi: libncurses-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Sep 29 13:18:04 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Sep 29 13:18:04 rpmi: libnatspec-0.3.1-alt2 1445691578 installed <13>Sep 29 13:18:04 rpmi: libspeex-1.2-alt1 1528115225 installed <13>Sep 29 13:18:04 rpmi: libphysfs-3.0.2-alt1 sisyphus+227312.100.1.1 1555511352 installed <13>Sep 29 13:18:04 rpmi: libmodplug-0.8.9.0-alt1 sisyphus+224334.100.1.1 1552243564 installed <13>Sep 29 13:18:04 rpmi: libopus-1.3.1-alt3 p9+247689.300.3.1 1584537429 installed <13>Sep 29 13:18:04 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Sep 29 13:18:04 rpmi: libsndfile-1.0.30-alt2 p9+262916.200.2.1 1607353710 installed <13>Sep 29 13:18:04 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Sep 29 13:18:04 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Sep 29 13:18:04 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Sep 29 13:18:04 rpmi: libsystemd-1:247.13-alt1 p9+313189.100.1.1 1673457063 installed <13>Sep 29 13:18:04 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Sep 29 13:18:04 rpmi: libxslt-1.1.34-alt1.p9.1 p9+261811.300.3.1 1605513910 installed <13>Sep 29 13:18:04 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Sep 29 13:18:04 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Sep 29 13:18:04 rpmi: libX11-locales-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Sep 29 13:18:04 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Sep 29 13:18:04 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Sep 29 13:18:04 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Sep 29 13:18:04 rpmi: libX11-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Sep 29 13:18:04 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Sep 29 13:18:04 rpmi: libpulseaudio-14.2-alt5 p9+275574.200.4.1 1625044013 installed <13>Sep 29 13:18:05 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Sep 29 13:18:05 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Sep 29 13:18:05 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Sep 29 13:18:05 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed <13>Sep 29 13:18:05 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Sep 29 13:18:08 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Sep 29 13:18:08 rpmi: libX11-devel-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Sep 29 13:18:08 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Sep 29 13:18:08 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Sep 29 13:18:08 rpmi: libdrm-1:2.4.105-alt2 p9+271012.100.1.1 1619786664 installed <13>Sep 29 13:18:08 rpmi: libGLX-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Sep 29 13:18:08 rpmi: libGLX-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Sep 29 13:18:08 rpmi: libGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Sep 29 13:18:09 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Sep 29 13:18:09 rpmi: libgbm-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Sep 29 13:18:09 rpmi: libEGL-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Sep 29 13:18:09 rpmi: libEGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Sep 29 13:18:09 rpmi: libglvnd-devel-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Sep 29 13:18:09 rpmi: libGL-devel-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Sep 29 13:18:09 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Sep 29 13:18:09 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Sep 29 13:18:09 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Sep 29 13:18:11 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Sep 29 13:18:11 rpmi: alsa-ucm-conf-1.2.4-alt1 p9+250722.2300.14.1 1614269485 installed <13>Sep 29 13:18:11 rpmi: alsa-topology-conf-1.2.4-alt1 p9+250722.2200.14.1 1614269467 installed <13>Sep 29 13:18:11 rpmi: libalsa-1:1.2.4-alt1 p9+250722.2400.14.1 1614269549 installed <13>Sep 29 13:18:11 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Sep 29 13:18:11 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Sep 29 13:18:11 rpmi: libSDL_net-1.2.8-alt1 1333963621 installed <13>Sep 29 13:18:11 rpmi: libSDL_sound-1.0.3-alt4 sisyphus+222884.100.1.1 1551177998 installed <13>Sep 29 13:18:11 rpmi: libSDL_sound-devel-1.0.3-alt4 sisyphus+222884.100.1.1 1551177998 installed <13>Sep 29 13:18:11 rpmi: libSDL_net-devel-1.2.8-alt1 1333963621 installed <13>Sep 29 13:18:11 rpmi: libalsa-devel-1:1.2.4-alt1 p9+250722.2400.14.1 1614269549 installed <13>Sep 29 13:18:11 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Sep 29 13:18:11 rpmi: xsltproc-1.1.34-alt1.p9.1 p9+261811.300.3.1 1605513910 installed <13>Sep 29 13:18:11 rpmi: unzip-6.0-alt4 p9+261695.100.1.1 1605219254 installed <13>Sep 29 13:18:11 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Sep 29 13:18:11 rpmi: libpng-devel-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed <13>Sep 29 13:18:12 rpmi: docbook-style-xsl-1.79.1-alt2 sisyphus.213665.100 1537949315 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/dosbox-0.74.2-alt1.nosrc.rpm (w1.gzdio) Installing dosbox-0.74.2-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.44002 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf dosbox-0.74.2 + echo 'Source #0 (dosbox-0.74.2.tar.gz):' Source #0 (dosbox-0.74.2.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/dosbox-0.74.2.tar.gz + /bin/tar -xf - + cd dosbox-0.74.2 + /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.44002 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd dosbox-0.74.2 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ 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 --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 --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... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /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... /bin/grep checking for egrep... /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 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 -j8 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.2/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 -mno-ms-bitfields -c -o modrm.o modrm.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o flags.o flags.cpp flags.cpp: In function 'Bit32u get_CF()': flags.cpp:122:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("get_CF Unknown %d",lflags.type); ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ flags.cpp: In function 'Bit32u get_AF()': flags.cpp:204:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("get_AF Unknown %d",lflags.type); ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ flags.cpp: In function 'Bit32u get_ZF()': flags.cpp:273:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("get_ZF Unknown %d",lflags.type); ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ flags.cpp: In function 'Bit32u get_SF()': flags.cpp:341:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("get_SF Unkown %d",lflags.type); ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ flags.cpp: In function 'Bit32u get_OF()': flags.cpp:429:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("get_OF Unkown %d",lflags.type); ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ flags.cpp: In function 'Bitu FillFlags()': flags.cpp:877:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("Unhandled flag type %d",lflags.type); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ flags.cpp: In function 'void FillFlagsNoCFOF()': flags.cpp:1178:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("Unhandled flag type %d",lflags.type); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o core_dyn_x86.o core_dyn_x86.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o callback.o callback.cpp callback.cpp: In function 'Bitu CALLBACK_SetupExtra(Bitu, Bitu, PhysPt, bool)': callback.cpp:435:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("CALLBACK:Setup:Illegal type %d",type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o paging.o paging.cpp paging.cpp: In function 'void PAGING_PageFault(PhysPt, Bitu, Bitu)': paging.cpp:149:29: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PAGING,LOG_NORMAL)("PageFault at %X type [%x] queue %d",lin_addr,faultcode,pf_queue.used); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ paging.cpp:149:29: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] paging.cpp:164:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PAGING,LOG_NORMAL)("Left PageFault for %x queue %d",lin_addr,pf_queue.used); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ paging.cpp: In member function 'Bitu InitPageHandler::InitPage(Bitu, bool)': paging.cpp:372:32: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PAGING,LOG_NORMAL)("Page access denied: cpl=%i, %x:%x:%x:%x", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpu.cpl,entry.block.us,table.block.us,entry.block.wr,table.block.wr); ~~~~~~~ paging.cpp: In member function 'bool InitPageHandler::InitPageCheckOnly(Bitu, bool)': paging.cpp:434:32: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PAGING,LOG_NORMAL)("Page access denied: cpl=%i, %x:%x:%x:%x", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpu.cpl,entry.block.us,table.block.us,entry.block.wr,table.block.wr); ~~~~~~~ paging.cpp: In member function 'void InitPageUserROHandler::InitPage(Bitu, Bitu)': paging.cpp:535:31: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PAGING,LOG_NORMAL)("Page access denied: cpl=%i, %x:%x:%x:%x", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpu.cpl,entry.block.us,table.block.us,entry.block.wr,table.block.wr); ~~~~~~~ paging.cpp: In member function 'Bitu InitPageUserROHandler::InitPageCheckOnly(Bitu, Bitu)': paging.cpp:566:32: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PAGING,LOG_NORMAL)("Page access denied: cpl=%i, %x:%x:%x:%x", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpu.cpl,entry.block.us,table.block.us,entry.block.wr,table.block.wr); ~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cpu.o cpu.cpp cpu.cpp: In function 'void CPU_CheckSegments()': cpu.cpp:238:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~ cpu.cpp:238:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~~~~ cpu.cpp:248:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~ cpu.cpp:248:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~~~~ cpu.cpp:258:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~ cpu.cpp:258:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~~~~ cpu.cpp:268:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~ cpu.cpp:268:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~~~~ cpu.cpp: In function 'bool CPU_SwitchTask(Bitu, TSwitchType, Bitu)': cpu.cpp:348:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("Illegal TSS for switch, selector=%x, switchtype=%x",new_tss_selector,tstype); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ cpu.cpp:502:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("Task switch CS Type %d",cs_desc.Type()); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ cpu.cpp: In function 'void CPU_Interrupt(Bitu, Bitu, Bitu)': cpu.cpp:724:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("INT:Gate Selector points to illegal descriptor with type %x",cs_desc.Type()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ cpu.cpp:754:11: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ cpu.cpp:754:11: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] cpu.cpp: In function 'void CPU_IRET(bool, Bitu)': cpu.cpp:901:11: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("IRET:Illegal descriptor type %X",n_cs_desc.Type()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ cpu.cpp: In function 'void CPU_JMP(bool, Bitu, Bitu, Bitu)': cpu.cpp:1058:11: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("JMP Illegal descriptor type %X",desc.Type()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ cpu.cpp: In function 'void CPU_CALL(bool, Bitu, Bitu, Bitu)': cpu.cpp:1294:11: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("CALL:Descriptor type %x unsupported",call.Type()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ cpu.cpp: In function 'void CPU_RET(bool, Bitu, Bitu)': cpu.cpp:1352:12: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("RET from illegal descriptor type %X",desc.Type()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ cpu.cpp:1397:12: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("RET from illegal descriptor type %X",desc.Type()); // or #GP(selector) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ cpu.cpp: In function 'bool CPU_LTR(Bitu)': cpu.cpp:1508:46: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if (!cpu_tss.SetSelector(selector)) E_Exit("LTR failed, selector=%X",selector); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:27: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MODRM:Unhandled load %d entry %x",inst.code.extra,inst.entry); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ In file included from core_full/load.h:324, from core_full.cpp:82: core_full/string.h:215:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("Unhandled string %d entry %X",inst.code.op,inst.entry); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ In file included from core_full.cpp:82: core_full/load.h:486:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("LOAD:Unhandled code %d opcode %X",inst.code.load,inst.entry); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ In file included from core_full.cpp:83: core_full/op.h:402:27: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("Group 6 Illegal subfunction %X",inst.rm_index); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ core_full/op.h:438:27: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("Group 7 Illegal subfunction %X",inst.rm_index); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ core_full/op.h:647:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("OP:Unhandled code %d entry %X",inst.code.op,inst.entry); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ In file included from core_full.cpp:84: core_full/save.h:98:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("SAVE:Unhandled code %d entry %X",inst.code.save,inst.entry); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ In file included from core_full/load.h:324, from core_full.cpp:82: core_full/string.h:223:8: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized] count+=count_left; ~~~~~^~~~~~~~~~~~ core_full/string.h:5:13: note: 'count_left' was declared here Bitu count,count_left; ^~~~~~~~~~ In file included from core_full/load.h:21, from core_full.cpp:82: core_full/ea_lookup.h:233:28: warning: 'off' may be used uninitialized in this function [-Wmaybe-uninitialized] inst.rm_eaa=inst.seg.base+off; ~~~~~~~~~~~~~^~~~ core_full/ea_lookup.h:131:9: note: 'off' was declared here Bit32u off; ^~~ core_full/ea_lookup.h:235:23: warning: 'seg_base' may be used uninitialized in this function [-Wmaybe-uninitialized] inst.rm_eaa=seg_base+off; ~~~~~~~~^~~~ core_full/ea_lookup.h:130:10: note: 'seg_base' was declared here EAPoint seg_base; ^~~~~~~~ core_full/ea_lookup.h:3:9: warning: 'off' may be used uninitialized in this function [-Wmaybe-uninitialized] Bit16u off; ^~~ core_full/ea_lookup.h:108:23: warning: 'seg_base' may be used uninitialized in this function [-Wmaybe-uninitialized] inst.rm_eaa=seg_base+off; ~~~~~~~~^~~~ core_full/ea_lookup.h:2:10: note: 'seg_base' was declared here EAPoint seg_base; ^~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if (written>block->cache.size+CACHE_MAXSIZE) E_Exit("CacheBlock overrun 1 %d",written-block->cache.size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ core_dynrec/cache.h:504:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ core_dynrec/cache.h:504:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] In file included from core_dynrec.cpp:144: core_dynrec/risc_x64.h: In function 'void gen_fill_branch(Bit64u)': core_dynrec/risc_x64.h:596:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bit64s' {aka 'long int'} [-Wformat=] if (len>126) LOG_MSG("Big jump %d",len); ^~~~~~~~~~~~~ ~~~ In file included from 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:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((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:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((Bit32u*)(&core_dynrec.readdata))=host_readd(tlb_addr+address); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from core_dynrec/decoder.h:24, from core_dynrec.cpp:155: core_dynrec/decoder_opcodes.h: In function 'void dyn_loop(LoopTypes)': core_dynrec/decoder_opcodes.h:1135:9: warning: enumeration value 'LOOP_NONE' not handled in switch [-Wswitch] switch (type) { ^ core_dynrec/decoder_opcodes.h:1135:9: warning: enumeration value 'LOOP_JCXZ' not handled in switch [-Wswitch] In file included from core_dynrec/decoder.h:26, from core_dynrec.cpp:155: core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc1()': core_dynrec/dyn_fpu.h:182:27: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:182:27: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:192:27: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:192:27: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:220:27: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:220:27: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:251:27: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:251:27: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:282:27: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:282:27: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:287:26: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:287:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:299:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC EA 1:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:299:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:327:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC EA 1:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:327:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc2()': core_dynrec/dyn_fpu.h:349:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 2:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:349:27: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:354:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 2:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:354:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc3()': core_dynrec/dyn_fpu.h:373:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_ERROR)("8087 only fpu code used esc 3: group 4: subfuntion: %d",decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:386:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:386:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:390:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 3:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:390:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:402:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:402:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:424:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:424:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc5()': core_dynrec/dyn_fpu.h:503:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 5:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:503:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:515:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:515:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:542:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:542:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc6()': core_dynrec/dyn_fpu.h:565:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 6:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:565:27: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc7()': core_dynrec/dyn_fpu.h:631:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:631:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:636:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:636:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:648:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:648:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] core_dynrec/dyn_fpu.h:682:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:682:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] In file included from core_dynrec/decoder.h:22, from core_dynrec.cpp:155: core_dynrec/decoder_basic.h: In function 'void dyn_fill_ea(HostReg, bool)': core_dynrec/decoder_basic.h:952:9: warning: 'base_reg' may be used uninitialized in this function [-Wmaybe-uninitialized] Bit8u base_reg; ^~~~~~~~ core_dynrec/decoder_basic.h:940:24: warning: 'imm' may be used uninitialized in this function [-Wmaybe-uninitialized] if (imm) gen_add_imm(ea_reg,(Bit32u)imm); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from core_simple.cpp:157: core_normal/prefix_0f.h:156:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:170:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:184:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:196:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV DR%u,XXX with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:208:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:222:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from core_simple.cpp:158: core_normal/prefix_66.h:712:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from core_simple.cpp:159: core_normal/prefix_66_0f.h:59:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_66_0f.h:114:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("Illegal group 7 RM subfunction %d",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from core_simple.cpp:130: core_normal/string.h: In function 'void DoString(STRING_OP)': core_normal/string.h:228:8: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized] count+=count_left; ~~~~~^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from core_prefetch.cpp:265: core_normal/prefix_0f.h:156:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:170:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:184:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:196:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV DR%u,XXX with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:208:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:222:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from core_prefetch.cpp:266: core_normal/prefix_66.h:712:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from core_prefetch.cpp:267: core_normal/prefix_66_0f.h:59:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_66_0f.h:114:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("Illegal group 7 RM subfunction %d",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from core_prefetch.cpp:205: core_normal/string.h: In function 'void DoString(STRING_OP)': core_normal/string.h:228:8: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized] count+=count_left; ~~~~~^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("CPU:GRP5:Illegal Call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from core_normal.cpp:160: core_normal/prefix_0f.h:156:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:170:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,DR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:184:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,CR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:196:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV DR%u,XXX with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:208:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV XXX,TR%u with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_0f.h:222:28: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("MOV TR%u,XXX with non-register",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from core_normal.cpp:161: core_normal/prefix_66.h:712:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("CPU:66:GRP5:Illegal call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from core_normal.cpp:162: core_normal/prefix_66_0f.h:59:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("GRP6:Illegal call %2X",which); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ core_normal/prefix_66_0f.h:114:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("Illegal group 7 RM subfunction %d",which); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from core_normal.cpp:134: core_normal/string.h: In function 'void DoString(STRING_OP)': core_normal/string.h:228:8: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized] count+=count_left; ~~~~~^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 ranlib libcpu.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' Making all in debug make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o debug_win32.o debug_win32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o debug_disasm.o debug_disasm.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o debug_gui.o debug_gui.cpp debug_gui.cpp: In member function 'void LOG::operator()(const char*, ...)': debug_gui.cpp:113:16: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] DEBUG_ShowMsg("%10u: %s:%s\n",cycle_count,loggrp[d_type].front,buf); ^~~~~~~~~~~~~~~ ~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o debug.o debug.cpp debug.cpp: In function 'bool GetDescriptorInfo(char*, char*, char*)': debug.cpp:198:18: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out1,"%s: s:%08X type:%02X p",selname,desc.GetSelector(),desc.saved.gate.type); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ debug.cpp:207:18: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ debug.cpp:211:18: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out1,"%s: s:%08X type:%02X p params: %02X",selname,desc.GetSelector(),desc.saved.gate.type,desc.saved.gate.paramcount); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ debug.cpp:212:18: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out2," o:%08X dpl : %01X %1X",desc.GetOffset(),desc.saved.gate.dpl,desc.saved.gate.p); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ debug.cpp:218:18: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out1,"%s: s:%08X type:%02X p",selname,desc.GetSelector(),desc.saved.gate.type); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ debug.cpp:219:18: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out2," o:%08X dpl : %01X %1X",desc.GetOffset(),desc.saved.gate.dpl,desc.saved.gate.p); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ debug.cpp:223:16: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ debug.cpp: In constructor 'CBreakpoint::CBreakpoint()': debug.cpp:322:8: warning: 'CBreakpoint::once' will be initialized after [-Wreorder] bool once; ^~~~ debug.cpp:315:10: warning: 'Bit16u CBreakpoint::segment' [-Wreorder] Bit16u segment; ^~~~~~~ debug.cpp:329:1: warning: when initialized here [-Wreorder] CBreakpoint::CBreakpoint(void): ^~~~~~~~~~~ debug.cpp:319:10: warning: 'CBreakpoint::ahValue' will be initialized after [-Wreorder] Bit16u ahValue; ^~~~~~~ debug.cpp:311:14: warning: 'EBreakpoint CBreakpoint::type' [-Wreorder] EBreakpoint type; ^~~~ debug.cpp:329:1: warning: when initialized here [-Wreorder] CBreakpoint::CBreakpoint(void): ^~~~~~~~~~~ debug.cpp: In function 'void DrawCode()': debug.cpp:818:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(dline_len < 28) for (c = dline_len; c < 28;c++) dline[c] = ' '; dline[28] = 0; ^~ debug.cpp:818:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(dline_len < 28) for (c = dline_len; c < 28;c++) dline[c] = ' '; dline[28] = 0; ^~~~~ debug.cpp: In function 'void LogGDT()': debug.cpp:1771:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_MISC,LOG_ERROR)("GDT Base:%08X Limit:%08X",address,length); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.cpp:1774:16: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out1,"%04X: b:%08X type: %02X parbg",(i<<3),desc.GetBase(),desc.saved.seg.type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.cpp:1776:16: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ debug.cpp: In function 'void LogLDT()': debug.cpp:1791:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_MISC,LOG_ERROR)("LDT Base:%08X Limit:%08X",address,length); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.cpp:1794:16: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out1,"%04X: b:%08X type: %02X parbg",(i<<3)|4,desc.GetBase(),desc.saved.seg.type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ debug.cpp:1796:16: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ debug.cpp: In function 'void LogIDT()': debug.cpp:1808:17: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out1,"%04X: sel:%04X off:%02X",address/8,desc.GetSelector(),desc.GetOffset()); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ debug.cpp:1808:17: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] debug.cpp:1808:17: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] debug.cpp: In function 'void LogPages(char*)': debug.cpp:1844:18: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ debug.cpp:1847:18: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out1,"pagetable %03X not present, flags [puw] %x::%x::%x",(sel >> 10),table.block.p,table.block.us,table.block.wr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ debug.cpp: In function 'void LogCPUInfo()': debug.cpp:1856:15: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out1,"cr0:%08X cr2:%08X cr3:%08X cpl=%x",cpu.cr0,paging.cr2,paging.cr3,cpu.cpl); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ debug.cpp:1856:15: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] debug.cpp:1856:15: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] debug.cpp:1856:15: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] debug.cpp:1858:15: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out1,"eflags:%08X [vm=%x iopl=%x nt=%x]",reg_flags,GETFLAG(VM)>>17,GETFLAG(IOPL)>>12,GETFLAG(NT)>>14); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.cpp:1858:15: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] debug.cpp:1858:15: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] debug.cpp:1858:15: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] debug.cpp:1860:15: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out1,"GDT base=%08X limit=%08X",cpu.gdt.GetBase(),cpu.gdt.GetLimit()); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ debug.cpp:1862:15: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out1,"IDT base=%08X limit=%08X",cpu.idt.GetBase(),cpu.idt.GetLimit()); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ debug.cpp:1868:16: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out1,"TR selector=%04X, base=%08X limit=%08X*%X",sel,desc.GetBase(),desc.GetLimit(),desc.saved.seg.g?0x4000:1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ debug.cpp:1868:16: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] debug.cpp:1873:16: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(out1,"LDT selector=%04X, base=%08X limit=%08X*%X",sel,desc.GetBase(),desc.GetLimit(),desc.saved.seg.g?0x4000:1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ debug.cpp:1873:16: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] debug.cpp: In function 'void LogInstruction(Bit16u, Bit32u, std::ofstream&)': debug.cpp:1890:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (reslen<22) for (Bitu i=0; i<22-reslen; i++) res[reslen+i] = ' '; res[22] = 0; ^~ debug.cpp:1890:72: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (reslen<22) for (Bitu i=0; i<22-reslen; i++) res[reslen+i] = ' '; res[22] = 0; ^~~ debug.cpp:1893:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (len<30) for (Bitu i=0; i<30-len; i++) dline[len + i] = ' '; dline[30] = 0; ^~ debug.cpp:1893:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (len<30) for (Bitu i=0; i<30-len; i++) dline[len + i] = ' '; dline[30] = 0; ^~~~~ debug.cpp:1905:56: warning: too many arguments for format [-Wformat-extra-args] if (mem_readb_checked(start+i,&value)) sprintf(tmpc,"?? ",value); ^~~~~ debug.cpp: In member function 'virtual void DEBUG::Run()': debug.cpp:1961:8: warning: unused variable 'ok' [-Wunused-variable] bool ok = false; ^~ debug.cpp: In function 'void SaveMemory(Bit16u, Bit32u, Bit32u)': debug.cpp:2150:71: warning: too many arguments for format [-Wformat-extra-args] if (mem_readb_checked(GetAddress(seg,ofs1+x),&value)) sprintf(temp,"?? ",value); ^~~~~ debug.cpp:2163:71: warning: too many arguments for format [-Wformat-extra-args] if (mem_readb_checked(GetAddress(seg,ofs1+x),&value)) sprintf(temp,"?? ",value); ^~~~~ debug.cpp: In function 'void DrawVariables()': debug.cpp:2225:39: warning: too many arguments for format [-Wformat-extra-args] snprintf(buffer,DEBUG_VAR_BUF_LEN, "??????", value); ^~~~~~~~ debug.cpp: In function 'void DEBUG_HeavyLogInstruction()': debug.cpp:2289:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (reslen<22) for (Bitu i=0; i<22-reslen; i++) res[reslen+i] = ' '; res[22] = 0; ^~ debug.cpp:2289:72: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (reslen<22) for (Bitu i=0; i<22-reslen; i++) res[reslen+i] = ' '; res[22] = 0; ^~~ debug.cpp:2283:7: warning: unused variable 'size' [-Wunused-variable] 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] static Bit32u logCpuEIP[LOGCPUMAX]; ^~~~~~~~~ debug.cpp:2244:15: warning: 'logCpuCS' defined but not used [-Wunused-variable] static Bit16u logCpuCS [LOGCPUMAX]; ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' rm -f libdebug.a ar cru libdebug.a debug.o debug_gui.o debug_disasm.o debug_win32.o ranlib libdebug.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' Making all in dos make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_ioctl.o dos_ioctl.cpp dos_ioctl.cpp: In function 'bool DOS_IOCTL()': dos_ioctl.cpp:120:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_IOCTL,LOG_NORMAL)("06:Used Get Input Status on regular file with handle %d",handle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ dos_ioctl.cpp:124:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_IOCTL,LOG_NORMAL)("07:Fakes output status is ready for handle %d",handle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_misc.o dos_misc.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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] #define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m)) ~^~~~~~~~~ dos_classes.cpp:41:26: note: in expansion of macro 'sGet' overlay.loadseg=(Bit16u)sGet(sOverlay,loadseg); ^~~~ ../../include/dos_inc.h:254:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m)) ~^~~~~~~~~ dos_classes.cpp:42:29: note: in expansion of macro 'sGet' overlay.relocation=(Bit16u)sGet(sOverlay,relocation); ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_memory.o dos_memory.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_execute.o dos_execute.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_devices.o dos_devices.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos.o dos.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_tables.o dos_tables.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o drive_virtual.o drive_virtual.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o drives.o drives.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_files.o dos_files.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o drive_local.o drive_local.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cdrom_ioctl_win32.o cdrom_ioctl_win32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cdrom_aspi_win32.o cdrom_aspi_win32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o drive_fat.o drive_fat.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o drive_iso.o drive_iso.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cdrom_ioctl_os2.o cdrom_ioctl_os2.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cdrom_ioctl_linux.o cdrom_ioctl_linux.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cdrom.o cdrom.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:868:13: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] MSCDEX_LOG("MSCDEX: IOCTL INPUT Subfunction %02X",ioctl_fct); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ dos_mscdex.cpp:969:37: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] default : LOG(LOG_MISC,LOG_ERROR)("MSCDEX: Unsupported IOCTL INPUT Subfunction %02X",ioctl_fct); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ dos_mscdex.cpp: In function 'Bit16u MSCDEX_IOCTL_Optput(PhysPt, Bit8u)': dos_mscdex.cpp:993:37: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] default : LOG(LOG_MISC,LOG_ERROR)("MSCDEX: Unsupported IOCTL OUTPUT Subfunction %02X",ioctl_fct); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cdrom_image.o cdrom_image.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o drive_cache.o drive_cache.cpp drive_cache.cpp: In member function 'Bits DOS_Drive_Cache::GetLongName(DOS_Drive_Cache::CFileInfo*, char*)': drive_cache.cpp:452:21: warning: comparison of integer expressions of different signedness: 'Bits' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for (Bits i = 0; i < filelist_size; i++) { ~~^~~~~~~~~~~~~~~ drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(DOS_Drive_Cache::CFileInfo*, DOS_Drive_Cache::CFileInfo*)': drive_cache.cpp:517:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buffer,"%d",info->shortNr); ^~~~ ~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:27: warning: variable 'font_data_length' set but not used [-Wunused-but-set-variable] 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:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rbuf, sizeof(Bit8u), 2, tempfile); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp:184:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rbuf, sizeof(Bit8u), 1, tempfile); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp: In member function 'Bitu keyboard_layout::read_codepage_file(const char*, Bit32s)': dos_keyboard_layout.cpp:797:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp:799:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp:801:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp:803:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp:806:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&next_byte, sizeof(Bit8u), 1, tempfile); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_programs.o dos_programs.cpp dos_programs.cpp: In member function 'virtual void KEYB::Run()': dos_programs.cpp:1392:33: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_DOSMISC,LOG_ERROR)("KEYB:Invalid returncode %x",keyb_error); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ dos_programs.cpp: In member function 'virtual void BOOT::Run()': dos_programs.cpp:671:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, rombytesize_1-0x200, usefile_1); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.cpp:757:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, 0x200, usefile_2); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.cpp:762:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, rombytesize_2-0x200, usefile_2); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.cpp:770:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, 0x200, usefile_1); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.cpp:775:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, rombytesize_1-0x200, usefile_1); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 ranlib libdos.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' Making all in fpu make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o fpu.o fpu.cpp fpu.cpp: In function 'void FPU_ESC1_EA(Bitu, PhysPt)': fpu.cpp:139:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC EA 1:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:139:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp:161:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC EA 1:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:161:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp: In function 'void FPU_ESC1_Normal(Bitu)': fpu.cpp:197:26: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:197:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp:207:26: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:207:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp:235:26: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:235:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp:266:26: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:266:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp:297:26: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:297:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp:302:26: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 1:Unhandled group %X subfunction %X",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:302:26: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp: In function 'void FPU_ESC2_Normal(Bitu)': fpu.cpp:325:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 2:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:325:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp:330:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 2:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:330:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp: In function 'void FPU_ESC3_EA(Bitu, PhysPt)': fpu.cpp:345:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:345:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp:363:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:363:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp: In function 'void FPU_ESC3_Normal(Bitu)': fpu.cpp:375:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_ERROR)("8087 only fpu code used esc 3: group 4: subfuntion :%d",sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ fpu.cpp:389:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:389:11: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp:393:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 3:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:393:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp: In function 'void FPU_ESC5_EA(Bitu, PhysPt)': fpu.cpp:450:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:450:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp:471:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:471:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp: In function 'void FPU_ESC5_Normal(Bitu)': fpu.cpp:500:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 5:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:500:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp: In function 'void FPU_ESC6_Normal(Bitu)': fpu.cpp:528:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 6:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:528:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp: In function 'void FPU_ESC7_EA(Bitu, PhysPt)': fpu.cpp:562:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:562:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp:588:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:588:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp: In function 'void FPU_ESC7_Normal(Bitu)': fpu.cpp:616:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:616:27: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] fpu.cpp:621:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:621:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/fpu' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/fpu' rm -f libfpu.a ar cru libfpu.a fpu.o ranlib libfpu.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/fpu' Making all in gui make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o sdl_gui.o sdl_gui.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o midi.o midi.cpp midi.cpp: In function 'void MIDI_RawOutByte(Bit8u)': midi.cpp:130:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_ALL,LOG_NORMAL)("Sysex message size %d",midi.sysex.used); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ In file included from midi.cpp:91: midi_oss.h: In member function 'virtual void MidiHandler_oss::PlaySysex(Bit8u*, Bitu)': midi_oss.h:68:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(device,buf,pos); ~~~~~^~~~~~~~~~~~~~~~ midi_oss.h: In member function 'virtual void MidiHandler_oss::PlayMsg(Bit8u*)': midi_oss.h:58:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(device,buf,pos); ~~~~~^~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o render.o render.cpp render.cpp: In function 'void RENDER_Reset()': render.cpp:383:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ render.cpp:385:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ render.cpp:484:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ render.cpp: In function 'void IncreaseFrameSkip(bool)': render.cpp:543:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Frame Skip at %d",render.frameskip.max); ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ render.cpp: In function 'void DecreaseFrameSkip(bool)': render.cpp:551:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Frame Skip at %d",render.frameskip.max); ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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 #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from sdlmain.cpp:58: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20190805 sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': sdlmain.cpp:294:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] sprintf(title,"DOSBox %s, Cpu speed: max %3d%% cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ sdlmain.cpp:296:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] sprintf(title,"DOSBox %s, Cpu speed: %8d cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ sdlmain.cpp: In function 'Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)': sdlmain.cpp:536:37: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if (sdl.surface == NULL) E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",sdl.desktop.full.width,sdl.desktop.full.height,bpp,SDL_GetError()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdlmain.cpp: At global scope: sdlmain.cpp:327:13: warning: 'void PauseDOSBox(bool)' defined but not used [-Wunused-function] static void PauseDOSBox(bool pressed) { ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s axis %d %d",group->ConfigStart(),axis,positive ? 1 : 0); ^~~~~~~~~~~~~~~ ~~~~ sdl_mapper.cpp: In member function 'virtual void CJAxisBind::BindName(char*)': sdl_mapper.cpp:547:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s Axis %d%s",group->BindStart(),axis,positive ? "+" : "-"); ^~~~~~~~~~~~~~ ~~~~ sdl_mapper.cpp: In member function 'virtual void CJButtonBind::ConfigName(char*)': sdl_mapper.cpp:562:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s button %d",group->ConfigStart(),button); ^~~~~~~~~~~~~~ ~~~~~~ sdl_mapper.cpp: In member function 'virtual void CJButtonBind::BindName(char*)': sdl_mapper.cpp:565:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s Button %d",group->BindStart(),button); ^~~~~~~~~~~~~~ ~~~~~~ sdl_mapper.cpp: In member function 'virtual void CJHatBind::ConfigName(char*)': sdl_mapper.cpp:586:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s hat %d %d",group->ConfigStart(),hat,dir); ^~~~~~~~~~~~~~ ~~~ sdl_mapper.cpp: In member function 'virtual void CJHatBind::BindName(char*)': sdl_mapper.cpp:589:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s Hat %d %s",group->BindStart(),hat,(dir==SDL_HAT_UP)?"up": ^~~~~~~~~~~~~~ ~~~ sdl_mapper.cpp: In constructor 'CStickBindGroup::CStickBindGroup(Bitu, Bitu, bool)': sdl_mapper.cpp:606:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(configname,"stick_%d",emustick); ^~~~~~~~~~ ~~~~~~~~ sdl_mapper.cpp:659:11: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ sdl_mapper.cpp:659:11: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp:659:11: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp: In member function 'void CHandlerEvent::MakeDefaultBind(char*)': sdl_mapper.cpp:1588:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s \"key %d%s%s%s\"", ^~~~~~~~~~~~~~~~~~~~~ sdl_mapper.cpp:1590:4: key, ~~~ sdl_mapper.cpp: In function 'CJAxisEvent* AddJAxisButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu, bool, CJAxisEvent*)': sdl_mapper.cpp:1688:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); ^~~~~~~~~~~~~~~ ~~~~~ sdl_mapper.cpp:1688:14: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp: In function 'CJAxisEvent* AddJAxisButton_hidden(Bitu, Bitu, bool, CJAxisEvent*)': sdl_mapper.cpp:1695:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); ^~~~~~~~~~~~~~~ ~~~~~ sdl_mapper.cpp:1695:14: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp: In function 'void AddJButtonButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu)': sdl_mapper.cpp:1701:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jbutton_%d_%d",stick,button); ^~~~~~~~~~~~~~~ ~~~~~ sdl_mapper.cpp:1701:14: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp: In function 'void AddJButtonButton_hidden(Bitu, Bitu)': sdl_mapper.cpp:1707:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jbutton_%d_%d",stick,button); ^~~~~~~~~~~~~~~ ~~~~~ sdl_mapper.cpp:1707:14: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp: In function 'void AddJHatButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu, Bitu)': sdl_mapper.cpp:1713:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir); ^~~~~~~~~~~~~~~ ~~~~~~ sdl_mapper.cpp:1713:14: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp:1713:14: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp: In function 'void AddModButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu)': sdl_mapper.cpp:1720:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"mod_%d",_mod); ^~~~~~~~ ~~~~ sdl_mapper.cpp: In function 'void CreateDefaultBinds()': sdl_mapper.cpp:2061:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buffer,"key_%s \"key %d\"",DefaultKeys[i].eventend,DefaultKeys[i].key); ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o render_scalers.o render_scalers.cpp render_templates.h:532:21: warning: 'void AdvMame3x_15_L()' defined but not used [-Wunused-function] #define SCALERNAME AdvMame3x ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:532:21: warning: 'void AdvMame3x_15_R()' defined but not used [-Wunused-function] #define SCALERNAME AdvMame3x ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:513:21: warning: 'void AdvMame2x_15_L()' defined but not used [-Wunused-function] #define SCALERNAME AdvMame2x ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:513:21: warning: 'void AdvMame2x_15_R()' defined but not used [-Wunused-function] #define SCALERNAME AdvMame2x ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:456:21: warning: 'void _2xSaI_15_L()' defined but not used [-Wunused-function] #define SCALERNAME _2xSaI ^~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:456:21: warning: 'void _2xSaI_15_R()' defined but not used [-Wunused-function] #define SCALERNAME _2xSaI ^~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:446:21: warning: 'void SuperEagle_15_L()' defined but not used [-Wunused-function] #define SCALERNAME SuperEagle ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:446:21: warning: 'void SuperEagle_15_R()' defined but not used [-Wunused-function] #define SCALERNAME SuperEagle ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:436:21: warning: 'void Super2xSaI_15_L()' defined but not used [-Wunused-function] #define SCALERNAME Super2xSaI ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:436:21: warning: 'void Super2xSaI_15_R()' defined but not used [-Wunused-function] #define SCALERNAME Super2xSaI ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:423:21: warning: 'void HQ3x_15_L()' defined but not used [-Wunused-function] #define SCALERNAME HQ3x ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:423:21: warning: 'void HQ3x_15_R()' defined but not used [-Wunused-function] #define SCALERNAME HQ3x ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:412:21: warning: 'void HQ2x_15_L()' defined but not used [-Wunused-function] #define SCALERNAME HQ2x ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:412:21: warning: 'void HQ2x_15_R()' defined but not used [-Wunused-function] #define SCALERNAME HQ2x ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:272:21: warning: 'void NormalDh_9_8_L(const void*)' defined but not used [-Wunused-function] #define SCALERNAME NormalDh ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~~~~~ render_templates.h:272:21: warning: 'void NormalDh_9_8_R(const void*)' defined but not used [-Wunused-function] #define SCALERNAME NormalDh ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~~~~~ render_templates.h:260:21: warning: 'void NormalDw_9_8_L(const void*)' defined but not used [-Wunused-function] #define SCALERNAME NormalDw ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~~~~~ render_templates.h:260:21: warning: 'void NormalDw_9_8_R(const void*)' defined but not used [-Wunused-function] #define SCALERNAME NormalDw ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~~~~~ render_templates.h:241:21: warning: 'void Normal3x_9_8_L(const void*)' defined but not used [-Wunused-function] #define SCALERNAME Normal3x ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~~~~~ render_templates.h:241:21: warning: 'void Normal3x_9_8_R(const void*)' defined but not used [-Wunused-function] #define SCALERNAME Normal3x ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~~~~~ render_templates.h:227:21: warning: 'void Normal2x_9_8_L(const void*)' defined but not used [-Wunused-function] #define SCALERNAME Normal2x ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~~~~~ render_templates.h:227:21: warning: 'void Normal2x_9_8_R(const void*)' defined but not used [-Wunused-function] #define SCALERNAME Normal2x ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~~~~~ render_templates.h:216:21: warning: 'void Normal1x_9_8_L(const void*)' defined but not used [-Wunused-function] #define SCALERNAME Normal1x ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~~~~~ render_templates.h:216:21: warning: 'void Normal1x_9_8_R(const void*)' defined but not used [-Wunused-function] #define SCALERNAME Normal1x ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' 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] static void conc3d(Cache,SBPP,DBPP) (const void * s) { ^~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_templates.h:156:13: note: in expansion of macro 'conc3d' static void conc3d(Cache,SBPP,DBPP) (const void * s) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 ranlib libgui.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' Making all in hardware Making all in serialport make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o libserial.o libserial.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:43: warning: comparison of integer expressions of different signedness: 'int' and 'Bitu' {aka 'long unsigned int'} [-Wsign-compare] if(SDLNet_TCP_Send(mysock, data, bufsize)!=bufsize) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ misc_util.cpp: In member function 'bool TCPClientSocket::SendByteBuffered(Bit8u)': misc_util.cpp:244:57: warning: comparison of integer expressions of different signedness: 'int' and 'Bitu' {aka 'long unsigned int'} [-Wsign-compare] if(SDLNet_TCP_Send(mysock, sendbuffer, sendbuffersize)!=sendbuffersize) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ misc_util.cpp: In member function 'void TCPClientSocket::FlushBuffer()': misc_util.cpp:276:20: warning: comparison of integer expressions of different signedness: 'int' and 'Bitu' {aka 'long unsigned int'} [-Wsign-compare] if(SDLNet_TCP_Send(mysock, sendbuffer, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendbufferindex)!=sendbufferindex) { ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o directserial.o directserial.cpp directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': directserial.cpp:46:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG ("Serial%d: Opening %s", COMNUMBER, tmpstring.c_str()); ^~~~~~~~~~~~~~~~~~~~~~ directserial.cpp:50:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Serial Port \"%s\" could not be opened.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': directserial.cpp:277:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directserial.cpp:277:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': directserial.cpp:294:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: COM port error: write failed!", COMNUMBER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o serialdummy.o serialdummy.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o nullmodem.o nullmodem.cpp nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': nullmodem.cpp:108:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Connection failed.",COMNUMBER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp:121:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Connected to %s",COMNUMBER,peernamebuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp:136:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: -socket start parameter missing.",COMNUMBER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp:141:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: socket inheritance not supported on this platform.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp:163:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Waiting for DTR...",COMNUMBER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp:170:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Nullmodem server waiting for connection on port %d...", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp: In member function 'void CNullModem::ClientConnect()': nullmodem.cpp:226:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Connection failed.",idnumber+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ nullmodem.cpp:236:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Connected to %s",idnumber+1,peernamebuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ nullmodem.cpp: In member function 'void CNullModem::Disconnect()': nullmodem.cpp:244:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Disconnected.",COMNUMBER); ^~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp: In member function 'virtual void CNullModem::handleUpperEvent(Bit16u)': nullmodem.cpp:388:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': nullmodem.cpp:462:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:13: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': softmodem.h:129:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ softmodem.cpp: In member function 'void CSerialModem::SendRes(ResTypes)': softmodem.cpp:149:9: warning: enumeration value 'ResBUSY' not handled in switch [-Wswitch] switch (response) ^ softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()': softmodem.cpp:274:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(waitingclientsocket=serversocket->Accept()) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ softmodem.cpp:280:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ softmodem.cpp:280:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] softmodem.cpp:283:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ softmodem.cpp:283:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] softmodem.cpp: In member function 'void CSerialModem::DoCommand()': softmodem.cpp:513:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Modem: Unhandled command: &%c%d",cmdchar,ScanNumber(scanbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ softmodem.cpp:533:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Modem: Unhandled command: \\%c%d",cmdchar, ScanNumber(scanbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ softmodem.cpp:542:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Modem: Unhandled command: %c%d",chr,ScanNumber(scanbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ softmodem.cpp: In member function 'void CSerialModem::Timer2()': softmodem.cpp:651:16: warning: unused variable 'args' [-Wunused-variable] unsigned long args = 1; ^~~~ softmodem.cpp: In member function 'void CSerialModem::SendRes(ResTypes)': softmodem.cpp:163:33: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] if(numericresponse) SendNumber(code); ~~~~~~~~~~^~~~~~ softmodem.cpp:173:10: warning: 'string' may be used uninitialized in this function [-Wmaybe-uninitialized] LOG_MSG("Modem response: %s", string); make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:13: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': softmodem.h:129:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ serialport.cpp: In member function 'void CSerial::log_ser(bool, const char*, ...)': serialport.cpp:206:15: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] sprintf(buf,"%12.3f [% 7u] ",PIC_FullIndex(), SDL_GetTicks()); ^~~~~~~~~~~~~~~~ serialport.cpp: In member function 'void CSerial::handleEvent(Bit16u)': serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Errors: "\ ^~~~~~~~~~~~~~~~~~~~~ "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] serialport.cpp: In static member function 'static bool CSerial::getBituSubstring(const char*, Bitu*, CommandLine*)': serialport.cpp:1140:20: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'Bitu*' {aka 'long unsigned int*'} [-Wformat=] if(sscanf(tmpchar,"%u",data)!=1) return false; ^~~~ ~~~~ serialport.cpp: In constructor 'SERIALPORTS::SERIALPORTS(Section*)': serialport.cpp:1264:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Invalid type for serial%d",i+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 ranlib libserial.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' Making all in mame make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o saa1099.o saa1099.cpp In file included from saa1099.cpp:70: emu.h:117:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] static void auto_free(const device_t::machine_t& machine, void * buffer) { ^~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:74: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 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:117:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] static void auto_free(const device_t::machine_t& machine, void * buffer) { ^~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/mame' rm -f libmame.a ar cru libmame.a saa1099.o sn76496.o ranlib libmame.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o keyboard.o keyboard.cpp keyboard.cpp: In function 'void write_p60(Bitu, Bitu, Bitu)': keyboard.cpp:146:32: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_KEYBOARD,LOG_ERROR)("60:Unhandled command %X",val); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ keyboard.cpp: In function 'void write_p64(Bitu, Bitu, Bitu)': keyboard.cpp:211:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_KEYBOARD,LOG_ERROR)("Port 64 write with val %d",val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o gameblaster.o gameblaster.cpp gameblaster.cpp: In constructor 'CMS::CMS(Section*)': gameblaster.cpp:148:10: warning: unused variable 'freq' [-Wunused-variable] Bit32u freq = 7159000; //14318180 isa clock / 2 ^~~~ gameblaster.cpp: In destructor 'virtual CMS::~CMS()': gameblaster.cpp:160:18: warning: deleting object of polymorphic class type 'saa1099_device' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete device[0]; ^ gameblaster.cpp:161:18: warning: deleting object of polymorphic class type 'saa1099_device' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete device[1]; ^ In file included from gameblaster.cpp:30: mame/emu.h: At global scope: mame/emu.h:117:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] static void auto_free(const device_t::machine_t& machine, void * buffer) { ^~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o joystick.o joystick.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dma.o dma.cpp dma.cpp: In member function 'Bitu DmaController::ReadControllerReg(Bitu, Bitu)': dma.cpp:252:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_DMACONTROL,LOG_NORMAL)("Trying to read undefined DMA port %x",reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o iohandler.o iohandler.cpp iohandler.cpp: In function 'Bitu IO_ReadDefault(Bitu, Bitu)': iohandler.cpp:44:24: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_IO,LOG_WARN)("Read from port %04X",port); ^~~~~~~~~~~~~~~~~~~~~ ~~~~ iohandler.cpp: In function 'void IO_WriteDefault(Bitu, Bitu, Bitu)': iohandler.cpp:62:24: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_IO,LOG_WARN)("Writing %02X to port %04X",val,port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ iohandler.cpp:62:24: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] iohandler.cpp: In member function 'void IO_ReadHandleObject::Install(Bitu, Bitu (*)(Bitu, Bitu), Bitu, Bitu)': iohandler.cpp:119:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else E_Exit("IO_readHandler allready installed port %x",port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ iohandler.cpp: In member function 'void IO_WriteHandleObject::Install(Bitu, void (*)(Bitu, Bitu, Bitu), Bitu, Bitu)': iohandler.cpp:134:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else E_Exit("IO_writeHandler allready installed port %x",port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o memory.o memory.cpp memory.cpp: In member function 'virtual void ROMPageHandler::writeb(PhysPt, Bitu)': memory.cpp:111:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~ memory.cpp: In member function 'virtual void ROMPageHandler::writew(PhysPt, Bitu)': memory.cpp:114:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~ memory.cpp: In member function 'virtual void ROMPageHandler::writed(PhysPt, Bitu)': memory.cpp:117:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_CPU,LOG_ERROR)("Write %x to rom at %x",val,addr); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~ memory.cpp: In function 'bool mem_unalignedwritew_checked(PhysPt, Bit16u)': memory.cpp:477:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; ^~ memory.cpp:477:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; ^~ memory.cpp:483:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; ^~~ memory.cpp:484:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (mem_writeb_checked(address+1,(Bit8u)(val & 0xff))) return true;val>>=8; ^~ memory.cpp:484:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (mem_writeb_checked(address+1,(Bit8u)(val & 0xff))) return true;val>>=8; ^~~ memory.cpp:485:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (mem_writeb_checked(address+2,(Bit8u)(val & 0xff))) return true;val>>=8; ^~ memory.cpp:485:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (mem_writeb_checked(address+2,(Bit8u)(val & 0xff))) return true;val>>=8; ^~~ memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': memory.cpp:564:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o pcspeaker.o pcspeaker.cpp pcspeaker.cpp: In function 'void PCSPEAKER_SetCounter(Bitu, Bitu)': pcspeaker.cpp:213:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Unhandled speaker mode %d",mode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga.o vga.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o pic.o pic.cpp pic.cpp: In function 'void write_command(Bitu, Bitu, Bitu)': pic.cpp:104:28: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PIC,LOG_NORMAL)("port %X : special mask %s",port,(pic->special)?"ON":"OFF"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)': pic.cpp:152:27: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PIC,LOG_NORMAL)("%d mask %X",port==0x21 ? 0 : 1,val); ^~~~~~~~~~~~ ~~~ pic.cpp:180:27: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PIC,LOG_NORMAL)("%d:Base vector %X",port==0x21 ? 0 : 1,val); ^~~~~~~~~~~~~~~~~~~ ~~~ pic.cpp:188:27: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PIC,LOG_NORMAL)("%d:ICW 3 %X",port==0x21 ? 0 : 1,val); ^~~~~~~~~~~~~ ~~~ pic.cpp:202:27: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PIC,LOG_NORMAL)("%d:ICW 4 %X",port==0x21 ? 0 : 1,val); ^~~~~~~~~~~~~ ~~~ pic.cpp:204:29: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ pic.cpp:205:30: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ pic.cpp:210:27: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PIC,LOG_NORMAL)("ICW HUH? %X",val); ^~~~~~~~~~~~~ ~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_attr.o vga_attr.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:10: warning: enumeration value 'ZMBV_FORMAT_NONE' not handled in switch [-Wswitch] switch (format) { ^ ../libs/zmbv/zmbv.cpp:342:10: warning: enumeration value 'ZMBV_FORMAT_1BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:342:10: warning: enumeration value 'ZMBV_FORMAT_2BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:342:10: warning: enumeration value 'ZMBV_FORMAT_4BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:342:10: warning: enumeration value 'ZMBV_FORMAT_24BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:363:6: warning: unused variable 'res' [-Wunused-variable] int res = deflate(&zstream, Z_SYNC_FLUSH); ^~~ In file included from hardware.cpp:36: ../libs/zmbv/zmbv.cpp: In member function 'bool VideoCodec::DecompressFrame(void*, int)': ../libs/zmbv/zmbv.cpp:463:10: warning: enumeration value 'ZMBV_FORMAT_NONE' not handled in switch [-Wswitch] switch (format) { ^ ../libs/zmbv/zmbv.cpp:463:10: warning: enumeration value 'ZMBV_FORMAT_1BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:463:10: warning: enumeration value 'ZMBV_FORMAT_2BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:463:10: warning: enumeration value 'ZMBV_FORMAT_4BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:463:10: warning: enumeration value 'ZMBV_FORMAT_24BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:433:6: warning: unused variable 'res' [-Wunused-variable] int res = inflate(&zstream, Z_FINISH); ^~~ ../libs/zmbv/zmbv.cpp: In member function 'void VideoCodec::Output_UpsideDown_24(void*)': ../libs/zmbv/zmbv.cpp:487:10: warning: enumeration value 'ZMBV_FORMAT_NONE' not handled in switch [-Wswitch] switch (format) { ^ ../libs/zmbv/zmbv.cpp:487:10: warning: enumeration value 'ZMBV_FORMAT_1BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:487:10: warning: enumeration value 'ZMBV_FORMAT_2BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:487:10: warning: enumeration value 'ZMBV_FORMAT_4BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:487:10: warning: enumeration value 'ZMBV_FORMAT_24BPP' not handled in switch [-Wswitch] hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': hardware.cpp:122:20: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); ^~~~~~~~~~~~~~ ~~~~ In file included from hardware.cpp:36: ../libs/zmbv/zmbv.cpp: In instantiation of 'void VideoCodec::AddXorFrame() [with P = char]': ../libs/zmbv/zmbv.cpp:344:22: required from here ../libs/zmbv/zmbv.cpp:197:6: warning: unused variable 'written' [-Wunused-variable] int written=0; ^~~~~~~ ../libs/zmbv/zmbv.cpp:198:6: warning: unused variable 'lastvector' [-Wunused-variable] int lastvector=0; ^~~~~~~~~~ ../libs/zmbv/zmbv.cpp:202:6: warning: unused variable 'totalx' [-Wunused-variable] int totalx=0; ^~~~~~ ../libs/zmbv/zmbv.cpp:203:6: warning: unused variable 'totaly' [-Wunused-variable] int totaly=0; ^~~~~~ ../libs/zmbv/zmbv.cpp: In instantiation of 'void VideoCodec::AddXorFrame() [with P = short int]': ../libs/zmbv/zmbv.cpp:348:23: required from here ../libs/zmbv/zmbv.cpp:197:6: warning: unused variable 'written' [-Wunused-variable] int written=0; ^~~~~~~ ../libs/zmbv/zmbv.cpp:198:6: warning: unused variable 'lastvector' [-Wunused-variable] int lastvector=0; ^~~~~~~~~~ ../libs/zmbv/zmbv.cpp:202:6: warning: unused variable 'totalx' [-Wunused-variable] int totalx=0; ^~~~~~ ../libs/zmbv/zmbv.cpp:203:6: warning: unused variable 'totaly' [-Wunused-variable] int totaly=0; ^~~~~~ ../libs/zmbv/zmbv.cpp: In instantiation of 'void VideoCodec::AddXorFrame() [with P = long int]': ../libs/zmbv/zmbv.cpp:351:22: required from here ../libs/zmbv/zmbv.cpp:197:6: warning: unused variable 'written' [-Wunused-variable] int written=0; ^~~~~~~ ../libs/zmbv/zmbv.cpp:198:6: warning: unused variable 'lastvector' [-Wunused-variable] int lastvector=0; ^~~~~~~~~~ ../libs/zmbv/zmbv.cpp:202:6: warning: unused variable 'totalx' [-Wunused-variable] int totalx=0; ^~~~~~ ../libs/zmbv/zmbv.cpp:203:6: warning: unused variable 'totaly' [-Wunused-variable] int totaly=0; ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o mixer.o mixer.cpp mixer.cpp: In function 'void MIXER_Init(Section*)': mixer.cpp:655:18: warning: comparison of integer expressions of different signedness: 'Bit32u' {aka 'unsigned int'} and 'int' [-Wsign-compare] if((mixer.freq != obtained.freq) || (mixer.blocksize != obtained.samples)) ~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_crtc.o vga_crtc.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o tandy_sound.o tandy_sound.cpp tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': tandy_sound.cpp:230:10: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Tandy DAC: Read from unknown %X",port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ In file included from tandy_sound.cpp:33: mame/emu.h: At global scope: mame/emu.h:117:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] 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] static Bit32u dma_wrapping = 0xffff; ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:32: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:3CF:Write %2X to illegal index 9",val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_gfx.cpp:189:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:3CF:Write %2X to illegal index %2X",val,gfx(index)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_gfx.cpp: In function 'Bitu read_p3cf(Bitu, Bitu)': vga_gfx.cpp:217:31: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("Reading from illegal index %2X in port %4X",static_cast(gfx(index)),port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:DCA:Pel Mask set to %X", val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_seq.o vga_seq.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o timer.o timer.cpp timer.cpp: In function 'void counter_latch(Bitu)': timer.cpp:185:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_PIT,LOG_ERROR)("Illegal Mode %d for reading counter %d",p->mode,counter); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_misc.o vga_misc.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:CRTC:Write to illegal index %2X", reg ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_s3.cpp: In function 'void SVGA_S3_WriteSEQ(Bitu, Bitu, Bitu)': vga_s3.cpp:468:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:SEQ:Write to illegal index %2X", reg ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_s3.cpp: In function 'Bitu SVGA_S3_ReadSEQ(Bitu, Bitu)': vga_s3.cpp:483:42: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] return vga.s3.mclk.n || (vga.s3.mclk.r << 5); ~~~~~~~~~~~~~~~^~~~~ vga_s3.cpp:487:46: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] return vga.s3.clk[3].n || (vga.s3.clk[3].r << 5); ~~~~~~~~~~~~~~~~~^~~~~ vga_s3.cpp:493:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:S3:SEQ:Read from illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("MC6845:Write %X to illegal index %x",val,vga.other.index); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_other.cpp: In function 'void write_color_select(Bit8u)': vga_other.cpp:240:9: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] switch (vga.mode) { ^ vga_other.cpp:240:9: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: Unhandled multifunction command %x", regselect); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawLineVector(Bitu)': vga_xga.cpp:329:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawLineBresenham(Bitu)': vga_xga.cpp:433:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawRectangle(Bitu)': vga_xga.cpp:505:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: DrawRect: Needs mixmode %x", mixmode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawWait(Bitu, Bitu)': vga_xga.cpp:642:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: unsupported bpp / datawidth combination %x", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xga.waitcmd.buswidth); ~~~~~~~~~~~~~~~~~~~~ vga_xga.cpp:690:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: DrawBlitWait: Unsupported src %x", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (mixmode >> 5) & 0x03); ~~~~~~~~~~~~~~~~~~~~~ vga_xga.cpp:710:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: DrawBlitWait: Unhandled mixmode: %d", mixmode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ vga_xga.cpp: In function 'void XGA_SetDualReg(Bit32u&, Bitu)': vga_xga.cpp:976:8: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] switch(XGA_COLOR_MODE) { ^ vga_xga.cpp:976:8: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] vga_xga.cpp: In function 'Bitu XGA_GetDualReg(Bit32u)': vga_xga.cpp:995:8: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] switch(XGA_COLOR_MODE) { ^ vga_xga.cpp:995:8: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:995:8: 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:17: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ vga_xga.cpp:1167:17: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_xga.cpp:1167:17: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_xga.cpp: In function 'void XGA_DrawLineVector(Bitu)': vga_xga.cpp:324:31: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized] destval = XGA_GetMixResult(mixmode, srcval, dstdata); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawLineBresenham(Bitu)': vga_xga.cpp:423:32: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized] destval = XGA_GetMixResult(mixmode, srcval, dstdata); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawRectangle(Bitu)': vga_xga.cpp:500:32: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized] destval = XGA_GetMixResult(mixmode, srcval, dstdata); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawWait(Bitu, Bitu)': vga_xga.cpp:672:24: warning: 'chunks' may be used uninitialized in this function [-Wmaybe-uninitialized] for(Bitu k = 0; k < chunks; k++) { // chunks counter ~~^~~~~~~~ vga_xga.cpp:674:25: warning: 'chunksize' may be used uninitialized in this function [-Wmaybe-uninitialized] for(Bitu n = 0; n < chunksize; n++) { // pixels ~~^~~~~~~~~~~ vga_xga.cpp: In function 'void XGA_BlitRect(Bitu)': vga_xga.cpp:800:30: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized] destval = XGA_GetMixResult(mixmode, srcval, dstdata); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawPattern(Bitu)': vga_xga.cpp:886:30: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized] destval = XGA_GetMixResult(mixmode, srcval, dstdata); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o sblaster.o sblaster.cpp sblaster.cpp: In function 'void DSP_DoDMATransfer(DMA_MODES, Bitu, bool)': sblaster.cpp:636:25: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_SB,LOG_NORMAL)("DMA Transfer:%s %s %s freq %d rate %d size %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sblaster.cpp:640:3: freq,sb.dma.rate,sb.dma.total ~~~~ sblaster.cpp:636:25: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sblaster.cpp:636:25: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sblaster.cpp: In function 'void DSP_DoCommand()': sblaster.cpp:831:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_SB,LOG_ERROR)("DSP:Faked ADC for %d bytes",sb.dma.total); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ sblaster.cpp: In function 'Bitu read_sb(Bitu, Bitu)': sblaster.cpp:1394:26: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_SB,LOG_NORMAL)("Unhandled read from SB Port %4X",port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ sblaster.cpp: In function 'void write_sb(Bitu, Bitu, Bitu)': sblaster.cpp:1416:26: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_SB,LOG_NORMAL)("Unhandled write to SB Port %4X",port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ 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] static Bit32u dma_wrapping = 0xffff; ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_draw.o vga_draw.cpp vga_draw.cpp: In function 'void VGA_SetBlinking(Bitu)': vga_draw.cpp:698:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGA,LOG_NORMAL)("Blinking %d",enabled); ^~~~~~~~~~~~~ ~~~~~~~ vga_draw.cpp: In function 'void VGA_VerticalTimer(Bitu)': vga_draw.cpp:883:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)( "Parts left: %d", vga.draw.parts_left ); ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ vga_draw.cpp:893:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)( "Lines left: %d", ^~~~~~~~~~~~~~~~ vga.draw.lines_total-vga.draw.lines_done); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vga_draw.cpp: In function 'void VGA_SetupDrawing(Bitu)': vga_draw.cpp:1123:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGA,LOG_NORMAL)("h total %d end %d blank (%d/%d) retrace (%d/%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htotal, hdend, hbstart, hbend, hrstart, hrend ); ~~~~~~ vga_draw.cpp:1123:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_draw.cpp:1123:26: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_draw.cpp:1123:26: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_draw.cpp:1123:26: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_draw.cpp:1123:26: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_draw.cpp:1125:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGA,LOG_NORMAL)("v total %d end %d blank (%d/%d) retrace (%d/%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vtotal, vdend, vbstart, vbend, vrstart, vrend ); ~~~~~~ vga_draw.cpp:1125:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_draw.cpp:1125:26: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_draw.cpp:1125:26: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_draw.cpp:1125:26: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_draw.cpp:1125:26: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_draw.cpp:1163:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGA,LOG_WARN)("Blanking wrap to line %d", vblank_skip); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ vga_draw.cpp:1167:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGA,LOG_WARN)("Upper %d lines of the screen blanked", vblank_skip); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ vga_draw.cpp:1171:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGA,LOG_WARN)("Unsupported blanking: line %d-%d",vbstart,vbend); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ vga_draw.cpp:1171:27: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_draw.cpp:1486:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGA,LOG_NORMAL)("Width %d, Height %d, fps %f",width,height,fps); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ vga_draw.cpp:1486:27: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Write to illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_paradise.cpp: In function 'Bitu read_p3cf_pvga1a(Bitu, Bitu)': vga_paradise.cpp:132:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:GFX:PVGA1A:Read from illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:CRTC:ET4K:Write to illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_tseng.cpp: In function 'Bitu read_p3d5_et4k(Bitu, Bitu)': vga_tseng.cpp:193:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:CRTC:ET4K:Read from illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_tseng.cpp: In function 'void write_p3c5_et4k(Bitu, Bitu, Bitu)': vga_tseng.cpp:216:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:SEQ:ET4K:Write to illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_tseng.cpp: In function 'Bitu read_p3c5_et4k(Bitu, Bitu)': vga_tseng.cpp:226:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:SEQ:ET4K:Read from illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_tseng.cpp: In function 'void write_p3c0_et4k(Bitu, Bitu, Bitu)': vga_tseng.cpp:279:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:ET4K:Write to illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_tseng.cpp: In function 'Bitu read_p3c1_et4k(Bitu, Bitu)': vga_tseng.cpp:289:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:ET4K:Read from illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_tseng.cpp: In function 'void write_p3d5_et3k(Bitu, Bitu, Bitu)': vga_tseng.cpp:576:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:CRTC:ET3K:Write to illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_tseng.cpp: In function 'Bitu read_p3d5_et3k(Bitu, Bitu)': vga_tseng.cpp:594:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:CRTC:ET3K:Read from illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_tseng.cpp: In function 'void write_p3c5_et3k(Bitu, Bitu, Bitu)': vga_tseng.cpp:607:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:SEQ:ET3K:Write to illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_tseng.cpp: In function 'Bitu read_p3c5_et3k(Bitu, Bitu)': vga_tseng.cpp:617:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:SEQ:ET3K:Read from illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_tseng.cpp: In function 'void write_p3c0_et3k(Bitu, Bitu, Bitu)': vga_tseng.cpp:650:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:ET3K:Write to illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_tseng.cpp: In function 'Bitu read_p3c1_et3k(Bitu, Bitu)': vga_tseng.cpp:660:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_VGAMISC,LOG_NORMAL)("VGA:ATTR:ET3K:Read from illegal index %2X", reg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ vga_tseng.cpp: In function 'void FinishSetMode_ET3K(Bitu, VGA_ModeExtraData*)': vga_tseng.cpp:705:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (Bitu i=0x16; i<=0x21; i++) ^~~ vga_tseng.cpp:706:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' IO_Write(crtc_base,i);IO_Write(crtc_base+1,0); ^~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cmos.o cmos.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o ipxserver.o ipxserver.cpp ipxserver.cpp: In function 'void ackClient(IPaddress)': ipxserver.cpp:129:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] Bits result; ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o adlib.o adlib.cpp adlib.cpp: In constructor 'Adlib::Module::Module(Section*)': adlib.cpp:657:9: warning: enumeration value 'OPL_none' not handled in switch [-Wswitch] switch ( oplmode ) { ^ adlib.cpp:657:9: 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] static void SaveRad() { ^~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o disney.o disney.cpp disney.cpp: In function 'void disney_write(Bitu, Bitu, Bitu)': disney.cpp:206:28: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_MISC,LOG_NORMAL)("DISNEY:Status write %x",val); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o mpu401.o mpu401.cpp mpu401.cpp: In function 'void MPU401_WriteCommand(Bitu, Bitu, Bitu)': mpu401.cpp:128:41: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if (val&0x20) LOG(LOG_MISC,LOG_ERROR)("MPU-401:Unhandled Recording Command %x",val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ mpu401.cpp:242:29: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Reset %X",val); ^~~~~~~~~~~~~~~~~~ ~~~ mpu401.cpp:251:29: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_MISC,LOG_NORMAL)("MPU-401:Set UART mode %X",val); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_memory.o vga_memory.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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] static Bit32u dma_wrapping = 0xffff; ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o ipx.o ipx.cpp ipx.cpp: In function 'void pingAck(IPaddress)': ipx.cpp:513:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] Bits result; ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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::SynthMode)11; Bit32u = unsigned int; Bit32s = int]': dbopl.cpp:1035:38: required from here dbopl.cpp:848:2: warning: enumeration value 'sm3Percussion' not handled in switch [-Wswitch] switch( mode ) { ^~~~~~ dbopl.cpp:938:3: warning: enumeration value 'sm3Percussion' not handled in switch [-Wswitch] switch( mode ) { ^~~~~~ dbopl.cpp: In instantiation of 'DBOPL::Channel* DBOPL::Channel::BlockTemplate(DBOPL::Chip*, Bit32u, Bit32s*) [with DBOPL::SynthMode mode = (DBOPL::SynthMode)10; Bit32u = unsigned int; Bit32s = int]': dbopl.cpp:1037:38: required from here dbopl.cpp:848:2: warning: enumeration value 'sm2Percussion' not handled in switch [-Wswitch] switch( mode ) { ^~~~~~ dbopl.cpp:938:3: warning: enumeration value 'sm2Percussion' not handled in switch [-Wswitch] switch( mode ) { ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 ranlib libhardware.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/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 -mno-ms-bitfields -c -o gui_tk.o gui_tk.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs/gui_tk' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs/gui_tk' rm -f libgui_tk.a ar cru libgui_tk.a gui_tk.o ranlib libgui_tk.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/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 -mno-ms-bitfields -c -o int10_memory.o int10_memory.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:28: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_INT10,LOG_ERROR)("EGA RIL range read with port %x called",port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ int10_misc.cpp:246:35: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else LOG(LOG_INT10,LOG_ERROR)("EGA RIL range read from %x for invalid register %x",port,ch); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ int10_misc.cpp: In function 'void INT10_EGA_RIL_WriteRegisterRange(Bit8u, Bit8u, Bit16u, PhysPt)': int10_misc.cpp:255:28: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_INT10,LOG_ERROR)("EGA RIL range write called with port %x",port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ int10_misc.cpp:271:35: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else LOG(LOG_INT10,LOG_ERROR)("EGA RIL range write to %x with invalid register %x",port,ch); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:9: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] switch (machine) { ^ int10_pal.cpp:37:9: warning: enumeration value 'MCH_CGA' not handled in switch [-Wswitch] int10_pal.cpp: In function 'void INT10_SetOverscanBorderColor(Bit8u)': int10_pal.cpp:56:9: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] switch (machine) { ^ int10_pal.cpp:56:9: warning: enumeration value 'MCH_CGA' not handled in switch [-Wswitch] int10_pal.cpp: In function 'void INT10_SetAllPaletteRegisters(PhysPt)': int10_pal.cpp:71:9: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] switch (machine) { ^ int10_pal.cpp:71:9: warning: enumeration value 'MCH_CGA' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:10: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] switch (machine) { ^ int10_char.cpp:546:10: warning: enumeration value 'MCH_TANDY' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:30: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_INT10,LOG_ERROR)("PutPixel_EGA_p: %x!=%x",CurMode->plength,real_readw(BIOSMEM_SEG,BIOSMEM_PAGE_SIZE)); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ int10_put_pixel.cpp:119:30: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_INT10,LOG_ERROR)("PutPixel_EGA_w: %x!=%x",CurMode->swidth,real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ int10_put_pixel.cpp:138:30: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_INT10,LOG_ERROR)("PutPixel_VGA_w: %x!=%x",CurMode->swidth,real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ int10_put_pixel.cpp: In function 'void INT10_GetPixel(Bit16u, Bit16u, Bit8u, Bit8u*)': int10_put_pixel.cpp:174:30: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_INT10,LOG_ERROR)("GetPixel_EGA_p: %x!=%x",CurMode->plength,real_readw(BIOSMEM_SEG,BIOSMEM_PAGE_SIZE)); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ int10_put_pixel.cpp:176:30: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_INT10,LOG_ERROR)("GetPixel_EGA_w: %x!=%x",CurMode->swidth,real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ int10_put_pixel.cpp:197:30: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_INT10,LOG_ERROR)("GetPixel_VGA_w: %x!=%x",CurMode->swidth,real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o int10_modes.o int10_modes.cpp int10_modes.cpp: In function 'void FinishSetMode(bool)': int10_modes.cpp:380:10: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:380:10: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:380:10: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:380:10: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:380:10: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:380:10: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:380:10: 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:9: warning: enumeration value 'MCH_EGA' not handled in switch [-Wswitch] switch (machine) { ^ int10_modes.cpp:439:9: warning: enumeration value 'MCH_VGA' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] switch(CurMode->type) { ^ int10_modes.cpp:482:8: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:516:9: warning: enumeration value 'MCH_EGA' not handled in switch [-Wswitch] switch (machine) { ^ int10_modes.cpp:516:9: warning: enumeration value 'MCH_VGA' not handled in switch [-Wswitch] int10_modes.cpp: In function 'bool INT10_SetVideoMode(Bit16u)': int10_modes.cpp:723:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:723:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:723:9: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:723:9: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:723:9: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:723:9: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:723:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:723:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:878:9: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:947:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:1020:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1058:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:1058:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1058:9: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1058:9: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1058:9: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1058:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1058:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1157:10: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:1157:10: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1157:10: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1157:10: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1157:10: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1157:10: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1157:10: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:1238:9: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp: In function 'Bitu VideoModeMemSize(Bitu)': int10_modes.cpp:1401:8: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] switch(vmodeBlock->type) { ^ int10_modes.cpp:1401:8: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o int10.o int10.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o int10_vptable.o int10_vptable.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o int10_video_state.o int10_video_state.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o xms.o xms.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o mouse.o mouse.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o int10_vesa.o int10_vesa.cpp int10_vesa.cpp: In function 'void INT10_SetupVESA()': int10_vesa.cpp:491:9: warning: enumeration value 'SVGA_None' not handled in switch [-Wswitch] switch (svgaCard) { ^ int10_vesa.cpp:491:9: warning: enumeration value 'SVGA_TsengET4K' not handled in switch [-Wswitch] int10_vesa.cpp:491:9: warning: enumeration value 'SVGA_TsengET3K' not handled in switch [-Wswitch] int10_vesa.cpp:491:9: warning: enumeration value 'SVGA_ParadisePVGA1A' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o ems.o ems.cpp ems.cpp: In function 'Bit8u EMM_RestoreMappingTable()': ems.cpp:413:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] Bit8u result; ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o bios_keyboard.o bios_keyboard.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o bios_disk.o bios_disk.cpp bios_disk.cpp: In function 'void swapInDisks()': bios_disk.cpp:109:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bits' {aka 'long int'} [-Wformat=] LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ bios_disk.cpp:109:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bits' {aka 'long int'} [-Wformat=] bios_disk.cpp: In function 'bool driveInactive(Bitu)': bios_disk.cpp:280:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_BIOS,LOG_ERROR)("Disk %d non-existant", driveNum); ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ bios_disk.cpp:286:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_BIOS,LOG_ERROR)("Disk %d not active", driveNum); ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ bios_disk.cpp:292:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_BIOS,LOG_ERROR)("Disk %d not active", driveNum); ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ bios_disk.cpp: In function 'Bitu INT13_DiskHandler()': bios_disk.cpp:486:27: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG(LOG_BIOS,LOG_ERROR)("INT13: Function %x called on drive %x (dos drive %d)", reg_ah, reg_dl, drivenum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ bios_disk.cpp: In member function 'Bit8u imageDisk::Read_AbsoluteSector(Bit32u, void*)': bios_disk.cpp:154:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(data, 1, sector_size, diskimg); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o bios.o bios.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 ranlib libints.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' Making all in misc make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cross.o cross.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o support.o support.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o messages.o messages.cpp messages.cpp: In function 'void LoadMessageFile(const char*)': messages.cpp:93:4: warning: value computed is not used [-Wunused-value] *parser++; ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o programs.o programs.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:36: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'Bitu*' {aka 'long unsigned int*'} [-Wformat=] if(sscanf(in.ToString().c_str(),"%u",&value) == 1) { ^~~~ ~~~~~~ setup.cpp: In member function 'bool Config::PrintConfig(const char*) const': setup.cpp:636:24: warning: field width specifier '*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] snprintf(prefix,80, "\n# %*s ", maxwidth, ""); ^~~~~~~~~~~ ~~~~~~~~ setup.cpp:644:22: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] fprintf(outfile, "# %*s: %s", maxwidth, p->propname.c_str(), help.c_str()); ^~~~~~~~~~~ ~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' rm -f libmisc.a ar cru libmisc.a cross.o messages.o programs.o setup.o support.o ranlib libmisc.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' Making all in shell make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o shell_batch.o shell_batch.cpp shell_batch.cpp: In member function 'virtual bool BatchFile::ReadLine(char*)': shell_batch.cpp:89:28: warning: variable 'env_write' set but not used [-Wunused-but-set-variable] char env_name[256];char * env_write; ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o shell_misc.o shell_misc.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o shell.o shell.cpp shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)': shell.cpp:391:11: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd(buffer,CROSS_LEN); ~~~~~~^~~~~~~~~~~~~~~~~~ shell.cpp:404:12: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd(buffer,CROSS_LEN); ~~~~~~^~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o shell_cmds.o shell_cmds.cpp shell_cmds.cpp: In function 'void FormatNumber(Bitu, char*)': shell_cmds.cpp:379:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb); ^~~~~~~~~~~~~~~~~~~ ~~~~ shell_cmds.cpp:379:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] shell_cmds.cpp:379:15: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] shell_cmds.cpp:379:15: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] shell_cmds.cpp:383:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%d,%03d,%03d",numm,numk,numb); ^~~~~~~~~~~~~~ ~~~~ shell_cmds.cpp:383:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] shell_cmds.cpp:383:15: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] shell_cmds.cpp:387:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%d,%03d",numk,numb); ^~~~~~~~~ ~~~~ shell_cmds.cpp:387:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] shell_cmds.cpp:390:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%d",numb); ^~~~ ~~~~ shell_cmds.cpp: In member function 'void DOS_Shell::CMD_SET(char*)': shell_cmds.cpp:757:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!second) continue; *second++ = 0; ^~ shell_cmds.cpp:757:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!second) continue; *second++ = 0; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/shell' rm -f libshell.a ar cru libshell.a shell.o shell_batch.o shell_cmds.o shell_misc.o ranlib libshell.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/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 -mno-ms-bitfields -c -o dosbox.o dosbox.cpp dosbox.cpp: In function 'void DOSBOX_Init()': dosbox.cpp:383:17: warning: variable 'secline' set but not used [-Wunused-but-set-variable] Section_line * secline; ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2' Making distclean in src make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src' Making distclean in cpu make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' Making distclean in core_full make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/cpu/core_full' Making distclean in core_normal make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/cpu/core_normal' Making distclean in core_dyn_x86 make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/cpu/core_dyn_x86' Making distclean in core_dynrec make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/cpu/core_dynrec' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/cpu' rm -rf ./.deps rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' Making distclean in debug make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/debug' Making distclean in dos make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/dos' Making distclean in fpu make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/fpu' Making distclean in gui make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/gui' Making distclean in hardware make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' Making distclean in serialport make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/hardware/serialport' Making distclean in mame make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/hardware/mame' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/hardware' rm -rf ./.deps rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' Making distclean in libs make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs' Making distclean in zmbv make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/libs/zmbv' Making distclean in gui_tk make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/libs/gui_tk' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/libs' rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs' Making distclean in ints make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/ints' Making distclean in misc make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/misc' Making distclean in shell make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/shell' Making distclean in platform make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/platform' Making distclean in visualc make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/platform/visualc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/platform' rm -f Makefile make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/platform' make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src' rm -rf ./.deps rm -f Makefile make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src' Making distclean in include make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/include' Making distclean in docs make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/docs' test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f Makefile make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/docs' Making distclean in visualc_net make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/visualc_net' make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2' 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.2' 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.2' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ 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 + xargs -ri dirname -- '{}' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + readlink -e -- ./configure + ./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 --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... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /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... /bin/grep checking for egrep... /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 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 -j8 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.2/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 -mno-ms-bitfields -c -o modrm.o modrm.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o callback.o callback.cpp callback.cpp: In function 'Bitu CALLBACK_SetupExtra(Bitu, Bitu, PhysPt, bool)': callback.cpp:435:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("CALLBACK:Setup:Illegal type %d",type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o core_dyn_x86.o core_dyn_x86.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o flags.o flags.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o paging.o paging.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cpu.o cpu.cpp cpu.cpp: In function 'void CPU_CheckSegments()': cpu.cpp:238:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~ cpu.cpp:238:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~~~~ cpu.cpp:248:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~ cpu.cpp:248:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~~~~ cpu.cpp:258:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~ cpu.cpp:258:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~~~~ cpu.cpp:268:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~ cpu.cpp:268:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (cpu.cpl>desc.DPL()) needs_invalidation=true; break; ^~~~~ cpu.cpp: In function 'bool CPU_SwitchTask(Bitu, TSwitchType, Bitu)': cpu.cpp:348:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("Illegal TSS for switch, selector=%x, switchtype=%x",new_tss_selector,tstype); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ cpu.cpp:502:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("Task switch CS Type %d",cs_desc.Type()); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ cpu.cpp: In function 'void CPU_Interrupt(Bitu, Bitu, Bitu)': cpu.cpp:724:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("INT:Gate Selector points to illegal descriptor with type %x",cs_desc.Type()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ cpu.cpp:754:11: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ cpu.cpp:754:11: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] cpu.cpp: In function 'void CPU_IRET(bool, Bitu)': cpu.cpp:901:11: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("IRET:Illegal descriptor type %X",n_cs_desc.Type()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ cpu.cpp: In function 'void CPU_JMP(bool, Bitu, Bitu, Bitu)': cpu.cpp:1058:11: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("JMP Illegal descriptor type %X",desc.Type()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ cpu.cpp: In function 'void CPU_CALL(bool, Bitu, Bitu, Bitu)': cpu.cpp:1294:11: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("CALL:Descriptor type %x unsupported",call.Type()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ cpu.cpp: In function 'void CPU_RET(bool, Bitu, Bitu)': cpu.cpp:1352:12: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("RET from illegal descriptor type %X",desc.Type()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ cpu.cpp:1397:12: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("RET from illegal descriptor type %X",desc.Type()); // or #GP(selector) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ cpu.cpp: In function 'bool CPU_LTR(Bitu)': cpu.cpp:1508:46: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if (!cpu_tss.SetSelector(selector)) E_Exit("LTR failed, selector=%X",selector); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o core_full.o core_full.cpp In file included from core_full/load.h:324, from core_full.cpp:82: core_full/string.h: In function 'Bits CPU_Core_Full_Run()': core_full/string.h:223:8: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized] count+=count_left; ~~~~~^~~~~~~~~~~~ core_full/string.h:5:13: note: 'count_left' was declared here Bitu count,count_left; ^~~~~~~~~~ In file included from core_full/load.h:21, from core_full.cpp:82: core_full/ea_lookup.h:233:28: warning: 'off' may be used uninitialized in this function [-Wmaybe-uninitialized] inst.rm_eaa=inst.seg.base+off; ~~~~~~~~~~~~~^~~~ core_full/ea_lookup.h:131:9: note: 'off' was declared here Bit32u off; ^~~ core_full/ea_lookup.h:235:23: warning: 'seg_base' may be used uninitialized in this function [-Wmaybe-uninitialized] inst.rm_eaa=seg_base+off; ~~~~~~~~^~~~ core_full/ea_lookup.h:130:10: note: 'seg_base' was declared here EAPoint seg_base; ^~~~~~~~ core_full/ea_lookup.h:3:9: warning: 'off' may be used uninitialized in this function [-Wmaybe-uninitialized] Bit16u off; ^~~ core_full/ea_lookup.h:108:23: warning: 'seg_base' may be used uninitialized in this function [-Wmaybe-uninitialized] inst.rm_eaa=seg_base+off; ~~~~~~~~^~~~ core_full/ea_lookup.h:2:10: note: 'seg_base' was declared here EAPoint seg_base; ^~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if (written>block->cache.size+CACHE_MAXSIZE) E_Exit("CacheBlock overrun 1 %d",written-block->cache.size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ core_dynrec/cache.h:504:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ core_dynrec/cache.h:504:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] In file included from 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:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((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:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((Bit32u*)(&core_dynrec.readdata))=host_readd(tlb_addr+address); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from core_dynrec/decoder.h:24, from core_dynrec.cpp:155: core_dynrec/decoder_opcodes.h: In function 'void dyn_loop(LoopTypes)': core_dynrec/decoder_opcodes.h:1135:9: warning: enumeration value 'LOOP_NONE' not handled in switch [-Wswitch] switch (type) { ^ core_dynrec/decoder_opcodes.h:1135:9: warning: enumeration value 'LOOP_JCXZ' not handled in switch [-Wswitch] In file included from core_dynrec/decoder.h:26, from core_dynrec.cpp:155: core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc3()': core_dynrec/dyn_fpu.h:386:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ core_dynrec/dyn_fpu.h:386:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] In file included from core_dynrec/decoder.h:22, from core_dynrec.cpp:155: core_dynrec/decoder_basic.h: In function 'void dyn_fill_ea(HostReg, bool)': core_dynrec/decoder_basic.h:952:9: warning: 'base_reg' may be used uninitialized in this function [-Wmaybe-uninitialized] Bit8u base_reg; ^~~~~~~~ core_dynrec/decoder_basic.h:940:24: warning: 'imm' may be used uninitialized in this function [-Wmaybe-uninitialized] if (imm) gen_add_imm(ea_reg,(Bit32u)imm); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o core_simple.o core_simple.cpp In file included from core_simple.cpp:130: core_normal/string.h: In function 'void DoString(STRING_OP)': core_normal/string.h:228:8: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized] count+=count_left; ~~~~~^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o core_prefetch.o core_prefetch.cpp In file included from core_prefetch.cpp:205: core_normal/string.h: In function 'void DoString(STRING_OP)': core_normal/string.h:228:8: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized] count+=count_left; ~~~~~^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o core_normal.o core_normal.cpp In file included from core_normal.cpp:134: core_normal/string.h: In function 'void DoString(STRING_OP)': core_normal/string.h:228:8: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized] count+=count_left; ~~~~~^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 ranlib libcpu.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' Making all in debug make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o debug.o debug.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o debug_gui.o debug_gui.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o debug_win32.o debug_win32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o debug_disasm.o debug_disasm.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' rm -f libdebug.a ar cru libdebug.a debug.o debug_gui.o debug_disasm.o debug_win32.o ranlib libdebug.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' Making all in dos make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_ioctl.o dos_ioctl.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_memory.o dos_memory.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_misc.o dos_misc.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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] #define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m)) ~^~~~~~~~~ dos_classes.cpp:41:26: note: in expansion of macro 'sGet' overlay.loadseg=(Bit16u)sGet(sOverlay,loadseg); ^~~~ ../../include/dos_inc.h:254:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define sGet(s,m) GetIt(sizeof(((s *)&pt)->m),(PhysPt)sOffset(s,m)) ~^~~~~~~~~ dos_classes.cpp:42:29: note: in expansion of macro 'sGet' overlay.relocation=(Bit16u)sGet(sOverlay,relocation); ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_execute.o dos_execute.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_devices.o dos_devices.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos.o dos.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_tables.o dos_tables.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o drive_virtual.o drive_virtual.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o drives.o drives.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_files.o dos_files.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o drive_local.o drive_local.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cdrom_ioctl_win32.o cdrom_ioctl_win32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cdrom_aspi_win32.o cdrom_aspi_win32.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o drive_iso.o drive_iso.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o drive_fat.o drive_fat.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cdrom_ioctl_linux.o cdrom_ioctl_linux.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cdrom.o cdrom.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o drive_cache.o drive_cache.cpp drive_cache.cpp: In member function 'Bits DOS_Drive_Cache::GetLongName(DOS_Drive_Cache::CFileInfo*, char*)': drive_cache.cpp:452:21: warning: comparison of integer expressions of different signedness: 'Bits' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for (Bits i = 0; i < filelist_size; i++) { ~~^~~~~~~~~~~~~~~ drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(DOS_Drive_Cache::CFileInfo*, DOS_Drive_Cache::CFileInfo*)': drive_cache.cpp:517:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buffer,"%d",info->shortNr); ^~~~ ~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_programs.o dos_programs.cpp dos_programs.cpp: In member function 'virtual void BOOT::Run()': dos_programs.cpp:671:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, rombytesize_1-0x200, usefile_1); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.cpp:757:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, 0x200, usefile_2); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.cpp:762:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, rombytesize_2-0x200, usefile_2); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.cpp:770:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, 0x200, usefile_1); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_programs.cpp:775:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rombuf, 1, rombytesize_1-0x200, usefile_1); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cdrom_ioctl_os2.o cdrom_ioctl_os2.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dos_mscdex.o dos_mscdex.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:27: warning: variable 'font_data_length' set but not used [-Wunused-but-set-variable] 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:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rbuf, sizeof(Bit8u), 2, tempfile); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp:184:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(rbuf, sizeof(Bit8u), 1, tempfile); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp: In member function 'Bitu keyboard_layout::read_codepage_file(const char*, Bit32s)': dos_keyboard_layout.cpp:797:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp:799:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp:801:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp:803:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&next_byte, sizeof(Bit8u), 1, tempfile); found_at_pos++; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dos_keyboard_layout.cpp:806:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&next_byte, sizeof(Bit8u), 1, tempfile); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cdrom_image.o cdrom_image.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 ranlib libdos.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' Making all in fpu make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o fpu.o fpu.cpp fpu.cpp: In function 'void FPU_ESC3_Normal(Bitu)': fpu.cpp:389:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",group,sub); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ fpu.cpp:389:11: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/fpu' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/fpu' rm -f libfpu.a ar cru libfpu.a fpu.o ranlib libfpu.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/fpu' Making all in gui make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o sdl_gui.o sdl_gui.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(device,buf,pos); ~~~~~^~~~~~~~~~~~~~~~ midi_oss.h: In member function 'virtual void MidiHandler_oss::PlayMsg(Bit8u*)': midi_oss.h:58:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(device,buf,pos); ~~~~~^~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o render.o render.cpp render.cpp: In function 'void RENDER_Reset()': render.cpp:383:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ render.cpp:385:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ render.cpp:484:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("RENDER:Wrong source bpp %d", render.src.bpp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ render.cpp: In function 'void IncreaseFrameSkip(bool)': render.cpp:543:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Frame Skip at %d",render.frameskip.max); ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ render.cpp: In function 'void DecreaseFrameSkip(bool)': render.cpp:551:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Frame Skip at %d",render.frameskip.max); ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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 #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2050, from /usr/include/SDL/SDL_opengl.h:46, from sdlmain.cpp:58: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20190805 sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)': sdlmain.cpp:294:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] sprintf(title,"DOSBox %s, Cpu speed: max %3d%% cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ sdlmain.cpp:296:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=] sprintf(title,"DOSBox %s, Cpu speed: %8d cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ sdlmain.cpp: In function 'Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)': sdlmain.cpp:536:37: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if (sdl.surface == NULL) E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",sdl.desktop.full.width,sdl.desktop.full.height,bpp,SDL_GetError()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdlmain.cpp:543:13: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdlmain.cpp:567:12: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s axis %d %d",group->ConfigStart(),axis,positive ? 1 : 0); ^~~~~~~~~~~~~~~ ~~~~ sdl_mapper.cpp: In member function 'virtual void CJAxisBind::BindName(char*)': sdl_mapper.cpp:547:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s Axis %d%s",group->BindStart(),axis,positive ? "+" : "-"); ^~~~~~~~~~~~~~ ~~~~ sdl_mapper.cpp: In member function 'virtual void CJButtonBind::ConfigName(char*)': sdl_mapper.cpp:562:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s button %d",group->ConfigStart(),button); ^~~~~~~~~~~~~~ ~~~~~~ sdl_mapper.cpp: In member function 'virtual void CJButtonBind::BindName(char*)': sdl_mapper.cpp:565:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s Button %d",group->BindStart(),button); ^~~~~~~~~~~~~~ ~~~~~~ sdl_mapper.cpp: In member function 'virtual void CJHatBind::ConfigName(char*)': sdl_mapper.cpp:586:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s hat %d %d",group->ConfigStart(),hat,dir); ^~~~~~~~~~~~~~ ~~~ sdl_mapper.cpp: In member function 'virtual void CJHatBind::BindName(char*)': sdl_mapper.cpp:589:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s Hat %d %s",group->BindStart(),hat,(dir==SDL_HAT_UP)?"up": ^~~~~~~~~~~~~~ ~~~ sdl_mapper.cpp: In constructor 'CStickBindGroup::CStickBindGroup(Bitu, Bitu, bool)': sdl_mapper.cpp:606:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(configname,"stick_%d",emustick); ^~~~~~~~~~ ~~~~~~~~ sdl_mapper.cpp:659:11: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ sdl_mapper.cpp:659:11: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp:659:11: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp: In member function 'void CHandlerEvent::MakeDefaultBind(char*)': sdl_mapper.cpp:1588:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%s \"key %d%s%s%s\"", ^~~~~~~~~~~~~~~~~~~~~ sdl_mapper.cpp:1590:4: key, ~~~ sdl_mapper.cpp: In function 'CJAxisEvent* AddJAxisButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu, bool, CJAxisEvent*)': sdl_mapper.cpp:1688:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); ^~~~~~~~~~~~~~~ ~~~~~ sdl_mapper.cpp:1688:14: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp: In function 'CJAxisEvent* AddJAxisButton_hidden(Bitu, Bitu, bool, CJAxisEvent*)': sdl_mapper.cpp:1695:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-"); ^~~~~~~~~~~~~~~ ~~~~~ sdl_mapper.cpp:1695:14: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp: In function 'void AddJButtonButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu)': sdl_mapper.cpp:1701:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jbutton_%d_%d",stick,button); ^~~~~~~~~~~~~~~ ~~~~~ sdl_mapper.cpp:1701:14: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp: In function 'void AddJButtonButton_hidden(Bitu, Bitu)': sdl_mapper.cpp:1707:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jbutton_%d_%d",stick,button); ^~~~~~~~~~~~~~~ ~~~~~ sdl_mapper.cpp:1707:14: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp: In function 'void AddJHatButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu, Bitu)': sdl_mapper.cpp:1713:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir); ^~~~~~~~~~~~~~~ ~~~~~~ sdl_mapper.cpp:1713:14: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp:1713:14: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sdl_mapper.cpp: In function 'void AddModButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu)': sdl_mapper.cpp:1720:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"mod_%d",_mod); ^~~~~~~~ ~~~~ sdl_mapper.cpp: In function 'void CreateDefaultBinds()': sdl_mapper.cpp:2061:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buffer,"key_%s \"key %d\"",DefaultKeys[i].eventend,DefaultKeys[i].key); ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o render_scalers.o render_scalers.cpp render_templates.h:532:21: warning: 'void AdvMame3x_15_L()' defined but not used [-Wunused-function] #define SCALERNAME AdvMame3x ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:532:21: warning: 'void AdvMame3x_15_R()' defined but not used [-Wunused-function] #define SCALERNAME AdvMame3x ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:513:21: warning: 'void AdvMame2x_15_L()' defined but not used [-Wunused-function] #define SCALERNAME AdvMame2x ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:513:21: warning: 'void AdvMame2x_15_R()' defined but not used [-Wunused-function] #define SCALERNAME AdvMame2x ^~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:456:21: warning: 'void _2xSaI_15_L()' defined but not used [-Wunused-function] #define SCALERNAME _2xSaI ^~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:456:21: warning: 'void _2xSaI_15_R()' defined but not used [-Wunused-function] #define SCALERNAME _2xSaI ^~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:446:21: warning: 'void SuperEagle_15_L()' defined but not used [-Wunused-function] #define SCALERNAME SuperEagle ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:446:21: warning: 'void SuperEagle_15_R()' defined but not used [-Wunused-function] #define SCALERNAME SuperEagle ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:436:21: warning: 'void Super2xSaI_15_L()' defined but not used [-Wunused-function] #define SCALERNAME Super2xSaI ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:436:21: warning: 'void Super2xSaI_15_R()' defined but not used [-Wunused-function] #define SCALERNAME Super2xSaI ^~~~~~~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:423:21: warning: 'void HQ3x_15_L()' defined but not used [-Wunused-function] #define SCALERNAME HQ3x ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:423:21: warning: 'void HQ3x_15_R()' defined but not used [-Wunused-function] #define SCALERNAME HQ3x ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:412:21: warning: 'void HQ2x_15_L()' defined but not used [-Wunused-function] #define SCALERNAME HQ2x ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:20:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~ render_loops.h:20:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,L)(void) { ^~~~~~~~~~ render_templates.h:412:21: warning: 'void HQ2x_15_R()' defined but not used [-Wunused-function] #define SCALERNAME HQ2x ^~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_loops.h:22:13: note: in expansion of macro 'conc3d' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~ render_loops.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc3d(SCALERNAME,SBPP,R)(void) { ^~~~~~~~~~ render_templates.h:272:21: warning: 'void NormalDh_9_8_L(const void*)' defined but not used [-Wunused-function] #define SCALERNAME NormalDh ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~~~~~ render_templates.h:272:21: warning: 'void NormalDh_9_8_R(const void*)' defined but not used [-Wunused-function] #define SCALERNAME NormalDh ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~~~~~ render_templates.h:260:21: warning: 'void NormalDw_9_8_L(const void*)' defined but not used [-Wunused-function] #define SCALERNAME NormalDw ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~~~~~ render_templates.h:260:21: warning: 'void NormalDw_9_8_R(const void*)' defined but not used [-Wunused-function] #define SCALERNAME NormalDw ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~~~~~ render_templates.h:241:21: warning: 'void Normal3x_9_8_L(const void*)' defined but not used [-Wunused-function] #define SCALERNAME Normal3x ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~~~~~ render_templates.h:241:21: warning: 'void Normal3x_9_8_R(const void*)' defined but not used [-Wunused-function] #define SCALERNAME Normal3x ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~~~~~ render_templates.h:227:21: warning: 'void Normal2x_9_8_L(const void*)' defined but not used [-Wunused-function] #define SCALERNAME Normal2x ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~~~~~ render_templates.h:227:21: warning: 'void Normal2x_9_8_R(const void*)' defined but not used [-Wunused-function] #define SCALERNAME Normal2x ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~~~~~ render_templates.h:216:21: warning: 'void Normal1x_9_8_L(const void*)' defined but not used [-Wunused-function] #define SCALERNAME Normal1x ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~ render_simple.h:22:20: note: in expansion of macro 'SCALERNAME' static void conc4d(SCALERNAME,SBPP,DBPP,L)(const void *s) { ^~~~~~~~~~ render_templates.h:216:21: warning: 'void Normal1x_9_8_R(const void*)' defined but not used [-Wunused-function] #define SCALERNAME Normal1x ^~~~~~~~ render_scalers.cpp:47:31: note: in definition of macro '_conc7' #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' static void conc4d(SCALERNAME,SBPP,DBPP,R)(const void *s) { ^~~~~~ render_simple.h:24:20: note: in expansion of macro 'SCALERNAME' 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] static void conc3d(Cache,SBPP,DBPP) (const void * s) { ^~~~~ render_scalers.cpp:46:27: note: in definition of macro '_conc5' #define _conc5(A,B,C,D,E) A ## B ## C ## D ## E ^ render_templates.h:156:13: note: in expansion of macro 'conc3d' static void conc3d(Cache,SBPP,DBPP) (const void * s) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 ranlib libgui.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' Making all in hardware Making all in serialport make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o libserial.o libserial.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:43: warning: comparison of integer expressions of different signedness: 'int' and 'Bitu' {aka 'long unsigned int'} [-Wsign-compare] if(SDLNet_TCP_Send(mysock, data, bufsize)!=bufsize) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ misc_util.cpp: In member function 'bool TCPClientSocket::SendByteBuffered(Bit8u)': misc_util.cpp:244:57: warning: comparison of integer expressions of different signedness: 'int' and 'Bitu' {aka 'long unsigned int'} [-Wsign-compare] if(SDLNet_TCP_Send(mysock, sendbuffer, sendbuffersize)!=sendbuffersize) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ misc_util.cpp: In member function 'void TCPClientSocket::FlushBuffer()': misc_util.cpp:276:20: warning: comparison of integer expressions of different signedness: 'int' and 'Bitu' {aka 'long unsigned int'} [-Wsign-compare] if(SDLNet_TCP_Send(mysock, sendbuffer, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendbufferindex)!=sendbufferindex) { ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o directserial.o directserial.cpp directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)': directserial.cpp:46:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG ("Serial%d: Opening %s", COMNUMBER, tmpstring.c_str()); ^~~~~~~~~~~~~~~~~~~~~~ directserial.cpp:50:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Serial Port \"%s\" could not be opened.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)': directserial.cpp:277:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ directserial.cpp:277:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)': directserial.cpp:294:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: COM port error: write failed!", COMNUMBER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o serialdummy.o serialdummy.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o nullmodem.o nullmodem.cpp nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)': nullmodem.cpp:108:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Connection failed.",COMNUMBER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp:121:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Connected to %s",COMNUMBER,peernamebuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp:136:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: -socket start parameter missing.",COMNUMBER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp:141:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: socket inheritance not supported on this platform.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp:163:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Waiting for DTR...",COMNUMBER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp:170:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Nullmodem server waiting for connection on port %d...", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp: In member function 'void CNullModem::ClientConnect()': nullmodem.cpp:226:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Connection failed.",idnumber+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ nullmodem.cpp:236:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Connected to %s",idnumber+1,peernamebuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ nullmodem.cpp: In member function 'void CNullModem::Disconnect()': nullmodem.cpp:244:10: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Disconnected.",COMNUMBER); ^~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp: In member function 'virtual void CNullModem::handleUpperEvent(Bit16u)': nullmodem.cpp:388:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)': nullmodem.cpp:462:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:13: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': softmodem.h:129:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ softmodem.cpp: In member function 'void CSerialModem::SendRes(ResTypes)': softmodem.cpp:149:9: warning: enumeration value 'ResBUSY' not handled in switch [-Wswitch] switch (response) ^ softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()': softmodem.cpp:274:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(waitingclientsocket=serversocket->Accept()) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ softmodem.cpp:280:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ softmodem.cpp:280:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] softmodem.cpp:283:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ softmodem.cpp:283:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] softmodem.cpp: In member function 'void CSerialModem::DoCommand()': softmodem.cpp:513:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Modem: Unhandled command: &%c%d",cmdchar,ScanNumber(scanbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ softmodem.cpp:533:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Modem: Unhandled command: \\%c%d",cmdchar, ScanNumber(scanbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ softmodem.cpp:542:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Modem: Unhandled command: %c%d",chr,ScanNumber(scanbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ softmodem.cpp: In member function 'void CSerialModem::Timer2()': softmodem.cpp:651:16: warning: unused variable 'args' [-Wunused-variable] unsigned long args = 1; ^~~~ softmodem.cpp: In member function 'void CSerialModem::SendRes(ResTypes)': softmodem.cpp:163:33: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] if(numericresponse) SendNumber(code); ~~~~~~~~~~^~~~~~ softmodem.cpp:173:10: warning: 'string' may be used uninitialized in this function [-Wmaybe-uninitialized] LOG_MSG("Modem response: %s", string); make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:13: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)': softmodem.h:129:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ serialport.cpp: In member function 'void CSerial::handleEvent(Bit16u)': serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Serial%d: Errors: "\ ^~~~~~~~~~~~~~~~~~~~~ "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] serialport.cpp:272:12: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] serialport.cpp: In static member function 'static bool CSerial::getBituSubstring(const char*, Bitu*, CommandLine*)': serialport.cpp:1140:20: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'Bitu*' {aka 'long unsigned int*'} [-Wformat=] if(sscanf(tmpchar,"%u",data)!=1) return false; ^~~~ ~~~~ serialport.cpp: In constructor 'SERIALPORTS::SERIALPORTS(Section*)': serialport.cpp:1264:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Invalid type for serial%d",i+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 ranlib libserial.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' Making all in mame make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:74: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 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:117:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] static void auto_free(const device_t::machine_t& machine, void * buffer) { ^~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o saa1099.o saa1099.cpp In file included from saa1099.cpp:70: emu.h:117:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] static void auto_free(const device_t::machine_t& machine, void * buffer) { ^~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/mame' rm -f libmame.a ar cru libmame.a saa1099.o sn76496.o ranlib libmame.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o keyboard.o keyboard.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o gameblaster.o gameblaster.cpp gameblaster.cpp: In constructor 'CMS::CMS(Section*)': gameblaster.cpp:148:10: warning: unused variable 'freq' [-Wunused-variable] Bit32u freq = 7159000; //14318180 isa clock / 2 ^~~~ gameblaster.cpp: In destructor 'virtual CMS::~CMS()': gameblaster.cpp:160:18: warning: deleting object of polymorphic class type 'saa1099_device' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete device[0]; ^ gameblaster.cpp:161:18: warning: deleting object of polymorphic class type 'saa1099_device' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete device[1]; ^ In file included from gameblaster.cpp:30: mame/emu.h: At global scope: mame/emu.h:117:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] static void auto_free(const device_t::machine_t& machine, void * buffer) { ^~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else E_Exit("IO_readHandler allready installed port %x",port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ iohandler.cpp: In member function 'void IO_WriteHandleObject::Install(Bitu, void (*)(Bitu, Bitu, Bitu), Bitu, Bitu)': iohandler.cpp:134:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] } else E_Exit("IO_writeHandler allready installed port %x",port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o joystick.o joystick.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o dma.o dma.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o memory.o memory.cpp memory.cpp: In function 'bool mem_unalignedwritew_checked(PhysPt, Bit16u)': memory.cpp:477:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; ^~ memory.cpp:477:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 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:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; ^~ memory.cpp:483:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (mem_writeb_checked(address,(Bit8u)(val & 0xff))) return true;val>>=8; ^~~ memory.cpp:484:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (mem_writeb_checked(address+1,(Bit8u)(val & 0xff))) return true;val>>=8; ^~ memory.cpp:484:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (mem_writeb_checked(address+1,(Bit8u)(val & 0xff))) return true;val>>=8; ^~~ memory.cpp:485:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (mem_writeb_checked(address+2,(Bit8u)(val & 0xff))) return true;val>>=8; ^~ memory.cpp:485:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (mem_writeb_checked(address+2,(Bit8u)(val & 0xff))) return true;val>>=8; ^~~ memory.cpp: In constructor 'MEMORY::MEMORY(Section*)': memory.cpp:564:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o pcspeaker.o pcspeaker.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga.o vga.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o tandy_sound.o tandy_sound.cpp tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)': tandy_sound.cpp:230:10: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("Tandy DAC: Read from unknown %X",port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ In file included from tandy_sound.cpp:33: mame/emu.h: At global scope: mame/emu.h:117:13: warning: 'void auto_free(const device_t::machine_t&, void*)' defined but not used [-Wunused-function] 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] static Bit32u dma_wrapping = 0xffff; ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o pic.o pic.cpp pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)': pic.cpp:204:29: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ pic.cpp:205:30: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_attr.o vga_attr.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:10: warning: enumeration value 'ZMBV_FORMAT_NONE' not handled in switch [-Wswitch] switch (format) { ^ ../libs/zmbv/zmbv.cpp:342:10: warning: enumeration value 'ZMBV_FORMAT_1BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:342:10: warning: enumeration value 'ZMBV_FORMAT_2BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:342:10: warning: enumeration value 'ZMBV_FORMAT_4BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:342:10: warning: enumeration value 'ZMBV_FORMAT_24BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:363:6: warning: unused variable 'res' [-Wunused-variable] int res = deflate(&zstream, Z_SYNC_FLUSH); ^~~ In file included from hardware.cpp:36: ../libs/zmbv/zmbv.cpp: In member function 'bool VideoCodec::DecompressFrame(void*, int)': ../libs/zmbv/zmbv.cpp:463:10: warning: enumeration value 'ZMBV_FORMAT_NONE' not handled in switch [-Wswitch] switch (format) { ^ ../libs/zmbv/zmbv.cpp:463:10: warning: enumeration value 'ZMBV_FORMAT_1BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:463:10: warning: enumeration value 'ZMBV_FORMAT_2BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:463:10: warning: enumeration value 'ZMBV_FORMAT_4BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:463:10: warning: enumeration value 'ZMBV_FORMAT_24BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:433:6: warning: unused variable 'res' [-Wunused-variable] int res = inflate(&zstream, Z_FINISH); ^~~ ../libs/zmbv/zmbv.cpp: In member function 'void VideoCodec::Output_UpsideDown_24(void*)': ../libs/zmbv/zmbv.cpp:487:10: warning: enumeration value 'ZMBV_FORMAT_NONE' not handled in switch [-Wswitch] switch (format) { ^ ../libs/zmbv/zmbv.cpp:487:10: warning: enumeration value 'ZMBV_FORMAT_1BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:487:10: warning: enumeration value 'ZMBV_FORMAT_2BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:487:10: warning: enumeration value 'ZMBV_FORMAT_4BPP' not handled in switch [-Wswitch] ../libs/zmbv/zmbv.cpp:487:10: warning: enumeration value 'ZMBV_FORMAT_24BPP' not handled in switch [-Wswitch] hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)': hardware.cpp:122:20: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext); ^~~~~~~~~~~~~~ ~~~~ In file included from hardware.cpp:36: ../libs/zmbv/zmbv.cpp: In instantiation of 'void VideoCodec::AddXorFrame() [with P = char]': ../libs/zmbv/zmbv.cpp:344:22: required from here ../libs/zmbv/zmbv.cpp:197:6: warning: unused variable 'written' [-Wunused-variable] int written=0; ^~~~~~~ ../libs/zmbv/zmbv.cpp:198:6: warning: unused variable 'lastvector' [-Wunused-variable] int lastvector=0; ^~~~~~~~~~ ../libs/zmbv/zmbv.cpp:202:6: warning: unused variable 'totalx' [-Wunused-variable] int totalx=0; ^~~~~~ ../libs/zmbv/zmbv.cpp:203:6: warning: unused variable 'totaly' [-Wunused-variable] int totaly=0; ^~~~~~ ../libs/zmbv/zmbv.cpp: In instantiation of 'void VideoCodec::AddXorFrame() [with P = short int]': ../libs/zmbv/zmbv.cpp:348:23: required from here ../libs/zmbv/zmbv.cpp:197:6: warning: unused variable 'written' [-Wunused-variable] int written=0; ^~~~~~~ ../libs/zmbv/zmbv.cpp:198:6: warning: unused variable 'lastvector' [-Wunused-variable] int lastvector=0; ^~~~~~~~~~ ../libs/zmbv/zmbv.cpp:202:6: warning: unused variable 'totalx' [-Wunused-variable] int totalx=0; ^~~~~~ ../libs/zmbv/zmbv.cpp:203:6: warning: unused variable 'totaly' [-Wunused-variable] int totaly=0; ^~~~~~ ../libs/zmbv/zmbv.cpp: In instantiation of 'void VideoCodec::AddXorFrame() [with P = long int]': ../libs/zmbv/zmbv.cpp:351:22: required from here ../libs/zmbv/zmbv.cpp:197:6: warning: unused variable 'written' [-Wunused-variable] int written=0; ^~~~~~~ ../libs/zmbv/zmbv.cpp:198:6: warning: unused variable 'lastvector' [-Wunused-variable] int lastvector=0; ^~~~~~~~~~ ../libs/zmbv/zmbv.cpp:202:6: warning: unused variable 'totalx' [-Wunused-variable] int totalx=0; ^~~~~~ ../libs/zmbv/zmbv.cpp:203:6: warning: unused variable 'totaly' [-Wunused-variable] int totaly=0; ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_crtc.o vga_crtc.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_dac.o vga_dac.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o mixer.o mixer.cpp mixer.cpp: In function 'void MIXER_Init(Section*)': mixer.cpp:655:18: warning: comparison of integer expressions of different signedness: 'Bit32u' {aka 'unsigned int'} and 'int' [-Wsign-compare] if((mixer.freq != obtained.freq) || (mixer.blocksize != obtained.samples)) ~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_gfx.o vga_gfx.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_seq.o vga_seq.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_misc.o vga_misc.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o timer.o timer.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:42: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] return vga.s3.mclk.n || (vga.s3.mclk.r << 5); ~~~~~~~~~~~~~~~^~~~~ vga_s3.cpp:487:46: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] return vga.s3.clk[3].n || (vga.s3.clk[3].r << 5); ~~~~~~~~~~~~~~~~~^~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:9: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] switch (vga.mode) { ^ vga_other.cpp:240:9: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:12: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: Unhandled multifunction command %x", regselect); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawLineVector(Bitu)': vga_xga.cpp:329:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawLineBresenham(Bitu)': vga_xga.cpp:433:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawRectangle(Bitu)': vga_xga.cpp:505:14: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: DrawRect: Needs mixmode %x", mixmode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawWait(Bitu, Bitu)': vga_xga.cpp:642:16: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: unsupported bpp / datawidth combination %x", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xga.waitcmd.buswidth); ~~~~~~~~~~~~~~~~~~~~ vga_xga.cpp:690:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: DrawBlitWait: Unsupported src %x", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (mixmode >> 5) & 0x03); ~~~~~~~~~~~~~~~~~~~~~ vga_xga.cpp:710:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] LOG_MSG("XGA: DrawBlitWait: Unhandled mixmode: %d", mixmode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ vga_xga.cpp: In function 'void XGA_SetDualReg(Bit32u&, Bitu)': vga_xga.cpp:976:8: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] switch(XGA_COLOR_MODE) { ^ vga_xga.cpp:976:8: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:976:8: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] vga_xga.cpp: In function 'Bitu XGA_GetDualReg(Bit32u)': vga_xga.cpp:995:8: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] switch(XGA_COLOR_MODE) { ^ vga_xga.cpp:995:8: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] vga_xga.cpp:995:8: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_xga.cpp:995:8: 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:17: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ vga_xga.cpp:1167:17: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_xga.cpp:1167:17: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] vga_xga.cpp: In function 'void XGA_DrawLineVector(Bitu)': vga_xga.cpp:324:31: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized] destval = XGA_GetMixResult(mixmode, srcval, dstdata); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawLineBresenham(Bitu)': vga_xga.cpp:423:32: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized] destval = XGA_GetMixResult(mixmode, srcval, dstdata); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawRectangle(Bitu)': vga_xga.cpp:500:32: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized] destval = XGA_GetMixResult(mixmode, srcval, dstdata); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawWait(Bitu, Bitu)': vga_xga.cpp:672:24: warning: 'chunks' may be used uninitialized in this function [-Wmaybe-uninitialized] for(Bitu k = 0; k < chunks; k++) { // chunks counter ~~^~~~~~~~ vga_xga.cpp:674:25: warning: 'chunksize' may be used uninitialized in this function [-Wmaybe-uninitialized] for(Bitu n = 0; n < chunksize; n++) { // pixels ~~^~~~~~~~~~~ vga_xga.cpp: In function 'void XGA_BlitRect(Bitu)': vga_xga.cpp:800:30: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized] destval = XGA_GetMixResult(mixmode, srcval, dstdata); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ vga_xga.cpp: In function 'void XGA_DrawPattern(Bitu)': vga_xga.cpp:886:30: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized] destval = XGA_GetMixResult(mixmode, srcval, dstdata); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o sblaster.o sblaster.cpp sblaster.cpp: In function 'void DSP_DoDMATransfer(DMA_MODES, Bitu, bool)': sblaster.cpp:591:15: warning: variable 'type' set but not used [-Wunused-but-set-variable] 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] static Bit32u dma_wrapping = 0xffff; ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_paradise.o vga_paradise.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_draw.o vga_draw.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (Bitu i=0x16; i<=0x21; i++) ^~~ vga_tseng.cpp:706:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' IO_Write(crtc_base,i);IO_Write(crtc_base+1,0); ^~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cmos.o cmos.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o ipxserver.o ipxserver.cpp ipxserver.cpp: In function 'void ackClient(IPaddress)': ipxserver.cpp:129:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] Bits result; ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o disney.o disney.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o adlib.o adlib.cpp adlib.cpp: In constructor 'Adlib::Module::Module(Section*)': adlib.cpp:657:9: warning: enumeration value 'OPL_none' not handled in switch [-Wswitch] switch ( oplmode ) { ^ adlib.cpp:657:9: 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] static void SaveRad() { ^~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o mpu401.o mpu401.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o vga_memory.o vga_memory.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o ipx.o ipx.cpp ipx.cpp: In function 'void pingAck(IPaddress)': ipx.cpp:513:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] Bits result; ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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] static Bit32u dma_wrapping = 0xffff; ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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::SynthMode)11; Bit32u = unsigned int; Bit32s = int]': dbopl.cpp:1035:38: required from here dbopl.cpp:848:2: warning: enumeration value 'sm3Percussion' not handled in switch [-Wswitch] switch( mode ) { ^~~~~~ dbopl.cpp:938:3: warning: enumeration value 'sm3Percussion' not handled in switch [-Wswitch] switch( mode ) { ^~~~~~ dbopl.cpp: In instantiation of 'DBOPL::Channel* DBOPL::Channel::BlockTemplate(DBOPL::Chip*, Bit32u, Bit32s*) [with DBOPL::SynthMode mode = (DBOPL::SynthMode)10; Bit32u = unsigned int; Bit32s = int]': dbopl.cpp:1037:38: required from here dbopl.cpp:848:2: warning: enumeration value 'sm2Percussion' not handled in switch [-Wswitch] switch( mode ) { ^~~~~~ dbopl.cpp:938:3: warning: enumeration value 'sm2Percussion' not handled in switch [-Wswitch] switch( mode ) { ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 ranlib libhardware.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/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 -mno-ms-bitfields -c -o gui_tk.o gui_tk.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs/gui_tk' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs/gui_tk' rm -f libgui_tk.a ar cru libgui_tk.a gui_tk.o ranlib libgui_tk.a make[4]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/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 -mno-ms-bitfields -c -o int10_misc.o int10_misc.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o int10_memory.o int10_memory.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:10: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] switch (machine) { ^ int10_char.cpp:546:10: warning: enumeration value 'MCH_TANDY' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:9: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] switch (machine) { ^ int10_pal.cpp:37:9: warning: enumeration value 'MCH_CGA' not handled in switch [-Wswitch] int10_pal.cpp: In function 'void INT10_SetOverscanBorderColor(Bit8u)': int10_pal.cpp:56:9: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] switch (machine) { ^ int10_pal.cpp:56:9: warning: enumeration value 'MCH_CGA' not handled in switch [-Wswitch] int10_pal.cpp: In function 'void INT10_SetAllPaletteRegisters(PhysPt)': int10_pal.cpp:71:9: warning: enumeration value 'MCH_HERC' not handled in switch [-Wswitch] switch (machine) { ^ int10_pal.cpp:71:9: warning: enumeration value 'MCH_CGA' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o int10.o int10.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o xms.o xms.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o int10_vptable.o int10_vptable.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o int10_put_pixel.o int10_put_pixel.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o int10_modes.o int10_modes.cpp int10_modes.cpp: In function 'void FinishSetMode(bool)': int10_modes.cpp:380:10: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:380:10: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:380:10: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:380:10: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:380:10: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:380:10: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:380:10: 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:9: warning: enumeration value 'MCH_EGA' not handled in switch [-Wswitch] switch (machine) { ^ int10_modes.cpp:439:9: warning: enumeration value 'MCH_VGA' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] switch(CurMode->type) { ^ int10_modes.cpp:482:8: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:482:8: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:516:9: warning: enumeration value 'MCH_EGA' not handled in switch [-Wswitch] switch (machine) { ^ int10_modes.cpp:516:9: warning: enumeration value 'MCH_VGA' not handled in switch [-Wswitch] int10_modes.cpp: In function 'bool INT10_SetVideoMode(Bit16u)': int10_modes.cpp:723:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:723:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:723:9: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:723:9: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:723:9: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:723:9: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:723:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:723:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:878:9: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:878:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:947:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:947:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:1020:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1020:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1058:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:1058:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1058:9: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1058:9: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1058:9: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1058:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1058:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1157:10: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:1157:10: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1157:10: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1157:10: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1157:10: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1157:10: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1157:10: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] switch (CurMode->type) { ^ int10_modes.cpp:1238:9: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1238:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] int10_modes.cpp: In function 'Bitu VideoModeMemSize(Bitu)': int10_modes.cpp:1401:8: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] switch(vmodeBlock->type) { ^ int10_modes.cpp:1401:8: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_CGA16' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_TANDY2' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_TANDY4' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_TANDY16' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] int10_modes.cpp:1401:8: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o int10_vesa.o int10_vesa.cpp int10_vesa.cpp: In function 'void INT10_SetupVESA()': int10_vesa.cpp:491:9: warning: enumeration value 'SVGA_None' not handled in switch [-Wswitch] switch (svgaCard) { ^ int10_vesa.cpp:491:9: warning: enumeration value 'SVGA_TsengET4K' not handled in switch [-Wswitch] int10_vesa.cpp:491:9: warning: enumeration value 'SVGA_TsengET3K' not handled in switch [-Wswitch] int10_vesa.cpp:491:9: warning: enumeration value 'SVGA_ParadisePVGA1A' not handled in switch [-Wswitch] make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o int10_video_state.o int10_video_state.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o mouse.o mouse.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o bios_keyboard.o bios_keyboard.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o bios_disk.o bios_disk.cpp bios_disk.cpp: In function 'void swapInDisks()': bios_disk.cpp:109:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bits' {aka 'long int'} [-Wformat=] LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ bios_disk.cpp:109:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bits' {aka 'long int'} [-Wformat=] bios_disk.cpp: In member function 'Bit8u imageDisk::Read_AbsoluteSector(Bit32u, void*)': bios_disk.cpp:154:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(data, 1, sector_size, diskimg); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o ems.o ems.cpp ems.cpp: In function 'Bit8u EMM_RestoreMappingTable()': ems.cpp:413:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] Bit8u result; ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o bios.o bios.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 ranlib libints.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' Making all in misc make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o cross.o cross.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o support.o support.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o messages.o messages.cpp messages.cpp: In function 'void LoadMessageFile(const char*)': messages.cpp:93:4: warning: value computed is not used [-Wunused-value] *parser++; ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o programs.o programs.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -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:36: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'Bitu*' {aka 'long unsigned int*'} [-Wformat=] if(sscanf(in.ToString().c_str(),"%u",&value) == 1) { ^~~~ ~~~~~~ setup.cpp: In member function 'bool Config::PrintConfig(const char*) const': setup.cpp:636:24: warning: field width specifier '*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] snprintf(prefix,80, "\n# %*s ", maxwidth, ""); ^~~~~~~~~~~ ~~~~~~~~ setup.cpp:644:22: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] fprintf(outfile, "# %*s: %s", maxwidth, p->propname.c_str(), help.c_str()); ^~~~~~~~~~~ ~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' rm -f libmisc.a ar cru libmisc.a cross.o messages.o programs.o setup.o support.o ranlib libmisc.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' Making all in shell make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o shell_batch.o shell_batch.cpp shell_batch.cpp: In member function 'virtual bool BatchFile::ReadLine(char*)': shell_batch.cpp:89:28: warning: variable 'env_write' set but not used [-Wunused-but-set-variable] char env_name[256];char * env_write; ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o shell_misc.o shell_misc.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o shell.o shell.cpp shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)': shell.cpp:391:11: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd(buffer,CROSS_LEN); ~~~~~~^~~~~~~~~~~~~~~~~~ shell.cpp:404:12: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd(buffer,CROSS_LEN); ~~~~~~^~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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 -mno-ms-bitfields -c -o shell_cmds.o shell_cmds.cpp shell_cmds.cpp: In function 'void FormatNumber(Bitu, char*)': shell_cmds.cpp:379:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb); ^~~~~~~~~~~~~~~~~~~ ~~~~ shell_cmds.cpp:379:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] shell_cmds.cpp:379:15: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] shell_cmds.cpp:379:15: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] shell_cmds.cpp:383:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%d,%03d,%03d",numm,numk,numb); ^~~~~~~~~~~~~~ ~~~~ shell_cmds.cpp:383:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] shell_cmds.cpp:383:15: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] shell_cmds.cpp:387:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%d,%03d",numk,numb); ^~~~~~~~~ ~~~~ shell_cmds.cpp:387:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] shell_cmds.cpp:390:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=] sprintf(buf,"%d",numb); ^~~~ ~~~~ shell_cmds.cpp: In member function 'void DOS_Shell::CMD_SET(char*)': shell_cmds.cpp:757:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!second) continue; *second++ = 0; ^~ shell_cmds.cpp:757:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!second) continue; *second++ = 0; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/shell' rm -f libshell.a ar cru libshell.a shell.o shell_batch.o shell_cmds.o shell_misc.o ranlib libshell.a make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/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 -mno-ms-bitfields -c -o dosbox.o dosbox.cpp dosbox.cpp: In function 'void DOSBOX_Init()': dosbox.cpp:383:17: warning: variable 'secline' set but not used [-Wunused-but-set-variable] Section_line * secline; ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src' x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.69872 + 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:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd dosbox-0.74.2 + 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.2' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src' Making install in cpu make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' Making install in core_full make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu/core_full' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/cpu/core_full' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu/core_full' Making install in core_normal make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu/core_normal' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/cpu/core_normal' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu/core_normal' Making install in core_dyn_x86 make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu/core_dyn_x86' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/cpu/core_dyn_x86' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu/core_dyn_x86' Making install in core_dynrec make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu/core_dynrec' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/cpu/core_dynrec' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu/core_dynrec' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/cpu' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/cpu' Making install in debug make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/debug' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/debug' Making install in dos make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/dos' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/dos' Making install in fpu make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/fpu' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/fpu' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/fpu' Making install in gui make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/gui' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/gui' Making install in hardware make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' Making install in serialport make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/hardware/serialport' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/serialport' Making install in mame make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/mame' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/hardware/mame' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware/mame' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/hardware' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/hardware' Making install in libs make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs' Making install in zmbv make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs/zmbv' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/libs/zmbv' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs/zmbv' Making install in gui_tk make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs/gui_tk' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/libs/gui_tk' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs/gui_tk' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/libs' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/libs' Making install in ints make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/ints' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/ints' Making install in misc make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/misc' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/misc' Making install in shell make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/shell' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/shell' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/shell' Making install in platform make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/platform' Making install in visualc make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/platform/visualc' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/platform/visualc' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/platform/visualc' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/platform' make[4]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/src/platform' make[3]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/platform' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src/platform' make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src' make[3]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src' /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.2/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/src' Making install in include make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/include' make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/include' make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/include' Making install in docs make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/docs' make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/docs' make[2]: Nothing to be done for 'install-exec-am'. /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.2/docs' make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/docs' Making install in visualc_net make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/visualc_net' make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2/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.2/visualc_net' make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2/visualc_net' make[1]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2' make[2]: Entering directory '/usr/src/RPM/BUILD/dosbox-0.74.2' 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.2' make[1]: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2' make: Leaving directory '/usr/src/RPM/BUILD/dosbox-0.74.2' + 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.2/ + unzip /usr/src/RPM/SOURCES/DOSBox-russian-lang.zip -d /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.2/ Archive: /usr/src/RPM/SOURCES/DOSBox-russian-lang.zip creating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.2/DOSBox-russian-lang/ inflating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.2/DOSBox-russian-lang/DOSBox 0.74 Manual RUS.txt inflating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.2/DOSBox-russian-lang/Instructions_RUS_ENG.txt inflating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.2/DOSBox-russian-lang/Video Instructions Rus.txt inflating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.2/DOSBox-russian-lang/russian.txt + cp AUTHORS ChangeLog NEWS README THANKS /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.2 + cp docs/README.video docs/PORTING /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74.2 + 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.2 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/dosbox-buildroot (auto) 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) mode of '/usr/src/tmp/dosbox-buildroot/usr/share/man/man1/dosbox-install.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) 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) Hardlinking identical .pyc and .pyo files Processing files: dosbox-0.74.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hevluZ find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7xntXR find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,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:leE244Z0qyVI5xcERlZxUIb8QXmQzbGbtUeCuI6qBr6wgIzdUzpAd0ZwqvUlbmVhVD7fV4IMXHx870tPEJ8dWHi0fcdiA69NWOUlQV1cP5QwNimmSWCBBUogDNsssl9Oe0X2QmmYpKU8CfzTZrZqeKa8OYp2, 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.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libm.so.6(GLIBC_2.27)(64bit), libncurses.so.5()(64bit) >= set:mhWiBzD9fQ3XoZIVWJ0uShBvWkrRG5bqcrD9IEbCkLZcZew1D1, libpng16.so.16()(64bit) >= set:lgHMixNOil0GJDjr0GPO8mwb8ZKf7F2UeOHa2bXOZG46, libpng16.so.16(PNG16_0)(64bit), libpthread.so.0(GLIBC_2.2.5)(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.9)(64bit), libtinfo.so.5()(64bit) >= set:lidIBtZyTGpUWw7R0, libz.so.1()(64bit) >= set:khdWbJdmGbSmKZdkZF0, 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.NY3iuV Creating dosbox-debuginfo package Processing files: dosbox-debuginfo-0.74.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1UP8s2 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.DVXMAc find-requires: running scripts (debuginfo) Requires: dosbox = 1:0.74.2-alt1, /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.5), debug64(libpng16.so.16), debug64(libpthread.so.0), debug64(libstdc++.so.6), debug64(libtinfo.so.5), debug64(libz.so.1) Adding to dosbox-debuginfo a strict dependency on dosbox Wrote: /usr/src/RPM/RPMS/x86_64/dosbox-0.74.2-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/dosbox-debuginfo-0.74.2-alt1.x86_64.rpm (w2T8.xzdio) 296.89user 23.05system 3:47.27elapsed 140%CPU (0avgtext+0avgdata 518852maxresident)k 0inputs+0outputs (0major+6708456minor)pagefaults 0swaps 14.62user 4.96system 4:20.99elapsed 7%CPU (0avgtext+0avgdata 135028maxresident)k 472inputs+0outputs (0major+221828minor)pagefaults 0swaps --- dosbox-0.74.2-alt1.x86_64.rpm.repo 2019-05-16 15:21:40.000000000 +0000 +++ dosbox-0.74.2-alt1.x86_64.rpm.hasher 2024-09-29 13:22:05.183061263 +0000 @@ -70,4 +70,4 @@ Conflicts: dosbox-russian -File: /usr/bin/dosbox 100755 root:root 07a8a1a3ab99191c3d1e74e4051dea03 -File: /usr/bin/dosbox-debug 100755 root:root 69e28d199912bde72166bdccb68ae7e2 +File: /usr/bin/dosbox 100755 root:root a0bec62ac88a525849c21c75b14532fc +File: /usr/bin/dosbox-debug 100755 root:root 9aed8338348d77899c810025d0d378c6 File: /usr/bin/dosbox-install 100755 root:root adaa24efced00c9d64b2e12d01d0c4fc @@ -95,2 +95,2 @@ File: /usr/share/man/man1/dosbox.1.xz 100644 root:root 75d7561bb332c592463c1d14a39cb9e5 -RPMIdentity: db9c504ec4c825c4824708ac9a89efa38f5f68a33e64016d0625a4e3fbd0c9514018133e4c7e4e7b27d6b79200a481d79c4177d8583daf77d21aff3121cfa9e8 +RPMIdentity: 1fbfb918ca103117fb754371fdf4868e0bde4178a79395e2a395f9f5cbf9d211605e9033e4a9b4bc264ac1b00a6f2bcad2a1f6d77302e22498a684032b31e712 --- dosbox-debuginfo-0.74.2-alt1.x86_64.rpm.repo 2019-05-16 15:21:40.000000000 +0000 +++ dosbox-debuginfo-0.74.2-alt1.x86_64.rpm.hasher 2024-09-29 13:22:05.821068198 +0000 @@ -1,7 +1,7 @@ -/usr/lib/debug/.build-id/ef 40755 root:root -/usr/lib/debug/.build-id/ef/c2e4e5c85f90a5e721cd18dd254e49d5fe43d5 120777 root:root ../../../../bin/dosbox-debug -/usr/lib/debug/.build-id/ef/c2e4e5c85f90a5e721cd18dd254e49d5fe43d5.debug 120777 root:root ../../usr/bin/dosbox-debug.debug -/usr/lib/debug/.build-id/fe 40755 root:root -/usr/lib/debug/.build-id/fe/749ec8453b44250a9eb038d2779a0123f2c167 120777 root:root ../../../../bin/dosbox -/usr/lib/debug/.build-id/fe/749ec8453b44250a9eb038d2779a0123f2c167.debug 120777 root:root ../../usr/bin/dosbox.debug +/usr/lib/debug/.build-id/14 40755 root:root +/usr/lib/debug/.build-id/14/0e82d3293390481c26805cb58be9dcbe18b052 120777 root:root ../../../../bin/dosbox-debug +/usr/lib/debug/.build-id/14/0e82d3293390481c26805cb58be9dcbe18b052.debug 120777 root:root ../../usr/bin/dosbox-debug.debug +/usr/lib/debug/.build-id/94 40755 root:root +/usr/lib/debug/.build-id/94/eaff972b3ec5ba3ecd734d90b7072d01797dfd 120777 root:root ../../../../bin/dosbox +/usr/lib/debug/.build-id/94/eaff972b3ec5ba3ecd734d90b7072d01797dfd.debug 120777 root:root ../../usr/bin/dosbox.debug /usr/lib/debug/usr/bin/dosbox-debug.debug 100644 root:root @@ -250,10 +250,10 @@ Provides: dosbox-debuginfo = 1:0.74.2-alt1:p9+229507.100.1.1 -File: /usr/lib/debug/.build-id/ef 40755 root:root -File: /usr/lib/debug/.build-id/ef/c2e4e5c85f90a5e721cd18dd254e49d5fe43d5 120777 root:root ../../../../bin/dosbox-debug -File: /usr/lib/debug/.build-id/ef/c2e4e5c85f90a5e721cd18dd254e49d5fe43d5.debug 120777 root:root ../../usr/bin/dosbox-debug.debug -File: /usr/lib/debug/.build-id/fe 40755 root:root -File: /usr/lib/debug/.build-id/fe/749ec8453b44250a9eb038d2779a0123f2c167 120777 root:root ../../../../bin/dosbox -File: /usr/lib/debug/.build-id/fe/749ec8453b44250a9eb038d2779a0123f2c167.debug 120777 root:root ../../usr/bin/dosbox.debug -File: /usr/lib/debug/usr/bin/dosbox-debug.debug 100644 root:root 7479ea7f1b5f2403de6077d46cf0eb1e -File: /usr/lib/debug/usr/bin/dosbox.debug 100644 root:root eb232297ee100891a1714051393a8dc2 +File: /usr/lib/debug/.build-id/14 40755 root:root +File: /usr/lib/debug/.build-id/14/0e82d3293390481c26805cb58be9dcbe18b052 120777 root:root ../../../../bin/dosbox-debug +File: /usr/lib/debug/.build-id/14/0e82d3293390481c26805cb58be9dcbe18b052.debug 120777 root:root ../../usr/bin/dosbox-debug.debug +File: /usr/lib/debug/.build-id/94 40755 root:root +File: /usr/lib/debug/.build-id/94/eaff972b3ec5ba3ecd734d90b7072d01797dfd 120777 root:root ../../../../bin/dosbox +File: /usr/lib/debug/.build-id/94/eaff972b3ec5ba3ecd734d90b7072d01797dfd.debug 120777 root:root ../../usr/bin/dosbox.debug +File: /usr/lib/debug/usr/bin/dosbox-debug.debug 100644 root:root e0b389eb82c575839d2c6092c06235a9 +File: /usr/lib/debug/usr/bin/dosbox.debug 100644 root:root f77ba0daa5c2619d38c17a426a77de2b File: /usr/src/debug/dosbox-0.74.2 40755 root:root @@ -481,2 +481,2 @@ File: /usr/src/debug/dosbox-0.74.2/src/shell/shell_misc.cpp 100644 root:root 1d9754e21e2165695a6cb5e2aee361c8 -RPMIdentity: 4df6f8dae3fea92d8ccc646091ee032ecdbb20e95159a811ea39437c2dd813df0f998ed4060a6210fdac52b72ffde6d1d8625013c8f50f29172a59d7f888b54b +RPMIdentity: 4423e8f33b169a2f7c4853cb9610de8a98b3c5b6f0acbab1b7e78a9cfdc7df9a56620cacdda2ed4f8ae0260ee13ad81a80a3cf14c1a1dfc189ed19d68f7b740f