<86>Apr 21 08:30:21 userdel[92993]: delete user 'rooter' <86>Apr 21 08:30:21 userdel[92993]: removed group 'rooter' owned by 'rooter' <86>Apr 21 08:30:21 groupadd[92998]: group added to /etc/group: name=rooter, GID=705 <86>Apr 21 08:30:21 groupadd[92998]: group added to /etc/gshadow: name=rooter <86>Apr 21 08:30:21 groupadd[92998]: new group: name=rooter, GID=705 <86>Apr 21 08:30:21 useradd[93003]: new user: name=rooter, UID=705, GID=705, home=/root, shell=/bin/bash <86>Apr 21 08:30:21 userdel[93013]: delete user 'builder' <86>Apr 21 08:30:21 userdel[93013]: removed group 'builder' owned by 'builder' <86>Apr 21 08:30:21 userdel[93013]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 08:30:21 groupadd[93020]: group added to /etc/group: name=builder, GID=706 <86>Apr 21 08:30:21 groupadd[93020]: group added to /etc/gshadow: name=builder <86>Apr 21 08:30:21 groupadd[93020]: new group: name=builder, GID=706 <86>Apr 21 08:30:21 useradd[93026]: new user: name=builder, UID=706, GID=706, home=/usr/src, shell=/bin/bash <13>Apr 21 08:30:24 rpmi: libogg-1.3.2-alt1 1416015873 installed <13>Apr 21 08:30:24 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1 1488560707 installed <13>Apr 21 08:30:24 rpmi: libalsa-1:1.1.0-alt1.1.1 1454429220 installed <13>Apr 21 08:30:24 rpmi: xorg-xproto-devel-7.0.31-alt0.M80P.1 p8+226471.100.1.1 1554301566 installed <13>Apr 21 08:30:24 rpmi: libflac8-1.2.1-alt11.1 1434276025 installed <13>Apr 21 08:30:24 rpmi: libvorbis-1.3.4-alt1 1395615326 installed <13>Apr 21 08:30:24 rpmi: sgml-common-0.6.3-alt15 1423664786 installed <13>Apr 21 08:30:24 rpmi: docbook-dtds-4.5-alt1 1223476557 installed <13>Apr 21 08:30:24 rpmi: zlib-devel-1.2.8-alt1 1371079011 installed <13>Apr 21 08:30:24 rpmi: libpng15-1.5.28-alt1 1484572069 installed <13>Apr 21 08:30:24 rpmi: libtinfo-devel-5.9-alt8 1456756589 installed <13>Apr 21 08:30:24 rpmi: libnatspec-0.3.1-alt2 1445691580 installed <13>Apr 21 08:30:24 rpmi: libspeex-1.2-alt0.6.rc2 1448139607 installed <13>Apr 21 08:30:24 rpmi: libphysfs-2.0.2-alt1.1 1342065229 installed <13>Apr 21 08:30:24 rpmi: libmodplug-0.8.8.5-alt1 1410380710 installed <13>Apr 21 08:30:24 rpmi: libwrap-1:7.6-alt11 1297041303 installed <13>Apr 21 08:30:24 rpmi: libgsm-1.0.13-alt8 1365910841 installed <13>Apr 21 08:30:24 rpmi: libsndfile-1.0.28-alt1.M80P.1 p8.212938.100 1536756424 installed <13>Apr 21 08:30:24 rpmi: libjson-c-0.12-alt1 1401212997 installed <13>Apr 21 08:30:24 rpmi: liblz4-1:1.7.5-alt1 1488766784 installed <13>Apr 21 08:30:24 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024732 installed <13>Apr 21 08:30:24 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551113135 installed <13>Apr 21 08:30:24 rpmi: libsystemd-1:239-alt1.M80P.1 p8+226956.200.2.1 1555431539 installed <13>Apr 21 08:30:24 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773289 installed <13>Apr 21 08:30:24 rpmi: libxslt-1.1.28-alt4 1448210408 installed <13>Apr 21 08:30:24 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Apr 21 08:30:24 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531929 installed <13>Apr 21 08:30:24 rpmi: libxshmfence-1.2-alt1 1420972190 installed <13>Apr 21 08:30:24 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871125 installed <13>Apr 21 08:30:24 rpmi: libpciaccess-1:0.13.4-alt1 1431681690 installed <13>Apr 21 08:30:24 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609375 installed <13>Apr 21 08:30:24 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 21 08:30:24 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Apr 21 08:30:24 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Apr 21 08:30:24 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313365 installed <13>Apr 21 08:30:24 rpmi: libX11-3:1.6.3-alt1 1431956885 installed <13>Apr 21 08:30:24 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Apr 21 08:30:24 rpmi: libpulseaudio-9.0-alt2 1469794002 installed <13>Apr 21 08:30:24 rpmi: libmikmod-3.3.8-alt1.1 1449204663 installed <13>Apr 21 08:30:24 rpmi: libXxf86vm-1.1.3-alt1 1369984835 installed <13>Apr 21 08:30:24 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Apr 21 08:30:24 rpmi: libXfixes-5.0.1-alt1 1369809608 installed <13>Apr 21 08:30:24 rpmi: libGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206366 installed <13>Apr 21 08:30:24 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Apr 21 08:30:24 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Apr 21 08:30:24 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Apr 21 08:30:25 rpmi: libSDL-1.2.14-alt6.M80P.1 1483818223 installed <13>Apr 21 08:30:25 rpmi: libSDL_net-1.2.8-alt1 1333963614 installed <13>Apr 21 08:30:25 rpmi: libSDL_sound-1.0.3-alt3.hg20120815.1 1421156470 installed <13>Apr 21 08:30:26 rpmi: libxcb-devel-1.12-alt2 p8.218219.300 1545313365 installed <13>Apr 21 08:30:26 rpmi: libX11-devel-3:1.6.3-alt1 1431956885 installed <13>Apr 21 08:30:26 rpmi: libGL-devel-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206366 installed <13>Apr 21 08:30:26 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Apr 21 08:30:26 rpmi: libSDL-devel-1.2.14-alt6.M80P.1 1483818223 installed <13>Apr 21 08:30:26 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Apr 21 08:30:27 rpmi: libstdc++5-devel-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553689025 installed <13>Apr 21 08:30:27 rpmi: gcc5-c++-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553689025 installed <13>Apr 21 08:30:27 rpmi: libSDL_net-devel-1.2.8-alt1 1333963614 installed <13>Apr 21 08:30:27 rpmi: libSDL_sound-devel-1.0.3-alt3.hg20120815.1 1421156470 installed <13>Apr 21 08:30:27 rpmi: libalsa-devel-1:1.1.0-alt1.1.1 1454429220 installed <13>Apr 21 08:30:27 rpmi: libncurses-devel-5.9-alt8 1456756589 installed <13>Apr 21 08:30:27 rpmi: libpng-devel-1.5.28-alt1 1484572069 installed <13>Apr 21 08:30:27 rpmi: unzip-6.0-alt2.qa1 1366155324 installed <13>Apr 21 08:30:27 rpmi: xsltproc-1.1.28-alt4 1448210408 installed <13>Apr 21 08:30:28 rpmi: docbook-style-xsl-1.79.1-alt2 p8.213672.100 1537975322 installed Installing dosbox-0.74-alt4.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.82481 + 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.82481 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd dosbox-0.74 + CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + 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=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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... i586-alt-linux-gnu checking host system type... i586-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 i586-alt-linux-gcc... i586-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking for i586-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... 4 checking size of unsigned long long... 8 checking size of int *... 4 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)) ... yes 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 compatible checking whether x86 dynamic cpu core will be enabled... yes checking whether recompiling cpu core will be enabled... no, using dynamic-x86 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o callback.o callback.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cpu.o cpu.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o flags.o flags.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o modrm.o modrm.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o core_full.o core_full.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o paging.o paging.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o core_normal.o core_normal.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o core_simple.o core_simple.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o core_prefetch.o core_prefetch.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o core_dyn_x86.o core_dyn_x86.cpp 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_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; ^ 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; ^ 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:104:17: warning: 'off' may be used uninitialized in this function [-Wmaybe-uninitialized] inst.rm_off=off; ^ core_full/ea_lookup.h:3:9: note: 'off' was declared here Bit16u off; ^ In file included from core_dyn_x86.cpp:168:0: core_dyn_x86/cache.h: In member function 'virtual void CodePageHandler::writew(PhysPt, Bitu)': core_dyn_x86/cache.h:138:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (!*(Bit16u*)&write_map[addr]) { ^ 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; ^ core_dyn_x86/cache.h: In member function 'virtual void CodePageHandler::writed(PhysPt, Bitu)': core_dyn_x86/cache.h:158:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (!*(Bit32u*)&write_map[addr]) { ^ core_dyn_x86/cache.h: In member function 'virtual bool CodePageHandler::writew_checked(PhysPt, Bitu)': core_dyn_x86/cache.h:203:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (!*(Bit16u*)&write_map[addr]) { ^ core_dyn_x86/cache.h: In member function 'virtual bool CodePageHandler::writed_checked(PhysPt, Bitu)': core_dyn_x86/cache.h:229:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (!*(Bit32u*)&write_map[addr]) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o core_dynrec.o core_dynrec.cpp In file included from core_dyn_x86/decoder.h:1152:0, from core_dyn_x86.cpp:238: core_dyn_x86/string.h: In function 'void dyn_string(STRING_OP)': core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_INSB' not handled in switch [-Wswitch] switch (op) { ^ core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_INSW' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_INSD' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_MOVSB' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_MOVSW' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_MOVSD' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_LODSB' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_LODSW' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_LODSD' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_STOSB' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_STOSW' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_STOSD' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_SCASB' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_SCASW' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_SCASD' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_CMPSB' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_CMPSW' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_CMPSD' not handled in switch [-Wswitch] In file included from core_dyn_x86.cpp:238:0: core_dyn_x86/decoder.h: In function 'void dyn_loop(LoopTypes)': core_dyn_x86/decoder.h:1838:9: warning: enumeration value 'LOOP_NONE' not handled in switch [-Wswitch] switch (type) { ^ core_dyn_x86/decoder.h:1838:9: warning: enumeration value 'LOOP_JCXZ' not handled in switch [-Wswitch] In file included from core_dyn_x86/decoder.h:1975:0, from core_dyn_x86.cpp:238: core_dyn_x86/dyn_fpu_dh.h: In function 'void dh_fpu_esc4()': core_dyn_x86/dyn_fpu_dh.h:318:7: warning: unused variable 'group' [-Wunused-variable] Bitu group=(decode.modrm.val >> 3) & 7; ^ core_dyn_x86/dyn_fpu_dh.h:319:7: warning: unused variable 'sub' [-Wunused-variable] Bitu sub=(decode.modrm.val & 7); ^ core_dyn_x86/dyn_fpu_dh.h: In function 'void dh_fpu_esc6()': core_dyn_x86/dyn_fpu_dh.h:391:7: warning: unused variable 'group' [-Wunused-variable] Bitu group=(decode.modrm.val >> 3) & 7; ^ core_dyn_x86/dyn_fpu_dh.h:392:7: warning: unused variable 'sub' [-Wunused-variable] Bitu sub=(decode.modrm.val & 7); ^ In file included from core_dyn_x86/decoder.h:1989:0, from core_dyn_x86.cpp:238: core_dyn_x86/dyn_fpu.h: In function 'void dyn_fpu_esc0()': core_dyn_x86/dyn_fpu.h:102:8: warning: unused variable 'sub' [-Wunused-variable] Bitu sub=(decode.modrm.val & 7); ^ core_dyn_x86/dyn_fpu.h: In function 'void dyn_fpu_esc4()': core_dyn_x86/dyn_fpu.h:428:7: warning: unused variable 'sub' [-Wunused-variable] Bitu sub=(decode.modrm.val & 7); ^ In file included from core_dyn_x86.cpp:238:0: core_dyn_x86/decoder.h: In function 'CacheBlock* CreateCacheBlock(CodePageHandler*, PhysPt, Bitu)': core_dyn_x86/decoder.h:2107:44: warning: left operand of comma operator has no effect [-Wunused-value] DYN_LOG("Unhandled dual opcode 0F%02X",dual_code); ^ In file included from core_dyn_x86.cpp:238:0: core_dyn_x86/decoder.h:1996:7: warning: unused variable 'cycles' [-Wunused-variable] Bitu cycles=0; ^ 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_dyn_x86.cpp:185:0: core_dyn_x86/risc_x86.h: In function 'void gen_dop_byte(DualOps, DynReg*, Bit8u, DynReg*, Bit8u)': core_dyn_x86/risc_x86.h:332:8: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] Bit8u tmp; ^ core_dyn_x86/risc_x86.h: In function 'void gen_dop_byte_imm(DualOps, DynReg*, Bit8u, Bitu)': core_dyn_x86/risc_x86.h:374:12: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] cache_addw(tmp+((gr1->index+di1)<<8)); ^ core_dyn_x86/risc_x86.h: In function 'void gen_dop_word_imm(DualOps, bool, DynReg*, Bits)': core_dyn_x86/risc_x86.h:550:12: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] cache_addw(tmp+(gr1->index<<8)); ^ core_dyn_x86/risc_x86.h: In function 'void gen_sop_byte(SingleOps, DynReg*, Bit8u)': core_dyn_x86/risc_x86.h:413:12: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] cache_addw(tmp + ((gr1->index+di1)<<8)); ^ core_dyn_x86/risc_x86.h: In function 'void gen_dop_word(DualOps, bool, DynReg*, DynReg*)': core_dyn_x86/risc_x86.h:499:8: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] Bit8u tmp; ^ In file included from ../../include/programs.h:28:0, from cpu.cpp:29: ../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function] static Bit8u RealHandle(Bit16u handle) { ^ core_dyn_x86/risc_x86.h: In function 'void gen_dop_word_var(DualOps, bool, DynReg*, void*)': core_dyn_x86/risc_x86.h:585:8: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] Bit8u tmp; ^ core_dyn_x86/risc_x86.h: In function 'void dyn_string(STRING_OP)': core_dyn_x86/risc_x86.h:983:30: warning: 'rep_ecx_jmp' may be used uninitialized in this function [-Wmaybe-uninitialized] *(Bit32u*)data=(from-data-4); ^ In file included from core_dyn_x86/decoder.h:1152:0, from core_dyn_x86.cpp:238: core_dyn_x86/string.h:82:10: note: 'rep_ecx_jmp' was declared here Bit8u * rep_ecx_jmp; ^ In file included from core_dyn_x86.cpp:185:0: core_dyn_x86/risc_x86.h: In function 'void gen_dop_word_imm_mem(DualOps, bool, DynReg*, void*)': core_dyn_x86/risc_x86.h:579:12: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] cache_addw(tmp+(gr1->index<<11)); ^ In file included from core_dyn_x86.cpp:238:0: core_dyn_x86/decoder.h: In function 'void dyn_fill_ea(bool, DynReg*)': core_dyn_x86/decoder.h:996:4: warning: 'imm' may be used uninitialized in this function [-Wmaybe-uninitialized] if (imm) gen_lea(reg_ea,DREG(EDI),0,0,imm); ^ In file included from core_dyn_x86.cpp:185:0: core_dyn_x86/risc_x86.h: In function 'void dyn_grp1_eb_ib()': core_dyn_x86/risc_x86.h:398:12: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] cache_addw(tmp+((gr1->index+di1)<<11)); ^ core_dyn_x86/risc_x86.h:381:9: note: 'tmp' was declared here Bit16u tmp; ^ In file included from core_dyn_x86.cpp:238:0: core_dyn_x86/decoder.h: At global scope: core_dyn_x86/decoder.h:1776:13: warning: 'void dyn_normal_exit(BlockReturn)' defined but not used [-Wunused-function] static void dyn_normal_exit(BlockReturn code) { ^ core_dyn_x86/decoder.h:1953:13: warning: 'void dyn_interrupt(Bitu)' defined but not used [-Wunused-function] static void dyn_interrupt(Bitu num) { ^ 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o debug.o debug.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o debug_gui.o debug_gui.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o debug_disasm.o debug_disasm.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o debug_win32.o debug_win32.cpp 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 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 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: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: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: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*, unsigned int, 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos.o dos.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_devices.o dos_devices.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_execute.o dos_execute.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_files.o dos_files.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_ioctl.o dos_ioctl.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_memory.o dos_memory.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_misc.o dos_misc.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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); ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_programs.o dos_programs.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_tables.o dos_tables.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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o drives.o drives.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) { ^ 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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o drive_virtual.o drive_virtual.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o drive_local.o drive_local.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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o drive_cache.o drive_cache.cpp 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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o drive_fat.o drive_fat.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_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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o drive_iso.o drive_iso.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_mscdex.o dos_mscdex.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); ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_keyboard_layout.o dos_keyboard_layout.cpp 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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cdrom.o cdrom.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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cdrom_ioctl_win32.o cdrom_ioctl_win32.cpp 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:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function] static Bit8u RealHandle(Bit16u handle) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cdrom_aspi_win32.o cdrom_aspi_win32.cpp 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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cdrom_ioctl_linux.o cdrom_ioctl_linux.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cdrom_image.o cdrom_image.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cdrom_ioctl_os2.o cdrom_ioctl_os2.cpp dos_keyboard_layout.cpp: In member function 'Bitu keyboard_layout::read_codepage_file(const char*, Bit32s)': dos_keyboard_layout.cpp:891:27: warning: variable 'font_data_length' set but not used [-Wunused-but-set-variable] Bit16u number_of_fonts,font_data_length; ^ dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)': dos_keyboard_layout.cpp:179: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 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 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) { ^ 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/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 ../../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) { ^ 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o fpu.o fpu.cpp 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o sdlmain.o sdlmain.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o sdl_mapper.o sdl_mapper.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o render.o render.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o render_scalers.o render_scalers.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o midi.o midi.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o sdl_gui.o sdl_gui.cpp 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: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 8u 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 sdlmain.cpp:52: ../../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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o directserial.o directserial.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o libserial.o libserial.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o serialdummy.o serialdummy.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o serialport.o serialport.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o softmodem.o softmodem.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o misc_util.o misc_util.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o nullmodem.o nullmodem.cpp 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: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: In member function 'void CSerialModem::Timer2()': softmodem.cpp:651:16: warning: unused variable 'args' [-Wunused-variable] unsigned long args = 1; ^ 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()); ^ 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 ../../../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 directserial.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/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 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) { ^ In file included from ../../../include/programs.h:28:0, from ../../../include/control.h:30, from nullmodem.cpp:25: ../../../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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o adlib.o adlib.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dma.o dma.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o gameblaster.o gameblaster.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o hardware.o hardware.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o iohandler.o iohandler.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o joystick.o joystick.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o keyboard.o keyboard.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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] i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o mixer.o mixer.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)) ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o pcspeaker.o pcspeaker.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o pic.o pic.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o sblaster.o sblaster.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o tandy_sound.o tandy_sound.cpp 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] 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; ^ 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); ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o timer.o timer.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga.o vga.cpp 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; ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_attr.o vga_attr.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_crtc.o vga_crtc.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_dac.o vga_dac.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_draw.o vga_draw.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; ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_gfx.o vga_gfx.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_other.o vga_other.cpp vga_other.cpp: In function 'void write_color_select(Bit8u)': vga_other.cpp:240:9: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] switch (vga.mode) { ^ vga_other.cpp:240:9: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_memory.o vga_memory.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_misc.o vga_misc.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_seq.o vga_seq.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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_xga.o vga_xga.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_s3.o vga_s3.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_tseng.o vga_tseng.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_paradise.o vga_paradise.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_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] i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cmos.o cmos.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o disney.o disney.cpp 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); ^ In file included from sblaster.cpp:28: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 sblaster.cpp:33: ../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function] static Bit8u RealHandle(Bit16u handle) { ^ 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:672:24: warning: 'chunks' may be used uninitialized in this function [-Wmaybe-uninitialized] for(Bitu k = 0; k < chunks; k++) { // chunks counter ^ vga_xga.cpp:674:25: warning: 'chunksize' may be used uninitialized in this function [-Wmaybe-uninitialized] for(Bitu n = 0; n < chunksize; n++) { // pixels ^ vga_xga.cpp: In function 'void XGA_BlitRect(Bitu)': vga_xga.cpp:800: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); ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o gus.o gus.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o mpu401.o mpu401.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o ipx.o ipx.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o ipxserver.o ipxserver.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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(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(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(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(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(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(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(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) { ^ 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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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 ../../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 ../../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) { ^ 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o mouse.o mouse.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o xms.o xms.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o ems.o ems.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10.o int10.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10_char.o int10_char.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10_memory.o int10_memory.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10_misc.o int10_misc.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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) { ^ 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) { ^ ems.cpp: In function 'Bit8u EMM_RestoreMappingTable()': ems.cpp:413:8: warning: variable 'result' set but not used [-Wunused-but-set-variable] Bit8u result; ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10_vesa.o int10_vesa.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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] i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10_put_pixel.o int10_put_pixel.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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10_video_state.o int10_video_state.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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10_vptable.o int10_vptable.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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o bios.o bios.cpp 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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o bios_disk.o bios_disk.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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o bios_keyboard.o bios_keyboard.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] 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 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) { ^ 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 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 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 ../../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) { ^ 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 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) { ^ 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cross.o cross.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o messages.o messages.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o programs.o programs.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o setup.o setup.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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) { ^ 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: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o shell.o shell.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o shell_batch.o shell_batch.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o shell_cmds.o shell_cmds.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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); ^ In file included from ../../include/programs.h:28:0, from ../../include/shell.h:29, from shell_cmds.cpp:22: ../../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) { ^ 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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) { ^ i586-alt-linux-g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n ' -march=i586 -mtune=generic' ']' + 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=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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... i586-alt-linux-gnu checking host system type... i586-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 i586-alt-linux-gcc... i586-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking for i586-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... 4 checking size of unsigned long long... 8 checking size of int *... 4 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)) ... yes 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 compatible checking whether x86 dynamic cpu core will be enabled... yes checking whether recompiling cpu core will be enabled... no, using dynamic-x86 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o callback.o callback.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cpu.o cpu.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o flags.o flags.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o modrm.o modrm.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o core_full.o core_full.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o paging.o paging.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o core_normal.o core_normal.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o core_simple.o core_simple.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o core_prefetch.o core_prefetch.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o core_dyn_x86.o core_dyn_x86.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o core_dynrec.o core_dynrec.cpp In file included from core_dyn_x86.cpp:168:0: core_dyn_x86/cache.h: In member function 'virtual void CodePageHandler::writew(PhysPt, Bitu)': core_dyn_x86/cache.h:138:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (!*(Bit16u*)&write_map[addr]) { ^ core_dyn_x86/cache.h: In member function 'virtual void CodePageHandler::writed(PhysPt, Bitu)': core_dyn_x86/cache.h:158:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (!*(Bit32u*)&write_map[addr]) { ^ core_dyn_x86/cache.h: In member function 'virtual bool CodePageHandler::writew_checked(PhysPt, Bitu)': core_dyn_x86/cache.h:203:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (!*(Bit16u*)&write_map[addr]) { ^ core_dyn_x86/cache.h: In member function 'virtual bool CodePageHandler::writed_checked(PhysPt, Bitu)': core_dyn_x86/cache.h:229:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (!*(Bit32u*)&write_map[addr]) { ^ In file included from core_dyn_x86/decoder.h:1152:0, from core_dyn_x86.cpp:238: core_dyn_x86/string.h: In function 'void dyn_string(STRING_OP)': core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_INSB' not handled in switch [-Wswitch] switch (op) { ^ core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_INSW' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_INSD' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_MOVSB' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_MOVSW' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_MOVSD' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_LODSB' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_LODSW' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_LODSD' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_STOSB' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_STOSW' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_STOSD' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_SCASB' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_SCASW' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_SCASD' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_CMPSB' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_CMPSW' not handled in switch [-Wswitch] core_dyn_x86/string.h:100:10: warning: enumeration value 'STR_CMPSD' not handled in switch [-Wswitch] In file included from core_dyn_x86.cpp:238:0: core_dyn_x86/decoder.h: In function 'void dyn_loop(LoopTypes)': core_dyn_x86/decoder.h:1838:9: warning: enumeration value 'LOOP_NONE' not handled in switch [-Wswitch] switch (type) { ^ core_dyn_x86/decoder.h:1838:9: warning: enumeration value 'LOOP_JCXZ' not handled in switch [-Wswitch] In file included from core_dyn_x86/decoder.h:1975:0, from core_dyn_x86.cpp:238: core_dyn_x86/dyn_fpu_dh.h: In function 'void dh_fpu_esc4()': core_dyn_x86/dyn_fpu_dh.h:318:7: warning: unused variable 'group' [-Wunused-variable] Bitu group=(decode.modrm.val >> 3) & 7; ^ core_dyn_x86/dyn_fpu_dh.h:319:7: warning: unused variable 'sub' [-Wunused-variable] Bitu sub=(decode.modrm.val & 7); ^ core_dyn_x86/dyn_fpu_dh.h: In function 'void dh_fpu_esc6()': core_dyn_x86/dyn_fpu_dh.h:391:7: warning: unused variable 'group' [-Wunused-variable] Bitu group=(decode.modrm.val >> 3) & 7; ^ core_dyn_x86/dyn_fpu_dh.h:392:7: warning: unused variable 'sub' [-Wunused-variable] Bitu sub=(decode.modrm.val & 7); ^ In file included from core_dyn_x86/decoder.h:1989:0, from core_dyn_x86.cpp:238: core_dyn_x86/dyn_fpu.h: In function 'void dyn_fpu_esc0()': core_dyn_x86/dyn_fpu.h:102:8: warning: unused variable 'sub' [-Wunused-variable] Bitu sub=(decode.modrm.val & 7); ^ core_dyn_x86/dyn_fpu.h: In function 'void dyn_fpu_esc4()': core_dyn_x86/dyn_fpu.h:428:7: warning: unused variable 'sub' [-Wunused-variable] Bitu sub=(decode.modrm.val & 7); ^ In file included from core_dyn_x86.cpp:238:0: core_dyn_x86/decoder.h: In function 'CacheBlock* CreateCacheBlock(CodePageHandler*, PhysPt, Bitu)': core_dyn_x86/decoder.h:2107:44: warning: left operand of comma operator has no effect [-Wunused-value] DYN_LOG("Unhandled dual opcode 0F%02X",dual_code); ^ In file included from core_dyn_x86.cpp:238:0: core_dyn_x86/decoder.h:1996:7: warning: unused variable 'cycles' [-Wunused-variable] Bitu cycles=0; ^ 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: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_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; ^ In file included from core_dyn_x86.cpp:185:0: core_dyn_x86/risc_x86.h: In function 'void gen_dop_byte(DualOps, DynReg*, Bit8u, DynReg*, Bit8u)': core_dyn_x86/risc_x86.h:332:8: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] Bit8u tmp; ^ core_dyn_x86/risc_x86.h: In function 'void gen_dop_byte_imm(DualOps, DynReg*, Bit8u, Bitu)': core_dyn_x86/risc_x86.h:374:12: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] cache_addw(tmp+((gr1->index+di1)<<8)); ^ core_dyn_x86/risc_x86.h: In function 'void gen_dop_word_imm(DualOps, bool, DynReg*, Bits)': core_dyn_x86/risc_x86.h:550:12: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] cache_addw(tmp+(gr1->index<<8)); ^ core_dyn_x86/risc_x86.h: In function 'void gen_sop_byte(SingleOps, DynReg*, Bit8u)': core_dyn_x86/risc_x86.h:413:12: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] cache_addw(tmp + ((gr1->index+di1)<<8)); ^ core_dyn_x86/risc_x86.h: In function 'void gen_dop_word(DualOps, bool, DynReg*, DynReg*)': core_dyn_x86/risc_x86.h:499:8: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] Bit8u tmp; ^ 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; ^ core_dyn_x86/risc_x86.h: In function 'void gen_dop_word_var(DualOps, bool, DynReg*, void*)': core_dyn_x86/risc_x86.h:585:8: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] Bit8u tmp; ^ In file included from ../../include/programs.h:28:0, from cpu.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 core_dyn_x86.cpp:238:0: core_dyn_x86/decoder.h: In function 'void dyn_fill_ea(bool, DynReg*)': core_dyn_x86/decoder.h:996:4: warning: 'imm' may be used uninitialized in this function [-Wmaybe-uninitialized] if (imm) gen_lea(reg_ea,DREG(EDI),0,0,imm); ^ In file included from core_dyn_x86.cpp:185:0: core_dyn_x86/risc_x86.h: In function 'void dyn_grp1_eb_ib()': core_dyn_x86/risc_x86.h:398:12: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] cache_addw(tmp+((gr1->index+di1)<<11)); ^ core_dyn_x86/risc_x86.h:381:9: note: 'tmp' was declared here Bit16u tmp; ^ 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_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; ^ core_dyn_x86/risc_x86.h: In function 'void gen_dop_word_imm_mem(DualOps, bool, DynReg*, void*)': core_dyn_x86/risc_x86.h:579:12: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] cache_addw(tmp+(gr1->index<<11)); ^ core_full/ea_lookup.h:104:17: warning: 'off' may be used uninitialized in this function [-Wmaybe-uninitialized] inst.rm_off=off; ^ core_full/ea_lookup.h:3:9: note: 'off' was declared here Bit16u off; ^ core_dyn_x86/risc_x86.h: In function 'void dyn_string(STRING_OP)': core_dyn_x86/risc_x86.h:983:30: warning: 'rep_ecx_jmp' may be used uninitialized in this function [-Wmaybe-uninitialized] *(Bit32u*)data=(from-data-4); ^ In file included from core_dyn_x86/decoder.h:1152:0, from core_dyn_x86.cpp:238: core_dyn_x86/string.h:82:10: note: 'rep_ecx_jmp' was declared here Bit8u * rep_ecx_jmp; ^ 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; ^ In file included from core_dyn_x86.cpp:238:0: core_dyn_x86/decoder.h: At global scope: core_dyn_x86/decoder.h:1776:13: warning: 'void dyn_normal_exit(BlockReturn)' defined but not used [-Wunused-function] static void dyn_normal_exit(BlockReturn code) { ^ core_dyn_x86/decoder.h:1953:13: warning: 'void dyn_interrupt(Bitu)' defined but not used [-Wunused-function] static void dyn_interrupt(Bitu num) { ^ 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o debug.o debug.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o debug_gui.o debug_gui.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o debug_disasm.o debug_disasm.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos.o dos.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_devices.o dos_devices.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_execute.o dos_execute.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_files.o dos_files.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_ioctl.o dos_ioctl.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_memory.o dos_memory.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_misc.o dos_misc.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_classes.o dos_classes.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_tables.o dos_tables.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); ^ 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); ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o drives.o drives.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o drive_local.o drive_local.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) { ^ 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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o drive_cache.o drive_cache.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o drive_fat.o drive_fat.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o drive_iso.o drive_iso.cpp 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) { ^ 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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_mscdex.o dos_mscdex.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dos_keyboard_layout.o dos_keyboard_layout.cpp dos_keyboard_layout.cpp: In member function 'Bitu keyboard_layout::read_codepage_file(const char*, Bit32s)': dos_keyboard_layout.cpp:891:27: warning: variable 'font_data_length' set but not used [-Wunused-but-set-variable] Bit16u number_of_fonts,font_data_length; ^ dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)': dos_keyboard_layout.cpp:179: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 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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cdrom.o cdrom.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 ../../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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cdrom_ioctl_win32.o cdrom_ioctl_win32.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cdrom_aspi_win32.o cdrom_aspi_win32.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cdrom_ioctl_linux.o cdrom_ioctl_linux.cpp 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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cdrom_image.o cdrom_image.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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cdrom_ioctl_os2.o cdrom_ioctl_os2.cpp 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 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) { ^ 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) { ^ 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) { ^ 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: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o fpu.o fpu.cpp 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o sdlmain.o sdlmain.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o sdl_mapper.o sdl_mapper.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o render.o render.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o render_scalers.o render_scalers.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o midi.o midi.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o sdl_gui.o sdl_gui.cpp 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 8u 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: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:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function] static Bit8u RealHandle(Bit16u handle) { ^ 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o directserial.o directserial.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o libserial.o libserial.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o serialdummy.o serialdummy.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o serialport.o serialport.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o softmodem.o softmodem.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o misc_util.o misc_util.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o nullmodem.o nullmodem.cpp 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) { ^ In file included from ../../../include/programs.h:28:0, from ../../../include/control.h:30, from nullmodem.cpp:25: ../../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function] static Bit8u RealHandle(Bit16u handle) { ^ 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()) ^ In file included from ../../../include/serialport.h:34:0, from directserial.cpp:25: ../../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function] static Bit8u RealHandle(Bit16u handle) { ^ 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) { ^ In file included from ../../../include/serialport.h:34:0, from serialport.cpp:32: ../../../include/dos_inc.h:641:14: warning: 'Bit8u RealHandle(Bit16u)' defined but not used [-Wunused-function] static Bit8u RealHandle(Bit16u handle) { ^ 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 ../../../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) { ^ 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o adlib.o adlib.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o dma.o dma.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o gameblaster.o gameblaster.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o hardware.o hardware.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o iohandler.o iohandler.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o joystick.o joystick.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o keyboard.o keyboard.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o memory.o memory.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o mixer.o mixer.cpp 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] 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; ^ 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] i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o pcspeaker.o pcspeaker.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)) ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o pic.o pic.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o sblaster.o sblaster.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o tandy_sound.o tandy_sound.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o timer.o timer.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga.o vga.cpp sblaster.cpp: In function 'void DSP_DoDMATransfer(DMA_MODES, Bitu, bool)': sblaster.cpp:591:15: warning: variable 'type' set but not used [-Wunused-but-set-variable] char const * type; ^ In file included from ../../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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_attr.o vga_attr.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); ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_crtc.o vga_crtc.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_dac.o vga_dac.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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_draw.o vga_draw.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; ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_gfx.o vga_gfx.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_other.o vga_other.cpp vga_other.cpp: In function 'void write_color_select(Bit8u)': vga_other.cpp:240:9: warning: enumeration value 'M_CGA2' not handled in switch [-Wswitch] switch (vga.mode) { ^ vga_other.cpp:240:9: warning: enumeration value 'M_CGA4' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_EGA' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_VGA' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN4' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN8' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN15' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN16' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_LIN32' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_HERC_GFX' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_HERC_TEXT' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_TANDY_TEXT' not handled in switch [-Wswitch] vga_other.cpp:240:9: warning: enumeration value 'M_ERROR' not handled in switch [-Wswitch] i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_memory.o vga_memory.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_misc.o vga_misc.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_seq.o vga_seq.cpp 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; ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_xga.o vga_xga.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_s3.o vga_s3.cpp 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] i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_tseng.o vga_tseng.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o vga_paradise.o vga_paradise.cpp 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); ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cmos.o cmos.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:672:24: warning: 'chunks' may be used uninitialized in this function [-Wmaybe-uninitialized] for(Bitu k = 0; k < chunks; k++) { // chunks counter ^ vga_xga.cpp:674:25: warning: 'chunksize' may be used uninitialized in this function [-Wmaybe-uninitialized] for(Bitu n = 0; n < chunksize; n++) { // pixels ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o disney.o disney.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); ^ adlib.cpp: At global scope: adlib.cpp:570:13: warning: 'void SaveRad()' defined but not used [-Wunused-function] static void SaveRad() { ^ 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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o gus.o gus.cpp 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); ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o mpu401.o mpu401.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o ipx.o ipx.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o ipxserver.o ipxserver.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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(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(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(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(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(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(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(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) { ^ 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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o mouse.o mouse.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o xms.o xms.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o ems.o ems.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10.o int10.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10_char.o int10_char.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10_memory.o int10_memory.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10_misc.o int10_misc.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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; ^ 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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10_pal.o int10_pal.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10_put_pixel.o int10_put_pixel.cpp 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) { ^ 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] i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o int10_video_state.o int10_video_state.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 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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o bios.o bios.cpp 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) { ^ i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o bios_disk.o bios_disk.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o bios_keyboard.o bios_keyboard.cpp 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) { ^ 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) { ^ 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 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_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 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 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 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o cross.o cross.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o messages.o messages.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o programs.o programs.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o setup.o setup.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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 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 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 ../../include/control.h:30, from setup.cpp:24: ../../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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o shell.o shell.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o shell_batch.o shell_batch.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o shell_cmds.o shell_cmds.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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); ^ 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/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: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -g -O2 -march=i586 -mtune=generic -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) { ^ i586-alt-linux-g++ -pipe -Wall -g -O2 -march=i586 -mtune=generic -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.70590 + 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) verify-elf: WARNING: ./usr/bin/dosbox-debug: uses non-LFS functions: __fxstat __xstat fopen ftruncate lseek open readdir verify-elf: WARNING: ./usr/bin/dosbox: uses non-LFS functions: __fxstat __xstat fopen ftruncate lseek open readdir 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.PAG18b 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.nMejni 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, /lib/ld-linux.so.2, coreutils, libGL.so.1 >= set:ojSpcE97k90FepJC3XJ3GSsK58EU9a6flK8TalXQc17aHsTMo1TBg1EHZnfJJysZ9iU85Ixw0a2vni2Z0, libSDL-1.2.so.0 >= set:leE244Z0qyVI5xcERlZxUIb8QXmQzbGbtUeCuI6qBr6wgIzdUzpAd0ZwqvUHYhVD7fV4IMXHx870tPEJ8dWHi0fcdiA69NWOUlQV1cDyNimmSWCBBUogDNsssl9Oe0X2QmmYpKU8CfzTZrZqeKa8OYp2, libSDL_net-1.2.so.0 >= set:je8X5Wrmztno4aL5cmZpSuZrqLos404ORdXEEV87an0, libSDL_sound-1.0.so.1 >= set:ieEcy11c4OgYRFMGlkBv, libX11.so.6 >= set:olNEvuKkxBKdvMqZhFd, libasound.so.2 >= set:okUyPzguvGyZq4fwCk33Bhs3Pm6U2, libasound.so.2(ALSA_0.9), libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GLIBC_2.0), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libncurses.so.5 >= set:mhWiBzD9fQ3XoZIVWJ0uShBvWkrRG5bqcrD9IEbCkLZcZew1D1, libpng15.so.15 >= set:lgHMixNOil0GJDjr0GPO8mwb8ZKf7F2UeOHa2bXOZG46, libpng15.so.15(PNG15_0), libpthread.so.0(GLIBC_2.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.9), libtinfo.so.5 >= set:lidIBtZyTGpUWw7R0, libz.so.1 >= 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.QqkDmj 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.4H3XXv find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.R7S1nQ find-requires: running scripts (debuginfo) Requires: dosbox = 0.74-alt4.qa1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libGL.so.1), debug(libSDL-1.2.so.0), debug(libSDL_net-1.2.so.0), debug(libSDL_sound-1.0.so.1), debug(libX11.so.6), debug(libasound.so.2), debug(libc.so.6), debug(libgcc_s.so.1), debug(libm.so.6), debug(libncurses.so.5), debug(libpng15.so.15), debug(libpthread.so.0), debug(libstdc++.so.6), debug(libtinfo.so.5), debug(libz.so.1) Wrote: /usr/src/RPM/RPMS/i586/dosbox-0.74-alt4.qa1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/dosbox-debuginfo-0.74-alt4.qa1.i586.rpm 205.77user 9.04system 3:14.66elapsed 110%CPU (0avgtext+0avgdata 381312maxresident)k 0inputs+0outputs (0major+4590769minor)pagefaults 0swaps 212.08user 11.68system 3:24.50elapsed 109%CPU (0avgtext+0avgdata 381312maxresident)k 1744inputs+0outputs (0major+4903404minor)pagefaults 0swaps