<86>Apr 21 02:51:27 userdel[117928]: delete user 'rooter'
<86>Apr 21 02:51:27 userdel[117928]: removed group 'rooter' owned by 'rooter'
<86>Apr 21 02:51:27 userdel[117928]: removed shadow group 'rooter' owned by 'rooter'
<86>Apr 21 02:51:27 groupadd[117945]: group added to /etc/group: name=rooter, GID=651
<86>Apr 21 02:51:27 groupadd[117945]: group added to /etc/gshadow: name=rooter
<86>Apr 21 02:51:27 groupadd[117945]: new group: name=rooter, GID=651
<86>Apr 21 02:51:27 useradd[117952]: new user: name=rooter, UID=651, GID=651, home=/root, shell=/bin/bash
<86>Apr 21 02:51:27 userdel[117967]: delete user 'builder'
<86>Apr 21 02:51:27 userdel[117967]: removed group 'builder' owned by 'builder'
<86>Apr 21 02:51:27 userdel[117967]: removed shadow group 'builder' owned by 'builder'
<86>Apr 21 02:51:27 groupadd[117974]: group added to /etc/group: name=builder, GID=652
<86>Apr 21 02:51:27 groupadd[117974]: group added to /etc/gshadow: name=builder
<86>Apr 21 02:51:27 groupadd[117974]: new group: name=builder, GID=652
<86>Apr 21 02:51:27 useradd[117981]: new user: name=builder, UID=652, GID=652, home=/usr/src, shell=/bin/bash
<13>Apr 21 02:51:30 rpmi: libogg-1.3.2-alt1 1416015875 installed
<13>Apr 21 02:51:30 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1 1488560683 installed
<13>Apr 21 02:51:30 rpmi: libalsa-1:1.1.0-alt1.1.1 1454429213 installed
<13>Apr 21 02:51:30 rpmi: xorg-xproto-devel-7.0.31-alt0.M80P.1 p8+226471.100.1.1 1554301566 installed
<13>Apr 21 02:51:30 rpmi: libflac8-1.2.1-alt11.1 1434275120 installed
<13>Apr 21 02:51:30 rpmi: libvorbis-1.3.4-alt1 1395615320 installed
<13>Apr 21 02:51:30 rpmi: sgml-common-0.6.3-alt15 1423664786 installed
<13>Apr 21 02:51:30 rpmi: docbook-dtds-4.5-alt1 1223476557 installed
<13>Apr 21 02:51:30 rpmi: zlib-devel-1.2.8-alt1 1371079009 installed
<13>Apr 21 02:51:30 rpmi: libpng15-1.5.28-alt1 1484572014 installed
<13>Apr 21 02:51:30 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed
<13>Apr 21 02:51:30 rpmi: libnatspec-0.3.1-alt2 1445691578 installed
<13>Apr 21 02:51:30 rpmi: libspeex-1.2-alt0.6.rc2 1448139613 installed
<13>Apr 21 02:51:30 rpmi: libphysfs-2.0.2-alt1.1 1342065229 installed
<13>Apr 21 02:51:30 rpmi: libmodplug-0.8.8.5-alt1 1410380709 installed
<13>Apr 21 02:51:30 rpmi: libwrap-1:7.6-alt11 1297041305 installed
<13>Apr 21 02:51:30 rpmi: libgsm-1.0.13-alt8 1365910842 installed
<13>Apr 21 02:51:30 rpmi: libsndfile-1.0.28-alt1.M80P.1 p8.212938.100 1536756416 installed
<13>Apr 21 02:51:30 rpmi: libjson-c-0.12-alt1 1401212997 installed
<13>Apr 21 02:51:30 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed
<13>Apr 21 02:51:30 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed
<13>Apr 21 02:51:30 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed
<13>Apr 21 02:51:30 rpmi: libsystemd-1:239-alt1.M80P.1 p8+226956.200.2.1 1555431492 installed
<13>Apr 21 02:51:30 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed
<13>Apr 21 02:51:30 rpmi: libxslt-1.1.28-alt4 1448210404 installed
<13>Apr 21 02:51:30 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed
<13>Apr 21 02:51:30 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531883 installed
<13>Apr 21 02:51:30 rpmi: libxshmfence-1.2-alt1 1420972191 installed
<13>Apr 21 02:51:30 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed
<13>Apr 21 02:51:30 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed
<13>Apr 21 02:51:30 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed
<13>Apr 21 02:51:30 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed
<13>Apr 21 02:51:30 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed
<13>Apr 21 02:51:30 rpmi: libXau-1.0.8-alt1 1369565807 installed
<13>Apr 21 02:51:30 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed
<13>Apr 21 02:51:30 rpmi: libX11-3:1.6.3-alt1 1431956911 installed
<13>Apr 21 02:51:30 rpmi: libXext-1.3.3-alt1 1409902932 installed
<13>Apr 21 02:51:30 rpmi: libpulseaudio-9.0-alt2 1469793979 installed
<13>Apr 21 02:51:30 rpmi: libmikmod-3.3.8-alt1.1 1449204660 installed
<13>Apr 21 02:51:30 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed
<13>Apr 21 02:51:30 rpmi: libXdamage-1.1.3-alt4 1297162596 installed
<13>Apr 21 02:51:30 rpmi: libXfixes-5.0.1-alt1 1369809606 installed
<13>Apr 21 02:51:30 rpmi: libGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed
<13>Apr 21 02:51:30 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed
<13>Apr 21 02:51:30 rpmi: libXrender-0.9.8-alt1 1371312110 installed
<13>Apr 21 02:51:30 rpmi: libXrandr-1.5.0-alt1 1431936188 installed
<13>Apr 21 02:51:30 rpmi: libSDL-1.2.14-alt6.M80P.1 1483818219 installed
<13>Apr 21 02:51:30 rpmi: libSDL_net-1.2.8-alt1 1333963621 installed
<13>Apr 21 02:51:30 rpmi: libSDL_sound-1.0.3-alt3.hg20120815.1 1421156468 installed
<13>Apr 21 02:51:31 rpmi: libxcb-devel-1.12-alt2 p8.218219.300 1545313310 installed
<13>Apr 21 02:51:31 rpmi: libX11-devel-3:1.6.3-alt1 1431956911 installed
<13>Apr 21 02:51:31 rpmi: libGL-devel-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed
<13>Apr 21 02:51:31 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed
<13>Apr 21 02:51:32 rpmi: libSDL-devel-1.2.14-alt6.M80P.1 1483818219 installed
<13>Apr 21 02:51:32 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed
<13>Apr 21 02:51:32 rpmi: libstdc++5-devel-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed
<13>Apr 21 02:51:33 rpmi: gcc5-c++-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed
<13>Apr 21 02:51:33 rpmi: libSDL_net-devel-1.2.8-alt1 1333963621 installed
<13>Apr 21 02:51:33 rpmi: libSDL_sound-devel-1.0.3-alt3.hg20120815.1 1421156468 installed
<13>Apr 21 02:51:33 rpmi: libalsa-devel-1:1.1.0-alt1.1.1 1454429213 installed
<13>Apr 21 02:51:33 rpmi: libncurses-devel-5.9-alt8 1456756459 installed
<13>Apr 21 02:51:33 rpmi: libpng-devel-1.5.28-alt1 1484572014 installed
<13>Apr 21 02:51:33 rpmi: unzip-6.0-alt2.qa1 1366155323 installed
<13>Apr 21 02:51:33 rpmi: xsltproc-1.1.28-alt4 1448210404 installed
<13>Apr 21 02:51:33 rpmi: docbook-style-xsl-1.79.1-alt2 p8.213672.100 1537975322 installed
Installing dosbox-0.74-alt4.qa1.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.30479
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf dosbox-0.74
+ echo 'Source #0 (dosbox-0.74.tar.gz):'
Source #0 (dosbox-0.74.tar.gz):
+ /bin/gzip -dc /usr/src/RPM/SOURCES/dosbox-0.74.tar.gz
+ /bin/tar -xf -
+ cd dosbox-0.74
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (dosbox-0.74-alt-gcc4.6.patch):'
Patch #0 (dosbox-0.74-alt-gcc4.6.patch):
+ /usr/bin/patch -p2
patching file include/dos_inc.h
+ cat
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.30479
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd dosbox-0.74
+ CFLAGS='-pipe -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -Wall -g -O2'
+ export FFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -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 find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ xargs -ri dirname -- '{}'
+ 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 --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 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 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)) ... no
checking if compiler allows __attribute__((fastcall)) ... no
checking if compiler allows __builtin_expect... 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 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
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/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
+ '[' -n '' ']'
+ NPROCS=8
+ make -j8
make: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74'
make  all-recursive
make[1]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74'
Making all in src
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
Making all in cpu
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu'
Making all in core_full
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_full'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_full'
Making all in core_normal
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_normal'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_normal'
Making all in core_dyn_x86
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_dyn_x86'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_dyn_x86'
Making all in core_dynrec
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_dynrec'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_dynrec'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o callback.o callback.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cpu.o cpu.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o flags.o flags.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o modrm.o modrm.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o core_full.o core_full.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o paging.o paging.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o core_normal.o core_normal.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o core_simple.o core_simple.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o core_prefetch.o core_prefetch.cpp
flags.cpp: In function 'Bit32u get_CF()':
flags.cpp:122:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   LOG(LOG_CPU,LOG_ERROR)("get_CF Unknown %d",lflags.type);
                                                         ^
flags.cpp: In function 'Bit32u get_AF()':
flags.cpp:204:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   LOG(LOG_CPU,LOG_ERROR)("get_AF Unknown %d",lflags.type);
                                                         ^
flags.cpp: In function 'Bit32u get_ZF()':
flags.cpp:273:57: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   LOG(LOG_CPU,LOG_ERROR)("get_ZF Unknown %d",lflags.type);
                                                         ^
flags.cpp: In function 'Bit32u get_SF()':
flags.cpp:341:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   LOG(LOG_CPU,LOG_ERROR)("get_SF Unkown %d",lflags.type);
                                                        ^
flags.cpp: In function 'Bit32u get_OF()':
flags.cpp:429:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   LOG(LOG_CPU,LOG_ERROR)("get_OF Unkown %d",lflags.type);
                                                        ^
flags.cpp: In function 'Bitu FillFlags()':
flags.cpp:877:62: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   LOG(LOG_CPU,LOG_ERROR)("Unhandled flag type %d",lflags.type);
                                                              ^
In file included from core_full.cpp:82:0:
core_full/load.h: In function 'Bits CPU_Core_Full_Run()':
core_full/load.h:186:88: 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:0,
                 from core_full.cpp:82:
core_full/string.h:215:80: 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:0:
core_full/load.h:486:86: 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);
                                                                                      ^
callback.cpp: In function 'Bitu CALLBACK_SetupExtra(Bitu, Bitu, PhysPt, bool)':
callback.cpp:435:47: 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);
                                               ^
flags.cpp: In function 'void FillFlagsNoCFOF()':
flags.cpp:1178:62: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   LOG(LOG_CPU,LOG_ERROR)("Unhandled flag type %d",lflags.type);
                                                              ^
In file included from core_full.cpp:83:0:
core_full/op.h:402:73: 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:73: 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:81: 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:0:
core_full/save.h:98:85: 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_simple.cpp:156:0:
core_normal/prefix_none.h: In function 'Bits CPU_Core_Simple_Run()':
core_normal/prefix_none.h:1168:61: 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:0:
core_normal/prefix_0f.h:156:66: 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:66: 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:66: 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:66: 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:66: 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:66: 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:0:
core_normal/prefix_66.h:712:64: 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:0:
core_normal/prefix_66_0f.h:59:57: 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:70: 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:159:0:
core_normal/prefix_none.h: In function 'Bits CPU_Core_Normal_Run()':
core_normal/prefix_none.h:1168:61: 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:0:
core_normal/prefix_0f.h:156:66: 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:66: 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:66: 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:66: 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:66: 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:66: 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:264:0:
core_normal/prefix_none.h: In function 'Bits CPU_Core_Prefetch_Run()':
core_normal/prefix_none.h:1168:61: 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:0:
core_normal/prefix_0f.h:156:66: 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);
                                                                  ^
cpu.cpp: In function 'bool CPU_SwitchTask(Bitu, TSwitchType, Bitu)':
cpu.cpp:348:86: 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:50: 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());
                                                  ^
core_normal/prefix_0f.h:170:66: 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:66: 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:66: 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:66: 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:66: 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);
                                                                  ^
cpu.cpp: In function 'void CPU_Interrupt(Bitu, Bitu, Bitu)':
cpu.cpp:724:89: 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:66: 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:66: 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:61: 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:55: 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:60: 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:61: 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:61: 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:80: 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);
                                                                                ^
In file included from core_normal.cpp:161:0:
core_normal/prefix_66.h:712:64: 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:0:
core_normal/prefix_66_0f.h:59:57: 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:70: 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);
                                                                      ^
paging.cpp: In function 'void PAGING_PageFault(PhysPt, Bitu, Bitu)':
paging.cpp:149:98: 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:98: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu {aka long unsigned int}' [-Wformat=]
paging.cpp:164:84: 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:373:73: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
      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:435:73: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
      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:536:72: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
     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:567:73: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
      cpu.cpl,entry.block.us,table.block.us,entry.block.wr,table.block.wr);
                                                                         ^
In file included from core_prefetch.cpp:266:0:
core_normal/prefix_66.h:712:64: 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:0:
core_normal/prefix_66_0f.h:59:57: 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:70: 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_full/load.h:324:0,
                 from core_full.cpp:82:
core_full/string.h:223:20: 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_simple.cpp:130:0:
core_normal/string.h: In function 'void DoString(STRING_OP)':
core_normal/string.h:228:20: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized]
   count+=count_left;
                    ^
In file included from core_full/load.h:21:0,
                 from core_full.cpp:82:
core_full/ea_lookup.h:235:23: warning: 'off' may be used uninitialized in this function [-Wmaybe-uninitialized]
   inst.rm_eaa=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:108:23: warning: 'off' may be used uninitialized in this function [-Wmaybe-uninitialized]
   inst.rm_eaa=seg_base+off;
                       ^
core_full/ea_lookup.h:3:9: note: 'off' was declared here
  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;
          ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o core_dyn_x86.o core_dyn_x86.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o core_dynrec.o core_dynrec.cpp
In file included from core_dynrec.cpp:137:0:
core_dynrec/cache.h: In function 'void cache_closeblock()':
core_dynrec/cache.h:503:107: 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:84: 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:84: 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:146:0:
core_dynrec/risc_x64.h: In function 'void gen_fill_branch(Bit64u)':
core_dynrec/risc_x64.h:550:40: 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:0,
                 from core_dynrec.cpp:157:
core_dynrec/decoder_basic.h: In function 'bool mem_readw_checked_drc(PhysPt)':
core_dynrec/decoder_basic.h:714:38: 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:725:38: 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:0,
                 from core_dynrec.cpp:157:
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:0,
                 from core_dynrec.cpp:157:
core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc1()':
core_dynrec/dyn_fpu.h:182:101: 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:101: 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:101: 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:101: 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:101: 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:101: 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:101: 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:101: 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:101: 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:101: 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:100: 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:100: 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:103: 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:103: 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:103: 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:103: 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:101: 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:101: 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:103: 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:103: 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:100: 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:91: 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:91: 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:100: 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:100: 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:103: 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:103: 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:103: 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:103: 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:100: 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:100: 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:103: 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:103: 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:103: 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:103: 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:101: 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:101: 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:102: 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:102: 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:100: 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:100: 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:103: 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:103: 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:103: 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:103: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
In file included from ../../include/programs.h:28:0,
                 from cpu.cpp:29:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from core_normal.cpp:134:0:
core_normal/string.h: In function 'void DoString(STRING_OP)':
core_normal/string.h:228:20: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized]
   count+=count_left;
                    ^
In file included from core_prefetch.cpp:205:0:
core_normal/string.h: In function 'void DoString(STRING_OP)':
core_normal/string.h:228:20: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized]
   count+=count_left;
                    ^
In file included from core_dynrec/decoder.h:22:0,
                 from core_dynrec.cpp:157:
core_dynrec/decoder_basic.h: In function 'void dyn_fill_ea(HostReg, bool)':
core_dynrec/decoder_basic.h:951:9: warning: 'base_reg' may be used uninitialized in this function [-Wmaybe-uninitialized]
   Bit8u base_reg;
         ^
core_dynrec/decoder_basic.h:939:24: warning: 'imm' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if (imm) gen_add_imm(ea_reg,(Bit32u)imm);
                        ^
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/src/cpu'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu'
Making all in debug
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o debug.o debug.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o debug_gui.o debug_gui.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o debug_disasm.o debug_disasm.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o debug_win32.o debug_win32.cpp
debug_gui.cpp: In member function 'void LOG::operator()(const char*, ...)':
debug_gui.cpp:113:68: 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);
                                                                    ^
debug.cpp: In member function 'virtual Bitu DebugPageHandler::readb(PhysPt)':
debug.cpp:82:2: warning: no return statement in function returning non-void [-Wreturn-type]
  }
  ^
debug.cpp: In member function 'virtual Bitu DebugPageHandler::readw(PhysPt)':
debug.cpp:84:2: warning: no return statement in function returning non-void [-Wreturn-type]
  }
  ^
debug.cpp: In member function 'virtual Bitu DebugPageHandler::readd(PhysPt)':
debug.cpp:86:2: warning: no return statement in function returning non-void [-Wreturn-type]
  }
  ^
debug.cpp: In function 'bool GetDescriptorInfo(char*, char*, char*)':
debug.cpp:198:90: 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:139: 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:130: 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:100: 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:90: 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:100: 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:179: 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 LogGDT()':
debug.cpp:1771:67: 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:89: 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:182: 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:67: 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:91: 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:182: 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:88: 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:88: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
debug.cpp:1808:88: 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:185: 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:126: 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:89: 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:89: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
debug.cpp:1856:89: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'Bitu {aka long unsigned int}' [-Wformat=]
debug.cpp:1856:89: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'Bitu {aka long unsigned int}' [-Wformat=]
debug.cpp:1858:110: 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:110: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
debug.cpp:1858:110: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'Bitu {aka long unsigned int}' [-Wformat=]
debug.cpp:1858:110: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'Bitu {aka long unsigned int}' [-Wformat=]
debug.cpp:1860:78: 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:78: 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:120: 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:120: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'Bitu {aka long unsigned int}' [-Wformat=]
debug.cpp:1873:121: 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:121: 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:1905:67: 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(Bitu, Bitu, Bit32u)':
debug.cpp:2154:41: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   sprintf(buffer,"%04X:%04X   ",seg,ofs1);
                                         ^
debug.cpp:2154:41: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
debug.cpp:2157:82: warning: too many arguments for format [-Wformat-extra-args]
    if (mem_readb_checked(GetAddress(seg,ofs1+x),&value)) sprintf(temp,"?? ",value);
                                                                                  ^
debug.cpp:2167:41: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   sprintf(buffer,"%04X:%04X   ",seg,ofs1);
                                         ^
debug.cpp:2167:41: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
debug.cpp:2170:82: 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:2232:54: warning: too many arguments for format [-Wformat-extra-args]
    snprintf(buffer,DEBUG_VAR_BUF_LEN, "??????", value);
                                                      ^
debug.cpp:2232:54: warning: too many arguments for format [-Wformat-extra-args]
debug.cpp: In function 'void DEBUG_HeavyLogInstruction()':
debug.cpp:2290:7: warning: unused variable 'size' [-Wunused-variable]
  Bitu size = DasmI386(dline, start, reg_eip, cpu.code.big);
       ^
debug.cpp: In static member function 'static bool CDebugVar::LoadVars(char*)':
debug.cpp:2127:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
  fread(&num,1,sizeof(num),f);
                             ^
debug.cpp:2132:21: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   fread(name,1,16,f);
                     ^
debug.cpp:2135:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   fread(&adr,1,sizeof(adr),f);
                              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/control.h:30,
                 from debug_gui.cpp:24:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from /usr/include/string.h:653:0,
                 from debug.cpp:24:
In function 'char* strncat(char*, const char*, size_t)',
    inlined from 'virtual void DEBUG::Run()' at debug.cpp:1964:39:
/usr/include/bits/string3.h:156:71: warning: call to char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int) might overflow destination buffer
   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
                                                                       ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from debug.cpp:46:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
debug.cpp:2251:15: warning: 'logCpuCS' defined but not used [-Wunused-variable]
 static Bit16u logCpuCS [LOGCPUMAX];
               ^
debug.cpp:2252:15: warning: 'logCpuEIP' defined but not used [-Wunused-variable]
 static Bit32u logCpuEIP[LOGCPUMAX];
               ^
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/src/debug'
Making all in dos
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o dos.o dos.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_devices.o dos_devices.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_execute.o dos_execute.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_files.o dos_files.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_ioctl.o dos_ioctl.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_memory.o dos_memory.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_misc.o dos_misc.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_classes.o dos_classes.cpp
In file included from dos_memory.cpp:23:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_programs.o dos_programs.cpp
In file included from dos_execute.cpp:25:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_tables.o dos_tables.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o drives.o drives.cpp
dos_ioctl.cpp: In function 'bool DOS_IOCTL()':
dos_ioctl.cpp:120:94: 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:83: 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);
                                                                                   ^
In file included from dos_classes.cpp:25:0:
dos_classes.cpp: In member function 'void DOS_ParamBlock::LoadData()':
../../include/dos_inc.h:254:42: 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:42: 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);
                             ^
In file included from dos.cpp:30:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o drive_virtual.o drive_virtual.cpp
In file included from dos_tables.cpp:23:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o drive_local.o drive_local.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o drive_cache.o drive_cache.cpp
dos_programs.cpp: In member function 'virtual void KEYB::Run()':
dos_programs.cpp:1326:72: 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);
                                                                        ^
In file included from drive_local.cpp:28:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o drive_fat.o drive_fat.cpp
dos_programs.cpp: In member function 'virtual void BOOT::Run()':
dos_programs.cpp:605:54: 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:691:40: 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:696:54: 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:704:39: 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:709:53: 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);
                                                     ^
drive_fat.cpp: In member function 'Bit32u fatDrive::getClusterValue(Bit32u)':
drive_fat.cpp:319:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    clustValue = *((Bit16u *)&fatSectBuffer[fatentoff]);
                                                      ^
drive_fat.cpp:327:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    clustValue = *((Bit16u *)&fatSectBuffer[fatentoff]);
                                                      ^
drive_fat.cpp:330:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    clustValue = *((Bit32u *)&fatSectBuffer[fatentoff]);
                                                      ^
drive_fat.cpp: In member function 'void fatDrive::setClusterValue(Bit32u, Bit32u)':
drive_fat.cpp:366:59: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    Bit16u tmpValue = *((Bit16u *)&fatSectBuffer[fatentoff]);
                                                           ^
drive_fat.cpp:378:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    *((Bit16u *)&fatSectBuffer[fatentoff]) = tmpValue;
                                         ^
drive_fat.cpp:382:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    *((Bit16u *)&fatSectBuffer[fatentoff]) = (Bit16u)clustValue;
                                         ^
drive_fat.cpp:385:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    *((Bit32u *)&fatSectBuffer[fatentoff]) = clustValue;
                                         ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from drives.h:27,
                 from drives.cpp:23:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o drive_iso.o drive_iso.cpp
In file included from dos_devices.cpp:27:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_mscdex.o dos_mscdex.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_keyboard_layout.o dos_keyboard_layout.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cdrom.o cdrom.cpp
drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(DOS_Drive_Cache::CFileInfo*, DOS_Drive_Cache::CFileInfo*)':
drive_cache.cpp:448:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   sprintf(buffer,"%d",info->shortNr);
                                    ^
In file included from drive_virtual.cpp:24:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cdrom_ioctl_win32.o cdrom_ioctl_win32.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cdrom_aspi_win32.o cdrom_aspi_win32.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cdrom_ioctl_linux.o cdrom_ioctl_linux.cpp
dos_mscdex.cpp: In function 'Bit16u MSCDEX_IOCTL_Input(PhysPt, Bit8u)':
dos_mscdex.cpp:868:61: 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:97: 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:98: 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);
                                                                                                  ^
In file included from drive_fat.cpp:26:0:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cdrom_image.o cdrom_image.cpp
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from drives.h:27,
                 from drive_iso.cpp:27:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cdrom_ioctl_os2.o cdrom_ioctl_os2.cpp
In file included from dos_mscdex.cpp:26:0:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from drives.h:27,
                 from drive_cache.cpp:21:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
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:43: 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:44: 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:50: 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:51: 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:52: 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:53: 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:54: 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);
                                                      ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from drives.h:27,
                 from cdrom_image.cpp:32:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from dos_programs.cpp:27:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/bios_disk.h:27:0,
                 from dos_keyboard_layout.cpp:23:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from dos_keyboard_layout.cpp:26:0:
../ints/int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
../ints/int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
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/src/dos'
Making all in fpu
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o fpu.o fpu.cpp
fpu.cpp: In function 'void FPU_ESC1_EA(Bitu, PhysPt)':
fpu.cpp:139:79: 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:79: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
fpu.cpp:161:79: 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:79: 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:77: 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:77: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
fpu.cpp:207:77: 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:77: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
fpu.cpp:235:77: 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:77: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
fpu.cpp:266:77: 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:77: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
fpu.cpp:297:77: 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:77: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
fpu.cpp:302:77: 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:77: 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:77: 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:77: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
fpu.cpp:330:79: 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:79: 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:79: 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:79: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
fpu.cpp:363:79: 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:79: 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:87: 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:67: 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:67: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
fpu.cpp:393:76: 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:76: 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:79: 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:79: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
fpu.cpp:471:79: 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:79: 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:75: 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:75: 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:77: 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:77: 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:79: 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:79: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
fpu.cpp:588:79: 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:79: 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:78: 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:78: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
fpu.cpp:621:76: 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:76: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
rm -f libfpu.a
ar cru libfpu.a fpu.o 
ranlib libfpu.a
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/fpu'
Making all in gui
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o sdlmain.o sdlmain.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o sdl_mapper.o sdl_mapper.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o render.o render.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o render_scalers.o render_scalers.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o midi.o midi.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o sdl_gui.o sdl_gui.cpp
sdl_mapper.cpp: In member function 'virtual void CJAxisBind::ConfigName(char*)':
sdl_mapper.cpp:544:73: 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:74: 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:57: 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:55: 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:58: 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:591:51: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
               ((dir==SDL_HAT_DOWN)?"down":"left")));
                                                   ^
sdl_mapper.cpp: In constructor 'CStickBindGroup::CStickBindGroup(Bitu, Bitu, bool)':
sdl_mapper.cpp:606:41: 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:111: 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:111: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
sdl_mapper.cpp:659:111: 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:1594:3: 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(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu, bool, CJAxisEvent*)':
sdl_mapper.cpp:1688:61: 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:61: 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:61: 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:61: 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:42: 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:42: 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:42: 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:42: 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:46: 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:46: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
sdl_mapper.cpp:1713:46: 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:27: 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:80: 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);
                                                                                ^
render.cpp: In function 'void RENDER_Reset()':
render.cpp:484:55: 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:49: 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:49: 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);
                                                 ^
sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)':
sdlmain.cpp:239:144: 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:241:138: 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:443:153: 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:450:95: 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:450:95: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
sdlmain.cpp:450:95: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
sdlmain.cpp:472:92: 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:472:92: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
sdlmain.cpp:472:92: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
midi.cpp: In function 'void MIDI_RawOutByte(Bit8u)':
midi.cpp:130:67: 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:0:
midi_oss.h: In member function 'virtual void MidiHandler_oss::PlaySysex(Bit8u*, Bitu)':
midi_oss.h:68:24: 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:24: 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);
                        ^
sdl_mapper.cpp: In function 'void MAPPER_StartUp(Section*)':
sdl_mapper.cpp:2388:47: warning: iteration 8ul invokes undefined behavior [-Waggressive-loop-optimizations]
   virtual_joysticks[0].button_pressed[i]=false;
                                               ^
sdl_mapper.cpp:2387:13: note: containing loop
  for (i=0; i<16; i++) {
             ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/control.h:30,
                 from render.cpp:29:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/control.h:30,
                 from sdlmain.cpp:52:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
sdlmain.cpp:248:13: warning: 'void PauseDOSBox(bool)' defined but not used [-Wunused-function]
 static void PauseDOSBox(bool pressed) {
             ^
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) {
             ^
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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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) {
                    ^
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/src/gui'
Making all in hardware
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/hardware'
Making all in serialport
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o directserial.o directserial.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o libserial.o libserial.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o serialdummy.o serialdummy.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o serialport.o serialport.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o softmodem.o softmodem.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o misc_util.o misc_util.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o nullmodem.o nullmodem.cpp
In file included from serialport.cpp:35:0:
softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)':
softmodem.h:95:55: 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:56: 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:63: 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:275:44: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
     overrunIF0,txOverrunErrors, breakErrors);
                                            ^
serialport.cpp:275:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
serialport.cpp:275:44: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
serialport.cpp:275:44: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu {aka long unsigned int}' [-Wformat=]
serialport.cpp:275:44: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu {aka long unsigned int}' [-Wformat=]
serialport.cpp:275:44: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu {aka long unsigned int}' [-Wformat=]
serialport.cpp:275:44: 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:29: 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:44: 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);
                                            ^
In file included from softmodem.cpp:31:0:
softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)':
softmodem.h:95:55: 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:56: 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);
                                                        ^
misc_util.cpp: In member function 'bool TCPClientSocket::SendArray(Bit8u*, Bitu)':
misc_util.cpp:226:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(SDLNet_TCP_Send(mysock, data, bufsize)!=bufsize) {
                                           ^
misc_util.cpp: In member function 'bool TCPClientSocket::SendByteBuffered(Bit8u)':
misc_util.cpp:240:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(SDLNet_TCP_Send(mysock, sendbuffer, sendbuffersize)!=sendbuffersize) {
                                                         ^
softmodem.cpp: In member function 'void CSerialModem::SendRes(ResTypes)':
softmodem.cpp:149:9: warning: enumeration value 'ResBUSY' not handled in switch [-Wswitch]
  switch (response)
         ^
misc_util.cpp: In member function 'void TCPClientSocket::FlushBuffer()':
misc_util.cpp:272:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    sendbufferindex)!=sendbufferindex) {
                    ^
softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()':
softmodem.cpp:274:50: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   while(waitingclientsocket=serversocket->Accept())
                                                  ^
softmodem.cpp:280:78: 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:78: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
softmodem.cpp:283:80: 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:80: 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:75: 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:77: 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:68: 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;
                ^
In file included from ../../../include/serialport.h:34:0,
                 from serialdummy.h:24,
                 from serialdummy.cpp:24:
../../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)':
directserial.cpp:46:63: 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:51:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
    COMNUMBER, tmpstring.c_str());
                                ^
directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)':
directserial.cpp:278:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
    COMNUMBER, baudrate,bytelength,parity,stopbits);
                                                  ^
directserial.cpp:278:50: 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:63: 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);
                                                               ^
softmodem.cpp: In member function 'void CSerialModem::SendRes(ResTypes)':
softmodem.cpp:163:39: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(numericresponse) SendNumber(code);
                                       ^
softmodem.cpp:173:40: warning: 'string' may be used uninitialized in this function [-Wmaybe-uninitialized]
   LOG_MSG("Modem response: %s", string);
                                        ^
nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)':
nullmodem.cpp:108:55: 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:63: 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:68: 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:143:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
     COMNUMBER);
              ^
nullmodem.cpp:161:52: 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:169:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
    COMNUMBER,serverport);
                        ^
nullmodem.cpp: In member function 'void CNullModem::ClientConnect()':
nullmodem.cpp:224:52: 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:234:60: 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:242:45: 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:386:73: 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:460:70: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
     LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data);
                                                                      ^
In file included from ../../../include/serialport.h:34:0,
                 from directserial.cpp:25:
../../../include/dos_inc.h: At global scope:
../../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../../include/serialport.h:34:0,
                 from softmodem.cpp:30:
../../../include/dos_inc.h: At global scope:
../../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../../include/programs.h:28:0,
                 from ../../../include/control.h:30,
                 from nullmodem.cpp:25:
../../../include/dos_inc.h: At global scope:
../../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../../include/serialport.h:34:0,
                 from serialport.cpp:32:
../../../include/dos_inc.h: At global scope:
../../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
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/src/hardware/serialport'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o adlib.o adlib.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dma.o dma.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o gameblaster.o gameblaster.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o hardware.o hardware.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o iohandler.o iohandler.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o joystick.o joystick.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o keyboard.o keyboard.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o memory.o memory.cpp
keyboard.cpp: In function 'void write_p60(Bitu, Bitu, Bitu)':
keyboard.cpp:146:61: 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:62: 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);
                                                              ^
memory.cpp: In member function 'virtual void ROMPageHandler::writeb(PhysPt, Bitu)':
memory.cpp:111:58: 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:58: 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:58: 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 constructor 'MEMORY::MEMORY(Section*)':
memory.cpp:562:69: 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);
                                                                     ^
In file included from hardware.cpp:36:0:
../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:0:
../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:89: 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:0:
../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;
      ^
iohandler.cpp: In function 'Bitu IO_ReadDefault(Bitu, Bitu)':
iohandler.cpp:44:50: 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:60: 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:60: 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:64: 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:65: 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);
                                                                 ^
dma.cpp: In member function 'Bitu DmaController::ReadControllerReg(Bitu, Bitu)':
dma.cpp:252:76: 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);
                                                                            ^
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]
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o mixer.o mixer.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o pcspeaker.o pcspeaker.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o pic.o pic.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o sblaster.o sblaster.cpp
pcspeaker.cpp: In function 'void PCSPEAKER_SetCounter(Bitu, Bitu)':
pcspeaker.cpp:213:43: 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);
                                           ^
pic.cpp: In function 'void write_command(Bitu, Bitu, Bitu)':
pic.cpp:104:86: 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:62: 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:69: 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:63: 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:63: 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:70: 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:87: 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:44: 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);
                                            ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o tandy_sound.o tandy_sound.cpp
tandy_sound.cpp: In function 'void TandyDACWrite(Bitu, Bitu, Bitu)':
tandy_sound.cpp:408:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
   tandy.dac.frequency = tandy.dac.frequency & 0xf00 | (Bit8u)(data&0xff);
                                             ^
tandy_sound.cpp:421:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
   tandy.dac.frequency = tandy.dac.frequency & 0x00ff | (((Bit8u)(data&0xf))<<8);
                                             ^
tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)':
tandy_sound.cpp:446:48: 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);
                                                ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o timer.o timer.cpp
timer.cpp: In function 'void counter_latch(Bitu)':
timer.cpp:185:82: 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);
                                                                                  ^
In file included from tandy_sound.cpp:29:0:
../../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;
               ^
mixer.cpp: In function 'void MIXER_Init(Section*)':
mixer.cpp:655:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if((mixer.freq != obtained.freq) || (mixer.blocksize != obtained.samples))
                  ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga.o vga.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_attr.o vga_attr.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_crtc.o vga_crtc.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_dac.o vga_dac.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_draw.o vga_draw.cpp
vga_dac.cpp: In function 'void write_p3c6(Bitu, Bitu, Bitu)':
vga_dac.cpp:70:64: 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);
                                                                ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_gfx.o vga_gfx.cpp
vga_gfx.cpp: In function 'void write_p3cf(Bitu, Bitu, Bitu)':
vga_gfx.cpp:185:74: 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:86: 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:112: 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<Bit32u>(gfx(index)),port);
                                                                                                                ^
vga_draw.cpp: In function 'Bit8u* VGA_Draw_LIN16_Line_HWMouse(Bitu, Bitu)':
vga_draw.cpp:302:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      *xat = *(Bit16u*)vga.s3.hgc.forestack;
                                  ^
vga_draw.cpp:304:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      *xat = *(Bit16u*)vga.s3.hgc.backstack;
                                  ^
vga_draw.cpp: In function 'Bit8u* VGA_Draw_LIN32_Line_HWMouse(Bitu, Bitu)':
vga_draw.cpp:340:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      *xat = *(Bit32u*)vga.s3.hgc.forestack;
                                  ^
vga_draw.cpp:342:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      *xat = *(Bit32u*)vga.s3.hgc.backstack;
                                  ^
vga_draw.cpp: In function 'void VGA_SetBlinking(Bitu)':
vga_draw.cpp:698:47: 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:71: 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:894:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
     vga.draw.lines_total-vga.draw.lines_done);
                                             ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_other.o vga_other.cpp
vga_draw.cpp: In function 'void VGA_SetupDrawing(Bitu)':
vga_draw.cpp:1124:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   htotal, hdend, hbstart, hbend, hrstart, hrend );
                                                 ^
vga_draw.cpp:1124:49: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_draw.cpp:1124:49: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_draw.cpp:1124:49: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_draw.cpp:1124:49: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_draw.cpp:1124:49: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_draw.cpp:1126:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   vtotal, vdend, vbstart, vbend, vrstart, vrend );
                                                 ^
vga_draw.cpp:1126:49: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_draw.cpp:1126:49: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_draw.cpp:1126:49: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_draw.cpp:1126:49: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_draw.cpp:1126:49: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_draw.cpp:1163:65: 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:77: 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:75: 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:75: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_draw.cpp:1484:73: 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:1484:73: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_other.cpp: In function 'void write_crtc_data_other(Bitu, Bitu, Bitu)':
vga_other.cpp:109:88: 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]
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_memory.o vga_memory.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_misc.o vga_misc.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_seq.o vga_seq.cpp
sblaster.cpp: In function 'void DSP_DoDMATransfer(DMA_MODES, Bitu, bool)':
sblaster.cpp:641:2: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu {aka long unsigned int}' [-Wformat=]
  );
  ^
sblaster.cpp:641:2: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu {aka long unsigned int}' [-Wformat=]
sblaster.cpp:641:2: 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:66: 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:64: 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:63: 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);
                                                               ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_xga.o vga_xga.cpp
vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)':
vga_xga.cpp:108:64: 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:55: 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:56: 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:56: 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:643:29: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
         xga.waitcmd.buswidth);
                             ^
vga_xga.cpp:691:32: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
           (mixmode >> 5) & 0x03);
                                ^
vga_xga.cpp:710:65: 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:72: 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:72: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_xga.cpp:1167:72: 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:57: 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:58: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized]
      destval = XGA_GetMixResult(mixmode, srcval, dstdata);
                                                          ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_s3.o vga_s3.cpp
vga_xga.cpp: In function 'void XGA_DrawRectangle(Bitu)':
vga_xga.cpp:500:58: 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:649:11: warning: 'chunksize' may be used uninitialized in this function [-Wmaybe-uninitialized]
      Bitu chunksize;
           ^
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
                        ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_tseng.o vga_tseng.cpp
vga_xga.cpp: In function 'void XGA_BlitRect(Bitu)':
vga_xga.cpp:800:56: 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:56: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized]
    destval = XGA_GetMixResult(mixmode, srcval, dstdata);
                                                        ^
vga_s3.cpp: In function 'void SVGA_S3_WriteCRTC(Bitu, Bitu, Bitu)':
vga_s3.cpp:349:77: 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:76: 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:493:76: 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);
                                                                            ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_paradise.o vga_paradise.cpp
In file included from ../../include/programs.h:28:0,
                 from mixer.cpp:50:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cmos.o cmos.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o disney.o disney.cpp
In file included from ../../include/bios_disk.h:27:0,
                 from cmos.cpp:29:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
vga_paradise.cpp: In function 'void write_p3cf_pvga1a(Bitu, Bitu, Bitu)':
vga_paradise.cpp:107:79: 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:80: 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);
                                                                                ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o gus.o gus.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o mpu401.o mpu401.cpp
vga_tseng.cpp: In function 'void write_p3d5_et4k(Bitu, Bitu, Bitu)':
vga_tseng.cpp:175:78: 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:79: 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:77: 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:78: 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:78: 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:79: 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);
                                                                               ^
mpu401.cpp: In function 'void MPU401_WriteCommand(Bitu, Bitu, Bitu)':
mpu401.cpp:128:85: 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:51: 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:59: 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);
                                                           ^
vga_tseng.cpp: In function 'void write_p3d5_et3k(Bitu, Bitu, Bitu)':
vga_tseng.cpp:576:78: 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:79: 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:77: 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:78: 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:78: 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:79: 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);
                                                                               ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o ipx.o ipx.cpp
disney.cpp: In function 'void disney_write(Bitu, Bitu, Bitu)':
disney.cpp:206:56: 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);
                                                        ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o ipxserver.o ipxserver.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dbopl.o dbopl.cpp
In file included from /usr/include/SDL/SDL_main.h:26:0,
                 from /usr/include/SDL/SDL.h:30,
                 from /usr/include/SDL/SDL_net.h:27,
                 from ../../include/ipxserver.h:24,
                 from ipxserver.cpp:26:
ipxserver.cpp: In function 'void ackClient(IPaddress)':
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipxserver.cpp:131:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0xffff, regHeader.checkSum);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipxserver.cpp:132:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(sizeof(regHeader), regHeader.length);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipxserver.cpp:134:2: note: in expansion of macro 'SDLNet_Write32'
  SDLNet_Write32(0, regHeader.dest.network);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipxserver.cpp:136:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0x2, regHeader.dest.socket);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipxserver.cpp:138:2: note: in expansion of macro 'SDLNet_Write32'
  SDLNet_Write32(1, regHeader.src.network);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipxserver.cpp:140:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0x2, regHeader.src.socket);
  ^
ipxserver.cpp:129:7: warning: variable 'result' set but not used [-Wunused-but-set-variable]
  Bits result;
       ^
In file included from /usr/include/SDL/SDL_audio.h:33:0,
                 from /usr/include/SDL/SDL.h:32,
                 from /usr/include/SDL/SDL_net.h:27,
                 from ../../include/ipxserver.h:24,
                 from ipxserver.cpp:26:
ipxserver.cpp: In function 'void IPX_ServerLoop()':
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_endian.h:190:36: note: in definition of macro 'SDL_SwapBE16'
 #define SDL_SwapBE16(X) SDL_Swap16(X)
                                    ^
/usr/include/SDL/SDL_net.h:419:17: note: in expansion of macro 'SDL_reinterpret_cast'
  (SDL_SwapBE16(*SDL_reinterpret_cast(Uint16 *, areap)))
                 ^
ipxserver.cpp:175:6: note: in expansion of macro 'SDLNet_Read16'
   if(SDLNet_Read16(tmpHeader->dest.socket) == 0x2) {
      ^
dbopl.cpp: In instantiation of 'DBOPL::Channel* DBOPL::Channel::BlockTemplate(DBOPL::Chip*, Bit32u, Bit32s*) [with DBOPL::SynthMode mode = (DBOPL::SynthMode)11u; Bit32u = unsigned int; Bit32s = int]':
dbopl.cpp:1035:26:   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)10u; Bit32u = unsigned int; Bit32s = int]':
dbopl.cpp:1037:26:   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 ) {
   ^
In file included from /usr/include/SDL/SDL_main.h:26:0,
                 from /usr/include/SDL/SDL.h:30,
                 from /usr/include/SDL/SDL_net.h:27,
                 from ../../include/ipx.h:74,
                 from ipx.cpp:38:
ipx.cpp: In function 'void pingAck(IPaddress)':
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:515:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0xffff, regHeader.checkSum);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:516:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(sizeof(regHeader), regHeader.length);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipx.cpp:518:2: note: in expansion of macro 'SDLNet_Write32'
  SDLNet_Write32(0, regHeader.dest.network);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:520:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0x2, regHeader.dest.socket);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipx.cpp:522:2: note: in expansion of macro 'SDLNet_Write32'
  SDLNet_Write32(0, regHeader.src.network);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:524:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0x2, regHeader.src.socket);
  ^
ipx.cpp:513:7: warning: variable 'result' set but not used [-Wunused-but-set-variable]
  Bits result;
       ^
In file included from /usr/include/SDL/SDL_main.h:26:0,
                 from /usr/include/SDL/SDL.h:30,
                 from /usr/include/SDL/SDL_net.h:27,
                 from ../../include/ipx.h:74,
                 from ipx.cpp:38:
ipx.cpp: In function 'void pingSend()':
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:541:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0xffff, regHeader.checkSum);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:542:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(sizeof(regHeader), regHeader.length);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipx.cpp:544:2: note: in expansion of macro 'SDLNet_Write32'
  SDLNet_Write32(0, regHeader.dest.network);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:547:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0x2, regHeader.dest.socket);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipx.cpp:549:2: note: in expansion of macro 'SDLNet_Write32'
  SDLNet_Write32(0, regHeader.src.network);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:551:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0x2, regHeader.src.socket);
  ^
ipx.cpp: In function 'bool ConnectToServer(const char*)':
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:768:4: note: in expansion of macro 'SDLNet_Write16'
    SDLNet_Write16(0xffff, regHeader.checkSum);
    ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:769:4: note: in expansion of macro 'SDLNet_Write16'
    SDLNet_Write16(sizeof(regHeader), regHeader.length);
    ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipx.cpp:772:4: note: in expansion of macro 'SDLNet_Write32'
    SDLNet_Write32(0, regHeader.dest.network);
    ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:775:4: note: in expansion of macro 'SDLNet_Write16'
    SDLNet_Write16(0x2, regHeader.dest.socket);
    ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipx.cpp:777:4: note: in expansion of macro 'SDLNet_Write32'
    SDLNet_Write32(0, regHeader.src.network);
    ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:780:4: note: in expansion of macro 'SDLNet_Write16'
    SDLNet_Write16(0x2, regHeader.src.socket);
    ^
In file included from ../../include/programs.h:28:0,
                 from ipx.cpp:42:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from gus.cpp:27:0:
../../include/dma.h:117:15: warning: 'dma_wrapping' defined but not used [-Wunused-variable]
 static Bit32u dma_wrapping = 0xffff;
               ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from gus.cpp:30:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from sblaster.cpp:28:0:
../../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;
               ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from sblaster.cpp:33:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
adlib.cpp: At global scope:
adlib.cpp:570:13: warning: 'void SaveRad()' defined but not used [-Wunused-function]
 static void SaveRad() {
             ^
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/src/hardware'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/hardware'
Making all in libs
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
Making all in zmbv
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs/zmbv'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs/zmbv'
Making all in gui_tk
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o gui_tk.o gui_tk.cpp
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/src/libs/gui_tk'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
Making all in ints
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o mouse.o mouse.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o xms.o xms.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o ems.o ems.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10.o int10.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_char.o int10_char.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_memory.o int10_memory.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_misc.o int10_misc.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_modes.o int10_modes.cpp
int10_misc.cpp: In function 'void INT10_EGA_RIL_ReadRegisterRange(Bit8u, Bit8u, Bit16u, PhysPt)':
int10_misc.cpp:236:73: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   LOG(LOG_INT10,LOG_ERROR)("EGA RIL range read with port %x called",port);
                                                                         ^
int10_misc.cpp:246:95: 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:74: 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:95: 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);
                                                                                               ^
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]
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]
In file included from int10_misc.cpp:24:0:
int10.h: At global scope:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_vesa.o int10_vesa.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;
        ^
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]
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -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]
In file included from int10_memory.cpp:24:0:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -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:113: 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:112: 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:112: 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:113: 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:112: 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:112: 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);
                                                                                                                ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_video_state.o int10_video_state.cpp
In file included from int10_vesa.cpp:29:0:
int10.h: At global scope:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
In file included from int10_vesa.cpp:30:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_vptable.o int10_vptable.cpp
In file included from int10_vptable.cpp:24:0:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o bios.o bios.cpp
In file included from mouse.cpp:33:0:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
In file included from mouse.cpp:35:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o bios_disk.o bios_disk.cpp
In file included from int10_put_pixel.cpp:24:0:
int10.h: At global scope:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o bios_keyboard.o bios_keyboard.cpp
In file included from int10_modes.cpp:26:0:
int10.h: At global scope:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
In file included from int10_pal.cpp:22:0:
int10.h: At global scope:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
In file included from int10_video_state.cpp:24:0:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
bios_disk.cpp: In function 'void swapInDisks()':
bios_disk.cpp:109:112: 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:112: 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:59: 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:57: 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:57: 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:108: 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:38: 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);
                                      ^
In file included from ems.cpp:31:0:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from bios_disk.cpp:26:0:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from xms.cpp:27:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from bios_keyboard.cpp:28:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/serialport.h:34:0,
                 from bios.cpp:33:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
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/src/ints'
Making all in misc
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o cross.o cross.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o messages.o messages.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o programs.o programs.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o setup.o setup.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o support.o support.cpp
setup.cpp: In member function 'virtual bool Prop_string::CheckValue(const Value&, bool)':
setup.cpp:275:47: 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) {
                                               ^
messages.cpp: In function 'void LoadMessageFile(const char*)':
messages.cpp:93:13: warning: value computed is not used [-Wunused-value]
    *parser++;
             ^
setup.cpp: In member function 'bool Config::PrintConfig(const char*) const':
setup.cpp:636:49: 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:636:49: warning: field width specifier '*' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=]
setup.cpp:644:78: 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());
                                                                              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/control.h:30,
                 from messages.cpp:28:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from programs.cpp:27:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/control.h:30,
                 from setup.cpp:24:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
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/src/misc'
Making all in shell
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o shell.o shell.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o shell_batch.o shell_batch.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o shell_cmds.o shell_cmds.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o shell_misc.o shell_misc.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;
                            ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from shell_batch.cpp:24:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)':
shell.cpp:391:29: 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:30: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
      getcwd(buffer,CROSS_LEN);
                              ^
shell_cmds.cpp: In function 'void FormatNumber(Bitu, char*)':
shell_cmds.cpp:379:54: 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:54: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
shell_cmds.cpp:379:54: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu {aka long unsigned int}' [-Wformat=]
shell_cmds.cpp:379:54: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu {aka long unsigned int}' [-Wformat=]
shell_cmds.cpp:383:44: 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:44: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
shell_cmds.cpp:383:44: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu {aka long unsigned int}' [-Wformat=]
shell_cmds.cpp:387:34: 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:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
shell_cmds.cpp:390:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
  sprintf(buf,"%d",numb);
                       ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/control.h:30,
                 from shell.cpp:26:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from shell_misc.cpp:25:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from shell_cmds.cpp:22:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
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/src/shell'
Making all in platform
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
Making all in visualc
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform/visualc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform/visualc'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I..  -I../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dosbox.o dosbox.cpp
dosbox.cpp: In function 'void DOSBOX_Init()':
dosbox.cpp:311:17: warning: variable 'secline' set but not used [-Wunused-but-set-variable]
  Section_line * secline;
                 ^
In file included from dosbox.cpp:36:0:
../include/dos_inc.h: At global scope:
../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from dosbox.cpp:43:0:
ints/int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
ints/int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
x86_64-alt-linux-g++  -pipe -Wall -g -O2    -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/serialport/libserial.a libs/gui_tk/libgui_tk.a -lSDL_sound -lasound -lm -ldl -lpthread -lSDL -lcurses -lpng -lz -lSDL_net -lX11 -lGL
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
Making all in include
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/include'
Making all in docs
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/docs'
Making all in visualc_net
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/visualc_net'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/visualc_net'
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74'
make[1]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74'
make: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74'
+ cp -a src/dosbox src/dosbox-debug
+ make distclean
make: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74'
Making distclean in visualc_net
make[1]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/visualc_net'
Making distclean in docs
make[1]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/docs'
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f Makefile
make[1]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/docs'
Making distclean in include
make[1]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/include'
Making distclean in src
make[1]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
Making distclean in platform
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
Making distclean in visualc
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/platform/visualc'
Making distclean in .
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/platform'
rm -f Makefile
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
Making distclean in shell
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/shell'
Making distclean in misc
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/misc'
Making distclean in ints
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/ints'
Making distclean in libs
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
Making distclean in gui_tk
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/libs/gui_tk'
Making distclean in zmbv
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/libs/zmbv'
Making distclean in .
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/libs'
rm -f Makefile
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
Making distclean in hardware
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/hardware'
Making distclean in serialport
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/hardware/serialport'
Making distclean in .
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/hardware'
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/hardware'
Making distclean in gui
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/gui'
Making distclean in fpu
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/fpu'
Making distclean in dos
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/dos'
Making distclean in debug
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/debug'
Making distclean in cpu
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu'
Making distclean in core_dynrec
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/cpu/core_dynrec'
Making distclean in core_dyn_x86
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/cpu/core_dyn_x86'
Making distclean in core_normal
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/cpu/core_normal'
Making distclean in core_full
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/cpu/core_full'
Making distclean in .
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/cpu'
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu'
Making distclean in .
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src'
rm -rf ./.deps
rm -f Makefile
make[1]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
Making distclean in .
make[1]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74'
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f config.h stamp-h1
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[1]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74'
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'
+ CFLAGS='-pipe -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -Wall -g -O2'
+ export FFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -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 --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 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 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)) ... no
checking if compiler allows __attribute__((fastcall)) ... no
checking if compiler allows __builtin_expect... 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 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
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/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
+ '[' -n 8 ']'
+ make -j8
make: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74'
make  all-recursive
make[1]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74'
Making all in src
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
Making all in cpu
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu'
Making all in core_full
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_full'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_full'
Making all in core_normal
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_normal'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_normal'
Making all in core_dyn_x86
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_dyn_x86'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_dyn_x86'
Making all in core_dynrec
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_dynrec'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_dynrec'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o callback.o callback.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cpu.o cpu.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o flags.o flags.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o modrm.o modrm.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o core_full.o core_full.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o paging.o paging.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o core_normal.o core_normal.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o core_simple.o core_simple.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o core_prefetch.o core_prefetch.cpp
callback.cpp: In function 'Bitu CALLBACK_SetupExtra(Bitu, Bitu, PhysPt, bool)':
callback.cpp:435:47: 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);
                                               ^
cpu.cpp: In function 'bool CPU_SwitchTask(Bitu, TSwitchType, Bitu)':
cpu.cpp:348:86: 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:50: 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:89: 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:66: 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:66: 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:61: 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:55: 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:60: 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:61: 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:61: 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:80: 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);
                                                                                ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o core_dyn_x86.o core_dyn_x86.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o core_dynrec.o core_dynrec.cpp
In file included from core_dynrec.cpp:137:0:
core_dynrec/cache.h: In function 'void cache_closeblock()':
core_dynrec/cache.h:503:107: 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:84: 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:84: 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:0,
                 from core_dynrec.cpp:157:
core_dynrec/decoder_basic.h: In function 'bool mem_readw_checked_drc(PhysPt)':
core_dynrec/decoder_basic.h:714:38: 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:725:38: 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:0,
                 from core_dynrec.cpp:157:
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:0,
                 from core_dynrec.cpp:157:
core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc3()':
core_dynrec/dyn_fpu.h:386:91: 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:91: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
In file included from core_simple.cpp:130:0:
core_normal/string.h: In function 'void DoString(STRING_OP)':
core_normal/string.h:228:20: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized]
   count+=count_left;
                    ^
In file included from core_normal.cpp:134:0:
core_normal/string.h: In function 'void DoString(STRING_OP)':
core_normal/string.h:228:20: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized]
   count+=count_left;
                    ^
In file included from core_full/load.h:324:0,
                 from core_full.cpp:82:
core_full/string.h: In function 'Bits CPU_Core_Full_Run()':
core_full/string.h:223:20: 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_prefetch.cpp:205:0:
core_normal/string.h: In function 'void DoString(STRING_OP)':
core_normal/string.h:228:20: warning: 'count_left' may be used uninitialized in this function [-Wmaybe-uninitialized]
   count+=count_left;
                    ^
In file included from ../../include/programs.h:28:0,
                 from cpu.cpp:29:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from core_full/load.h:21:0,
                 from core_full.cpp:82:
core_full/ea_lookup.h:235:23: warning: 'off' may be used uninitialized in this function [-Wmaybe-uninitialized]
   inst.rm_eaa=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;
          ^
In file included from core_dynrec/decoder.h:22:0,
                 from core_dynrec.cpp:157:
core_dynrec/decoder_basic.h: In function 'void dyn_fill_ea(HostReg, bool)':
core_dynrec/decoder_basic.h:951:9: warning: 'base_reg' may be used uninitialized in this function [-Wmaybe-uninitialized]
   Bit8u base_reg;
         ^
core_dynrec/decoder_basic.h:939:24: warning: 'imm' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if (imm) gen_add_imm(ea_reg,(Bit32u)imm);
                        ^
core_full/ea_lookup.h:108:23: warning: 'off' may be used uninitialized in this function [-Wmaybe-uninitialized]
   inst.rm_eaa=seg_base+off;
                       ^
core_full/ea_lookup.h:3:9: note: 'off' was declared here
  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;
          ^
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/src/cpu'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu'
Making all in debug
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o debug.o debug.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o debug_gui.o debug_gui.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o debug_disasm.o debug_disasm.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o debug_win32.o debug_win32.cpp
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/src/debug'
Making all in dos
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o dos.o dos.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_devices.o dos_devices.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_execute.o dos_execute.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_files.o dos_files.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_ioctl.o dos_ioctl.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_memory.o dos_memory.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_misc.o dos_misc.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_classes.o dos_classes.cpp
In file included from dos_classes.cpp:25:0:
dos_classes.cpp: In member function 'void DOS_ParamBlock::LoadData()':
../../include/dos_inc.h:254:42: 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:42: 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);
                             ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_programs.o dos_programs.cpp
In file included from dos_devices.cpp:27:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_tables.o dos_tables.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o drives.o drives.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o drive_virtual.o drive_virtual.cpp
In file included from dos_memory.cpp:23:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o drive_local.o drive_local.cpp
dos_programs.cpp: In member function 'virtual void BOOT::Run()':
dos_programs.cpp:605:54: 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:691:40: 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:696:54: 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:704:39: 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:709:53: 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);
                                                     ^
In file included from dos_tables.cpp:23:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from drives.h:27,
                 from drives.cpp:23:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o drive_cache.o drive_cache.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o drive_fat.o drive_fat.cpp
In file included from drive_virtual.cpp:24:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o drive_iso.o drive_iso.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_mscdex.o dos_mscdex.cpp
drive_fat.cpp: In member function 'Bit32u fatDrive::getClusterValue(Bit32u)':
drive_fat.cpp:319:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    clustValue = *((Bit16u *)&fatSectBuffer[fatentoff]);
                                                      ^
drive_fat.cpp:327:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    clustValue = *((Bit16u *)&fatSectBuffer[fatentoff]);
                                                      ^
drive_fat.cpp:330:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    clustValue = *((Bit32u *)&fatSectBuffer[fatentoff]);
                                                      ^
drive_fat.cpp: In member function 'void fatDrive::setClusterValue(Bit32u, Bit32u)':
drive_fat.cpp:366:59: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    Bit16u tmpValue = *((Bit16u *)&fatSectBuffer[fatentoff]);
                                                           ^
drive_fat.cpp:378:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    *((Bit16u *)&fatSectBuffer[fatentoff]) = tmpValue;
                                         ^
drive_fat.cpp:382:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    *((Bit16u *)&fatSectBuffer[fatentoff]) = (Bit16u)clustValue;
                                         ^
drive_fat.cpp:385:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    *((Bit32u *)&fatSectBuffer[fatentoff]) = clustValue;
                                         ^
In file included from drive_local.cpp:28:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dos_keyboard_layout.o dos_keyboard_layout.cpp
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from drives.h:27,
                 from drive_iso.cpp:27:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cdrom.o cdrom.cpp
In file included from ../../include/programs.h:28:0,
                 from dos_programs.cpp:27:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from drive_fat.cpp:26:0:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cdrom_ioctl_win32.o cdrom_ioctl_win32.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cdrom_aspi_win32.o cdrom_aspi_win32.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cdrom_ioctl_linux.o cdrom_ioctl_linux.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cdrom_image.o cdrom_image.cpp
In file included from dos_execute.cpp:25:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
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;
                           ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cdrom_ioctl_os2.o cdrom_ioctl_os2.cpp
dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)':
dos_keyboard_layout.cpp:179:43: 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:44: 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:50: 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:51: 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:52: 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:53: 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:54: 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);
                                                      ^
drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(DOS_Drive_Cache::CFileInfo*, DOS_Drive_Cache::CFileInfo*)':
drive_cache.cpp:448:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   sprintf(buffer,"%d",info->shortNr);
                                    ^
In file included from ../../include/bios_disk.h:27:0,
                 from dos_keyboard_layout.cpp:23:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from dos_keyboard_layout.cpp:26:0:
../ints/int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
../ints/int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
In file included from dos.cpp:30:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from dos_mscdex.cpp:26:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from drives.h:27,
                 from drive_cache.cpp:21:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from drives.h:27,
                 from cdrom_image.cpp:32:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
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/src/dos'
Making all in fpu
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o fpu.o fpu.cpp
fpu.cpp: In function 'void FPU_ESC3_Normal(Bitu)':
fpu.cpp:389:67: 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:67: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
rm -f libfpu.a
ar cru libfpu.a fpu.o 
ranlib libfpu.a
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/fpu'
Making all in gui
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o sdlmain.o sdlmain.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o sdl_mapper.o sdl_mapper.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o render.o render.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o render_scalers.o render_scalers.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o midi.o midi.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o sdl_gui.o sdl_gui.cpp
sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)':
sdlmain.cpp:239:144: 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:241:138: 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:443:153: 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:450:95: 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:450:95: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
sdlmain.cpp:450:95: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
sdlmain.cpp:472:92: 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:472:92: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
sdlmain.cpp:472:92: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
In file included from ../../include/programs.h:28:0,
                 from ../../include/control.h:30,
                 from sdlmain.cpp:52:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
sdl_mapper.cpp: In member function 'virtual void CJAxisBind::ConfigName(char*)':
sdl_mapper.cpp:544:73: 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:74: 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:57: 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:55: 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:58: 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:591:51: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
               ((dir==SDL_HAT_DOWN)?"down":"left")));
                                                   ^
sdl_mapper.cpp: In constructor 'CStickBindGroup::CStickBindGroup(Bitu, Bitu, bool)':
sdl_mapper.cpp:606:41: 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:111: 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:111: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
sdl_mapper.cpp:659:111: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu {aka long unsigned int}' [-Wformat=]
render.cpp: In function 'void RENDER_Reset()':
render.cpp:484:55: 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:49: 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:49: 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);
                                                 ^
sdl_mapper.cpp: In member function 'void CHandlerEvent::MakeDefaultBind(char*)':
sdl_mapper.cpp:1594:3: 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(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu, bool, CJAxisEvent*)':
sdl_mapper.cpp:1688:61: 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:61: 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:61: 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:61: 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:42: 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:42: 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:42: 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:42: 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:46: 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:46: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
sdl_mapper.cpp:1713:46: 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:27: 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:80: 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);
                                                                                ^
In file included from midi.cpp:91:0:
midi_oss.h: In member function 'virtual void MidiHandler_oss::PlaySysex(Bit8u*, Bitu)':
midi_oss.h:68:24: 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:24: 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);
                        ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/control.h:30,
                 from render.cpp:29:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
sdl_mapper.cpp: In function 'void MAPPER_StartUp(Section*)':
sdl_mapper.cpp:2388:47: warning: iteration 8ul invokes undefined behavior [-Waggressive-loop-optimizations]
   virtual_joysticks[0].button_pressed[i]=false;
                                               ^
sdl_mapper.cpp:2387:13: note: containing loop
  for (i=0; i<16; i++) {
             ^
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) {
             ^
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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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) {
                    ^
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/src/gui'
Making all in hardware
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/hardware'
Making all in serialport
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o directserial.o directserial.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o libserial.o libserial.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o serialdummy.o serialdummy.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o serialport.o serialport.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o softmodem.o softmodem.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o misc_util.o misc_util.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o nullmodem.o nullmodem.cpp
In file included from softmodem.cpp:31:0:
softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)':
softmodem.h:95:55: 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:56: 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:50: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   while(waitingclientsocket=serversocket->Accept())
                                                  ^
softmodem.cpp:280:78: 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:78: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
softmodem.cpp:283:80: 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:80: 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:75: 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:77: 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:68: 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;
                ^
misc_util.cpp: In member function 'bool TCPClientSocket::SendArray(Bit8u*, Bitu)':
misc_util.cpp:226:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(SDLNet_TCP_Send(mysock, data, bufsize)!=bufsize) {
                                           ^
misc_util.cpp: In member function 'bool TCPClientSocket::SendByteBuffered(Bit8u)':
misc_util.cpp:240:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(SDLNet_TCP_Send(mysock, sendbuffer, sendbuffersize)!=sendbuffersize) {
                                                         ^
misc_util.cpp: In member function 'void TCPClientSocket::FlushBuffer()':
misc_util.cpp:272:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    sendbufferindex)!=sendbufferindex) {
                    ^
softmodem.cpp: In member function 'void CSerialModem::SendRes(ResTypes)':
softmodem.cpp:163:39: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(numericresponse) SendNumber(code);
                                       ^
softmodem.cpp:173:40: warning: 'string' may be used uninitialized in this function [-Wmaybe-uninitialized]
   LOG_MSG("Modem response: %s", string);
                                        ^
In file included from serialport.cpp:35:0:
softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)':
softmodem.h:95:55: 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:56: 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);
                                                        ^
nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)':
nullmodem.cpp:108:55: 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:63: 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:68: 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:143:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
     COMNUMBER);
              ^
serialport.cpp: In member function 'void CSerial::handleEvent(Bit16u)':
serialport.cpp:275:44: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
     overrunIF0,txOverrunErrors, breakErrors);
                                            ^
nullmodem.cpp:161:52: 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:169:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
    COMNUMBER,serverport);
                        ^
serialport.cpp:275:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
serialport.cpp:275:44: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
serialport.cpp:275:44: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu {aka long unsigned int}' [-Wformat=]
serialport.cpp:275:44: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu {aka long unsigned int}' [-Wformat=]
serialport.cpp:275:44: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu {aka long unsigned int}' [-Wformat=]
serialport.cpp:275:44: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu {aka long unsigned int}' [-Wformat=]
nullmodem.cpp: In member function 'void CNullModem::ClientConnect()':
nullmodem.cpp:224:52: 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:234:60: 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:242:45: 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:386:73: 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:460:70: 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);
                                                                      ^
serialport.cpp: In static member function 'static bool CSerial::getBituSubstring(const char*, Bitu*, CommandLine*)':
serialport.cpp:1140:29: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'Bitu* {aka long unsigned int*}' [-Wformat=]
  if(sscanf(tmpchar,"%u",data)!=1) return false;
                             ^
serialport.cpp: In constructor 'SERIALPORTS::SERIALPORTS(Section*)':
serialport.cpp:1264:44: 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);
                                            ^
directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)':
directserial.cpp:46:63: 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:51:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
    COMNUMBER, tmpstring.c_str());
                                ^
directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)':
directserial.cpp:278:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
    COMNUMBER, baudrate,bytelength,parity,stopbits);
                                                  ^
directserial.cpp:278:50: 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:63: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
   LOG_MSG("Serial%d: COM port error: write failed!", COMNUMBER);
                                                               ^
In file included from ../../../include/serialport.h:34:0,
                 from softmodem.cpp:30:
../../../include/dos_inc.h: At global scope:
../../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../../include/serialport.h:34:0,
                 from serialdummy.h:24,
                 from serialdummy.cpp:24:
../../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../../include/serialport.h:34:0,
                 from directserial.cpp:25:
../../../include/dos_inc.h: At global scope:
../../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../../include/programs.h:28:0,
                 from ../../../include/control.h:30,
                 from nullmodem.cpp:25:
../../../include/dos_inc.h: At global scope:
../../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../../include/serialport.h:34:0,
                 from serialport.cpp:32:
../../../include/dos_inc.h: At global scope:
../../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
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/src/hardware/serialport'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o adlib.o adlib.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dma.o dma.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o gameblaster.o gameblaster.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o hardware.o hardware.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o iohandler.o iohandler.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o joystick.o joystick.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o keyboard.o keyboard.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o memory.o memory.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]
memory.cpp: In constructor 'MEMORY::MEMORY(Section*)':
memory.cpp:562:69: 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);
                                                                     ^
iohandler.cpp: In member function 'void IO_ReadHandleObject::Install(Bitu, Bitu (*)(Bitu, Bitu), Bitu, Bitu)':
iohandler.cpp:119:64: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
  } 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:65: 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);
                                                                 ^
In file included from hardware.cpp:36:0:
../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:0:
../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:89: 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:0:
../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;
      ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o mixer.o mixer.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o pcspeaker.o pcspeaker.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o pic.o pic.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o sblaster.o sblaster.cpp
mixer.cpp: In function 'void MIXER_Init(Section*)':
mixer.cpp:655:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if((mixer.freq != obtained.freq) || (mixer.blocksize != obtained.samples))
                  ^
pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)':
pic.cpp:204:70: 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:87: 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);
                                                                                       ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o tandy_sound.o tandy_sound.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o timer.o timer.cpp
tandy_sound.cpp: In function 'void TandyDACWrite(Bitu, Bitu, Bitu)':
tandy_sound.cpp:408:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
   tandy.dac.frequency = tandy.dac.frequency & 0xf00 | (Bit8u)(data&0xff);
                                             ^
tandy_sound.cpp:421:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
   tandy.dac.frequency = tandy.dac.frequency & 0x00ff | (((Bit8u)(data&0xf))<<8);
                                             ^
tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)':
tandy_sound.cpp:446:48: 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);
                                                ^
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;
               ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga.o vga.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_attr.o vga_attr.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_crtc.o vga_crtc.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_dac.o vga_dac.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_draw.o vga_draw.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_gfx.o vga_gfx.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_other.o vga_other.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_memory.o vga_memory.cpp
vga_draw.cpp: In function 'Bit8u* VGA_Draw_LIN16_Line_HWMouse(Bitu, Bitu)':
vga_draw.cpp:302:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      *xat = *(Bit16u*)vga.s3.hgc.forestack;
                                  ^
vga_draw.cpp:304:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      *xat = *(Bit16u*)vga.s3.hgc.backstack;
                                  ^
vga_draw.cpp: In function 'Bit8u* VGA_Draw_LIN32_Line_HWMouse(Bitu, Bitu)':
vga_draw.cpp:340:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      *xat = *(Bit32u*)vga.s3.hgc.forestack;
                                  ^
vga_draw.cpp:342:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      *xat = *(Bit32u*)vga.s3.hgc.backstack;
                                  ^
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]
In file included from ../../include/programs.h:28:0,
                 from mixer.cpp:50:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_misc.o vga_misc.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_seq.o vga_seq.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_xga.o vga_xga.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_s3.o vga_s3.cpp
vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)':
vga_xga.cpp:108:64: 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:55: 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:56: 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:56: 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:643:29: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
         xga.waitcmd.buswidth);
                             ^
vga_xga.cpp:691:32: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu {aka long unsigned int}' [-Wformat=]
           (mixmode >> 5) & 0x03);
                                ^
vga_xga.cpp:710:65: 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:72: 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:72: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
vga_xga.cpp:1167:72: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
In file included from tandy_sound.cpp:29:0:
../../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;
               ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_tseng.o vga_tseng.cpp
adlib.cpp: At global scope:
adlib.cpp:570:13: warning: 'void SaveRad()' defined but not used [-Wunused-function]
 static void SaveRad() {
             ^
vga_xga.cpp: In function 'void XGA_DrawLineVector(Bitu)':
vga_xga.cpp:324:57: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized]
     destval = XGA_GetMixResult(mixmode, srcval, dstdata);
                                                         ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o vga_paradise.o vga_paradise.cpp
vga_xga.cpp: In function 'void XGA_DrawLineBresenham(Bitu)':
vga_xga.cpp:423:58: 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:58: 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:649:11: warning: 'chunksize' may be used uninitialized in this function [-Wmaybe-uninitialized]
      Bitu chunksize;
           ^
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
                        ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o cmos.o cmos.cpp
vga_xga.cpp: In function 'void XGA_BlitRect(Bitu)':
vga_xga.cpp:800:56: 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:56: warning: 'srcval' may be used uninitialized in this function [-Wmaybe-uninitialized]
    destval = XGA_GetMixResult(mixmode, srcval, dstdata);
                                                        ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o disney.o disney.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o gus.o gus.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o mpu401.o mpu401.cpp
In file included from sblaster.cpp:28:0:
../../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;
               ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from sblaster.cpp:33:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o ipx.o ipx.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o ipxserver.o ipxserver.cpp
In file included from /usr/include/SDL/SDL_main.h:26:0,
                 from /usr/include/SDL/SDL.h:30,
                 from /usr/include/SDL/SDL_net.h:27,
                 from ../../include/ipxserver.h:24,
                 from ipxserver.cpp:26:
ipxserver.cpp: In function 'void ackClient(IPaddress)':
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipxserver.cpp:131:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0xffff, regHeader.checkSum);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipxserver.cpp:132:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(sizeof(regHeader), regHeader.length);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipxserver.cpp:134:2: note: in expansion of macro 'SDLNet_Write32'
  SDLNet_Write32(0, regHeader.dest.network);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipxserver.cpp:136:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0x2, regHeader.dest.socket);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipxserver.cpp:138:2: note: in expansion of macro 'SDLNet_Write32'
  SDLNet_Write32(1, regHeader.src.network);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipxserver.cpp:140:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0x2, regHeader.src.socket);
  ^
ipxserver.cpp:129:7: warning: variable 'result' set but not used [-Wunused-but-set-variable]
  Bits result;
       ^
In file included from /usr/include/SDL/SDL_audio.h:33:0,
                 from /usr/include/SDL/SDL.h:32,
                 from /usr/include/SDL/SDL_net.h:27,
                 from ../../include/ipxserver.h:24,
                 from ipxserver.cpp:26:
ipxserver.cpp: In function 'void IPX_ServerLoop()':
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_endian.h:190:36: note: in definition of macro 'SDL_SwapBE16'
 #define SDL_SwapBE16(X) SDL_Swap16(X)
                                    ^
/usr/include/SDL/SDL_net.h:419:17: note: in expansion of macro 'SDL_reinterpret_cast'
  (SDL_SwapBE16(*SDL_reinterpret_cast(Uint16 *, areap)))
                 ^
ipxserver.cpp:175:6: note: in expansion of macro 'SDLNet_Read16'
   if(SDLNet_Read16(tmpHeader->dest.socket) == 0x2) {
      ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dbopl.o dbopl.cpp
In file included from ../../include/bios_disk.h:27:0,
                 from cmos.cpp:29:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from /usr/include/SDL/SDL_main.h:26:0,
                 from /usr/include/SDL/SDL.h:30,
                 from /usr/include/SDL/SDL_net.h:27,
                 from ../../include/ipx.h:74,
                 from ipx.cpp:38:
ipx.cpp: In function 'void pingAck(IPaddress)':
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:515:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0xffff, regHeader.checkSum);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:516:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(sizeof(regHeader), regHeader.length);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipx.cpp:518:2: note: in expansion of macro 'SDLNet_Write32'
  SDLNet_Write32(0, regHeader.dest.network);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:520:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0x2, regHeader.dest.socket);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipx.cpp:522:2: note: in expansion of macro 'SDLNet_Write32'
  SDLNet_Write32(0, regHeader.src.network);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:524:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0x2, regHeader.src.socket);
  ^
ipx.cpp:513:7: warning: variable 'result' set but not used [-Wunused-but-set-variable]
  Bits result;
       ^
In file included from /usr/include/SDL/SDL_main.h:26:0,
                 from /usr/include/SDL/SDL.h:30,
                 from /usr/include/SDL/SDL_net.h:27,
                 from ../../include/ipx.h:74,
                 from ipx.cpp:38:
ipx.cpp: In function 'void pingSend()':
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:541:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0xffff, regHeader.checkSum);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:542:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(sizeof(regHeader), regHeader.length);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipx.cpp:544:2: note: in expansion of macro 'SDLNet_Write32'
  SDLNet_Write32(0, regHeader.dest.network);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:547:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0x2, regHeader.dest.socket);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipx.cpp:549:2: note: in expansion of macro 'SDLNet_Write32'
  SDLNet_Write32(0, regHeader.src.network);
  ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:551:2: note: in expansion of macro 'SDLNet_Write16'
  SDLNet_Write16(0x2, regHeader.src.socket);
  ^
ipx.cpp: In function 'bool ConnectToServer(const char*)':
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:768:4: note: in expansion of macro 'SDLNet_Write16'
    SDLNet_Write16(0xffff, regHeader.checkSum);
    ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:769:4: note: in expansion of macro 'SDLNet_Write16'
    SDLNet_Write16(sizeof(regHeader), regHeader.length);
    ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipx.cpp:772:4: note: in expansion of macro 'SDLNet_Write32'
    SDLNet_Write32(0, regHeader.dest.network);
    ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:775:4: note: in expansion of macro 'SDLNet_Write16'
    SDLNet_Write16(0x2, regHeader.dest.socket);
    ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:391:3: note: in expansion of macro 'SDL_reinterpret_cast'
  *SDL_reinterpret_cast(Uint32 *, areap) = SDL_SwapBE32(value);
   ^
ipx.cpp:777:4: note: in expansion of macro 'SDLNet_Write32'
    SDLNet_Write32(0, regHeader.src.network);
    ^
/usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                                 ^
/usr/include/SDL/SDL_net.h:367:4: note: in expansion of macro 'SDL_reinterpret_cast'
  (*SDL_reinterpret_cast(Uint16 *, areap) = SDL_SwapBE16(value))
    ^
ipx.cpp:780:4: note: in expansion of macro 'SDLNet_Write16'
    SDLNet_Write16(0x2, regHeader.src.socket);
    ^
dbopl.cpp: In instantiation of 'DBOPL::Channel* DBOPL::Channel::BlockTemplate(DBOPL::Chip*, Bit32u, Bit32s*) [with DBOPL::SynthMode mode = (DBOPL::SynthMode)11u; Bit32u = unsigned int; Bit32s = int]':
dbopl.cpp:1035:26:   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)10u; Bit32u = unsigned int; Bit32s = int]':
dbopl.cpp:1037:26:   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 ) {
   ^
In file included from gus.cpp:27:0:
../../include/dma.h:117:15: warning: 'dma_wrapping' defined but not used [-Wunused-variable]
 static Bit32u dma_wrapping = 0xffff;
               ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from gus.cpp:30:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from ipx.cpp:42:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
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/src/hardware'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/hardware'
Making all in libs
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
Making all in zmbv
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs/zmbv'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs/zmbv'
Making all in gui_tk
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o gui_tk.o gui_tk.cpp
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/src/libs/gui_tk'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
Making all in ints
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o mouse.o mouse.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o xms.o xms.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o ems.o ems.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10.o int10.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_char.o int10_char.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_memory.o int10_memory.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_misc.o int10_misc.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_modes.o int10_modes.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]
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]
In file included from int10_misc.cpp:24:0:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_vesa.o int10_vesa.cpp
In file included from int10_memory.cpp:24:0:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -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]
ems.cpp: In function 'Bit8u EMM_RestoreMappingTable()':
ems.cpp:413:8: warning: variable 'result' set but not used [-Wunused-but-set-variable]
  Bit8u result;
        ^
In file included from int10_pal.cpp:22:0:
int10.h: At global scope:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_put_pixel.o int10_put_pixel.cpp
In file included from mouse.cpp:33:0:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
In file included from mouse.cpp:35:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_video_state.o int10_video_state.cpp
In file included from int10_modes.cpp:26:0:
int10.h: At global scope:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o int10_vptable.o int10_vptable.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]
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o bios.o bios.cpp
In file included from int10_put_pixel.cpp:24:0:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
In file included from xms.cpp:27:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o bios_disk.o bios_disk.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o bios_keyboard.o bios_keyboard.cpp
In file included from int10_vptable.cpp:24:0:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
In file included from int10_vesa.cpp:29:0:
int10.h: At global scope:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
In file included from int10_vesa.cpp:30:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from int10_video_state.cpp:24:0:
int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
bios_disk.cpp: In function 'void swapInDisks()':
bios_disk.cpp:109:112: 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:112: 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:38: 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);
                                      ^
In file included from bios_keyboard.cpp:28:0:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ems.cpp:31:0:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from bios_disk.cpp:26:0:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/serialport.h:34:0,
                 from bios.cpp:33:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
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/src/ints'
Making all in misc
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o cross.o cross.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o messages.o messages.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o programs.o programs.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o setup.o setup.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o support.o support.cpp
messages.cpp: In function 'void LoadMessageFile(const char*)':
messages.cpp:93:13: warning: value computed is not used [-Wunused-value]
    *parser++;
             ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/control.h:30,
                 from messages.cpp:28:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
setup.cpp: In member function 'virtual bool Prop_string::CheckValue(const Value&, bool)':
setup.cpp:275:47: 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:49: 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:636:49: warning: field width specifier '*' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=]
setup.cpp:644:78: 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());
                                                                              ^
In file included from ../../include/programs.h:28:0,
                 from programs.cpp:27:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/control.h:30,
                 from setup.cpp:24:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
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/src/misc'
Making all in shell
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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 -Wall -g -O2  -c -o shell.o shell.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o shell_batch.o shell_batch.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o shell_cmds.o shell_cmds.cpp
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o shell_misc.o shell_misc.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;
                            ^
shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)':
shell.cpp:391:29: 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:30: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
      getcwd(buffer,CROSS_LEN);
                              ^
shell_cmds.cpp: In function 'void FormatNumber(Bitu, char*)':
shell_cmds.cpp:379:54: 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:54: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
shell_cmds.cpp:379:54: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu {aka long unsigned int}' [-Wformat=]
shell_cmds.cpp:379:54: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu {aka long unsigned int}' [-Wformat=]
shell_cmds.cpp:383:44: 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:44: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
shell_cmds.cpp:383:44: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu {aka long unsigned int}' [-Wformat=]
shell_cmds.cpp:387:34: 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:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu {aka long unsigned int}' [-Wformat=]
shell_cmds.cpp:390:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu {aka long unsigned int}' [-Wformat=]
  sprintf(buf,"%d",numb);
                       ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from shell_batch.cpp:24:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from shell_misc.cpp:25:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/control.h:30,
                 from shell.cpp:26:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from ../../include/programs.h:28:0,
                 from ../../include/shell.h:29,
                 from shell_cmds.cpp:22:
../../include/dos_inc.h: At global scope:
../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
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/src/shell'
Making all in platform
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
Making all in visualc
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform/visualc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform/visualc'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I..  -I../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -g -O2  -c -o dosbox.o dosbox.cpp
dosbox.cpp: In function 'void DOSBOX_Init()':
dosbox.cpp:311:17: warning: variable 'secline' set but not used [-Wunused-but-set-variable]
  Section_line * secline;
                 ^
In file included from dosbox.cpp:36:0:
../include/dos_inc.h: At global scope:
../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function]
 static Bit8u RealHandle(Bit16u handle) {
              ^
In file included from dosbox.cpp:43:0:
ints/int10.h:149:14: warning: 'Bit8u CURSOR_POS_COL(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_COL(Bit8u page) {
              ^
ints/int10.h:153:14: warning: 'Bit8u CURSOR_POS_ROW(Bit8u)' defined but not used [-Wunused-function]
 static Bit8u CURSOR_POS_ROW(Bit8u page) {
              ^
x86_64-alt-linux-g++  -pipe -Wall -g -O2    -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/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/src'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
Making all in include
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/include'
Making all in docs
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/docs'
Making all in visualc_net
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/visualc_net'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/visualc_net'
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74'
make[1]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74'
make: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74'
+ 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.14066
+ 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
+ cd dosbox-0.74
+ make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/dosbox-buildroot
make: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74'
Making install in src
make[1]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
Making install in cpu
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu'
Making install in core_full
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_full'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/cpu/core_full'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_full'
Making install in core_normal
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_normal'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/cpu/core_normal'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_normal'
Making install in core_dyn_x86
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_dyn_x86'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/cpu/core_dyn_x86'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_dyn_x86'
Making install in core_dynrec
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_dynrec'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/cpu/core_dynrec'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu/core_dynrec'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/cpu'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/cpu'
Making install in debug
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/debug'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/debug'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/debug'
Making install in dos
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/dos'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/dos'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/dos'
Making install in fpu
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/fpu'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/fpu'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/fpu'
Making install in gui
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/gui'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/gui'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/gui'
Making install in hardware
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/hardware'
Making install in serialport
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/hardware/serialport'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/hardware/serialport'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/hardware/serialport'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/hardware'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/hardware'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/hardware'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/hardware'
Making install in libs
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
Making install in zmbv
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs/zmbv'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/libs/zmbv'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs/zmbv'
Making install in gui_tk
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs/gui_tk'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/libs/gui_tk'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs/gui_tk'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/libs'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/libs'
Making install in ints
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/ints'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/ints'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/ints'
Making install in misc
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/misc'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/misc'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/misc'
Making install in shell
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/shell'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/shell'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/shell'
Making install in platform
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
Making install in visualc
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform/visualc'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/platform/visualc'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform/visualc'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
make[4]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/src/platform'
make[3]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src/platform'
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
make[3]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
test -z "/usr/bin" || /bin/mkdir -p "/usr/src/tmp/dosbox-buildroot/usr/bin"
  /bin/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/src'
make[2]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
make[1]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/src'
Making install in include
make[1]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/include'
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/include'
make[1]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/include'
Making install in docs
make[1]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/docs'
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/docs'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/man/man1" || /bin/mkdir -p "/usr/src/tmp/dosbox-buildroot/usr/share/man/man1"
 /bin/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/docs'
make[1]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/docs'
Making install in visualc_net
make[1]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/visualc_net'
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74/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/visualc_net'
make[1]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74/visualc_net'
make[1]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74'
make[2]: Entering directory `/usr/src/RPM/BUILD/dosbox-0.74'
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'
make[1]: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74'
make: Leaving directory `/usr/src/RPM/BUILD/dosbox-0.74'
+ 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/
+ unzip /usr/src/RPM/SOURCES/DOSBox-russian-lang.zip -d /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74/
Archive:  /usr/src/RPM/SOURCES/DOSBox-russian-lang.zip
   creating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74/DOSBox-russian-lang/
  inflating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74/DOSBox-russian-lang/DOSBox 0.74 Manual RUS.txt  
  inflating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74/DOSBox-russian-lang/Instructions_RUS_ENG.txt  
  inflating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74/DOSBox-russian-lang/Video Instructions Rus.txt  
  inflating: /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74/DOSBox-russian-lang/russian.txt  
+ cp AUTHORS ChangeLog NEWS README THANKS /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74
+ cp docs/README.video docs/PORTING /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74
+ 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.conf /usr/src/RPM/SOURCES/README_ru.ALT /usr/src/tmp/dosbox-buildroot//usr/share/doc/dosbox-0.74
+ /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)
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-alt4.qa1
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5Ka7F3
find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rlsNJv
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks)
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:ojSpcE97k90FepJC3XJ3GSsK58EU9a6flK8TalXQc17aHsTMo1TBg1EHZnfJJysZ9iU85Ixw0a2vni2Z0, libSDL-1.2.so.0()(64bit) >= set:leE244Z0qyVI5xcERlZxUIb8QXmQzbGbtUeCuI6qBr6wgIzdUzpAd0ZwqvUHYhVD7fV4IMXHx870tPEJ8dWHi0fcdiA69NWOUlQV1cDyNimmSWCBBUogDNsssl9Oe0X2QmmYpKU8CfzTZrZqeKa8OYp2, 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), libncurses.so.5()(64bit) >= set:mhWiBzD9fQ3XoZIVWJ0uShBvWkrRG5bqcrD9IEbCkLZcZew1D1, libpng15.so.15()(64bit) >= set:lgHMixNOil0GJDjr0GPO8mwb8ZKf7F2UeOHa2bXOZG46, libpng15.so.15(PNG15_0)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libstdc++.so.6(CXXABI_1.3)(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.hJlGO5
Creating dosbox-debuginfo package
Processing files: dosbox-debuginfo-0.74-alt4.qa1
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5VzmQI
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZxFpFo
find-requires: running scripts (debuginfo)
Requires: dosbox = 0.74-alt4.qa1, /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(libpng15.so.15), debug64(libpthread.so.0), debug64(libstdc++.so.6), debug64(libtinfo.so.5), debug64(libz.so.1)
Wrote: /usr/src/RPM/RPMS/x86_64/dosbox-0.74-alt4.qa1.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/dosbox-debuginfo-0.74-alt4.qa1.x86_64.rpm
214.23user 10.40system 2:44.63elapsed 136%CPU (0avgtext+0avgdata 428720maxresident)k
0inputs+0outputs (0major+4479632minor)pagefaults 0swaps
220.10user 12.88system 2:53.42elapsed 134%CPU (0avgtext+0avgdata 428720maxresident)k
584inputs+0outputs (0major+4802884minor)pagefaults 0swaps