>>> advancemame: Building testing/advancemame 3.9-r2 (using abuild 3.9.0-r5) started Sat, 20 Aug 2022 14:43:15 +0000 >>> advancemame: Checking sanity of /home/buildozer/aports/testing/advancemame/APKBUILD... >>> advancemame: Analyzing dependencies... >>> advancemame: Installing for build: build-base alsa-lib-dev clang-dev expat-dev freetype-dev linux-headers sdl2-dev slang-dev zlib-dev (1/65) Installing alsa-lib (1.2.7.2-r0) (2/65) Installing alsa-lib-dev (1.2.7.2-r0) (3/65) Installing libffi (3.4.2-r1) (4/65) Installing libxml2 (2.10.0-r0) (5/65) Installing llvm14-libs (14.0.6-r3) (6/65) Installing clang-libs (14.0.6-r1) (7/65) Installing clang (14.0.6-r1) (8/65) Installing clang-extra-tools (14.0.6-r1) (9/65) Installing clang-dev (14.0.6-r1) (10/65) Installing expat (2.4.8-r1) (11/65) Installing expat-dev (2.4.8-r1) (12/65) Installing libpng (1.6.37-r2) (13/65) Installing freetype (2.12.1-r0) (14/65) Installing brotli-dev (1.0.9-r7) (15/65) Installing zlib-dev (1.2.12-r3) (16/65) Installing libpng-dev (1.6.37-r2) (17/65) Installing freetype-dev (2.12.1-r0) (18/65) Installing linux-headers (5.16.7-r1) (19/65) Installing sdl2 (2.24.0-r0) (20/65) Installing tslib (1.22-r1) (21/65) Installing directfb (1.7.7-r4) (22/65) Installing directfb-dev (1.7.7-r4) (23/65) Installing libpciaccess (0.16-r1) (24/65) Installing libdrm (2.4.112-r0) (25/65) Installing libpciaccess-dev (0.16-r1) (26/65) Installing libdrm-dev (2.4.112-r0) (27/65) Installing libxau (1.0.9-r1) (28/65) Installing xorgproto (2022.2-r0) (29/65) Installing libxau-dev (1.0.9-r1) (30/65) Installing libmd (1.0.4-r0) (31/65) Installing libbsd (0.11.6-r2) (32/65) Installing libxdmcp (1.1.3-r1) (33/65) Installing libxcb (1.15-r0) (34/65) Installing libx11 (1.8.1-r1) (35/65) Installing libxext (1.3.4-r1) (36/65) Installing xcb-proto (1.15-r0) (37/65) Installing libxdmcp-dev (1.1.3-r1) (38/65) Installing libxcb-dev (1.15-r0) (39/65) Installing xtrans (1.4.0-r2) (40/65) Installing libx11-dev (1.8.1-r1) (41/65) Installing libxext-dev (1.3.4-r1) (42/65) Installing libxdamage (1.1.5-r1) (43/65) Installing libxfixes (6.0.0-r0) (44/65) Installing libxfixes-dev (6.0.0-r0) (45/65) Installing libxdamage-dev (1.1.5-r1) (46/65) Installing libxshmfence (1.3-r1) (47/65) Installing libxshmfence-dev (1.3-r1) (48/65) Installing mesa (22.1.7-r1) (49/65) Installing wayland-libs-server (1.21.0-r0) (50/65) Installing mesa-gbm (22.1.7-r1) (51/65) Installing mesa-glapi (22.1.7-r1) (52/65) Installing wayland-libs-client (1.21.0-r0) (53/65) Installing mesa-egl (22.1.7-r1) (54/65) Installing libxxf86vm (1.1.4-r3) (55/65) Installing mesa-gl (22.1.7-r1) (56/65) Installing mesa-gles (22.1.7-r1) (57/65) Installing mesa-osmesa (22.1.7-r1) (58/65) Installing mesa-xatracker (22.1.7-r1) (59/65) Installing libxxf86vm-dev (1.1.4-r3) (60/65) Installing mesa-dev (22.1.7-r1) (61/65) Installing sdl2-dev (2.24.0-r0) (62/65) Installing pcre (8.45-r2) (63/65) Installing slang (2.3.3-r0) (64/65) Installing slang-dev (2.3.3-r0) (65/65) Installing .makedepends-advancemame (20220820.144317) Executing busybox-1.35.0-r22.trigger OK: 775 MiB in 166 packages >>> advancemame: Cleaning up srcdir >>> advancemame: Cleaning up pkgdir >>> advancemame: Fetching https://distfiles.alpinelinux.org/distfiles/edge/advancemame-3.9.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 26.0M 0 81866 0 0 727k 0 0:00:36 --:--:-- 0:00:36 726k 100 26.0M 100 26.0M 0 0 64.9M 0 --:--:-- --:--:-- --:--:-- 64.8M >>> advancemame: Fetching https://distfiles.alpinelinux.org/distfiles/edge/advancemame-3.9.tar.gz >>> advancemame: Checking sha512sums... advancemame-3.9.tar.gz: OK fix-ppc64le-float128.patch: OK >>> advancemame: Unpacking /var/cache/distfiles/edge/advancemame-3.9.tar.gz... >>> advancemame: fix-ppc64le-float128.patch patching file advance/d2/d2.cc patching file advance/lib/portable.h >>> advancemame: Updating ./config.guess >>> advancemame: Updating ./config.sub checking build system type... x86_64-alpine-linux-musl checking host system type... x86_64-alpine-linux-musl checking for gcc... clang 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 clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether clang++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for grep that handles long lines and -e... /bin/grep checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ar... ar checking for windres... no checking for rm... rm checking for cp... cp checking for mkdir... mkdir checking for echo... echo checking for tar... tar checking for gzip... gzip checking for zip... no checking how to run the C preprocessor... clang -E 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 whether byte ordering is bigendian... no checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of void*... 8 checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether clang accepts x86 assembler... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for unistd.h... (cached) yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking execinfo.h usability... no checking execinfo.h presence... no checking for execinfo.h... no checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/io.h usability... yes checking sys/io.h presence... yes checking for sys/io.h... yes checking sys/kd.h usability... yes checking sys/kd.h presence... yes checking for sys/kd.h... yes checking sys/vt.h usability... yes checking sys/vt.h presence... yes checking for sys/vt.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking ucontext.h usability... yes checking ucontext.h presence... yes checking for ucontext.h... yes checking for an ANSI C-conforming const... yes checking for C/C++ restrict keyword... __restrict checking for inline... inline checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for vprintf... yes checking for _doprnt... no checking for strcasecmp... yes checking for strerror... yes checking for utimes... yes checking for uname... yes checking for sysconf... yes checking for backtrace... no checking for backtrace_symbols... no checking for flockfile... yes checking for funlockfile... yes checking for fread_unlocked... yes checking for fwrite_unlocked... yes checking for fgetc_unlocked... yes checking for feof_unlocked... yes checking for fseeko... yes checking for ftello... yes checking for fsync... yes checking for renameat... yes checking for openat... yes checking for fdopen... yes checking for iopl... yes checking for mprotect... yes checking for sched_getscheduler... yes checking for sched_setscheduler... yes checking for sched_get_priority_max... yes checking for sched_yield... yes checking for port in/out... yes checking for cos in -lm... yes checking for socket in -lsocket... no checking for socket in -lnetwork... no checking for adler32 in -lz... yes checking for XML_ParserCreate in -lexpat... yes checking for FrameBuffer... yes checking for snd_pcm_open in -lasound... yes checking for ALSA... yes checking for OSS... yes checking for pthread_create in -lpthread... yes checking for SLang_init_tty in -lslang... yes checking slang.h usability... yes checking slang.h presence... yes checking for slang.h... yes checking for endwin in -lncurses... no checking for freetype2... yes checking for linking freetype2... yes checking for sdl2... yes checking for raw keyboard interface... yes checking for raw joystick interface... yes checking for raw mouse interface... yes checking for event mouse interface... yes checking for event keyboard interface... yes checking for event joystick interface... yes configure: creating ./config.status config.status: creating Makefile config.status: creating advance/lib/config.h == Host == Environment : x86_64-alpine-linux-musl Endianess : little Bits : 64 Assembler for x86 : no Assembler MIPS3 emulator for x86 : no == Drivers/Libraries == Video : fb slang sdl Sound : alsa oss sdl Keyboard : sdl raw event Joystick : sdl raw event Mouse : sdl raw event Misc : zlib expat pthread freetype2 == Compiler == CC : clang CXX : clang++ CFLAGS : -Os -fomit-frame-pointer -fcommon LDFLAGS : -Wl,--as-needed,-O1,--sort-common SDLCFLAGS : -I/usr/include/SDL2 -I/usr/include/directfb -D_REENTRANT SDLLIBS : -lSDL2 obj/mame/linux/blend obj/mess/linux/blend obj/menu/linux/blend obj/cfg/linux/blend obj/v/linux/blend obj/s/linux/blend obj/k/linux/blend obj/j/linux/blend obj/m/linux/blend obj/mame/linux/blend/advance obj/mame/linux/blend/advance/blit obj/mame/linux/blend/advance/lib obj/mame/linux/blend/advance/linux obj/mame/linux/blend/advance/osd obj/mame/linux/blend/advance/sdl obj/mame/linux/blend/cpu obj/mame/linux/blend/cpu/adsp2100 obj/mame/linux/blend/cpu/alph8201 obj/mame/linux/blend/cpu/arm obj/mame/linux/blend/cpu/arm7 obj/mame/linux/blend/cpu/asap obj/mame/linux/blend/cpu/ccpu obj/mame/linux/blend/cpu/dsp32 obj/mame/linux/blend/cpu/dsp56k obj/mame/linux/blend/cpu/e132xs obj/mame/linux/blend/cpu/g65816 obj/mame/linux/blend/cpu/h6280 obj/mame/linux/blend/cpu/h83002 obj/mame/linux/blend/cpu/hd6309 obj/mame/linux/blend/cpu/i386 obj/mame/linux/blend/cpu/i8039 obj/mame/linux/blend/cpu/i8051 obj/mame/linux/blend/cpu/i8085 obj/mame/linux/blend/cpu/i86 obj/mame/linux/blend/cpu/i8x41 obj/mame/linux/blend/cpu/i960 obj/mame/linux/blend/cpu/jaguar obj/mame/linux/blend/cpu/konami obj/mame/linux/blend/cpu/m37710 obj/mame/linux/blend/cpu/m6502 obj/mame/linux/blend/cpu/m6800 obj/mame/linux/blend/cpu/m68000 obj/mame/linux/blend/cpu/m6805 obj/mame/linux/blend/cpu/m6809 obj/mame/linux/blend/cpu/mc68hc11 obj/mame/linux/blend/cpu/mips obj/mame/linux/blend/cpu/nec obj/mame/linux/blend/cpu/pic16c5x obj/mame/linux/blend/cpu/powerpc obj/mame/linux/blend/cpu/r3000 obj/mame/linux/blend/cpu/rsp obj/mame/linux/blend/cpu/s2650 obj/mame/linux/blend/cpu/se3208 obj/mame/linux/blend/cpu/sh2 obj/mame/linux/blend/cpu/sharc obj/mame/linux/blend/cpu/spc700 obj/mame/linux/blend/cpu/t11 obj/mame/linux/blend/cpu/tms32010 obj/mame/linux/blend/cpu/tms32025 obj/mame/linux/blend/cpu/tms32031 obj/mame/linux/blend/cpu/tms32051 obj/mame/linux/blend/cpu/tms34010 obj/mame/linux/blend/cpu/tms9900 obj/mame/linux/blend/cpu/upd7810 obj/mame/linux/blend/cpu/v60 obj/mame/linux/blend/cpu/v810 obj/mame/linux/blend/cpu/z180 obj/mame/linux/blend/cpu/z80 obj/mame/linux/blend/cpu/z8000 obj/mame/linux/blend/debug obj/mame/linux/blend/drivers obj/mame/linux/blend/machine obj/mame/linux/blend/sndhrdw obj/mame/linux/blend/sound obj/mame/linux/blend/vidhrdw obj/mame/linux/blend/advance/linux/file.o obj/mame/linux/blend/advance/linux/target.o obj/mame/linux/blend/advance/linux/os.o obj/mame/linux/blend/advance/lib/lcd.o obj/mame/linux/blend/advance/osd/thdouble.o obj/mame/linux/blend/advance/sdl/ssdl.o obj/mame/linux/blend/advance/sdl/msdl.o obj/mame/linux/blend/advance/sdl/ksdl.o obj/mame/linux/blend/advance/sdl/jsdl.o obj/mame/linux/blend/advance/sdl/vsdl.o obj/mame/linux/blend/advance/linux/vfb.o obj/mame/linux/blend/advance/linux/salsa.o obj/mame/linux/blend/advance/linux/soss.o obj/mame/linux/blend/advance/linux/kraw.o obj/mame/linux/blend/advance/linux/jraw.o obj/mame/linux/blend/advance/linux/mraw.o obj/mame/linux/blend/advance/linux/kevent.o obj/mame/linux/blend/advance/linux/mevent.o obj/mame/linux/blend/advance/linux/jevent.o obj/mame/linux/blend/advance/linux/event.o obj/mame/linux/blend/advance/osd/emu.o obj/mame/linux/blend/advance/osd/glue.o obj/mame/linux/blend/advance/osd/global.o obj/mame/linux/blend/advance/osd/ui.o obj/mame/linux/blend/advance/osd/video.o obj/mame/linux/blend/advance/osd/frame.o obj/mame/linux/blend/advance/osd/sync.o obj/mame/linux/blend/advance/osd/mode.o obj/mame/linux/blend/advance/osd/menu.o obj/mame/linux/blend/advance/osd/estimate.o obj/mame/linux/blend/advance/osd/record.o obj/mame/linux/blend/advance/osd/sound.o obj/mame/linux/blend/advance/osd/input.o In file included from advance/linux/mraw.c:45: ./advance/linux/ms.c:545:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((context->type == MOUSE_SPACEBALL)) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./advance/linux/ms.c:545:21: note: remove extraneous parentheses around the comparison to silence this warning if ((context->type == MOUSE_SPACEBALL)) { ~ ^ ~ ./advance/linux/ms.c:545:21: note: use '=' to turn this equality comparison into an assignment if ((context->type == MOUSE_SPACEBALL)) { ^~ = ./advance/linux/ms.c:575:23: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((context->type == MOUSE_SPACEBALL)) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./advance/linux/ms.c:575:23: note: remove extraneous parentheses around the comparison to silence this warning if ((context->type == MOUSE_SPACEBALL)) { ~ ^ ~ ./advance/linux/ms.c:575:23: note: use '=' to turn this equality comparison into an assignment if ((context->type == MOUSE_SPACEBALL)) { ^~ = advance/linux/event.c:1418:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_VENDOR], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1419:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_PRODUCT], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1420:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_VERSION], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1421:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_BUS], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ obj/mame/linux/blend/advance/osd/lexyy.o obj/mame/linux/blend/advance/osd/y_tab.o obj/mame/linux/blend/advance/osd/script.o advance/osd/mode.c:272:17: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] unsigned ad = abs(as - rs); ^ advance/osd/mode.c:272:17: note: remove the call to 'abs' since unsigned values cannot be negative unsigned ad = abs(as - rs); ^~~ advance/osd/mode.c:273:17: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] unsigned bd = abs(bs - rs); ^ advance/osd/mode.c:273:17: note: remove the call to 'abs' since unsigned values cannot be negative unsigned bd = abs(bs - rs); ^~~ advance/osd/mode.c:322:17: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] unsigned ad = abs(a - r); ^ advance/osd/mode.c:322:17: note: remove the call to 'abs' since unsigned values cannot be negative unsigned ad = abs(a - r); ^~~ advance/osd/mode.c:323:17: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] unsigned bd = abs(b - r); ^ advance/osd/mode.c:323:17: note: remove the call to 'abs' since unsigned values cannot be negative unsigned bd = abs(b - r); ^~~ obj/mame/linux/blend/advance/osd/hscript.o obj/mame/linux/blend/advance/osd/fileio.o obj/mame/linux/blend/advance/osd/safequit.o obj/mame/linux/blend/advance/osd/fuzzy.o advance/osd/frame.c:2452:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_crtc || abs(mode_size_x * mode_size_y - size) < abs(mode_size_x * mode_size_y - best_size)) { ^ advance/osd/frame.c:2452:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_crtc || abs(mode_size_x * mode_size_y - size) < abs(mode_size_x * mode_size_y - best_size)) { ^~~ advance/osd/frame.c:2452:64: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_crtc || abs(mode_size_x * mode_size_y - size) < abs(mode_size_x * mode_size_y - best_size)) { ^ advance/osd/frame.c:2452:64: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_crtc || abs(mode_size_x * mode_size_y - size) < abs(mode_size_x * mode_size_y - best_size)) { ^~~ obj/mame/linux/blend/advance/blit/blit.o obj/mame/linux/blend/advance/blit/hq2x.o obj/mame/linux/blend/advance/blit/hq2x3.o obj/mame/linux/blend/advance/blit/hq2x4.o 4 warnings generated. obj/mame/linux/blend/advance/blit/hq3x.o obj/mame/linux/blend/advance/blit/hq4x.o obj/mame/linux/blend/advance/blit/xbr2x.o obj/mame/linux/blend/advance/blit/xbr3x.o obj/mame/linux/blend/advance/blit/xbr4x.o obj/mame/linux/blend/advance/blit/scale2x.o 4 warnings generated. obj/mame/linux/blend/advance/blit/scale3x.o obj/mame/linux/blend/advance/blit/scale2k.o obj/mame/linux/blend/advance/blit/scale3k.o obj/mame/linux/blend/advance/blit/scale4k.o obj/mame/linux/blend/advance/blit/interp.o obj/mame/linux/blend/advance/blit/clear.o obj/mame/linux/blend/advance/blit/slice.o 2 warnings generated. obj/mame/linux/blend/advance/lib/portable.o obj/mame/linux/blend/advance/lib/snstring.o obj/mame/linux/blend/advance/lib/log.o obj/mame/linux/blend/advance/lib/measure.o obj/mame/linux/blend/advance/lib/video.o obj/mame/linux/blend/advance/lib/rgb.o obj/mame/linux/blend/advance/lib/conf.o obj/mame/linux/blend/advance/lib/incstr.o obj/mame/linux/blend/advance/lib/fz.o obj/mame/linux/blend/advance/lib/font.o obj/mame/linux/blend/advance/lib/fontdef.o obj/mame/linux/blend/advance/lib/bitmap.o obj/mame/linux/blend/advance/lib/filter.o obj/mame/linux/blend/advance/lib/dft.o obj/mame/linux/blend/advance/lib/complex.o obj/mame/linux/blend/advance/lib/png.o obj/mame/linux/blend/advance/lib/pngdef.o obj/mame/linux/blend/advance/lib/mng.o obj/mame/linux/blend/advance/lib/unzip.o obj/mame/linux/blend/advance/lib/videoio.o obj/mame/linux/blend/advance/lib/update.o obj/mame/linux/blend/advance/lib/generate.o obj/mame/linux/blend/advance/lib/crtc.o obj/mame/linux/blend/advance/lib/crtcbag.o obj/mame/linux/blend/advance/lib/monitor.o obj/mame/linux/blend/advance/lib/sounddrv.o obj/mame/linux/blend/advance/lib/snone.o obj/mame/linux/blend/advance/lib/vnone.o advance/lib/generate.c:289:6: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^ advance/lib/generate.c:289:6: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^~~ advance/lib/generate.c:464:6: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^ advance/lib/generate.c:464:6: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^~~ obj/mame/linux/blend/advance/lib/device.o obj/mame/linux/blend/advance/lib/videoall.o obj/mame/linux/blend/advance/lib/soundall.o advance/lib/crtc.c:176:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^ advance/lib/crtc.c:176:28: note: remove the call to 'fabs' since unsigned values cannot be negative if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^~~~ advance/lib/crtc.c:183:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^ advance/lib/crtc.c:183:28: note: remove the call to 'fabs' since unsigned values cannot be negative if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^~~~ advance/lib/crtc.c:306:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:306:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:319:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:319:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ obj/mame/linux/blend/advance/lib/joy.o advance/lib/crtc.c:358:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:358:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:368:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:368:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:468:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:468:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:468:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:468:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:479:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:479:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:479:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:479:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:490:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:490:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:490:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:obj/mame/linux/blend/advance/lib/joyall.o 490:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:511:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:511:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:511:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:511:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:524:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:524:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:524:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:524:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:537:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:537:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:537:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:537:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ obj/mame/linux/blend/advance/lib/joydrv.o obj/mame/linux/blend/advance/lib/jnone.o obj/mame/linux/blend/advance/lib/keyall.o obj/mame/linux/blend/advance/lib/keydrv.o obj/mame/linux/blend/advance/lib/knone.o obj/mame/linux/blend/advance/lib/key.o obj/mame/linux/blend/advance/lib/mouse.o obj/mame/linux/blend/advance/lib/mouseall.o obj/mame/linux/blend/advance/lib/mousedrv.o obj/mame/linux/blend/advance/lib/mnone.o obj/mame/linux/blend/advance/lib/error.o 2 warnings generated. obj/mame/linux/blend/advance/lib/wave.o obj/mame/linux/blend/artwork.o obj/mame/linux/blend/audit.o obj/mame/linux/blend/cdrom.o 2 warnings generated. obj/mame/linux/blend/chd.o obj/mame/linux/blend/cheat.o obj/mame/linux/blend/config.o obj/mame/linux/blend/cpuexec.o obj/mame/linux/blend/cpuint.o obj/mame/linux/blend/cpuintrf.o obj/mame/linux/blend/drawgfx.o obj/mame/linux/blend/driver.o obj/mame/linux/blend/fileio.o obj/mame/linux/blend/harddisk.o obj/mame/linux/blend/hash.o obj/mame/linux/blend/hiscore.o obj/mame/linux/blend/info.o obj/mame/linux/blend/input.o 18 warnings generated. obj/mame/linux/blend/inptport.o obj/mame/linux/blend/jedparse.o src/cheat.c:2100:6: warning: cast to smaller integer type 'int' from 'const char **' [-Wpointer-to-int-cast] (int)menuStrings.mainList, ^~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2101:6: warning: cast to smaller integer type 'int' from 'const char **' [-Wpointer-to-int-cast] (int)menuStrings.subList, ^~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2102:6: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (int)menuStrings.flagList, ^~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2103:6: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] (int)menuStrings.mainStrings, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2104:6: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] (int)menuStrings.subStrings, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:2105:6: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (int)menuStrings.buf); ^~~~~~~~~~~~~~~~~~~~ obj/mame/linux/blend/mame.o obj/mame/linux/blend/mamecore.o obj/mame/linux/blend/md5.o obj/mame/linux/blend/memory.o obj/mame/linux/blend/palette.o src/info.c:438:12: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] switch (ROMREGION_GETTYPE(region)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/romload.h:187:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ src/info.c:474:47: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] default: fprintf(out, " region=\"0x%x\"", ROMREGION_GETTYPE(region)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/romload.h:187:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:7947:29: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] UINT32 handlerAddress = (UINT32)handler; ^~~~~~~~~~~~~~~ src/cheat.c:8003:28: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] if( (handlerAddress >= ((UINT32)MWA8_BANK1)) && ^~~~~~~~~~~~~~~~~~ src/cheat.c:8004:25: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] (handlerAddress <= ((UINT32)MWA8_BANK24))) ^~~~~~~~~~~~~~~~~~~ src/cheat.c:8045:32: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'genf *' (aka 'void (*)(void)') [-Wpointer-to-int-cast] UINT32 handlerAddress = (UINT32)handler; ^~~~~~~~~~~~~~~ src/cheat.c:8047:29: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] if( (handlerAddress >= ((UINT32)MWA8_BANK1)) && ^~~~~~~~~~~~~~~~~~ src/cheat.c:8048:26: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] (handlerAddress <= ((UINT32)MWA8_BANK24))) ^~~~~~~~~~~~~~~~~~~ src/cheat.c:8050:51: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] sprintf(desc, "BANK%.2d", (handlerAddress - ((UINT32)MWA8_BANK1)) + 1); ^~~~~~~~~~~~~~~~~~ src/cheat.c:8056:12: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] case (UINT32)MWA8_NOP: strcpy(desc, "NOP "); break; ^~~~~~~~~~~~~~~~ src/cheat.c:8057:12: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] case (UINT32)MWA8_RAM: strcpy(desc, "RAM "); break; ^~~~~~~~~~~~~~~~ src/cheat.c:8058:12: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] case (UINT32)MWA8_ROM: strcpy(desc, "ROM "); break; ^~~~~~~~~~~~~~~~ obj/mame/linux/blend/png.o obj/mame/linux/blend/romload.o src/cheat.c:9242:5: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] !region->flags & kRegionFlag_Enabled) ^ ~ src/cheat.c:9242:5: note: add parentheses after the '!' to evaluate the bitwise operator first !region->flags & kRegionFlag_Enabled) ^ ( ) src/cheat.c:9242:5: note: add parentheses around left hand side expression to silence this warning !region->flags & kRegionFlag_Enabled) ^ ( ) src/cheat.c:9285:5: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] !region->flags & kRegionFlag_Enabled) ^ ~ src/cheat.c:9285:5: note: add parentheses after the '!' to evaluate the bitwise operator first !region->flags & kRegionFlag_Enabled) ^ ( ) src/cheat.c:9285:5: note: add parentheses around left hand side expression to silence this warning !region->flags & kRegionFlag_Enabled) ^ ( ) obj/mame/linux/blend/sha1.o src/cheat.c:10396:24: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] UINT8 regionType = ROMREGION_GETTYPE(traverse); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/romload.h:187:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ obj/mame/linux/blend/sound.o obj/mame/linux/blend/sndintrf.o obj/mame/linux/blend/state.o src/memory.c:941:75: warning: cast to 'genf *' (aka 'void (*)(void)') from smaller integer type 'int' [-Wint-to-pointer-cast] install_mem_handler(space, 0, space->dbits, 0, start, end, mask, mirror, (genf *)handler, 0, handler_name); ^~~~~~~~~~~~~~~ src/memory.c:989:75: warning: cast to 'genf *' (aka 'void (*)(void)') from smaller integer type 'int' [-Wint-to-pointer-cast] install_mem_handler(space, 1, space->dbits, 0, start, end, mask, mirror, (genf *)handler, 0, handler_name); ^~~~~~~~~~~~~~~ obj/mame/linux/blend/streams.o src/memory.c:1038:82: warning: cast to 'genf *' (aka 'void (*)(void)') from smaller integer type 'int' [-Wint-to-pointer-cast] install_mem_handler(space, 0, space->dbits, 1, matchval, maskval, mask, mirror, (genf *)handler, 0, handler_name); ^~~~~~~~~~~~~~~ src/memory.c:1087:82: warning: cast to 'genf *' (aka 'void (*)(void)') from smaller integer type 'int' [-Wint-to-pointer-cast] install_mem_handler(space, 1, space->dbits, 1, matchval, maskval, mask, mirror, (genf *)handler, 0, handler_name); ^~~~~~~~~~~~~~~ src/memory.c:1625:11: warning: cast to 'genf *' (aka 'void (*)(void)') from smaller integer type 'int' [-Wint-to-pointer-cast] return BANK_TO_HANDLER(bank); ^~~~~~~~~~~~~~~~~~~~~ src/memory.c:152:30: note: expanded from macro 'BANK_TO_HANDLER' #define BANK_TO_HANDLER(b) ((genf *)(b)) ^~~~~~~~~~~ obj/mame/linux/blend/tilemap.o src/memory.c:1998:12: warning: cast to smaller integer type 'int' from 'genf *' (aka 'void (*)(void)') [-Wpointer-to-int-cast] handler = (int)map->write.handler; ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.c:2008:12: warning: cast to smaller integer type 'int' from 'genf *' (aka 'void (*)(void)') [-Wpointer-to-int-cast] handler = (int)map->read.handler; ^~~~~~~~~~~~~~~~~~~~~~ obj/mame/linux/blend/timer.o src/romload.c:416:13: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] int type = ROMREGION_GETTYPE(regiondata); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/romload.h:187:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ src/romload.c:567:36: warning: cast to smaller integer type 'int' from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] debugload(" Copying to %08X\n", (int)base); ^~~~~~~~~ src/romload.c:652:15: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] memset(base, (UINT32)ROM_GETHASHDATA(romp) & 0xff, numbytes); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/romload.c:666:19: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] UINT32 srcoffs = (UINT32)ROM_GETHASHDATA(romp); /* srcoffset in place of hashdata */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/romload.c:959:20: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] int regiontype = ROMREGION_GETTYPE(region); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./src/romload.h:187:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ src/romload.c:980:66: warning: cast to smaller integer type 'int' from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] debugload("Allocated %X bytes @ %08X\n", romdata.regionlength, (int)romdata.regionbase); ^~~~~~~~~~~~~~~~~~~~~~~ src/sound.c:183:85: warning: for loop has empty body [-Wempty-body] for (totalspeakers = 0; Machine->drv->speaker[totalspeakers].tag; totalspeakers++) ; ^ src/sound.c:183:85: note: put the semicolon on a separate line to silence this warning obj/mame/linux/blend/ui_text.o obj/mame/linux/blend/unzip.o src/state.c:396:86: warning: cast to smaller integer type 'int' from 'void (*)(int)' [-Wpointer-to-int-cast] fatalerror("Duplicate save state function (%d, %d, 0x%x)", ss_current_tag, param, (int)func); ^~~~~~~~~ src/state.c:439:86: warning: cast to smaller integer type 'int' from 'void (*)(void *)' [-Wpointer-to-int-cast] fatalerror("Duplicate save state function (%d, %p, 0x%x)", ss_current_tag, param, (int)func); ^~~~~~~~~ obj/mame/linux/blend/usrintrf.o obj/mame/linux/blend/validity.o obj/mame/linux/blend/version.o obj/mame/linux/blend/video.o obj/mame/linux/blend/xmlfile.o src/validity.c:192:38: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const rom_entry *' (aka 'const struct _rom_entry *') [-Wpointer-to-int-cast] add_quark(roms_table, drivnum, (UINT32)driver->rom); ^~~~~~~~~~~~~~~~~~~ src/validity.c:300:9: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const rom_entry *' (aka 'const struct _rom_entry *') [-Wpointer-to-int-cast] crc = (UINT32)driver->rom; ^~~~~~~~~~~~~~~~~~~ src/validity.c:343:15: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] int type = ROMREGION_GETTYPE(romp); ^~~~~~~~~~~~~~~~~~~~~~~ ./src/romload.h:187:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ obj/mame/linux/blend/sound/filter.o src/validity.c:694:8: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void (*)(input_port_init_params *)' (aka 'void (*)(struct _input_port_init_params *)') [-Wpointer-to-int-cast] crc = (UINT32)driver->construct_ipt; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ obj/mame/linux/blend/sound/flt_vol.o obj/mame/linux/blend/sound/flt_rc.o obj/mame/linux/blend/sound/wavwrite.o obj/mame/linux/blend/machine/eeprom.o 2 warnings generated. obj/mame/linux/blend/machine/generic.o obj/mame/linux/blend/sndhrdw/generic.o 2 warnings generated. obj/mame/linux/blend/vidhrdw/generic.o 1 warning generated. obj/mame/linux/blend/vidhrdw/vector.o obj/mame/linux/blend/mamedriv.o obj/mame/linux/blend/cpu/adsp2100/adsp2100.o obj/mame/linux/blend/cpu/alph8201/alph8201.o obj/mame/linux/blend/cpu/arm/arm.o obj/mame/linux/blend/cpu/arm7/arm7.o obj/mame/linux/blend/cpu/asap/asap.o obj/mame/linux/blend/cpu/ccpu/ccpu.o obj/mame/linux/blend/cpu/dsp32/dsp32.o obj/mame/linux/blend/cpu/dsp56k/dsp56k.o obj/mame/linux/blend/cpu/e132xs/e132xs.o 6 warnings generated. obj/mame/linux/blend/cpu/g65816/g65816.o obj/mame/linux/blend/cpu/g65816/g65816o0.o obj/mame/linux/blend/cpu/g65816/g65816o1.o obj/mame/linux/blend/cpu/g65816/g65816o2.o obj/mame/linux/blend/cpu/g65816/g65816o3.o obj/mame/linux/blend/cpu/g65816/g65816o4.o obj/mame/linux/blend/cpu/h6280/h6280.o obj/mame/linux/blend/cpu/h83002/h83002.o obj/mame/linux/blend/cpu/h83002/h8periph.o 4 warnings generated. obj/mame/linux/blend/cpu/hd6309/hd6309.o obj/mame/linux/blend/cpu/i386/i386.o obj/mame/linux/blend/cpu/i8039/i8039.o In file included from src/cpu/i386/i386.c:381: src/cpu/i386/i386ops.c:422:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if( (I.SF == I.OF) ) { ~~~~~^~~~~~~ src/cpu/i386/i386ops.c:422:12: note: remove extraneous parentheses around the comparison to silence this warning if( (I.SF == I.OF) ) { ~ ^ ~ src/cpu/i386/i386ops.c:422:12: note: use '=' to turn this equality comparison into an assignment if( (I.SF == I.OF) ) { ^~ = src/cpu/i386/i386ops.c:1283:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if( (I.SF == I.OF) ) { ~~~~~^~~~~~~ src/cpu/i386/i386ops.c:1283:12: note: remove extraneous parentheses around the comparison to silence this warning if( (I.SF == I.OF) ) { ~ ^ ~ src/cpu/i386/i386ops.c:1283:12: note: use '=' to turn this equality comparison into an assignment if( (I.SF == I.OF) ) { ^~ = obj/mame/linux/blend/cpu/i8051/i8051.o obj/mame/linux/blend/cpu/i8085/i8085.o In file included from src/cpu/i386/i386.c:382: src/cpu/i386/i386op16.c:854:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if( (I.SF == I.OF) ) { ~~~~~^~~~~~~ src/cpu/i386/i386op16.c:854:12: note: remove extraneous parentheses around the comparison to silence this warning if( (I.SF == I.OF) ) { ~ ^ ~ src/cpu/i386/i386op16.c:854:12: note: use '=' to turn this equality comparison into an assignment if( (I.SF == I.OF) ) { ^~ = In file included from src/cpu/hd6309/hd6309.c:617: src/cpu/hd6309/6309ops.c:2819:13: warning: taking the absolute value of unsigned type 'UINT16' (aka 'unsigned short') has no effect [-Wabsolute-value] t.w.l = abs( t.w.l ); ^ src/cpu/hd6309/6309ops.c:2819:13: note: remove the call to 'abs' since unsigned values cannot be negative t.w.l = abs( t.w.l ); ^~~ src/cpu/hd6309/6309ops.c:3153:13: warning: taking the absolute value of unsigned type 'UINT16' (aka 'unsigned short') has no effect [-Wabsolute-value] t.w.l = abs( t.w.l ); ^ src/cpu/hd6309/6309ops.c:3153:13: note: remove the call to 'abs' since unsigned values cannot be negative t.w.l = abs( t.w.l ); ^~~ src/cpu/hd6309/6309ops.c:3555:13: warning: taking the absolute value of unsigned type 'UINT16' (aka 'unsigned short') has no effect [-Wabsolute-value] t.w.l = abs( t.w.l ); ^ src/cpu/hd6309/6309ops.c:3555:13: note: remove the call to 'abs' since unsigned values cannot be negative t.w.l = abs( t.w.l ); ^~~ src/cpu/hd6309/6309ops.c:3943:13: warning: taking the absolute value of unsigned type 'UINT16' (aka 'unsigned short') has no effect [-Wabsolute-value] t.w.l = abs( t.w.l ); ^ src/cpu/hd6309/6309ops.c:3943:13: note: remove the call to 'abs' since unsigned values cannot be negative t.w.l = abs( t.w.l ); ^~~ obj/mame/linux/blend/cpu/i86/i86.o In file included from src/cpu/i386/i386.c:383: src/cpu/i386/i386op32.c:811:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if( (I.SF == I.OF) ) { ~~~~~^~~~~~~ src/cpu/i386/i386op32.c:811:12: note: remove extraneous parentheses around the comparison to silence this warning if( (I.SF == I.OF) ) { ~ ^ ~ src/cpu/i386/i386op32.c:811:12: note: use '=' to turn this equality comparison into an assignment if( (I.SF == I.OF) ) { ^~ = obj/mame/linux/blend/cpu/i8x41/i8x41.o obj/mame/linux/blend/cpu/i960/i960.o src/cpu/i8x41/i8x41.c:463:54: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] UINT8 res = A + ((PSW & FA) || ((A & 0x0f) > 0x09)) ? 0x06 : 0x00; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ src/cpu/i8x41/i8x41.c:463:54: note: place parentheses around the '+' expression to silence this warning UINT8 res = A + ((PSW & FA) || ((A & 0x0f) > 0x09)) ? 0x06 : 0x00; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ src/cpu/i8x41/i8x41.c:463:54: note: place parentheses around the '?:' expression to evaluate it first UINT8 res = A + ((PSW & FA) || ((A & 0x0f) > 0x09)) ? 0x06 : 0x00; ^ ( ) obj/mame/linux/blend/cpu/jaguar/jaguar.o obj/mame/linux/blend/cpu/konami/konami.o obj/mame/linux/blend/cpu/m37710/m37710.o obj/mame/linux/blend/cpu/m37710/m37710o0.o obj/mame/linux/blend/cpu/m37710/m37710o1.o 1 warning generated. obj/mame/linux/blend/cpu/m37710/m37710o2.o obj/mame/linux/blend/cpu/m37710/m37710o3.o obj/mame/linux/blend/cpu/m37710/m7700ds.o 7 warnings generated. obj/mame/linux/blend/cpu/m6502/m6502.o obj/mame/linux/blend/cpu/m6800/m6800.o obj/mame/linux/blend/cpu/m68000/m68kmake obj/mame/linux/blend/cpu/m68000/m68kmame.o src/cpu/m68000/m68kmake.c:673:36: warning: comparison of array 'op->name' not equal to a null pointer is always true [-Wtautological-pointer-compare] for(op = g_opcode_input_table;op->name != NULL;op++) ~~~~^~~~ ~~~~ src/cpu/m68000/m68kmake.c:689:36: warning: comparison of array 'op->name' not equal to a null pointer is always true [-Wtautological-pointer-compare] for(op = g_opcode_input_table;op->name != NULL;op++) ~~~~^~~~ ~~~~ obj/mame/linux/blend/cpu/m6805/m6805.o obj/mame/linux/blend/cpu/m6809/m6809.o 2 warnings generated. obj/mame/linux/blend/cpu/mc68hc11/mc68hc11.o obj/mame/linux/blend/cpu/mips/mips3.o Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator Copyright 1998-2000 Karl Stenerud (karl@mame.net) Generated 1966 opcode handlers from 517 primitives obj/mame/linux/blend/cpu/mips/r3000.o 19 warnings generated. obj/mame/linux/blend/cpu/mips/psx.o obj/mame/linux/blend/cpu/nec/nec.o obj/mame/linux/blend/cpu/pic16c5x/pic16c5x.o src/cpu/m6805/m6805.c:1076:61: warning: array index 8 is past the end of the array (which contains 8 elements) [-Warray-bounds] case CPUINFO_INT_INPUT_STATE + INPUT_LINE_NMI: info->i = m6805.irq_state[HD63705_INT_NMI]; break; ^ ~~~~~~~~~~~~~~~ src/cpu/m6805/m6805.c:72:2: note: array 'irq_state' declared here int irq_state[8]; /* KW Additional lines for HD63705 */ ^ obj/mame/linux/blend/cpu/powerpc/ppc.o obj/mame/linux/blend/cpu/rsp/rsp.o obj/mame/linux/blend/cpu/s2650/s2650.o obj/mame/linux/blend/cpu/se3208/se3208.o obj/mame/linux/blend/cpu/sh2/sh2.o obj/mame/linux/blend/cpu/sharc/sharc.o In file included from src/cpu/sharc/sharc.c:753: In file included from src/cpu/sharc/sharcops.c:645: src/cpu/sharc/compute.c:704:4: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] (!(UINT32)r_sub < (UINT32)REG(rx))) ^ ~ src/cpu/sharc/compute.c:704:4: note: add parentheses after the '!' to evaluate the comparison first (!(UINT32)r_sub < (UINT32)REG(rx))) ^ ( ) src/cpu/sharc/compute.c:704:4: note: add parentheses around left hand side expression to silence this warning (!(UINT32)r_sub < (UINT32)REG(rx))) ^ ( ) obj/mame/linux/blend/cpu/spc700/spc700.o obj/mame/linux/blend/cpu/t11/t11.o obj/mame/linux/blend/cpu/tms32010/tms32010.o obj/mame/linux/blend/cpu/tms32025/tms32025.o obj/mame/linux/blend/cpu/tms32031/tms32031.o obj/mame/linux/blend/cpu/tms32051/tms32051.o In file included from src/cpu/tms32031/tms32031.c:416: src/cpu/tms32031/32031ops.c:479:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if (man >= ((INT64)2 << 31) || man < ((INT64)-2 << 31)) ~~~~~~~~~ ^ src/cpu/tms32031/32031ops.c:486:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if (man < ((INT64)1 << 31) && man >= ((INT64)-1 << 31)) ~~~~~~~~~ ^ src/cpu/tms32031/32031ops.c:592:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if (man >= ((INT64)2 << 31) || man < ((INT64)-2 << 31)) ~~~~~~~~~ ^ src/cpu/tms32031/32031ops.c:599:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if (man < ((INT64)1 << 31) && man >= ((INT64)-1 << 31)) ~~~~~~~~~ ^ src/cpu/tms32031/32031ops.c:697:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if (man < ((INT64)-2 << 31)) ~~~~~~~~~ ^ obj/mame/linux/blend/cpu/tms34010/34010fld.o obj/mame/linux/blend/cpu/tms34010/tms34010.o obj/mame/linux/blend/cpu/tms9900/tms9980a.o obj/mame/linux/blend/cpu/tms9900/tms9995.o obj/mame/linux/blend/cpu/upd7810/upd7810.o 1 warning generated. obj/mame/linux/blend/cpu/v60/v60.o In file included from src/cpu/tms34010/tms34010.c:602: In file included from src/cpu/tms34010/34010gfx.c:749: src/cpu/tms34010/34010gfx.c:1155:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1158:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1196:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1199:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1235:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1238:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1418:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1421:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1460:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1463:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1498:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1501:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1659:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1695:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1728:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1859:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1886:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1910:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ obj/mame/linux/blend/cpu/v810/v810.o In file included from src/cpu/tms34010/tms34010.c:602: In file included from src/cpu/tms34010/34010gfx.c:795: src/cpu/tms34010/34010gfx.c:1155:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1158:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1196:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1199:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1235:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1238:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1418:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1421:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1460:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1463:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1498:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1501:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1659:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1695:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1728:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ obj/mame/linux/blend/cpu/z180/z180.o src/cpu/tms34010/34010gfx.c:1859:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1886:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1910:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ obj/mame/linux/blend/cpu/z80/z80.o obj/mame/linux/blend/cpu/z80/z80daisy.o 1 warning generated. In file included from src/cpu/tms34010/tms34010.c:602: In file included from src/cpu/tms34010/34010gfx.c:842: src/cpu/tms34010/34010gfx.c:1155:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1158:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1196:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1199:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1235:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1238:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ obj/mame/linux/blend/cpu/z8000/z8000.o src/cpu/tms34010/34010gfx.c:1418:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1421:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1460:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1463:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1498:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1501:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1659:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1695:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1728:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1859:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1886:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1910:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ obj/mame/linux/blend/sound/2151intf.o In file included from src/cpu/tms34010/tms34010.c:602: In file included from src/cpu/tms34010/34010gfx.c:888: src/cpu/tms34010/34010gfx.c:1155:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1158:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1196:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1199:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1235:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1238:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1418:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1421:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1460:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1463:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1498:14: warning: shift count >= width of type [-Wshift-count-overflow] srcmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1501:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask >>= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1659:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1695:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1728:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ obj/mame/linux/blend/sound/2203intf.o src/cpu/tms34010/34010gfx.c:1859:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1886:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ src/cpu/tms34010/34010gfx.c:1910:14: warning: shift count >= width of type [-Wshift-count-overflow] dstmask <<= BITS_PER_PIXEL; ^ ~~~~~~~~~~~~~~ obj/mame/linux/blend/sound/2413intf.o src/cpu/tms34010/tms34010.c:743:2: warning: 'sizeof (state.shiftreg)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] state_save_register_item_array("tms34010", index, state.shiftreg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/state.h:47:66: note: expanded from macro 'state_save_register_item_array' state_save_register_item_pointer(_mod, _inst, _val, sizeof(_val)/sizeof(_val[0])) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./src/state.h:44:69: note: expanded from macro 'state_save_register_item_pointer' state_save_register_generic(_mod, _inst, #_val, &_val[0], _val[0], _count) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./src/state.h:37:73: note: expanded from macro 'state_save_register_generic' state_save_register_memory(_mod, _inst, _name, _val, sizeof(_valsize), _count); \ ^~~~~~ obj/mame/linux/blend/sound/2608intf.o obj/mame/linux/blend/sound/2610intf.o obj/mame/linux/blend/sound/2612intf.o obj/mame/linux/blend/sound/262intf.o obj/mame/linux/blend/sound/3812intf.o obj/mame/linux/blend/sound/5110intf.o obj/mame/linux/blend/sound/5220intf.o src/cpu/z8000/z8000.c:766:105: warning: result of '2^REG_XOR' is 1; did you mean '1 << REG_XOR' (8)? [-Wxor-used-as-pow] case CPUINFO_STR_REGISTER + Z8000_R2: sprintf(info->s = cpuintrf_temp_str(), "R2 :%04X", Z.regs.W[ 2^REG_XOR]); break; ~^~~~~~~~ 1 << REG_XOR src/cpu/z8000/z8000.c:766:105: note: replace expression with '0x2 ^ REG_XOR' to silence this warning src/cpu/z8000/z8000.c:774:106: warning: result of '10^REG_XOR' is 9; did you mean '1e3'? [-Wxor-used-as-pow] case CPUINFO_STR_REGISTER + Z8000_R10: sprintf(info->s = cpuintrf_temp_str(), "R10:%04X", Z.regs.W[10^REG_XOR]); break; ~~^~~~~~~~ 1e3 src/cpu/z8000/z8000.c:774:106: note: replace expression with '0xA ^ REG_XOR' to silence this warning 4 warnings generated. obj/mame/linux/blend/sound/astrocde.o obj/mame/linux/blend/sound/ay8910.o In file included from src/cpu/z180/z180.c:802: src/cpu/z180/z180op.c:510:18: warning: array index 74 is past the end of the array (which contains 64 elements) [-Warray-bounds] irq_vector = (Z180.io[Z180_IL] & Z180_IL_IL) + (irq - Z180_INT1) * 2; ^ ~~~~~~~ src/cpu/z180/z180.c:103:2: note: array 'io' declared here UINT8 io[64]; /* 64 internal 8 bit registers */ ^ obj/mame/linux/blend/sound/bsmt2000.o obj/mame/linux/blend/sound/c140.o obj/mame/linux/blend/sound/c352.o obj/mame/linux/blend/sound/c6280.o obj/mame/linux/blend/sound/cdda.o obj/mame/linux/blend/sound/cem3394.o obj/mame/linux/blend/sound/custom.o obj/mame/linux/blend/sound/dac.o obj/mame/linux/blend/sound/discrete.o obj/mame/linux/blend/sound/dmadac.o obj/mame/linux/blend/sound/es5503.o obj/mame/linux/blend/sound/es5506.o obj/mame/linux/blend/sound/es8712.o obj/mame/linux/blend/sound/fm.o obj/mame/linux/blend/sound/fmopl.o In file included from src/sound/discrete.c:150: src/sound/disc_wav.c:763:79: warning: operator '?:' has lower precedence than '-'; '-' will be evaluated first [-Wparentheses] node->output = (info->vP - (context->type == DISC_OP_AMP_OSCILLATOR_VCO_1) ? OP_AMP_VP_RAIL_OFFSET : OP_AMP_NORTON_VBE) * context->flip_flop; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ src/sound/disc_wav.c:763:79: note: place parentheses around the '-' expression to silence this warning node->output = (info->vP - (context->type == DISC_OP_AMP_OSCILLATOR_VCO_1) ? OP_AMP_VP_RAIL_OFFSET : OP_AMP_NORTON_VBE) * context->flip_flop; ^ ( ) src/sound/disc_wav.c:763:79: note: place parentheses around the '?:' expression to evaluate it first node->output = (info->vP - (context->type == DISC_OP_AMP_OSCILLATOR_VCO_1) ? OP_AMP_VP_RAIL_OFFSET : OP_AMP_NORTON_VBE) * context->flip_flop; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ obj/mame/linux/blend/sound/gaelco.o obj/mame/linux/blend/sound/hc55516.o obj/mame/linux/blend/sound/ics2115.o In file included from src/sound/discrete.c:151: src/sound/disc_mth.c:1234:55: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] context->dir = ((DST_RAMP__END - DST_RAMP__START) == abs(DST_RAMP__END - DST_RAMP__START)); ^ src/sound/disc_mth.c:1234:55: note: use function 'fabs' instead context->dir = ((DST_RAMP__END - DST_RAMP__START) == abs(DST_RAMP__END - DST_RAMP__START)); ^~~ fabs obj/mame/linux/blend/sound/iremga20.o obj/mame/linux/blend/sound/k005289.o obj/mame/linux/blend/sound/k007232.o src/sound/iremga20.c:92:8: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] esi = (UINT32)chip->rom; ^~~~~~~~~~~~~~~~~ src/sound/iremga20.c:103:3: warning: cast to 'INT8 *' (aka 'signed char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] MIX_CH(0); ^~~~~~~~~ src/sound/iremga20.c:39:10: note: expanded from macro 'MIX_CH' eax = *(INT8 *)(esi + eax); \ ^~~~~~~~~~~~~~~~~~~ src/sound/iremga20.c:104:3: warning: cast to 'INT8 *' (aka 'signed char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] MIX_CH(1); ^~~~~~~~~ src/sound/iremga20.c:39:10: note: expanded from macro 'MIX_CH' eax = *(INT8 *)(esi + eax); \ ^~~~~~~~~~~~~~~~~~~ src/sound/iremga20.c:105:3: warning: cast to 'INT8 *' (aka 'signed char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] MIX_CH(2); ^~~~~~~~~ src/sound/iremga20.c:39:10: note: expanded from macro 'MIX_CH' eax = *(INT8 *)(esi + eax); \ ^~~~~~~~~~~~~~~~~~~ src/sound/iremga20.c:106:3: warning: cast to 'INT8 *' (aka 'signed char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] MIX_CH(3); ^~~~~~~~~ src/sound/iremga20.c:39:10: note: expanded from macro 'MIX_CH' eax = *(INT8 *)(esi + eax); \ ^~~~~~~~~~~~~~~~~~~ obj/mame/linux/blend/sound/k051649.o obj/mame/linux/blend/sound/k053260.o obj/mame/linux/blend/sound/k054539.o obj/mame/linux/blend/sound/msm5205.o obj/mame/linux/blend/sound/msm5232.o obj/mame/linux/blend/sound/multipcm.o 5 warnings generated. obj/mame/linux/blend/sound/n63701x.o obj/mame/linux/blend/sound/namco.o obj/mame/linux/blend/sound/namco52.o obj/mame/linux/blend/sound/namco54.o src/sound/k054539.c:129:6: warning: shifting a negative signed value is undefined [-Wshift-negative-value] -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 ~~~^ src/sound/k054539.c:129:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 ~~~^ src/sound/k054539.c:129:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 ~~~^ src/sound/k054539.c:129:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 ~~~^ src/sound/k054539.c:129:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value] -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 ~~~^ src/sound/k054539.c:129:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 ~~^ src/sound/k054539.c:129:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 ~~^ src/sound/k054539.c:129:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] -64<<8, -49<<8, -36<<8, -25<<8, -16<<8, -9<<8, -4<<8, -1<<8 ~~^ obj/mame/linux/blend/sound/namcona.o obj/mame/linux/blend/sound/nes_apu.o obj/mame/linux/blend/sound/okim6295.o obj/mame/linux/blend/sound/pokey.o obj/mame/linux/blend/sound/psx.o obj/mame/linux/blend/sound/qsound.o obj/mame/linux/blend/sound/rf5c400.o obj/mame/linux/blend/sound/rf5c68.o 8 warnings generated. obj/mame/linux/blend/sound/saa1099.o src/sound/psx.c:339:2: warning: 'sizeof (chip->m_p_n_spuram)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] state_save_register_item_array( "psx", sndindex, chip->m_p_n_spuram ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/state.h:47:66: note: expanded from macro 'state_save_register_item_array' state_save_register_item_pointer(_mod, _inst, _val, sizeof(_val)/sizeof(_val[0])) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./src/state.h:44:69: note: expanded from macro 'state_save_register_item_pointer' state_save_register_generic(_mod, _inst, #_val, &_val[0], _val[0], _count) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./src/state.h:37:73: note: expanded from macro 'state_save_register_generic' state_save_register_memory(_mod, _inst, _name, _val, sizeof(_valsize), _count); \ ^~~~~~ obj/mame/linux/blend/sound/samples.o src/sound/qsound.c:145:25: warning: 'memset' call operates on objects of type 'struct qsound_info' while the size is based on a different type 'struct qsound_info *' [-Wsizeof-pointer-memaccess] memset(chip, 0, sizeof(chip)); ~~~~ ^~~~ src/sound/qsound.c:145:25: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(chip, 0, sizeof(chip)); ^~~~ obj/mame/linux/blend/sound/scsp.o 1 warning generated. obj/mame/linux/blend/sound/segapcm.o obj/mame/linux/blend/sound/sn76477.o obj/mame/linux/blend/sound/sn76496.o obj/mame/linux/blend/sound/sp0250.o 1 warning generated. obj/mame/linux/blend/sound/st0016.o obj/mame/linux/blend/sound/tiaintf.o obj/mame/linux/blend/sound/tiasound.o obj/mame/linux/blend/sound/tms36xx.o obj/mame/linux/blend/sound/tms5110.o obj/mame/linux/blend/sound/tms5220.o obj/mame/linux/blend/sound/upd7759.o obj/mame/linux/blend/sound/vlm5030.o obj/mame/linux/blend/sound/vrender0.o obj/mame/linux/blend/sound/x1_010.o obj/mame/linux/blend/sound/ym2151.o obj/mame/linux/blend/sound/ym2413.o src/sound/tms5110.c:494:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] buffer[buf_count] = -128<<8; ~~~~^ obj/mame/linux/blend/sound/ymdeltat.o src/sound/vlm5030.c:391:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] buffer[buf_count] = -511<<6; ~~~~^ src/sound/tms5220.c:660:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] buffer[buf_count] = -128<<8; ~~~~^ obj/mame/linux/blend/sound/ymf262.o obj/mame/linux/blend/sound/ymf271.o obj/mame/linux/blend/sound/ymf278b.o obj/mame/linux/blend/sound/ymz280b.o obj/mame/linux/blend/drivers/hanaroku.o 2 warnings generated. obj/mame/linux/blend/drivers/rmhaihai.o obj/mame/linux/blend/drivers/yumefuda.o obj/mame/linux/blend/drivers/ace.o 1 warning generated. obj/mame/linux/blend/drivers/clayshoo.o obj/mame/linux/blend/machine/clayshoo.o 1 warning generated. obj/mame/linux/blend/vidhrdw/clayshoo.o 1 warning generated. obj/mame/linux/blend/drivers/alpha68k.o obj/mame/linux/blend/vidhrdw/alpha68k.o obj/mame/linux/blend/drivers/champbas.o obj/mame/linux/blend/vidhrdw/champbas.o obj/mame/linux/blend/drivers/equites.o obj/mame/linux/blend/machine/equites.o obj/mame/linux/blend/vidhrdw/equites.o obj/mame/linux/blend/drivers/exctsccr.o obj/mame/linux/blend/machine/exctsccr.o obj/mame/linux/blend/vidhrdw/exctsccr.o obj/mame/linux/blend/drivers/meijinsn.o obj/mame/linux/blend/drivers/shougi.o obj/mame/linux/blend/drivers/talbot.o obj/mame/linux/blend/machine/amiga.o obj/mame/linux/blend/sndhrdw/amiga.o obj/mame/linux/blend/vidhrdw/amiga.o obj/mame/linux/blend/drivers/mquake.o obj/mame/linux/blend/drivers/arcadia.o obj/mame/linux/blend/drivers/upscope.o obj/mame/linux/blend/drivers/atarigx2.o obj/mame/linux/blend/vidhrdw/atarigx2.o obj/mame/linux/blend/drivers/arcadecl.o obj/mame/linux/blend/vidhrdw/arcadecl.o obj/mame/linux/blend/drivers/asteroid.o obj/mame/linux/blend/machine/asteroid.o obj/mame/linux/blend/sndhrdw/asteroid.o obj/mame/linux/blend/sndhrdw/llander.o obj/mame/linux/blend/drivers/atarifb.o obj/mame/linux/blend/machine/atarifb.o src/vidhrdw/atarigx2.c:258:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIRLE_DATA_MASK; ^~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarirle.h:24:31: note: expanded from macro 'ATARIRLE_DATA_MASK' #define ATARIRLE_DATA_MASK (ATARIRLE_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarirle.h:23:38: note: expanded from macro 'ATARIRLE_PRIORITY_MASK' #define ATARIRLE_PRIORITY_MASK ((~0 << ATARIRLE_PRIORITY_SHIFT) & 0xffff) ~~ ^ obj/mame/linux/blend/sndhrdw/atarifb.o obj/mame/linux/blend/vidhrdw/atarifb.o obj/mame/linux/blend/drivers/atarig1.o src/sndhrdw/llander.c:65:68: warning: implicit conversion from 'double' to 'int' changes value from 9.199999999999999 to 9 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(LLANDER_TONE_6K_SND, LLANDER_TONE6K_EN, 6000, 9.2, 50, 0, 0) // 6KHz ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ src/sndhrdw/llander.c:63:68: warning: implicit conversion from 'double' to 'int' changes value from 9.199999999999999 to 9 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(LLANDER_TONE_3K_SND, LLANDER_TONE3K_EN, 3000, 9.2, 50, 0, 0) // 3KHz ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ 1 warning generated. 2 warnings generated. obj/mame/linux/blend/vidhrdw/atarig1.o src/sndhrdw/asteroid.c:137:66: warning: implicit conversion from 'double' to 'int' changes value from 76.09999999999999 to 76 [-Wliteral-conversion] DISCRETE_TRIANGLEWAVE(NODE_43, ASTEROID_SAUCER_SND_EN, NODE_42, 76.1, 0, 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ./src/sound/discrete.h:3227:114: note: expanded from macro 'DISCRETE_TRIANGLEWAVE' #define DISCRETE_TRIANGLEWAVE(NODE,ENAB,FREQ,AMPL,BIAS,PHASE) { NODE, DSS_TRIANGLEWAVE, 5, { ENAB,FREQ,AMPL,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,BIAS,PHASE }, NULL, "Triangle Wave" }, ~ ^~~~ src/sndhrdw/asteroid.c:132:58: warning: implicit conversion from 'double' to 'int' changes value from 8.25 to 8 [-Wliteral-conversion] obj/mame/linux/blend/drivers/atarig42.o DISCRETE_MULTADD(NODE_40, 1, ASTEROID_SAUCER_SEL, -2.5, 8.25) // Saucer Warble rate (5.75 or 8.25Hz) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./src/sound/discrete.h:3265:119: note: expanded from macro 'DISCRETE_MULTADD' #define DISCRETE_MULTADD(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, NULL, "Multiply/Add" }, ~ ^~~~ src/sndhrdw/asteroid.c:132:52: warning: implicit conversion from 'double' to 'int' changes value from -2.5 to -2 [-Wliteral-conversion] DISCRETE_MULTADD(NODE_40, 1, ASTEROID_SAUCER_SEL, -2.5, 8.25) // Saucer Warble rate (5.75 or 8.25Hz) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ./src/sound/discrete.h:3265:114: note: expanded from macro 'DISCRETE_MULTADD' #define DISCRETE_MULTADD(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, NULL, "Multiply/Add" }, ~ ^~~~ src/sndhrdw/asteroid.c:114:51: warning: implicit conversion from 'double' to 'int' changes value from 3.5 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_30, 1, ASTEROID_THUMP_DATA, 3.5, &asteroid_thump_dac1) // CMOS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ obj/mame/linux/blend/vidhrdw/atarig42.o obj/mame/linux/blend/drivers/atarigt.o 4 warnings generated. src/sndhrdw/atarifb.c:111:55: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_TRANSFORM3(ATARIFB_WHISTLE_SND, 1, NODE_30, .5, 0, "01-P2>*") // Q10 drop ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3274:114: note: expanded from macro 'DISCRETE_TRANSFORM3' #define DISCRETE_TRANSFORM3(NODE,ENAB,INP0,INP1,INP2,FUNCT) { NODE, DST_TRANSFORM , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, FUNCT, "Transform 3 Nodes" }, ~ ^~~~ src/sndhrdw/atarifb.c:99:39: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_22, 1, NODE_21, DEFAULT_TTL_V_LOGIC_1, &atarifb_crowd_r1_ladder) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/atarifb.c:97:82: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_LFSR_NOISE(NODE_20, ATARIFB_NOISE_EN, ATARIFB_NOISE_EN, 15750.0, 1, 0, .5, &atarifb_lfsr) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3219:129: note: expanded from macro 'DISCRETE_LFSR_NOISE' #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,CLK,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, ~ ^~~~ src/sndhrdw/atarifb.c:201:54: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_TRANSFORM3(ABASEB_WHISTLE_SND, 1, NODE_30, .5, 0, "01-P2>*") // Q10 drop ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3274:114: note: expanded from macro 'DISCRETE_TRANSFORM3' #define DISCRETE_TRANSFORM3(NODE,ENAB,INP0,INP1,INP2,FUNCT) { NODE, DST_TRANSFORM , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, FUNCT, "Transform 3 Nodes" }, ~ ^~~~ src/sndhrdw/atarifb.c:189:39: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_22, 1, NODE_21, DEFAULT_TTL_V_LOGIC_1, &abaseb_crowd_r1_ladder) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/atarifb.c:187:82: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_LFSR_NOISE(NODE_20, ATARIFB_NOISE_EN, ATARIFB_NOISE_EN, 15750.0, 1, 0, .5, &atarifb_lfsr) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3219:129: note: expanded from macro 'DISCRETE_LFSR_NOISE' #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,CLK,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, ~ ^~~~ obj/mame/linux/blend/vidhrdw/atarigt.o 6 warnings generated. obj/mame/linux/blend/drivers/atarisy1.o obj/mame/linux/blend/vidhrdw/atarisy1.o obj/mame/linux/blend/drivers/atarisy2.o obj/mame/linux/blend/vidhrdw/atarisy2.o src/vidhrdw/atarig42.c:264:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIRLE_DATA_MASK; ^~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarirle.h:24:31: note: expanded from macro 'ATARIRLE_DATA_MASK' #define ATARIRLE_DATA_MASK (ATARIRLE_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarirle.h:23:38: note: expanded from macro 'ATARIRLE_PRIORITY_MASK' #define ATARIRLE_PRIORITY_MASK ((~0 << ATARIRLE_PRIORITY_SHIFT) & 0xffff) ~~ ^ obj/mame/linux/blend/drivers/atetris.o obj/mame/linux/blend/vidhrdw/atetris.o obj/mame/linux/blend/drivers/avalnche.o obj/mame/linux/blend/machine/avalnche.o 5 warnings generated. obj/mame/linux/blend/sndhrdw/avalnche.o obj/mame/linux/blend/vidhrdw/avalnche.o src/vidhrdw/atarisy1.c:518:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (mo[x] & ATARIMO_PRIORITY_MASK) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ 1 warning generated. obj/mame/linux/blend/drivers/badlands.o src/vidhrdw/atarisy2.c:362:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ src/vidhrdw/atarisy2.c:367:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ obj/mame/linux/blend/vidhrdw/badlands.o src/sndhrdw/avalnche.c:62:71: warning: implicit conversion from 'double' to 'int' changes value from 750.2 to 750 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(AVALNCHE_AUD2_SND, AVALNCHE_AUD2_EN, 15750.0/16, 750.2, 50.0, 0, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ src/sndhrdw/avalnche.c:61:71: warning: implicit conversion from 'double' to 'int' changes value from 750.2 to 750 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(AVALNCHE_AUD1_SND, AVALNCHE_AUD1_EN, 15750.0/64, 750.2, 50.0, 0, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ src/sndhrdw/avalnche.c:60:61: warning: implicit conversion from 'double' to 'int' changes value from 725.6 to 725 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(NODE_20, AVALNCHE_AUD0_EN, 15750.0/4, 725.6, 50.0, 0, 0.0) // Aud0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ obj/mame/linux/blend/drivers/batman.o 3 warnings generated. obj/mame/linux/blend/vidhrdw/batman.o obj/mame/linux/blend/drivers/beathead.o obj/mame/linux/blend/vidhrdw/beathead.o obj/mame/linux/blend/drivers/blstroid.o obj/mame/linux/blend/vidhrdw/blstroid.o obj/mame/linux/blend/drivers/boxer.o 2 warnings generated. obj/mame/linux/blend/vidhrdw/boxer.o obj/mame/linux/blend/drivers/bsktball.o obj/mame/linux/blend/machine/bsktball.o src/vidhrdw/badlands.c:144:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if ((mo[x] & ATARIMO_PRIORITY_MASK) || !(pf[x] & 8)) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ src/vidhrdw/badlands.c:145:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ 1 warning generated. src/vidhrdw/batman.c:267:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ src/vidhrdw/batman.c:271:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ src/vidhrdw/batman.c:285:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ obj/mame/linux/blend/sndhrdw/bsktball.o obj/mame/linux/blend/vidhrdw/bsktball.o obj/mame/linux/blend/drivers/bwidow.o 2 warnings generated. obj/mame/linux/blend/drivers/bzone.o obj/mame/linux/blend/sndhrdw/bzone.o obj/mame/linux/blend/drivers/canyon.o obj/mame/linux/blend/sndhrdw/canyon.o obj/mame/linux/blend/vidhrdw/canyon.o obj/mame/linux/blend/drivers/cball.o obj/mame/linux/blend/drivers/ccastles.o obj/mame/linux/blend/vidhrdw/ccastles.o src/sndhrdw/bsktball.c:109:39: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_21, 1, NODE_20, DEFAULT_TTL_V_LOGIC_1, &bsktball_crowd_r1_ladder) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/bsktball.c:107:97: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_LFSR_NOISE(BSKTBALL_NOISE, BSKTBALL_NOISE_EN, BSKTBALL_NOISE_EN, BSKTBALL_256H, 1, 0, .5, &bsktball_lfsr) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3219:129: note: expanded from macro 'DISCRETE_LFSR_NOISE' #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,CLK,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, ~ ^~~~ 3 warnings generated. obj/mame/linux/blend/drivers/centiped.o 2 warnings generated. obj/mame/linux/blend/vidhrdw/centiped.o obj/mame/linux/blend/drivers/cloak.o obj/mame/linux/blend/vidhrdw/cloak.o obj/mame/linux/blend/drivers/cloud9.o obj/mame/linux/blend/vidhrdw/cloud9.o obj/mame/linux/blend/drivers/cojag.o obj/mame/linux/blend/sndhrdw/jaguar.o src/sndhrdw/canyon.c:198:71: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] DISCRETE_555_ASTABLE_CV(NODE_78, CANYON_WHISTLE2_EN, 33000, NODE_75, 1e-8, NODE_77, &canyonWhistl555) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3322:116: note: expanded from macro 'DISCRETE_555_ASTABLE_CV' #define DISCRETE_555_ASTABLE_CV(NODE,RESET,R1,R2,C,CTRLV,OPTIONS) { NODE, DSD_555_ASTBL , 5, { RESET,R1,R2,C,CTRLV }, { RESET,R1,R2,C,CTRLV }, OPTIONS, "555 Astable with CV" }, ~ ^ src/sndhrdw/canyon.c:196:62: warning: implicit conversion from 'double' to 'int' changes value from 0.33 to 0 [-Wliteral-conversion] DISCRETE_MULTADD(NODE_76, 1, CANYON_WHISTLE2_EN, 3.05-0.33, 0.33) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./src/sound/discrete.h:3265:119: note: expanded from macro 'DISCRETE_MULTADD' #define DISCRETE_MULTADD(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, NULL, "Multiply/Add" }, ~ ^~~~ src/sndhrdw/canyon.c:192:71: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] DISCRETE_555_ASTABLE_CV(NODE_73, CANYON_WHISTLE1_EN, 33000, NODE_70, 1e-8, NODE_72, &canyonWhistl555) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3322:116: note: expanded from macro 'DISCRETE_555_ASTABLE_CV' #define DISCRETE_555_ASTABLE_CV(NODE,RESET,R1,R2,C,CTRLV,OPTIONS) { NODE, DSD_555_ASTBL , 5, { RESET,R1,R2,C,CTRLV }, { RESET,R1,R2,C,CTRLV }, OPTIONS, "555 Astable with CV" }, ~ ^ src/sndhrdw/canyon.c:190:62: warning: implicit conversion from 'double' to 'int' changes value from 0.33 to 0 [-Wliteral-conversion] DISCRETE_MULTADD(NODE_71, 1, CANYON_WHISTLE1_EN, 3.05-0.33, 0.33) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./src/sound/discrete.h:3265:119: note: expanded from macro 'DISCRETE_MULTADD' #define DISCRETE_MULTADD(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, NULL, "Multiply/Add" }, ~ ^~~~ obj/mame/linux/blend/vidhrdw/jaguar.o 4 warnings generated. obj/mame/linux/blend/drivers/copsnrob.o obj/mame/linux/blend/machine/copsnrob.o obj/mame/linux/blend/vidhrdw/copsnrob.o obj/mame/linux/blend/drivers/cyberbal.o obj/mame/linux/blend/sndhrdw/cyberbal.o obj/mame/linux/blend/vidhrdw/cyberbal.o obj/mame/linux/blend/drivers/destroyr.o obj/mame/linux/blend/vidhrdw/destroyr.o obj/mame/linux/blend/drivers/dragrace.o obj/mame/linux/blend/sndhrdw/dragrace.o obj/mame/linux/blend/vidhrdw/dragrace.o obj/mame/linux/blend/drivers/eprom.o obj/mame/linux/blend/vidhrdw/eprom.o obj/mame/linux/blend/drivers/firetrk.o obj/mame/linux/blend/sndhrdw/firetrk.o obj/mame/linux/blend/vidhrdw/firetrk.o obj/mame/linux/blend/drivers/flyball.o obj/mame/linux/blend/vidhrdw/flyball.o obj/mame/linux/blend/drivers/foodf.o obj/mame/linux/blend/vidhrdw/foodf.o obj/mame/linux/blend/drivers/gauntlet.o src/sndhrdw/dragrace.c:177:78: warning: implicit conversion from 'double' to 'int' changes value from 593.8 to 593 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(DRAGRACE_HITONE_SND, DRAGRACE_HITONE_EN, 15750.0/2/4, 593.8, 50.0, 0, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ src/sndhrdw/dragrace.c:176:78: warning: implicit conversion from 'double' to 'int' changes value from 593.8 to 593 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(DRAGRACE_LOTONE_SND, DRAGRACE_LOTONE_EN, 15750.0/2/32, 593.8, 50.0, 0, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ src/sndhrdw/dragrace.c:168:50: warning: implicit conversion from 'double' to 'int' changes value from 31.5 to 31 [-Wliteral-conversion] DISCRETE_SQUAREWAVE(NODE_73, 1, NODE_72, 407.8, 31.5, 0, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./src/sound/discrete.h:3224:119: note: expanded from macro 'DISCRETE_SQUAREWAVE' #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, ~ ^~~~ src/sndhrdw/dragrace.c:168:43: warning: implicit conversion from 'double' to 'int' changes value from 407.8 to 407 [-Wliteral-conversion] DISCRETE_SQUAREWAVE(NODE_73, 1, NODE_72, 407.8, 31.5, 0, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3224:114: note: expanded from macro 'DISCRETE_SQUAREWAVE' #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, ~ ^~~~ 4 warnings generated. obj/mame/linux/blend/vidhrdw/gauntlet.o src/vidhrdw/eprom.c:233:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ src/vidhrdw/eprom.c:235:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIMO_DATA_MASK & ~0x70; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ obj/mame/linux/blend/drivers/harddriv.o src/sndhrdw/firetrk.c:317:109: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(FIRETRUCK_XTNDPLYSND, FIRETRUCK_XTNDPLY_EN, FIRETRUCK_8V, DEFAULT_TTL_V_LOGIC_1, 50.0, DEFAULT_TTL_V_LOGIC_1, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3225:124: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ src/sndhrdw/firetrk.c:317:80: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(FIRETRUCK_XTNDPLYSND, FIRETRUCK_XTNDPLY_EN, FIRETRUCK_8V, DEFAULT_TTL_V_LOGIC_1, 50.0, DEFAULT_TTL_V_LOGIC_1, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ src/sndhrdw/firetrk.c:299:5: warning: implicit conversion from 'double' to 'int' changes value from 4.4 to 4 [-Wliteral-conversion] 4.4, 10, // Q3 instantally charges C42 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3303:111: note: expanded from macro 'DISCRETE_RCDISC2' #define DISCRETE_RCDISC2(NODE,SWITCH,INP0,RVAL0,INP1,RVAL1,CVAL) { NODE, DST_RCDISC2 , 6, { SWITCH,INP0,NODE_NC,INP1,NODE_NC,NODE_NC }, { SWITCH,INP0,RVAL0,INP1,RVAL1,CVAL }, NULL, "RC Discharge 2" }, ~ ^~~~ src/sndhrdw/firetrk.c:291:88: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SCHMITT_OSCILLATOR(FIRETRUCK_SCREECHSND, FIRETRUCK_SKID_EN, FIRETRUCK_NOISE, DEFAULT_TTL_V_LOGIC_1, &firetrk_screech_osc) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3232:114: note: expanded from macro 'DISCRETE_SCHMITT_OSCILLATOR' #define DISCRETE_SCHMITT_OSCILLATOR(NODE,ENAB,INP0,AMPL,TABLE) { NODE, DSS_SCHMITT_OSC , 3, { ENAB,INP0,AMPL }, { ENAB,INP0,AMPL }, TABLE, "Schmitt Feedback Oscillator" }, ~ ^~~~ src/sndhrdw/firetrk.c:284:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/firetrk.c:278:107: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_LFSR_NOISE(FIRETRUCK_NOISE, FIRETRUCK_ATTRACT_INV, FIRETRUCK_ATTRACT_INV, FIRETRUCK_2V, 1.0, 0, 0.5, &firetrk_lfsr) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3219:129: note: expanded from macro 'DISCRETE_LFSR_NOISE' #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,CLK,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, ~ ^~~~ src/sndhrdw/firetrk.c:260:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/firetrk.c:248:69: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(NODE_30, FIRETRUCK_ATTRACT_INV, FIRETRUCK_64V, DEFAULT_TTL_V_LOGIC_1, 50.0, DEFAULT_TTL_V_LOGIC_1/2, 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ src/sndhrdw/firetrk.c:240:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/firetrk.c:224:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/firetrk.c:478:70: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(SUPERBUG_ASRSND, SUPERBUG_ASR_EN, FIRETRUCK_8V, DEFAULT_TTL_V_LOGIC_1, 50.0, DEFAULT_TTL_V_LOGIC_1/2, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ src/sndhrdw/firetrk.c:471:85: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SCHMITT_OSCILLATOR(SUPERBUG_SCREECHSND, SUPERBUG_SKID_EN, SUPERBUG_NOISE, DEFAULT_TTL_V_LOGIC_1, &superbug_screech_osc) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3232:114: note: expanded from macro 'DISCRETE_SCHMITT_OSCILLATOR' #define DISCRETE_SCHMITT_OSCILLATOR(NODE,ENAB,INP0,AMPL,TABLE) { NODE, DSS_SCHMITT_OSC , 3, { ENAB,INP0,AMPL }, { ENAB,INP0,AMPL }, TABLE, "Schmitt Feedback Oscillator" }, ~ ^~~~ src/sndhrdw/firetrk.c:464:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/firetrk.c:458:104: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_LFSR_NOISE(SUPERBUG_NOISE, SUPERBUG_ATTRACT_INV, SUPERBUG_ATTRACT_INV, FIRETRUCK_2V, 1.0, 0, 0.5, &firetrk_lfsr) // Same as firetrk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3219:129: note: expanded from macro 'DISCRETE_LFSR_NOISE' #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,CLK,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, ~ ^~~~ src/sndhrdw/firetrk.c:446:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/firetrk.c:428:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ obj/mame/linux/blend/machine/harddriv.o src/sndhrdw/firetrk.c:700:74: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(MONTECAR_BEEPSND, MONTECAR_BEEPER_EN, FIRETRUCK_8V, DEFAULT_TTL_V_LOGIC_1, 50.0, DEFAULT_TTL_V_LOGIC_1/2, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ src/sndhrdw/firetrk.c:692:73: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SCHMITT_OSCILLATOR(NODE_60, MONTECAR_SKID_EN, MONTECAR_NOISE, DEFAULT_TTL_V_LOGIC_1, &montecar_screech_osc) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3232:114: note: expanded from macro 'DISCRETE_SCHMITT_OSCILLATOR' #define DISCRETE_SCHMITT_OSCILLATOR(NODE,ENAB,INP0,AMPL,TABLE) { NODE, DSS_SCHMITT_OSC , 3, { ENAB,INP0,AMPL }, { ENAB,INP0,AMPL }, TABLE, "Schmitt Feedback Oscillator" }, ~ ^~~~ src/sndhrdw/firetrk.c:684:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/firetrk.c:678:104: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_LFSR_NOISE(MONTECAR_NOISE, MONTECAR_ATTRACT_INV, MONTECAR_ATTRACT_INV,FIRETRUCK_2V , 1.0, 0, 0.5, &firetrk_lfsr) // Same as firetrk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3219:129: note: expanded from macro 'DISCRETE_LFSR_NOISE' #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,CLK,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, ~ ^~~~ src/sndhrdw/firetrk.c:666:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/firetrk.c:648:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/firetrk.c:631:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/firetrk.c:613:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ obj/mame/linux/blend/sndhrdw/harddriv.o obj/mame/linux/blend/vidhrdw/harddriv.o 24 warnings generated. obj/mame/linux/blend/drivers/irobot.o 2 warnings generated. obj/mame/linux/blend/machine/irobot.o obj/mame/linux/blend/vidhrdw/irobot.o 2 warnings generatedobj/mame/linux/blend/drivers/jedi.o . obj/mame/linux/blend/vidhrdw/jedi.o obj/mame/linux/blend/drivers/klax.o obj/mame/linux/blend/vidhrdw/klax.o obj/mame/linux/blend/drivers/liberatr.o obj/mame/linux/blend/vidhrdw/liberatr.o obj/mame/linux/blend/drivers/mediagx.o obj/mame/linux/blend/drivers/mgolf.o obj/mame/linux/blend/drivers/mhavoc.o obj/mame/linux/blend/machine/mhavoc.o obj/mame/linux/blend/drivers/missile.o obj/mame/linux/blend/vidhrdw/missile.o obj/mame/linux/blend/drivers/nitedrvr.o obj/mame/linux/blend/machine/nitedrvr.o obj/mame/linux/blend/sndhrdw/nitedrvr.o obj/mame/linux/blend/vidhrdw/nitedrvr.o obj/mame/linux/blend/drivers/offtwall.o obj/mame/linux/blend/vidhrdw/offtwall.o obj/mame/linux/blend/drivers/orbit.o obj/mame/linux/blend/sndhrdw/orbit.o obj/mame/linux/blend/vidhrdw/orbit.o obj/mame/linux/blend/drivers/poolshrk.o obj/mame/linux/blend/sndhrdw/poolshrk.o obj/mame/linux/blend/vidhrdw/poolshrk.o src/sndhrdw/nitedrvr.c:135:73: warning: implicit conversion from 'double' to 'int' changes value from 226.9 to 226 [-Wliteral-conversion] DISCRETE_SQUAREWAVE(NITEDRVR_SCREECH2_SND, NITEDRVR_SKID2_EN, NODE_75, 226.9, NODE_76, 0, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3224:114: note: expanded from macro 'DISCRETE_SQUAREWAVE' #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, ~ ^~~~ src/sndhrdw/nitedrvr.c:131:80: warning: implicit conversion from 'double' to 'int' changes value from 31.5 to 31 [-Wliteral-conversion] DISCRETE_SQUAREWAVE(NITEDRVR_SCREECH1_SND, NITEDRVR_SKID1_EN, NODE_72, 226.9, 31.5, 0, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./src/sound/discrete.h:3224:119: note: expanded from macro 'DISCRETE_SQUAREWAVE' #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, ~ ^~~~ src/sndhrdw/nitedrvr.c:131:73: warning: implicit conversion from 'double' to 'int' changes value from 226.9 to 226 [-Wliteral-conversion] DISCRETE_SQUAREWAVE(NITEDRVR_SCREECH1_SND, NITEDRVR_SKID1_EN, NODE_72, 226.9, 31.5, 0, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3224:114: note: expanded from macro 'DISCRETE_SQUAREWAVE' #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, ~ ^~~~ obj/mame/linux/blend/drivers/quantum.o 3 warnings generated. obj/mame/linux/blend/drivers/rampart.o obj/mame/linux/blend/vidhrdw/rampart.o obj/mame/linux/blend/drivers/relief.o obj/mame/linux/blend/vidhrdw/relief.o obj/mame/linux/blend/drivers/runaway.o src/sndhrdw/orbit.c:90:70: warning: implicit conversion from 'double' to 'int' changes value from 755.4 to 755 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(ORBIT_WARNING_SND, ORBIT_WARNING_EN, 15750.0/4, 755.4, 50.0, 0, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ obj/mame/linux/blend/vidhrdw/runaway.o 1 warning generated. obj/mame/linux/blend/drivers/sbrkout.o obj/mame/linux/blend/machine/sbrkout.o obj/mame/linux/blend/vidhrdw/sbrkout.o src/sndhrdw/poolshrk.c:143:57: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_TRANSFORM3(POOLSHRK_CLICK_SND, 1, NODE_41, 1, 3.4, "01&2*") // Q0 output of J9, pin 14. Set to proper amplitude ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./src/sound/discrete.h:3274:119: note: expanded from macro 'DISCRETE_TRANSFORM3' #define DISCRETE_TRANSFORM3(NODE,ENAB,INP0,INP1,INP2,FUNCT) { NODE, DST_TRANSFORM , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, FUNCT, "Transform 3 Nodes" }, ~ ^~~~ src/sndhrdw/poolshrk.c:108:4: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] 1.e-8, // C16 ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3324:116: note: expanded from macro 'DISCRETE_555_CC' #define DISCRETE_555_CC(NODE,RESET,VIN,R,C,RBIAS,RGND,RDIS,OPTIONS) { NODE, DSD_555_CC , 7, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, OPTIONS, "555 Constant Current VCO" }, ~ ^ src/sndhrdw/poolshrk.c:102:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] 3.4, // TTL ON level = 3.4V ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/poolshrk.c:77:68: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(NODE_20, POOLSHRK_BUMP_EN, 15750.0/2.0/128.0, 3.4, 50.0, 3.4/2, 0.0) // 128V signal 3.4V ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ obj/mame/linux/blend/drivers/shuuz.o 4 warnings generated. obj/mame/linux/blend/vidhrdw/shuuz.o obj/mame/linux/blend/drivers/skullxbo.o obj/mame/linux/blend/vidhrdw/skullxbo.o obj/mame/linux/blend/drivers/skydiver.o obj/mame/linux/blend/sndhrdw/skydiver.o obj/mame/linux/blend/vidhrdw/skydiver.o obj/mame/linux/blend/drivers/skyraid.o obj/mame/linux/blend/vidhrdw/skyraid.o obj/mame/linux/blend/drivers/sprint2.o obj/mame/linux/blend/sndhrdw/sprint2.o obj/mame/linux/blend/vidhrdw/sprint2.o obj/mame/linux/blend/drivers/sprint4.o obj/mame/linux/blend/sndhrdw/sprint4.o src/vidhrdw/skullxbo.c:300:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ obj/mame/linux/blend/vidhrdw/sprint4.o obj/mame/linux/blend/drivers/sprint8.o src/sndhrdw/skydiver.c:135:48: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] DISCRETE_SWITCH(NODE_38, 1, SKYDIVER_OCT2_EN, 1e-8, 1e-8 + 3.3e-9) /* Cap C72 & C59 */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3271:116: note: expanded from macro 'DISCRETE_SWITCH' #define DISCRETE_SWITCH(NODE,ENAB,SWITCH,INP0,INP1) { NODE, DST_SWITCH , 4, { ENAB,SWITCH,INP0,INP1 }, { ENAB,SWITCH,INP0,INP1 }, NULL, "2 Pole Switch" }, ~ ^~~~ src/sndhrdw/skydiver.c:133:64: warning: implicit conversion from 'double' to 'int' changes value from 0.33 to 0 [-Wliteral-conversion] DISCRETE_MULTADD(NODE_36, 1, SKYDIVER_WHISTLE2_EN, 3.05-0.33, 0.33) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./src/sound/discrete.h:3265:119: note: expanded from macro 'DISCRETE_MULTADD' #define DISCRETE_MULTADD(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, NULL, "Multiply/Add" }, ~ ^~~~ src/sndhrdw/skydiver.c:128:48: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] DISCRETE_SWITCH(NODE_33, 1, SKYDIVER_OCT1_EN, 1e-8, 1e-8 + 3.3e-9) /* Cap C73 & C58 */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3271:116: note: expanded from macro 'DISCRETE_SWITCH' #define DISCRETE_SWITCH(NODE,ENAB,SWITCH,INP0,INP1) { NODE, DST_SWITCH , 4, { ENAB,SWITCH,INP0,INP1 }, { ENAB,SWITCH,INP0,INP1 }, NULL, "2 Pole Switch" }, ~ ^~~~ src/sndhrdw/skydiver.c:126:64: warning: implicit conversion from 'double' to 'int' changes value from 0.33 to 0 [-Wliteral-conversion] DISCRETE_MULTADD(NODE_31, 1, SKYDIVER_WHISTLE1_EN, 3.05-0.33, 0.33) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./src/sound/discrete.h:3265:119: note: expanded from macro 'DISCRETE_MULTADD' #define DISCRETE_MULTADD(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, NULL, "Multiply/Add" }, ~ ^~~~ obj/mame/linux/blend/vidhrdw/sprint8.o 4 warnings generated. obj/mame/linux/blend/drivers/starshp1.o obj/mame/linux/blend/vidhrdw/starshp1.o obj/mame/linux/blend/drivers/starwars.o obj/mame/linux/blend/machine/starwars.o obj/mame/linux/blend/sndhrdw/starwars.o src/sndhrdw/sprint2.c:215:84: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SCHMITT_OSCILLATOR(SPRINT2_SKIDSND2, SPRINT2_SKIDSND2_EN, SPRINT2_NOISE, DEFAULT_TTL_V_LOGIC_1, &sprint2_screech_osc) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3232:114: note: expanded from macro 'DISCRETE_SCHMITT_OSCILLATOR' #define DISCRETE_SCHMITT_OSCILLATOR(NODE,ENAB,INP0,AMPL,TABLE) { NODE, DSS_SCHMITT_OSC , 3, { ENAB,INP0,AMPL }, { ENAB,INP0,AMPL }, TABLE, "Schmitt Feedback Oscillator" }, ~ ^~~~ src/sndhrdw/sprint2.c:213:84: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SCHMITT_OSCILLATOR(SPRINT2_SKIDSND1, SPRINT2_SKIDSND1_EN, SPRINT2_NOISE, DEFAULT_TTL_V_LOGIC_1, &sprint2_screech_osc) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3232:114: note: expanded from macro 'DISCRETE_SCHMITT_OSCILLATOR' #define DISCRETE_SCHMITT_OSCILLATOR(NODE,ENAB,INP0,AMPL,TABLE) { NODE, DSS_SCHMITT_OSC , 3, { ENAB,INP0,AMPL }, { ENAB,INP0,AMPL }, TABLE, "Schmitt Feedback Oscillator" }, ~ ^~~~ src/sndhrdw/sprint2.c:208:48: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(SPRINT2_CRASHSND, 1, NODE_60, DEFAULT_TTL_V_LOGIC_1, &sprint2_crash_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/sprint2.c:204:99: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_LFSR_NOISE(SPRINT2_NOISE, SPRINT2_NOISE_RESET, SPRINT2_NOISE_RESET, SPRINT2_2V, 1.0, 0, 0.5, &sprint2_lfsr) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3219:129: note: expanded from macro 'DISCRETE_LFSR_NOISE' #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,CLK,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, ~ ^~~~ src/sndhrdw/sprint2.c:194:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/sprint2.c:169:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/sprint2.c:156:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/sprint2.c:131:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ 1 warning generated. src/sndhrdw/sprint2.c:298:84: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SCHMITT_OSCILLATOR(SPRINT2_SKIDSND1, SPRINT2_SKIDSND1_EN, SPRINT2_NOISE, DEFAULT_TTL_V_LOGIC_1, &sprint2_screech_osc) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3232:114: note: expanded from macro 'DISCRETE_SCHMITT_OSCILLATOR' #define DISCRETE_SCHMITT_OSCILLATOR(NODE,ENAB,INP0,AMPL,TABLE) { NODE, DSS_SCHMITT_OSC , 3, { ENAB,INP0,AMPL }, { ENAB,INP0,AMPL }, TABLE, "Schmitt Feedback Oscillator" }, ~ ^~~~ src/sndhrdw/sprint2.c:293:48: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(SPRINT2_CRASHSND, 1, NODE_60, DEFAULT_TTL_V_LOGIC_1, &sprint2_crash_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/sprint2.c:289:99: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_LFSR_NOISE(SPRINT2_NOISE, SPRINT2_NOISE_RESET, SPRINT2_NOISE_RESET, SPRINT2_2V, 1.0, 0, 0.5, &sprint2_lfsr) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3219:129: note: expanded from macro 'DISCRETE_LFSR_NOISE' #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,CLK,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, ~ ^~~~ src/sndhrdw/sprint2.c:279:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/sprint2.c:254:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ obj/mame/linux/blend/drivers/subs.o src/sndhrdw/sprint2.c:394:72: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(DOMINOS_TOPPLE_SND, DOMINOS_TUMBLE_EN, 15750.0/8, DEFAULT_TTL_V_LOGIC_1, 50.0, DEFAULT_TTL_V_LOGIC_1/2, 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ src/sndhrdw/sprint2.c:387:48: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(DOMINOS_TONE_SND, 1, NODE_24, DEFAULT_TTL_V_LOGIC_1, &dominos_tone_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/sprint2.c:380:49: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_20, 1, DOMINOS_FREQ_DATA, DEFAULT_TTL_V_LOGIC_1, &dominos_tone_vco_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/sprint4.c:201:52: warning: implicit conversion from 'double' to 'int' changes value from 31.5 to 31 [-Wliteral-conversion] DISCRETE_SQUAREWAVE(NODE_133, 1, NODE_132, 407.8, 31.5, 0, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./src/sound/discrete.h:3224:119: note: expanded from macro 'DISCRETE_SQUAREWAVE' #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, ~ ^~~~ src/sndhrdw/sprint4.c:201:45: warning: implicit conversion from 'double' to 'int' changes value from 407.8 to 407 [-Wliteral-conversion] DISCRETE_SQUAREWAVE(NODE_133, 1, NODE_132, 407.8, 31.5, 0, 0.0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3224:114: note: expanded from macro 'DISCRETE_SQUAREWAVE' #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, ~ ^~~~ 16 warnings generated. obj/mame/linux/blend/machine/subs.o obj/mame/linux/blend/sndhrdw/subs.o 2 warnings generated. obj/mame/linux/blend/vidhrdw/subs.o obj/mame/linux/blend/drivers/tank8.o obj/mame/linux/blend/sndhrdw/tank8.o obj/mame/linux/blend/vidhrdw/tank8.o obj/mame/linux/blend/drivers/tempest.o obj/mame/linux/blend/drivers/thunderj.o obj/mame/linux/blend/vidhrdw/thunderj.o obj/mame/linux/blend/drivers/toobin.o src/sndhrdw/subs.c:132:59: warning: implicit conversion from 'double' to 'int' changes value from 320.8 to 320 [-Wliteral-conversion] DISCRETE_TRIANGLEWAVE(SUBS_SONAR2_SND, NODE_52, NODE_51, 320.8, 0.0, 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./src/sound/discrete.h:3227:114: note: expanded from macro 'DISCRETE_TRIANGLEWAVE' #define DISCRETE_TRIANGLEWAVE(NODE,ENAB,FREQ,AMPL,BIAS,PHASE) { NODE, DSS_TRIANGLEWAVE, 5, { ENAB,FREQ,AMPL,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,BIAS,PHASE }, NULL, "Triangle Wave" }, ~ ^~~~ src/sndhrdw/subs.c:127:59: warning: implicit conversion from 'double' to 'int' changes value from 320.8 to 320 [-Wliteral-conversion] DISCRETE_TRIANGLEWAVE(SUBS_SONAR1_SND, NODE_42, NODE_41, 320.8, 0.0, 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./src/sound/discrete.h:3227:114: note: expanded from macro 'DISCRETE_TRIANGLEWAVE' #define DISCRETE_TRIANGLEWAVE(NODE,ENAB,FREQ,AMPL,BIAS,PHASE) { NODE, DSS_TRIANGLEWAVE, 5, { ENAB,FREQ,AMPL,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,BIAS,PHASE }, NULL, "Triangle Wave" }, ~ ^~~~ obj/mame/linux/blend/vidhrdw/toobin.o 2 warnings generated. obj/mame/linux/blend/drivers/tourtabl.o obj/mame/linux/blend/vidhrdw/tia.o src/sndhrdw/tank8.c:211:71: warning: implicit conversion from 'double' to 'int' changes value from 1.7 to 1 [-Wliteral-conversion] DISCRETE_SQUAREWAVE2(NODE_112,TANK8_BUGLE_EN,3.4, NODE_110, NODE_111,1.7,0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./src/sound/discrete.h:3226:125: note: expanded from macro 'DISCRETE_SQUAREWAVE2' #define DISCRETE_SQUAREWAVE2(NODE,ENAB,AMPL,T_OFF,T_ON,BIAS,TSHIFT) { NODE, DSS_SQUAREWAVE2 , 6, { ENAB,AMPL,T_OFF,T_ON,BIAS,NODE_NC }, { ENAB,AMPL,T_OFF,T_ON,BIAS,TSHIFT }, NULL, "Square Wave 2" }, ~ ^~~~ src/sndhrdw/tank8.c:211:47: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SQUAREWAVE2(NODE_112,TANK8_BUGLE_EN,3.4, NODE_110, NODE_111,1.7,0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3226:109: note: expanded from macro 'DISCRETE_SQUAREWAVE2' #define DISCRETE_SQUAREWAVE2(NODE,ENAB,AMPL,T_OFF,T_ON,BIAS,TSHIFT) { NODE, DSS_SQUAREWAVE2 , 6, { ENAB,AMPL,T_OFF,T_ON,BIAS,NODE_NC }, { ENAB,AMPL,T_OFF,T_ON,BIAS,TSHIFT }, NULL, "Square Wave 2" }, ~ ^~~~ src/sndhrdw/tank8.c:197:48: warning: implicit conversion from 'double' to 'int' changes value from 3.6 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_102, 1, TANK8_MOTOR8_EN, 3.6, &tank8_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/tank8.c:190:47: warning: implicit conversion from 'double' to 'int' changes value from 3.6 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_92, 1, TANK8_MOTOR7_EN, 3.6, &tank8_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/tank8.c:183:47: warning: implicit conversion from 'double' to 'int' changes value from 3.6 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_82, 1, TANK8_MOTOR6_EN, 3.6, &tank8_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/tank8.c:176:47: warning: implicit conversion from 'double' to 'int' changes value from 3.6 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_72, 1, TANK8_MOTOR5_EN, 3.6, &tank8_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/tank8.c:169:47: warning: implicit conversion from 'double' to 'int' changes value from 3.6 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_62, 1, TANK8_MOTOR4_EN, 3.6, &tank8_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/tank8.c:162:47: warning: implicit conversion from 'double' to 'int' changes value from 3.6 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_52, 1, TANK8_MOTOR3_EN, 3.6, &tank8_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/tank8.c:155:47: warning: implicit conversion from 'double' to 'int' changes value from 3.6 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_42, 1, TANK8_MOTOR2_EN, 3.6, &tank8_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/tank8.c:148:47: warning: implicit conversion from 'double' to 'int' changes value from 3.6 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_32, 1, TANK8_MOTOR1_EN, 3.6, &tank8_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ obj/mame/linux/blend/drivers/triplhnt.o obj/mame/linux/blend/sndhrdw/triplhnt.o 10 warnings generated. obj/mame/linux/blend/vidhrdw/triplhnt.o obj/mame/linux/blend/drivers/tunhunt.o obj/mame/linux/blend/vidhrdw/tunhunt.o obj/mame/linux/blend/drivers/videopin.o obj/mame/linux/blend/sndhrdw/videopin.o src/vidhrdw/thunderj.c:271:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ obj/mame/linux/blend/vidhrdw/videopin.o obj/mame/linux/blend/drivers/vindictr.o obj/mame/linux/blend/vidhrdw/vindictr.o obj/mame/linux/blend/drivers/wolfpack.o src/sndhrdw/triplhnt.c:163:89: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SCHMITT_OSCILLATOR(TRIPLHNT_SCREECH_SND, TRIPLHNT_SCREECH_EN, TRIPLHNT_NOISE, 3.4, &triplhnt_screech_osc) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3232:114: note: expanded from macro 'DISCRETE_SCHMITT_OSCILLATOR' #define DISCRETE_SCHMITT_OSCILLATOR(NODE,ENAB,INP0,AMPL,TABLE) { NODE, DSS_SCHMITT_OSC , 3, { ENAB,INP0,AMPL }, { ENAB,INP0,AMPL }, TABLE, "Schmitt Feedback Oscillator" }, ~ ^~~~ src/sndhrdw/triplhnt.c:156:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/triplhnt.c:144:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, ^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/triplhnt.c:129:4: warning: implicit conversion from 'double' to 'int' changes value from 1.0E-8 to 0 [-Wliteral-conversion] 1.e-8, // C58 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3324:116: note: expanded from macro 'DISCRETE_555_CC' #define DISCRETE_555_CC(NODE,RESET,VIN,R,C,RBIAS,RGND,RDIS,OPTIONS) { NODE, DSD_555_CC , 7, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, { RESET,VIN,R,C,RBIAS,RGND,RDIS }, OPTIONS, "555 Constant Current VCO" }, ~ ^ src/sndhrdw/triplhnt.c:124:4: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, // TTL ON level ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/triplhnt.c:113:5: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DEFAULT_TTL_V_LOGIC_1, 0, DEFAULT_TTL_V_LOGIC_1/2, &triplhnt_lfsr) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3219:119: note: expanded from macro 'DISCRETE_LFSR_NOISE' #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,CLK,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, ~ ^~~~ 6 warnings generated. obj/mame/linux/blend/vidhrdw/wolfpack.o obj/mame/linux/blend/drivers/xybots.o obj/mame/linux/blend/vidhrdw/xybots.o obj/mame/linux/blend/machine/asic65.o src/sndhrdw/videopin.c:90:46: warning: implicit conversion from 'double' to 'int' changes value from 740.2 to 740 [-Wliteral-conversion] DISCRETE_RCDISC2(NODE_30, VIDEOPIN_BELL_EN, 740.2, 1, 0, 1e6, 1e-6) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3303:111: note: expanded from macro 'DISCRETE_RCDISC2' #define DISCRETE_RCDISC2(NODE,SWITCH,INP0,RVAL0,INP1,RVAL1,CVAL) { NODE, DST_RCDISC2 , 6, { SWITCH,INP0,NODE_NC,INP1,NODE_NC,NODE_NC }, { SWITCH,INP0,RVAL0,INP1,RVAL1,CVAL }, NULL, "RC Discharge 2" }, ~ ^~~~ 1 warning generated. obj/mame/linux/blend/machine/atari_vg.o 1 warning generated. obj/mame/linux/blend/machine/atarigen.o obj/mame/linux/blend/machine/mathbox.o obj/mame/linux/blend/machine/slapstic.o obj/mame/linux/blend/sndhrdw/atarijsa.o obj/mame/linux/blend/sndhrdw/cage.o obj/mame/linux/blend/sndhrdw/redbaron.o obj/mame/linux/blend/vidhrdw/atarimo.o obj/mame/linux/blend/vidhrdw/atarirle.o obj/mame/linux/blend/drivers/blmbycar.o src/vidhrdw/vindictr.c:272:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ obj/mame/linux/blend/vidhrdw/blmbycar.o obj/mame/linux/blend/drivers/ohmygod.o obj/mame/linux/blend/vidhrdw/ohmygod.o obj/mame/linux/blend/drivers/powerins.o src/vidhrdw/xybots.c:154:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = (mo[x] ^ 0x2f0) & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ src/vidhrdw/xybots.c:156:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ src/vidhrdw/xybots.c:162:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pf[x] = mo[x] & ATARIMO_DATA_MASK; ^~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:26:29: note: expanded from macro 'ATARIMO_DATA_MASK' #define ATARIMO_DATA_MASK (ATARIMO_PRIORITY_MASK ^ 0xffff) ^~~~~~~~~~~~~~~~~~~~~ ./src/vidhrdw/atarimo.h:25:36: note: expanded from macro 'ATARIMO_PRIORITY_MASK' #define ATARIMO_PRIORITY_MASK ((~0 << ATARIMO_PRIORITY_SHIFT) & 0xffff) ~~ ^ obj/mame/linux/blend/vidhrdw/powerins.o obj/mame/linux/blend/drivers/bfm_sc2.o obj/mame/linux/blend/vidhrdw/bfm_adr2.o 3 warnings generated. 1 warning generated. obj/mame/linux/blend/drivers/mpu4.o src/vidhrdw/atarimo.c:541:10: warning: array index -1 is before the beginning of the array [-Warray-bounds] rect = &mo->rectlist[-1]; ^ ~~ src/vidhrdw/atarimo.c:104:2: note: array 'rectlist' declared here rectangle rectlist[ATARIMO_MAXPERBANK]; /* list of bounding rectangles */ ^ obj/mame/linux/blend/machine/lamps.o obj/mame/linux/blend/machine/mmtr.o obj/mame/linux/blend/machine/steppers.o obj/mame/linux/blend/machine/vacfdisp.o obj/mame/linux/blend/drivers/1942.o obj/mame/linux/blend/vidhrdw/1942.o obj/mame/linux/blend/drivers/1943.o obj/mame/linux/blend/vidhrdw/1943.o obj/mame/linux/blend/drivers/bionicc.o obj/mame/linux/blend/vidhrdw/bionicc.o obj/mame/linux/blend/drivers/blktiger.o src/machine/vacfdisp.c:613:42: warning: implicit conversion from 'double' to 'int' changes value from 9.5 to 9 [-Wliteral-conversion] plot_box(bitmap, x+(7*cursor), y+1, 1, 9.5, (vfd_get_segments(vfd)[cursor] & 0x0001) ? col_on : col_off);//0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/drawgfx.h:154:59: note: expanded from macro 'plot_box' #define plot_box(bm,x,y,w,h,p) (*(bm)->plot_box)(bm,x,y,w,h,p) ~ ^ src/machine/vacfdisp.c:614:44: warning: implicit conversion from 'double' to 'int' changes value from 9.5 to 9 [-Wliteral-conversion] plot_box(bitmap, x+4+(7*cursor), y+1, 1, 9.5, (vfd_get_segments(vfd)[cursor] & 0x0002) ? col_on : col_off);//1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/drawgfx.h:154:59: note: expanded from macro 'plot_box' #define plot_box(bm,x,y,w,h,p) (*(bm)->plot_box)(bm,x,y,w,h,p) ~ ^ obj/mame/linux/blend/vidhrdw/blktiger.o src/machine/vacfdisp.c:616:44: warning: implicit conversion from 'double' to 'int' changes value from 9.5 to 9 [-Wliteral-conversion] plot_box(bitmap, x+2+(7*cursor), y+1, 1, 9.5, (vfd_get_segments(vfd)[cursor] & 0x0008) ? col_on : col_off);//3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/drawgfx.h:154:59: note: expanded from macro 'plot_box' #define plot_box(bm,x,y,w,h,p) (*(bm)->plot_box)(bm,x,y,w,h,p) ~ ^ src/machine/vacfdisp.c:617:47: warning: implicit conversion from 'double' to 'int' changes value from 9.5 to 9 [-Wliteral-conversion] plot_box(bitmap, x+4+(7*cursor), y+10.5, 1, 9.5, (vfd_get_segments(vfd)[cursor] & 0x0020) ? col_on : col_off);//5 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/drawgfx.h:154:59: note: expanded from macro 'plot_box' #define plot_box(bm,x,y,w,h,p) (*(bm)->plot_box)(bm,x,y,w,h,p) ~ ^ src/machine/vacfdisp.c:628:47: warning: implicit conversion from 'double' to 'int' changes value from 9.5 to 9 [-Wliteral-conversion] plot_box(bitmap, x+2+(7*cursor), y+11.5, 1, 9.5, (vfd_get_segments(vfd)[cursor] & 0x0400) ? col_on : col_off);//10 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/drawgfx.h:154:59: note: expanded from macro 'plot_box' #define plot_box(bm,x,y,w,h,p) (*(bm)->plot_box)(bm,x,y,w,h,p) ~ ^ src/machine/vacfdisp.c:632:45: warning: implicit conversion from 'double' to 'int' changes value from 9.5 to 9 [-Wliteral-conversion] plot_box(bitmap, x+(7*cursor), y+10.5, 1, 9.5, (vfd_get_segments(vfd)[cursor] & 0x2000) ? col_on : col_off);//13 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/drawgfx.h:154:59: note: expanded from macro 'plot_box' #define plot_box(bm,x,y,w,h,p) (*(bm)->plot_box)(bm,x,y,w,h,p) ~ ^ obj/mame/linux/blend/drivers/cbasebal.o obj/mame/linux/blend/vidhrdw/cbasebal.o obj/mame/linux/blend/drivers/commando.o obj/mame/linux/blend/vidhrdw/commando.o obj/mame/linux/blend/drivers/cps1.o obj/mame/linux/blend/vidhrdw/cps1.o obj/mame/linux/blend/drivers/cps2.o obj/mame/linux/blend/drivers/cps3.o obj/mame/linux/blend/drivers/egghunt.o obj/mame/linux/blend/drivers/fcrash.o obj/mame/linux/blend/drivers/gng.o obj/mame/linux/blend/vidhrdw/gng.o 6 warnings generated. obj/mame/linux/blend/drivers/gunsmoke.o obj/mame/linux/blend/vidhrdw/gunsmoke.o obj/mame/linux/blend/drivers/exedexes.o obj/mame/linux/blend/vidhrdw/exedexes.o obj/mame/linux/blend/drivers/higemaru.o obj/mame/linux/blend/vidhrdw/higemaru.o obj/mame/linux/blend/drivers/lastduel.o obj/mame/linux/blend/vidhrdw/lastduel.o obj/mame/linux/blend/drivers/lwings.o obj/mame/linux/blend/vidhrdw/lwings.o obj/mame/linux/blend/drivers/mitchell.o obj/mame/linux/blend/vidhrdw/mitchell.o obj/mame/linux/blend/drivers/sf.o obj/mame/linux/blend/vidhrdw/sf.o obj/mame/linux/blend/drivers/sidearms.o obj/mame/linux/blend/vidhrdw/sidearms.o obj/mame/linux/blend/drivers/sonson.o obj/mame/linux/blend/vidhrdw/sonson.o obj/mame/linux/blend/drivers/srumbler.o obj/mame/linux/blend/vidhrdw/srumbler.o obj/mame/linux/blend/drivers/vulgus.o obj/mame/linux/blend/vidhrdw/vulgus.o obj/mame/linux/blend/drivers/tigeroad.o obj/mame/linux/blend/vidhrdw/tigeroad.o obj/mame/linux/blend/drivers/zn.o obj/mame/linux/blend/machine/znsec.o obj/mame/linux/blend/machine/at28c16.o 1 warning generated. obj/mame/linux/blend/machine/mb3773.o 4 warnings generated. obj/mame/linux/blend/machine/kabuki.o obj/mame/linux/blend/drivers/ataxx.o obj/mame/linux/blend/drivers/cinemat.o obj/mame/linux/blend/sndhrdw/cinemat.o obj/mame/linux/blend/vidhrdw/cinemat.o obj/mame/linux/blend/drivers/cchasm.o obj/mame/linux/blend/machine/cchasm.o obj/mame/linux/blend/sndhrdw/cchasm.o obj/mame/linux/blend/vidhrdw/cchasm.o obj/mame/linux/blend/drivers/dlair.o obj/mame/linux/blend/drivers/embargo.o obj/mame/linux/blend/drivers/jack.o obj/mame/linux/blend/vidhrdw/jack.o obj/mame/linux/blend/drivers/leland.o obj/mame/linux/blend/machine/leland.o src/sndhrdw/cchasm.c:174:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] int num = (int)param; ^~~~~~~~~~ obj/mame/linux/blend/sndhrdw/leland.o obj/mame/linux/blend/vidhrdw/leland.o obj/mame/linux/blend/drivers/funybubl.o 1 warning generated. obj/mame/linux/blend/vidhrdw/funybubl.o obj/mame/linux/blend/drivers/galspnbl.o obj/mame/linux/blend/vidhrdw/galspnbl.o obj/mame/linux/blend/drivers/pushman.o obj/mame/linux/blend/vidhrdw/pushman.o obj/mame/linux/blend/drivers/zerozone.o obj/mame/linux/blend/vidhrdw/zerozone.o obj/mame/linux/blend/drivers/cvs.o obj/mame/linux/blend/vidhrdw/cvs.o obj/mame/linux/blend/vidhrdw/s2636.o obj/mame/linux/blend/drivers/quasar.o obj/mame/linux/blend/vidhrdw/quasar.o obj/mame/linux/blend/drivers/actfancr.o obj/mame/linux/blend/vidhrdw/actfancr.o obj/mame/linux/blend/drivers/astrof.o obj/mame/linux/blend/sndhrdw/astrof.o src/drivers/cvs.c:375:21: warning: implicit conversion from 'double' to 'int' changes value from 894886.25 to 894886 [-Wliteral-conversion] MDRV_CPU_ADD(S2650,894886.25) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./src/driver.h:294:31: note: expanded from macro 'MDRV_CPU_ADD' MDRV_CPU_ADD_TAG(NULL, type, clock) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./src/driver.h:291:52: note: expanded from macro 'MDRV_CPU_ADD_TAG' cpu = driver_add_cpu(machine, (tag), CPU_##type, (clock)); \ ~~~~~~~~~~~~~~ ^~~~~ src/drivers/cvs.c:380:21: warning: implicit conversion from 'double' to 'int' changes value from 894886.25 to 894886 [-Wliteral-conversion] MDRV_CPU_ADD(S2650,894886.25) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./src/driver.h:294:31: note: expanded from macro 'MDRV_CPU_ADD' MDRV_CPU_ADD_TAG(NULL, type, clock) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./src/driver.h:291:52: note: expanded from macro 'MDRV_CPU_ADD_TAG' cpu = driver_add_cpu(machine, (tag), CPU_##type, (clock)); \ ~~~~~~~~~~~~~~ ^~~~~ obj/mame/linux/blend/vidhrdw/astrof.o obj/mame/linux/blend/drivers/backfire.o src/drivers/quasar.c:159:31: obj/mame/linux/blend/drivers/battlera.o warning: 'memset' call operates on objects of type 'unsigned char' while the size is based on a different type 'unsigned char *' [-Wsizeof-pointer-memaccess] memset(effectdirty,1,sizeof(effectdirty)); ~~~~~~~~~~~ ^~~~~~~~~~~ src/drivers/quasar.c:159:31: note: did you mean to provide an explicit length? memset(effectdirty,1,sizeof(effectdirty)); ^~~~~~~~~~~ obj/mame/linux/blend/vidhrdw/battlera.o src/vidhrdw/quasar.c:143:30: warning: 'memset' call operates on objects of type 'unsigned char' while the size is based on a different type 'unsigned char *' [-Wsizeof-pointer-memaccess] memset(effectdirty,0,sizeof(effectdirty)); ~~~~~~~~~~~ ^~~~~~~~~~~ src/vidhrdw/quasar.c:143:30: note: did you mean to provide an explicit length? memset(effectdirty,0,sizeof(effectdirty)); ^~~~~~~~~~~ obj/mame/linux/blend/drivers/boogwing.o obj/mame/linux/blend/vidhrdw/boogwing.o obj/mame/linux/blend/drivers/brkthru.o obj/mame/linux/blend/vidhrdw/brkthru.o obj/mame/linux/blend/drivers/btime.o obj/mame/linux/blend/machine/btime.o 1 warning generated. 1 warning generated. obj/mame/linux/blend/vidhrdw/btime.o obj/mame/linux/blend/drivers/bwing.o obj/mame/linux/blend/vidhrdw/bwing.o obj/mame/linux/blend/drivers/cbuster.o 2 warnings generated. obj/mame/linux/blend/vidhrdw/cbuster.o obj/mame/linux/blend/drivers/cninja.o obj/mame/linux/blend/vidhrdw/cninja.o obj/mame/linux/blend/drivers/cntsteer.o obj/mame/linux/blend/drivers/compgolf.o obj/mame/linux/blend/vidhrdw/compgolf.o obj/mame/linux/blend/drivers/darkseal.o obj/mame/linux/blend/vidhrdw/darkseal.o obj/mame/linux/blend/drivers/dassault.o obj/mame/linux/blend/vidhrdw/dassault.o obj/mame/linux/blend/drivers/dblewing.o obj/mame/linux/blend/drivers/dec0.o obj/mame/linux/blend/machine/dec0.o obj/mame/linux/blend/vidhrdw/dec0.o obj/mame/linux/blend/drivers/dec8.o obj/mame/linux/blend/vidhrdw/dec8.o obj/mame/linux/blend/drivers/deco_mlc.o obj/mame/linux/blend/vidhrdw/deco_mlc.o obj/mame/linux/blend/drivers/deco156.o obj/mame/linux/blend/machine/deco156.o obj/mame/linux/blend/drivers/deco32.o obj/mame/linux/blend/vidhrdw/deco32.o obj/mame/linux/blend/drivers/decocass.o obj/mame/linux/blend/machine/decocass.o obj/mame/linux/blend/vidhrdw/decocass.o obj/mame/linux/blend/drivers/dietgo.o obj/mame/linux/blend/vidhrdw/dietgo.o obj/mame/linux/blend/drivers/exprraid.o obj/mame/linux/blend/vidhrdw/exprraid.o obj/mame/linux/blend/drivers/firetrap.o obj/mame/linux/blend/vidhrdw/firetrap.o obj/mame/linux/blend/drivers/funkyjet.o obj/mame/linux/blend/vidhrdw/funkyjet.o obj/mame/linux/blend/drivers/karnov.o obj/mame/linux/blend/vidhrdw/karnov.o obj/mame/linux/blend/drivers/kchamp.o obj/mame/linux/blend/vidhrdw/kchamp.o obj/mame/linux/blend/drivers/kingobox.o obj/mame/linux/blend/vidhrdw/kingobox.o obj/mame/linux/blend/drivers/lemmings.o obj/mame/linux/blend/vidhrdw/lemmings.o obj/mame/linux/blend/drivers/liberate.o obj/mame/linux/blend/vidhrdw/liberate.o obj/mame/linux/blend/drivers/madalien.o obj/mame/linux/blend/drivers/madmotor.o obj/mame/linux/blend/vidhrdw/madmotor.o obj/mame/linux/blend/drivers/metlclsh.o obj/mame/linux/blend/vidhrdw/metlclsh.o obj/mame/linux/blend/drivers/pcktgal.o obj/mame/linux/blend/vidhrdw/pcktgal.o obj/mame/linux/blend/drivers/pktgaldx.o obj/mame/linux/blend/vidhrdw/pktgaldx.o obj/mame/linux/blend/drivers/rohga.o obj/mame/linux/blend/vidhrdw/rohga.o obj/mame/linux/blend/drivers/shootout.o obj/mame/linux/blend/vidhrdw/shootout.o obj/mame/linux/blend/drivers/sidepckt.o obj/mame/linux/blend/vidhrdw/sidepckt.o obj/mame/linux/blend/drivers/simpl156.o obj/mame/linux/blend/vidhrdw/simpl156.o obj/mame/linux/blend/drivers/sshangha.o obj/mame/linux/blend/vidhrdw/sshangha.o obj/mame/linux/blend/drivers/stadhero.o obj/mame/linux/blend/vidhrdw/stadhero.o obj/mame/linux/blend/drivers/supbtime.o obj/mame/linux/blend/vidhrdw/supbtime.o obj/mame/linux/blend/drivers/tryout.o obj/mame/linux/blend/vidhrdw/tryout.o obj/mame/linux/blend/drivers/tumbleb.o obj/mame/linux/blend/vidhrdw/tumbleb.o obj/mame/linux/blend/drivers/tumblep.o obj/mame/linux/blend/vidhrdw/tumblep.o obj/mame/linux/blend/drivers/vaportra.o obj/mame/linux/blend/vidhrdw/vaportra.o obj/mame/linux/blend/machine/deco102.o obj/mame/linux/blend/machine/decocrpt.o obj/mame/linux/blend/machine/decoprot.o obj/mame/linux/blend/vidhrdw/deco16ic.o obj/mame/linux/blend/drivers/dooyong.o obj/mame/linux/blend/vidhrdw/dooyong.o obj/mame/linux/blend/drivers/gundealr.o obj/mame/linux/blend/vidhrdw/gundealr.o obj/mame/linux/blend/drivers/cherrym2.o obj/mame/linux/blend/drivers/ddenlovr.o obj/mame/linux/blend/drivers/dynax.o obj/mame/linux/blend/vidhrdw/dynax.o obj/mame/linux/blend/drivers/hnayayoi.o obj/mame/linux/blend/vidhrdw/hnayayoi.o obj/mame/linux/blend/drivers/rcasino.o obj/mame/linux/blend/drivers/realbrk.o obj/mame/linux/blend/vidhrdw/realbrk.o obj/mame/linux/blend/drivers/royalmah.o obj/mame/linux/blend/drivers/diverboy.o obj/mame/linux/blend/vidhrdw/diverboy.o obj/mame/linux/blend/drivers/fantland.o obj/mame/linux/blend/vidhrdw/fantland.o obj/mame/linux/blend/drivers/mwarr.o obj/mame/linux/blend/drivers/mugsmash.o obj/mame/linux/blend/vidhrdw/mugsmash.o obj/mame/linux/blend/drivers/stlforce.o obj/mame/linux/blend/vidhrdw/stlforce.o obj/mame/linux/blend/drivers/ppmast93.o obj/mame/linux/blend/drivers/twins.o obj/mame/linux/blend/drivers/eolith.o obj/mame/linux/blend/vidhrdw/eolith.o obj/mame/linux/blend/drivers/eolith16.o obj/mame/linux/blend/drivers/aquarium.o obj/mame/linux/blend/vidhrdw/aquarium.o obj/mame/linux/blend/drivers/gcpinbal.o obj/mame/linux/blend/vidhrdw/gcpinbal.o obj/mame/linux/blend/drivers/vmetal.o obj/mame/linux/blend/drivers/carpolo.o obj/mame/linux/blend/machine/carpolo.o obj/mame/linux/blend/vidhrdw/carpolo.o obj/mame/linux/blend/drivers/circus.o obj/mame/linux/blend/sndhrdw/circus.o obj/mame/linux/blend/vidhrdw/circus.o obj/mame/linux/blend/drivers/exidy.o obj/mame/linux/blend/sndhrdw/exidy.o obj/mame/linux/blend/vidhrdw/exidy.o obj/mame/linux/blend/drivers/exidy440.o obj/mame/linux/blend/sndhrdw/exidy440.o obj/mame/linux/blend/vidhrdw/exidy440.o obj/mame/linux/blend/drivers/maxaflex.o obj/mame/linux/blend/machine/atari.o src/sndhrdw/circus.c:131:67: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_MULTADD(CRASH_MUSIC_SND, 1, CRASH_MUSIC_BIT, CRASH_R63, 0.5) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./src/sound/discrete.h:3265:119: note: expanded from macro 'DISCRETE_MULTADD' #define DISCRETE_MULTADD(NODE,ENAB,INP0,INP1,INP2) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,INP2 }, { ENAB,INP0,INP1,INP2 }, NULL, "Multiply/Add" }, ~ ^~~~ obj/mame/linux/blend/vidhrdw/atari.o obj/mame/linux/blend/vidhrdw/antic.o 1 warning generated. obj/mame/linux/blend/vidhrdw/gtia.o obj/mame/linux/blend/drivers/starfire.o obj/mame/linux/blend/vidhrdw/starfire.o obj/mame/linux/blend/drivers/vertigo.o obj/mame/linux/blend/machine/vertigo.o obj/mame/linux/blend/vidhrdw/vertigo.o obj/mame/linux/blend/drivers/victory.o obj/mame/linux/blend/vidhrdw/victory.o obj/mame/linux/blend/sndhrdw/targ.o obj/mame/linux/blend/drivers/crospang.o obj/mame/linux/blend/vidhrdw/crospang.o obj/mame/linux/blend/drivers/f-32.o obj/mame/linux/blend/drivers/fuukifg2.o obj/mame/linux/blend/vidhrdw/fuukifg2.o obj/mame/linux/blend/drivers/fuukifg3.o obj/mame/linux/blend/vidhrdw/fuukifg3.o obj/mame/linux/blend/drivers/gaelco.o obj/mame/linux/blend/vidhrdw/gaelco.o obj/mame/linux/blend/drivers/gaelco2.o obj/mame/linux/blend/machine/gaelco2.o obj/mame/linux/blend/vidhrdw/gaelco2.o obj/mame/linux/blend/drivers/gaelco3d.o obj/mame/linux/blend/vidhrdw/gaelco3d.o obj/mame/linux/blend/drivers/glass.o obj/mame/linux/blend/vidhrdw/glass.o obj/mame/linux/blend/drivers/mastboy.o src/drivers/gaelco3d.c:379:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] int which = (int)param; ^~~~~~~~~~ obj/mame/linux/blend/drivers/splash.o obj/mame/linux/blend/vidhrdw/splash.o obj/mame/linux/blend/drivers/targeth.o obj/mame/linux/blend/vidhrdw/targeth.o obj/mame/linux/blend/drivers/thoop2.o obj/mame/linux/blend/vidhrdw/thoop2.o obj/mame/linux/blend/drivers/xorworld.o obj/mame/linux/blend/vidhrdw/xorworld.o obj/mame/linux/blend/drivers/wrally.o obj/mame/linux/blend/machine/wrally.o obj/mame/linux/blend/vidhrdw/wrally.o obj/mame/linux/blend/drivers/enigma2.o obj/mame/linux/blend/drivers/gameplan.o obj/mame/linux/blend/drivers/toratora.o obj/mame/linux/blend/drivers/gotya.o obj/mame/linux/blend/sndhrdw/gotya.o obj/mame/linux/blend/vidhrdw/gotya.o obj/mame/linux/blend/drivers/sbugger.o obj/mame/linux/blend/vidhrdw/sbugger.o obj/mame/linux/blend/drivers/exterm.o obj/mame/linux/blend/vidhrdw/exterm.o obj/mame/linux/blend/drivers/gottlieb.o obj/mame/linux/blend/sndhrdw/gottlieb.o obj/mame/linux/blend/vidhrdw/gottlieb.o obj/mame/linux/blend/drivers/findout.o 73 warnings generated. obj/mame/linux/blend/drivers/getrivia.o obj/mame/linux/blend/drivers/csk.o obj/mame/linux/blend/vidhrdw/csk.o obj/mame/linux/blend/drivers/goldstar.o obj/mame/linux/blend/vidhrdw/goldstar.o obj/mame/linux/blend/drivers/igs_blit.o 1 warning generated. obj/mame/linux/blend/drivers/iqblock.o obj/mame/linux/blend/vidhrdw/iqblock.o obj/mame/linux/blend/drivers/lordgun.o obj/mame/linux/blend/vidhrdw/lordgun.o obj/mame/linux/blend/drivers/pgm.o obj/mame/linux/blend/vidhrdw/pgm.o obj/mame/linux/blend/drivers/tarzan.o obj/mame/linux/blend/machine/pgmcrypt.o obj/mame/linux/blend/machine/pgmprot.o 1 warning generated. obj/mame/linux/blend/machine/pgmy2ks.o obj/mame/linux/blend/drivers/m62.o obj/mame/linux/blend/vidhrdw/m62.o obj/mame/linux/blend/drivers/m72.o obj/mame/linux/blend/sndhrdw/m72.o obj/mame/linux/blend/vidhrdw/m72.o obj/mame/linux/blend/drivers/m90.o obj/mame/linux/blend/vidhrdw/m90.o obj/mame/linux/blend/drivers/m92.o obj/mame/linux/blend/vidhrdw/m92.o obj/mame/linux/blend/drivers/m107.o obj/mame/linux/blend/vidhrdw/m107.o obj/mame/linux/blend/drivers/mpatrol.o obj/mame/linux/blend/vidhrdw/mpatrol.o obj/mame/linux/blend/drivers/olibochu.o obj/mame/linux/blend/drivers/redalert.o obj/mame/linux/blend/sndhrdw/redalert.o obj/mame/linux/blend/vidhrdw/redalert.o obj/mame/linux/blend/drivers/shisen.o obj/mame/linux/blend/vidhrdw/shisen.o obj/mame/linux/blend/drivers/skychut.o obj/mame/linux/blend/vidhrdw/skychut.o obj/mame/linux/blend/drivers/travrusa.o obj/mame/linux/blend/vidhrdw/travrusa.o obj/mame/linux/blend/drivers/troangel.o obj/mame/linux/blend/vidhrdw/troangel.o obj/mame/linux/blend/drivers/vigilant.o obj/mame/linux/blend/vidhrdw/vigilant.o obj/mame/linux/blend/drivers/wilytowr.o obj/mame/linux/blend/drivers/yard.o obj/mame/linux/blend/vidhrdw/yard.o obj/mame/linux/blend/machine/irem_cpu.o obj/mame/linux/blend/sndhrdw/fghtbskt.o obj/mame/linux/blend/sndhrdw/irem.o obj/mame/linux/blend/drivers/capbowl.o obj/mame/linux/blend/vidhrdw/capbowl.o obj/mame/linux/blend/drivers/itech8.o obj/mame/linux/blend/machine/slikshot.o obj/mame/linux/blend/vidhrdw/itech8.o obj/mame/linux/blend/drivers/itech32.o obj/mame/linux/blend/vidhrdw/itech32.o obj/mame/linux/blend/drivers/aeroboto.o obj/mame/linux/blend/vidhrdw/aeroboto.o obj/mame/linux/blend/drivers/argus.o obj/mame/linux/blend/vidhrdw/argus.o obj/mame/linux/blend/drivers/bestleag.o obj/mame/linux/blend/drivers/bigstrkb.o obj/mame/linux/blend/vidhrdw/bigstrkb.o obj/mame/linux/blend/drivers/blueprnt.o obj/mame/linux/blend/vidhrdw/blueprnt.o obj/mame/linux/blend/drivers/cischeat.o obj/mame/linux/blend/vidhrdw/cischeat.o obj/mame/linux/blend/drivers/citycon.o obj/mame/linux/blend/vidhrdw/citycon.o obj/mame/linux/blend/drivers/ddayjlc.o obj/mame/linux/blend/drivers/exerion.o obj/mame/linux/blend/vidhrdw/exerion.o obj/mame/linux/blend/drivers/fcombat.o obj/mame/linux/blend/vidhrdw/fcombat.o obj/mame/linux/blend/drivers/ginganin.o obj/mame/linux/blend/vidhrdw/ginganin.o obj/mame/linux/blend/drivers/homerun.o obj/mame/linux/blend/vidhrdw/homerun.o obj/mame/linux/blend/drivers/megasys1.o obj/mame/linux/blend/vidhrdw/megasys1.o obj/mame/linux/blend/drivers/momoko.o obj/mame/linux/blend/vidhrdw/momoko.o obj/mame/linux/blend/drivers/ms32.o obj/mame/linux/blend/vidhrdw/ms32.o obj/mame/linux/blend/drivers/psychic5.o obj/mame/linux/blend/vidhrdw/psychic5.o src/vidhrdw/megasys1.c:370:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] int tmap = (int)tile_info.user_data; ^~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/megasys1.c:377:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] int tmap = (int)tile_info.user_data; ^~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/megasys1.c:411:61: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] tilemap_set_user_data(megasys1_tilemap[layer][i/4][i%4], (void *)layer); ^~~~~~~~~~~~~ obj/mame/linux/blend/drivers/pturn.o obj/mame/linux/blend/drivers/skyfox.o obj/mame/linux/blend/vidhrdw/skyfox.o obj/mame/linux/blend/drivers/stepstag.o obj/mame/linux/blend/drivers/tetrisp2.o obj/mame/linux/blend/vidhrdw/tetrisp2.o obj/mame/linux/blend/drivers/airbustr.o obj/mame/linux/blend/vidhrdw/airbustr.o obj/mame/linux/blend/drivers/djboy.o obj/mame/linux/blend/vidhrdw/djboy.o obj/mame/linux/blend/drivers/galpanic.o obj/mame/linux/blend/vidhrdw/galpanic.o obj/mame/linux/blend/drivers/galpani2.o obj/mame/linux/blend/vidhrdw/galpani2.o obj/mame/linux/blend/drivers/galpani3.o obj/mame/linux/blend/drivers/jchan.o obj/mame/linux/blend/drivers/kaneko16.o obj/mame/linux/blend/machine/kaneko16.o 3 warnings generated. obj/mame/linux/blend/vidhrdw/kaneko16.o obj/mame/linux/blend/drivers/suprnova.o obj/mame/linux/blend/vidhrdw/suprnova.o obj/mame/linux/blend/drivers/88games.o obj/mame/linux/blend/vidhrdw/88games.o obj/mame/linux/blend/drivers/ajax.o obj/mame/linux/blend/machine/ajax.o obj/mame/linux/blend/vidhrdw/ajax.o obj/mame/linux/blend/drivers/aliens.o obj/mame/linux/blend/vidhrdw/aliens.o obj/mame/linux/blend/drivers/amidar.o obj/mame/linux/blend/drivers/asterix.o obj/mame/linux/blend/vidhrdw/asterix.o obj/mame/linux/blend/drivers/battlnts.o obj/mame/linux/blend/vidhrdw/battlnts.o obj/mame/linux/blend/drivers/bishi.o obj/mame/linux/blend/vidhrdw/bishi.o obj/mame/linux/blend/drivers/bladestl.o obj/mame/linux/blend/vidhrdw/bladestl.o obj/mame/linux/blend/drivers/blockhl.o obj/mame/linux/blend/vidhrdw/blockhl.o obj/mame/linux/blend/drivers/bottom9.o obj/mame/linux/blend/vidhrdw/bottom9.o obj/mame/linux/blend/drivers/chqflag.o obj/mame/linux/blend/vidhrdw/chqflag.o obj/mame/linux/blend/drivers/circusc.o obj/mame/linux/blend/vidhrdw/circusc.o obj/mame/linux/blend/drivers/combatsc.o obj/mame/linux/blend/vidhrdw/combatsc.o obj/mame/linux/blend/drivers/contra.o obj/mame/linux/blend/vidhrdw/contra.o obj/mame/linux/blend/drivers/crimfght.o obj/mame/linux/blend/vidhrdw/crimfght.o obj/mame/linux/blend/drivers/dbz.o obj/mame/linux/blend/vidhrdw/dbz.o obj/mame/linux/blend/drivers/ddrible.o obj/mame/linux/blend/vidhrdw/ddrible.o obj/mame/linux/blend/drivers/djmain.o obj/mame/linux/blend/vidhrdw/djmain.o obj/mame/linux/blend/drivers/fastfred.o obj/mame/linux/blend/vidhrdw/fastfred.o obj/mame/linux/blend/drivers/fastlane.o obj/mame/linux/blend/vidhrdw/fastlane.o obj/mame/linux/blend/drivers/finalizr.o obj/mame/linux/blend/vidhrdw/finalizr.o obj/mame/linux/blend/drivers/flkatck.o obj/mame/linux/blend/vidhrdw/flkatck.o obj/mame/linux/blend/drivers/frogger.o obj/mame/linux/blend/drivers/gberet.o obj/mame/linux/blend/vidhrdw/gberet.o obj/mame/linux/blend/drivers/gbusters.o obj/mame/linux/blend/vidhrdw/gbusters.o obj/mame/linux/blend/drivers/gijoe.o obj/mame/linux/blend/vidhrdw/gijoe.o obj/mame/linux/blend/drivers/gradius3.o obj/mame/linux/blend/vidhrdw/gradius3.o obj/mame/linux/blend/drivers/gticlub.o obj/mame/linux/blend/drivers/gyruss.o obj/mame/linux/blend/sndhrdw/gyruss.o obj/mame/linux/blend/vidhrdw/gyruss.o obj/mame/linux/blend/drivers/hcastle.o obj/mame/linux/blend/vidhrdw/hcastle.o obj/mame/linux/blend/drivers/hexion.o obj/mame/linux/blend/vidhrdw/hexion.o obj/mame/linux/blend/drivers/hornet.o obj/mame/linux/blend/machine/konppc.o obj/mame/linux/blend/drivers/hyperspt.o obj/mame/linux/blend/vidhrdw/hyperspt.o obj/mame/linux/blend/drivers/ironhors.o obj/mame/linux/blend/vidhrdw/ironhors.o obj/mame/linux/blend/drivers/jackal.o obj/mame/linux/blend/machine/jackal.o obj/mame/linux/blend/vidhrdw/jackal.o obj/mame/linux/blend/drivers/jailbrek.o obj/mame/linux/blend/vidhrdw/jailbrek.o obj/mame/linux/blend/drivers/junofrst.o obj/mame/linux/blend/drivers/konamigq.o obj/mame/linux/blend/drivers/konamigv.o obj/mame/linux/blend/drivers/konamigx.o obj/mame/linux/blend/machine/konamigx.o obj/mame/linux/blend/vidhrdw/konamigx.o obj/mame/linux/blend/drivers/konamim2.o obj/mame/linux/blend/drivers/labyrunr.o obj/mame/linux/blend/vidhrdw/labyrunr.o obj/mame/linux/blend/drivers/lethal.o obj/mame/linux/blend/vidhrdw/lethal.o obj/mame/linux/blend/drivers/mainevt.o obj/mame/linux/blend/vidhrdw/mainevt.o obj/mame/linux/blend/drivers/megazone.o obj/mame/linux/blend/vidhrdw/megazone.o obj/mame/linux/blend/drivers/mikie.o obj/mame/linux/blend/vidhrdw/mikie.o obj/mame/linux/blend/drivers/mogura.o obj/mame/linux/blend/drivers/moo.o obj/mame/linux/blend/vidhrdw/moo.o obj/mame/linux/blend/drivers/mystwarr.o obj/mame/linux/blend/vidhrdw/mystwarr.o obj/mame/linux/blend/drivers/nemesis.o obj/mame/linux/blend/vidhrdw/nemesis.o obj/mame/linux/blend/drivers/nwk-tr.o obj/mame/linux/blend/drivers/overdriv.o obj/mame/linux/blend/vidhrdw/overdriv.o obj/mame/linux/blend/drivers/pandoras.o obj/mame/linux/blend/vidhrdw/pandoras.o obj/mame/linux/blend/drivers/parodius.o obj/mame/linux/blend/vidhrdw/parodius.o obj/mame/linux/blend/drivers/pingpong.o obj/mame/linux/blend/vidhrdw/pingpong.o obj/mame/linux/blend/drivers/plygonet.o obj/mame/linux/blend/vidhrdw/plygonet.o obj/mame/linux/blend/drivers/pooyan.o obj/mame/linux/blend/vidhrdw/pooyan.o obj/mame/linux/blend/drivers/qdrmfgp.o obj/mame/linux/blend/vidhrdw/qdrmfgp.o obj/mame/linux/blend/drivers/rockrage.o obj/mame/linux/blend/vidhrdw/rockrage.o obj/mame/linux/blend/drivers/rocnrope.o obj/mame/linux/blend/vidhrdw/rocnrope.o obj/mame/linux/blend/drivers/rollerg.o obj/mame/linux/blend/vidhrdw/rollerg.o obj/mame/linux/blend/drivers/rungun.o obj/mame/linux/blend/vidhrdw/rungun.o obj/mame/linux/blend/drivers/sbasketb.o obj/mame/linux/blend/vidhrdw/sbasketb.o obj/mame/linux/blend/drivers/scobra.o obj/mame/linux/blend/drivers/scotrsht.o obj/mame/linux/blend/vidhrdw/scotrsht.o obj/mame/linux/blend/drivers/scramble.o obj/mame/linux/blend/machine/scramble.o obj/mame/linux/blend/sndhrdw/scramble.o obj/mame/linux/blend/drivers/shaolins.o obj/mame/linux/blend/vidhrdw/shaolins.o obj/mame/linux/blend/drivers/simpsons.o obj/mame/linux/blend/machine/simpsons.o obj/mame/linux/blend/vidhrdw/simpsons.o obj/mame/linux/blend/drivers/spy.o obj/mame/linux/blend/vidhrdw/spy.o obj/mame/linux/blend/drivers/surpratk.o obj/mame/linux/blend/vidhrdw/surpratk.o obj/mame/linux/blend/drivers/thunderx.o obj/mame/linux/blend/vidhrdw/thunderx.o obj/mame/linux/blend/drivers/timeplt.o obj/mame/linux/blend/sndhrdw/timeplt.o src/machine/scramble.c:1424:18: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if (bits[3] ^ (!bits[0] & bits[2])) xormask ^= 0x08; ^ ~ src/machine/scramble.c:1424:18: note: add parentheses after the '!' to evaluate the bitwise operator first if (bits[3] ^ (!bits[0] & bits[2])) xormask ^= 0x08; ^ ( ) src/machine/scramble.c:1424:18: note: add parentheses around left hand side expression to silence this warning if (bits[3] ^ (!bits[0] & bits[2])) xormask ^= 0x08; ^ ( ) src/machine/scramble.c:1425:18: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if (bits[5] ^ (!bits[4] & bits[1])) xormask ^= 0x10; ^ ~ src/machine/scramble.c:1425:18: note: add parentheses after the '!' to evaluate the bitwise operator first if (bits[5] ^ (!bits[4] & bits[1])) xormask ^= 0x10; ^ ( ) src/machine/scramble.c:1425:18: note: add parentheses around left hand side expression to silence this warning if (bits[5] ^ (!bits[4] & bits[1])) xormask ^= 0x10; ^ ( ) src/machine/scramble.c:1428:18: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if (bits[7] ^ (!bits[1] & bits[0])) xormask ^= 0x80; ^ ~ src/machine/scramble.c:1428:18: note: add parentheses after the '!' to evaluate the bitwise operator first if (bits[7] ^ (!bits[1] & bits[0])) xormask ^= 0x80; ^ ( ) src/machine/scramble.c:1428:18: note: add parentheses around left hand side expression to silence this warning if (bits[7] ^ (!bits[1] & bits[0])) xormask ^= 0x80; ^ ( ) obj/mame/linux/blend/vidhrdw/timeplt.o obj/mame/linux/blend/drivers/tmnt.o obj/mame/linux/blend/vidhrdw/tmnt.o obj/mame/linux/blend/drivers/tp84.o obj/mame/linux/blend/vidhrdw/tp84.o obj/mame/linux/blend/drivers/trackfld.o obj/mame/linux/blend/machine/konami.o obj/mame/linux/blend/sndhrdw/trackfld.o obj/mame/linux/blend/vidhrdw/trackfld.o obj/mame/linux/blend/drivers/tutankhm.o obj/mame/linux/blend/vidhrdw/tutankhm.o obj/mame/linux/blend/drivers/twin16.o obj/mame/linux/blend/vidhrdw/twin16.o obj/mame/linux/blend/drivers/ultraman.o obj/mame/linux/blend/vidhrdw/ultraman.o obj/mame/linux/blend/drivers/vendetta.o obj/mame/linux/blend/vidhrdw/vendetta.o obj/mame/linux/blend/drivers/wecleman.o obj/mame/linux/blend/vidhrdw/wecleman.o obj/mame/linux/blend/drivers/xexex.o obj/mame/linux/blend/vidhrdw/xexex.o obj/mame/linux/blend/drivers/xmen.o obj/mame/linux/blend/vidhrdw/xmen.o obj/mame/linux/blend/drivers/yiear.o obj/mame/linux/blend/vidhrdw/yiear.o obj/mame/linux/blend/drivers/zr107.o obj/mame/linux/blend/vidhrdw/konamiic.o obj/mame/linux/blend/drivers/lazercmd.o obj/mame/linux/blend/vidhrdw/lazercmd.o obj/mame/linux/blend/drivers/meadows.o obj/mame/linux/blend/sndhrdw/meadows.o obj/mame/linux/blend/vidhrdw/meadows.o obj/mame/linux/blend/drivers/couple.o obj/mame/linux/blend/drivers/merit.o obj/mame/linux/blend/drivers/hyprduel.o obj/mame/linux/blend/vidhrdw/hyprduel.o obj/mame/linux/blend/drivers/metro.o obj/mame/linux/blend/vidhrdw/metro.o obj/mame/linux/blend/drivers/rabbit.o 3 warnings generated. obj/mame/linux/blend/drivers/wallc.o obj/mame/linux/blend/drivers/wink.o obj/mame/linux/blend/drivers/8080bw.o obj/mame/linux/blend/machine/8080bw.o obj/mame/linux/blend/sndhrdw/8080bw.o obj/mame/linux/blend/vidhrdw/8080bw.o obj/mame/linux/blend/drivers/m79amb.o obj/mame/linux/blend/vidhrdw/m79amb.o obj/mame/linux/blend/drivers/rotaryf.o obj/mame/linux/blend/drivers/sspeedr.o obj/mame/linux/blend/vidhrdw/sspeedr.o obj/mame/linux/blend/drivers/astrocde.o obj/mame/linux/blend/machine/astrocde.o src/sndhrdw/8080bw.c:452:39: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_22, 1, NODE_21, DEFAULT_TTL_V_LOGIC_1, &indianbt_music_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/8080bw.c:681:46: warning: implicit conversion from 'double' to 'int' changes value from 800.8 to 800 [-Wliteral-conversion] DISCRETE_LFSR_NOISE(POLARIS_NOISE_LO, 1, 1, 800.8, (12.0 - OP_AMP_NORTON_VBE), NODE_44, (12.0 - OP_AMP_NORTON_VBE)/2, &polaris_lfsr) // Unfiltered Lo noise. 7K pin 4. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3219:115: note: expanded from macro 'DISCRETE_LFSR_NOISE' #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,CLK,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, ~ ^~~ src/sndhrdw/8080bw.c:640:39: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_31, 1, NODE_30, DEFAULT_TTL_V_LOGIC_1, &polaris_music_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ obj/mame/linux/blend/vidhrdw/astrocde.o src/sndhrdw/8080bw.c:1050:46: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(NODE_21, 1, SCHASER_8V, DEFAULT_TTL_V_LOGIC_1, 50, 0, 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ src/sndhrdw/8080bw.c:1049:46: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(NODE_20, 1, SCHASER_4V, DEFAULT_TTL_V_LOGIC_1, 50, 0, 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3225:114: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ obj/mame/linux/blend/drivers/balsente.o obj/mame/linux/blend/machine/balsente.o obj/mame/linux/blend/vidhrdw/balsente.o obj/mame/linux/blend/drivers/gridlee.o obj/mame/linux/blend/sndhrdw/gridlee.o obj/mame/linux/blend/vidhrdw/gridlee.o obj/mame/linux/blend/drivers/mcr.o obj/mame/linux/blend/machine/mcr.o 5 warnings generated. obj/mame/linux/blend/sndhrdw/mcr.o obj/mame/linux/blend/vidhrdw/mcr.o obj/mame/linux/blend/drivers/mcr3.o obj/mame/linux/blend/vidhrdw/mcr3.o obj/mame/linux/blend/drivers/mcr68.o obj/mame/linux/blend/vidhrdw/mcr68.o obj/mame/linux/blend/drivers/midtunit.o obj/mame/linux/blend/machine/midtunit.o obj/mame/linux/blend/vidhrdw/midtunit.o obj/mame/linux/blend/drivers/midvunit.o obj/mame/linux/blend/vidhrdw/midvunit.o obj/mame/linux/blend/drivers/midwunit.o obj/mame/linux/blend/machine/midwunit.o obj/mame/linux/blend/drivers/midxunit.o obj/mame/linux/blend/drivers/midyunit.o obj/mame/linux/blend/machine/midyunit.o obj/mame/linux/blend/vidhrdw/midyunit.o obj/mame/linux/blend/drivers/midzeus.o obj/mame/linux/blend/drivers/omegrace.o obj/mame/linux/blend/drivers/seattle.o obj/mame/linux/blend/drivers/vegas.o obj/mame/linux/blend/drivers/williams.o obj/mame/linux/blend/machine/williams.o obj/mame/linux/blend/sndhrdw/williams.o obj/mame/linux/blend/vidhrdw/williams.o obj/mame/linux/blend/machine/midwayic.o obj/mame/linux/blend/sndhrdw/dcs.o obj/mame/linux/blend/sndhrdw/gorf.o obj/mame/linux/blend/sndhrdw/wow.o obj/mame/linux/blend/drivers/baraduke.o obj/mame/linux/blend/vidhrdw/baraduke.o obj/mame/linux/blend/drivers/galaga.o obj/mame/linux/blend/vidhrdw/galaga.o obj/mame/linux/blend/drivers/galaxian.o obj/mame/linux/blend/sndhrdw/galaxian.o obj/mame/linux/blend/vidhrdw/galaxian.o obj/mame/linux/blend/drivers/gaplus.o obj/mame/linux/blend/machine/gaplus.o obj/mame/linux/blend/vidhrdw/gaplus.o obj/mame/linux/blend/drivers/mappy.o obj/mame/linux/blend/vidhrdw/mappy.o obj/mame/linux/blend/drivers/namcofl.o obj/mame/linux/blend/vidhrdw/namcofl.o obj/mame/linux/blend/drivers/namcoic.o obj/mame/linux/blend/drivers/namcona1.o obj/mame/linux/blend/vidhrdw/namcona1.o obj/mame/linux/blend/drivers/namconb1.o obj/mame/linux/blend/vidhrdw/namconb1.o obj/mame/linux/blend/drivers/namcond1.o obj/mame/linux/blend/machine/namcond1.o obj/mame/linux/blend/vidhrdw/ygv608.o obj/mame/linux/blend/drivers/namcos1.o obj/mame/linux/blend/machine/namcos1.o obj/mame/linux/blend/vidhrdw/namcos1.o obj/mame/linux/blend/drivers/namcos10.o obj/mame/linux/blend/drivers/namcos11.o obj/mame/linux/blend/drivers/namcos12.o obj/mame/linux/blend/drivers/namcos2.o obj/mame/linux/blend/machine/namcos2.o obj/mame/linux/blend/vidhrdw/namcos2.o obj/mame/linux/blend/drivers/namcos21.o obj/mame/linux/blend/vidhrdw/namcos21.o obj/mame/linux/blend/drivers/namcos22.o obj/mame/linux/blend/vidhrdw/namcos22.o obj/mame/linux/blend/drivers/namcos23.o obj/mame/linux/blend/drivers/namcos86.o obj/mame/linux/blend/vidhrdw/namcos86.o obj/mame/linux/blend/drivers/pacland.o obj/mame/linux/blend/vidhrdw/pacland.o obj/mame/linux/blend/drivers/polepos.o obj/mame/linux/blend/sndhrdw/polepos.o obj/mame/linux/blend/vidhrdw/polepos.o obj/mame/linux/blend/drivers/rallyx.o obj/mame/linux/blend/vidhrdw/rallyx.o obj/mame/linux/blend/drivers/skykid.o src/vidhrdw/namcos22.c:2480:55: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] logerror( "unk 3d data(%d) addr=0x%x!", len, pSource-(INT32*)namcos22_polygonram ); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lx obj/mame/linux/blend/vidhrdw/skykid.o obj/mame/linux/blend/drivers/tankbatt.o obj/mame/linux/blend/vidhrdw/tankbatt.o obj/mame/linux/blend/drivers/tceptor.o obj/mame/linux/blend/vidhrdw/tceptor.o obj/mame/linux/blend/drivers/toypop.o obj/mame/linux/blend/vidhrdw/toypop.o obj/mame/linux/blend/drivers/warpwarp.o obj/mame/linux/blend/sndhrdw/warpwarp.o obj/mame/linux/blend/vidhrdw/warpwarp.o obj/mame/linux/blend/machine/namcoio.o obj/mame/linux/blend/sndhrdw/geebee.o obj/mame/linux/blend/sndhrdw/namcoc7x.o obj/mame/linux/blend/vidhrdw/bosco.o obj/mame/linux/blend/vidhrdw/digdug.o obj/mame/linux/blend/machine/psx.o obj/mame/linux/blend/vidhrdw/psx.o obj/mame/linux/blend/machine/xevious.o obj/mame/linux/blend/vidhrdw/xevious.o obj/mame/linux/blend/drivers/crgolf.o obj/mame/linux/blend/vidhrdw/crgolf.o obj/mame/linux/blend/drivers/suprgolf.o obj/mame/linux/blend/drivers/neogeo.o obj/mame/linux/blend/machine/neogeo.o obj/mame/linux/blend/vidhrdw/neogeo.o obj/mame/linux/blend/machine/neoboot.o obj/mame/linux/blend/machine/neocrypt.o obj/mame/linux/blend/machine/neoprot.o obj/mame/linux/blend/drivers/armedf.o obj/mame/linux/blend/vidhrdw/armedf.o obj/mame/linux/blend/drivers/bigfghtr.o obj/mame/linux/blend/drivers/cclimber.o obj/mame/linux/blend/sndhrdw/cclimber.o obj/mame/linux/blend/vidhrdw/cclimber.o obj/mame/linux/blend/drivers/clshroad.o obj/mame/linux/blend/vidhrdw/clshroad.o obj/mame/linux/blend/drivers/cop01.o obj/mame/linux/blend/vidhrdw/cop01.o obj/mame/linux/blend/drivers/dacholer.o obj/mame/linux/blend/drivers/galivan.o obj/mame/linux/blend/vidhrdw/galivan.o obj/mame/linux/blend/drivers/gomoku.o obj/mame/linux/blend/sndhrdw/gomoku.o obj/mame/linux/blend/vidhrdw/gomoku.o obj/mame/linux/blend/drivers/hyhoo.o obj/mame/linux/blend/vidhrdw/hyhoo.o obj/mame/linux/blend/drivers/magmax.o obj/mame/linux/blend/vidhrdw/magmax.o obj/mame/linux/blend/drivers/nbmj8688.o obj/mame/linux/blend/vidhrdw/nbmj8688.o obj/mame/linux/blend/drivers/nbmj8891.o obj/mame/linux/blend/vidhrdw/nbmj8891.o obj/mame/linux/blend/drivers/nbmj8991.o obj/mame/linux/blend/vidhrdw/nbmj8991.o obj/mame/linux/blend/drivers/nbmj9195.o obj/mame/linux/blend/vidhrdw/nbmj9195.o obj/mame/linux/blend/drivers/niyanpai.o obj/mame/linux/blend/machine/m68kfmly.o obj/mame/linux/blend/vidhrdw/niyanpai.o obj/mame/linux/blend/drivers/pastelg.o obj/mame/linux/blend/vidhrdw/pastelg.o obj/mame/linux/blend/drivers/seicross.o obj/mame/linux/blend/vidhrdw/seicross.o obj/mame/linux/blend/drivers/terracre.o 1 warning generated. obj/mame/linux/blend/vidhrdw/terracre.o obj/mame/linux/blend/drivers/tubep.o obj/mame/linux/blend/vidhrdw/tubep.o obj/mame/linux/blend/drivers/wiping.o obj/mame/linux/blend/sndhrdw/wiping.o obj/mame/linux/blend/vidhrdw/wiping.o obj/mame/linux/blend/drivers/yamato.o obj/mame/linux/blend/machine/nb1413m3.o obj/mame/linux/blend/drivers/dkong.o obj/mame/linux/blend/sndhrdw/dkong.o obj/mame/linux/blend/vidhrdw/dkong.o obj/mame/linux/blend/drivers/mario.o obj/mame/linux/blend/sndhrdw/mario.o obj/mame/linux/blend/vidhrdw/mario.o obj/mame/linux/blend/drivers/n8080.o obj/mame/linux/blend/sndhrdw/n8080.o obj/mame/linux/blend/vidhrdw/n8080.o obj/mame/linux/blend/drivers/nss.o obj/mame/linux/blend/machine/snes.o obj/mame/linux/blend/sndhrdw/snes.o obj/mame/linux/blend/vidhrdw/snes.o obj/mame/linux/blend/drivers/playch10.o obj/mame/linux/blend/machine/playch10.o obj/mame/linux/blend/vidhrdw/playch10.o obj/mame/linux/blend/drivers/popeye.o obj/mame/linux/blend/vidhrdw/popeye.o obj/mame/linux/blend/drivers/punchout.o obj/mame/linux/blend/vidhrdw/punchout.o obj/mame/linux/blend/drivers/spacefb.o src/sndhrdw/snes.c:155:31: warning: array index -1 is before the beginning of the array [-Warray-bounds] static const int * G4 = &gauss[ -1 ]; ^ ~~ src/sndhrdw/snes.c:43:1: note: array 'gauss' declared here static const int gauss[]= ^ obj/mame/linux/blend/vidhrdw/spacefb.o obj/mame/linux/blend/drivers/vsnes.o obj/mame/linux/blend/machine/vsnes.o obj/mame/linux/blend/vidhrdw/vsnes.o obj/mame/linux/blend/machine/drakton.o obj/mame/linux/blend/machine/rp5h01.o obj/mame/linux/blend/machine/strtheat.o obj/mame/linux/blend/vidhrdw/ppu2c03b.o obj/mame/linux/blend/drivers/fitfight.o obj/mame/linux/blend/vidhrdw/fitfight.o obj/mame/linux/blend/drivers/pirates.o obj/mame/linux/blend/vidhrdw/pirates.o obj/mame/linux/blend/drivers/acommand.o obj/mame/linux/blend/drivers/jalmah.o obj/mame/linux/blend/drivers/macrossp.o obj/mame/linux/blend/vidhrdw/macrossp.o obj/mame/linux/blend/drivers/nmk16.o obj/mame/linux/blend/machine/nmk004.o obj/mame/linux/blend/vidhrdw/nmk16.o 1 warning generated. obj/mame/linux/blend/drivers/quizdna.o obj/mame/linux/blend/vidhrdw/quizdna.o obj/mame/linux/blend/drivers/quizpani.o obj/mame/linux/blend/vidhrdw/quizpani.o obj/mame/linux/blend/drivers/battlex.o obj/mame/linux/blend/vidhrdw/battlex.o obj/mame/linux/blend/drivers/carjmbre.o obj/mame/linux/blend/vidhrdw/carjmbre.o obj/mame/linux/blend/drivers/popper.o obj/mame/linux/blend/vidhrdw/popper.o obj/mame/linux/blend/drivers/spaceg.o obj/mame/linux/blend/drivers/dday.o obj/mame/linux/blend/vidhrdw/dday.o obj/mame/linux/blend/drivers/portrait.o obj/mame/linux/blend/vidhrdw/portrait.o obj/mame/linux/blend/drivers/espial.o obj/mame/linux/blend/vidhrdw/espial.o obj/mame/linux/blend/drivers/funkybee.o obj/mame/linux/blend/vidhrdw/funkybee.o obj/mame/linux/blend/drivers/marineb.o obj/mame/linux/blend/vidhrdw/marineb.o obj/mame/linux/blend/drivers/vastar.o obj/mame/linux/blend/vidhrdw/vastar.o obj/mame/linux/blend/drivers/zodiack.o obj/mame/linux/blend/vidhrdw/zodiack.o obj/mame/linux/blend/drivers/mrflea.o obj/mame/linux/blend/vidhrdw/mrflea.o obj/mame/linux/blend/drivers/thief.o obj/mame/linux/blend/vidhrdw/thief.o obj/mame/linux/blend/drivers/jrpacman.o obj/mame/linux/blend/drivers/pacman.o obj/mame/linux/blend/vidhrdw/pacman.o obj/mame/linux/blend/drivers/pengo.o obj/mame/linux/blend/machine/acitya.o obj/mame/linux/blend/machine/jumpshot.o obj/mame/linux/blend/machine/mspacman.o obj/mame/linux/blend/machine/pacplus.o obj/mame/linux/blend/machine/theglobp.o obj/mame/linux/blend/drivers/naughtyb.o obj/mame/linux/blend/vidhrdw/naughtyb.o obj/mame/linux/blend/drivers/phoenix.o obj/mame/linux/blend/sndhrdw/phoenix.o obj/mame/linux/blend/vidhrdw/phoenix.o obj/mame/linux/blend/drivers/safarir.o obj/mame/linux/blend/sndhrdw/pleiads.o obj/mame/linux/blend/drivers/drtomy.o obj/mame/linux/blend/drivers/playmark.o obj/mame/linux/blend/vidhrdw/playmark.o obj/mame/linux/blend/drivers/powerbal.o obj/mame/linux/blend/drivers/sderby.o obj/mame/linux/blend/vidhrdw/sderby.o obj/mame/linux/blend/drivers/sslam.o obj/mame/linux/blend/vidhrdw/sslam.o obj/mame/linux/blend/drivers/psikyo.o obj/mame/linux/blend/vidhrdw/psikyo.o src/sndhrdw/phoenix.c:345:39: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SWITCH(NODE_32, 1, NODE_31, DEFAULT_TTL_V_LOGIC_1, DEFAULT_TTL_V_LOGIC_1/2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3271:116: note: expanded from macro 'DISCRETE_SWITCH' #define DISCRETE_SWITCH(NODE,ENAB,SWITCH,INP0,INP1) { NODE, DST_SWITCH , 4, { ENAB,SWITCH,INP0,INP1 }, { ENAB,SWITCH,INP0,INP1 }, NULL, "2 Pole Switch" }, ~ ^~~~ src/sndhrdw/phoenix.c:332:53: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_SWITCH(NODE_23, 1, PHOENIX_EFFECT_1_FILT, DEFAULT_TTL_V_LOGIC_1, DEFAULT_TTL_V_LOGIC_1 * RES_K(100) / (RES_K(10) + RES_K(100))) // R20, R19 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3271:116: note: expanded from macro 'DISCRETE_SWITCH' #define DISCRETE_SWITCH(NODE,ENAB,SWITCH,INP0,INP1) { NODE, DST_SWITCH , 4, { ENAB,SWITCH,INP0,INP1 }, { ENAB,SWITCH,INP0,INP1 }, NULL, "2 Pole Switch" }, ~ ^~~~ obj/mame/linux/blend/drivers/psikyo4.o obj/mame/linux/blend/vidhrdw/psikyo4.o obj/mame/linux/blend/drivers/psikyosh.o 2 warnings generated. obj/mame/linux/blend/vidhrdw/psikyosh.o obj/mame/linux/blend/drivers/hitme.o obj/mame/linux/blend/sndhrdw/hitme.o obj/mame/linux/blend/drivers/starcrus.o obj/mame/linux/blend/vidhrdw/starcrus.o obj/mame/linux/blend/drivers/btoads.o obj/mame/linux/blend/vidhrdw/btoads.o obj/mame/linux/blend/drivers/kinst.o obj/mame/linux/blend/drivers/xtheball.o obj/mame/linux/blend/drivers/appoooh.o obj/mame/linux/blend/vidhrdw/appoooh.o obj/mame/linux/blend/drivers/bankp.o src/sndhrdw/hitme.c:56:45: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_SQUAREWAVE(NODE_17,1,NODE_16,1,50,0.5,0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ./src/sound/discrete.h:3224:124: note: expanded from macro 'DISCRETE_SQUAREWAVE' #define DISCRETE_SQUAREWAVE(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWAVE , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave" }, ~ ^~~~ 1 warning generated. obj/mame/linux/blend/vidhrdw/bankp.o obj/mame/linux/blend/drivers/drmicro.o obj/mame/linux/blend/vidhrdw/drmicro.o obj/mame/linux/blend/drivers/mayumi.o obj/mame/linux/blend/vidhrdw/mayumi.o obj/mame/linux/blend/drivers/mermaid.o obj/mame/linux/blend/vidhrdw/mermaid.o obj/mame/linux/blend/drivers/mjkjidai.o obj/mame/linux/blend/vidhrdw/mjkjidai.o obj/mame/linux/blend/drivers/angelkds.o obj/mame/linux/blend/vidhrdw/angelkds.o obj/mame/linux/blend/drivers/blockade.o obj/mame/linux/blend/sndhrdw/blockade.o obj/mame/linux/blend/vidhrdw/blockade.o obj/mame/linux/blend/drivers/calorie.o obj/mame/linux/blend/drivers/coolridr.o obj/mame/linux/blend/drivers/deniam.o obj/mame/linux/blend/vidhrdw/deniam.o obj/mame/linux/blend/drivers/dotrikun.o obj/mame/linux/blend/vidhrdw/dotrikun.o obj/mame/linux/blend/drivers/genesis.o obj/mame/linux/blend/vidhrdw/genesis.o obj/mame/linux/blend/drivers/kopunch.o src/sndhrdw/blockade.c:31:34: warning: implicit conversion from 'double' to 'int' changes value from 93681.5 to 93681 [-Wliteral-conversion] DISCRETE_NOTE(BLOCKADE_NOTE, 1, 93681.5, BLOCKADE_NOTE_DATA, 255, 1, DISC_CLK_IS_FREQ | DISC_OUT_IS_ENERGY) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3221:109: note: expanded from macro 'DISCRETE_NOTE' #define DISCRETE_NOTE(NODE,ENAB,CLK,DATA,MAX1,MAX2,CLKTYPE) { NODE, DSS_NOTE , 6, { ENAB,CLK,DATA,NODE_NC,NODE_NC,NODE_NC }, { ENAB,CLK,DATA,MAX1,MAX2,CLKTYPE }, NULL, "Note Generator" }, ~ ^~~ obj/mame/linux/blend/vidhrdw/kopunch.o obj/mame/linux/blend/drivers/megaplay.o 1 warning generated. obj/mame/linux/blend/drivers/megatech.o obj/mame/linux/blend/drivers/model1.o obj/mame/linux/blend/machine/model1.o obj/mame/linux/blend/vidhrdw/model1.o obj/mame/linux/blend/drivers/model2.o obj/mame/linux/blend/drivers/model3.o obj/mame/linux/blend/vidhrdw/model3.o obj/mame/linux/blend/machine/model3.o obj/mame/linux/blend/drivers/puckpkmn.o obj/mame/linux/blend/drivers/sega.o obj/mame/linux/blend/sndhrdw/sega.o obj/mame/linux/blend/vidhrdw/sega.o obj/mame/linux/blend/drivers/segac2.o obj/mame/linux/blend/drivers/segahang.o obj/mame/linux/blend/vidhrdw/segahang.o obj/mame/linux/blend/drivers/segaorun.o obj/mame/linux/blend/vidhrdw/segaorun.o obj/mame/linux/blend/drivers/segar.o obj/mame/linux/blend/machine/segar.o obj/mame/linux/blend/sndhrdw/segar.o obj/mame/linux/blend/vidhrdw/segar.o obj/mame/linux/blend/drivers/segas16a.o obj/mame/linux/blend/vidhrdw/segas16a.o obj/mame/linux/blend/drivers/segas16b.o obj/mame/linux/blend/vidhrdw/segas16b.o obj/mame/linux/blend/drivers/segas18.o obj/mame/linux/blend/vidhrdw/segas18.o obj/mame/linux/blend/drivers/segas32.o obj/mame/linux/blend/machine/segas32.o obj/mame/linux/blend/vidhrdw/segas32.o obj/mame/linux/blend/drivers/segasyse.o obj/mame/linux/blend/vidhrdw/segasyse.o obj/mame/linux/blend/drivers/segaxbd.o obj/mame/linux/blend/vidhrdw/segaxbd.o obj/mame/linux/blend/drivers/segaybd.o obj/mame/linux/blend/vidhrdw/segaybd.o obj/mame/linux/blend/drivers/sg1000a.o obj/mame/linux/blend/vidhrdw/tms9928a.o obj/mame/linux/blend/drivers/stactics.o obj/mame/linux/blend/machine/stactics.o obj/mame/linux/blend/vidhrdw/stactics.o obj/mame/linux/blend/drivers/stv.o obj/mame/linux/blend/drivers/stvhacks.o obj/mame/linux/blend/machine/stvcd.o obj/mame/linux/blend/drivers/suprloco.o obj/mame/linux/blend/vidhrdw/suprloco.o src/drivers/stv.c:509:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((offset == 0x61)) // ?? many games need this or the controls don't work ~~~~~~~^~~~~~~ src/drivers/stv.c:509:14: note: remove extraneous parentheses around the comparison to silence this warning if ((offset == 0x61)) // ?? many games need this or the controls don't work ~ ^ ~ src/drivers/stv.c:509:14: note: use '=' to turn this equality comparison into an assignment if ((offset == 0x61)) // ?? many games need this or the controls don't work ^~ = obj/mame/linux/blend/drivers/system1.o obj/mame/linux/blend/vidhrdw/system1.o obj/mame/linux/blend/drivers/system16.o obj/mame/linux/blend/machine/system16.o obj/mame/linux/blend/sndhrdw/system16.o obj/mame/linux/blend/vidhrdw/system16.o obj/mame/linux/blend/vidhrdw/sys16spr.o obj/mame/linux/blend/drivers/system18.o obj/mame/linux/blend/drivers/system24.o obj/mame/linux/blend/machine/system24.o obj/mame/linux/blend/vidhrdw/system24.o obj/mame/linux/blend/drivers/topshoot.o obj/mame/linux/blend/drivers/turbo.o obj/mame/linux/blend/machine/turbo.o obj/mame/linux/blend/sndhrdw/turbo.o obj/mame/linux/blend/vidhrdw/turbo.o obj/mame/linux/blend/drivers/vicdual.o obj/mame/linux/blend/sndhrdw/vicdual.o obj/mame/linux/blend/vidhrdw/vicdual.o obj/mame/linux/blend/drivers/zaxxon.o obj/mame/linux/blend/sndhrdw/zaxxon.o obj/mame/linux/blend/vidhrdw/zaxxon.o obj/mame/linux/blend/machine/fd1089.o obj/mame/linux/blend/machine/fd1094.o obj/mame/linux/blend/machine/mc8123.o src/sndhrdw/vicdual.c:91:47: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_TRANSFORM5(NODE_31, 1, 12, NODE_30, .5, RES_K(22)/RES_K(39), 0, "012-P4>*3*-") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3276:119: note: expanded from macro 'DISCRETE_TRANSFORM5' #define DISCRETE_TRANSFORM5(NODE,ENAB,INP0,INP1,INP2,INP3,INP4,FUNCT) { NODE, DST_TRANSFORM , 6, { ENAB,INP0,INP1,INP2,INP3,INP4 }, { ENAB,INP0,INP1,INP2,INP3,INP4 }, FUNCT, "Transform 5 Nodes" }, ~ ^~~~ obj/mame/linux/blend/machine/s16fd.o obj/mame/linux/blend/machine/s24fd.o 1 warning generated. obj/mame/linux/blend/machine/scudsp.o obj/mame/linux/blend/machine/segaic16.o obj/mame/linux/blend/sndhrdw/carnival.o obj/mame/linux/blend/sndhrdw/depthch.o obj/mame/linux/blend/sndhrdw/invinco.o obj/mame/linux/blend/sndhrdw/pulsar.o obj/mame/linux/blend/sndhrdw/segasnd.o obj/mame/linux/blend/vidhrdw/segaic16.o obj/mame/linux/blend/vidhrdw/segaic24.o obj/mame/linux/blend/vidhrdw/stvvdp1.o obj/mame/linux/blend/vidhrdw/stvvdp2.o obj/mame/linux/blend/drivers/cshooter.o obj/mame/linux/blend/drivers/dcon.o obj/mame/linux/blend/vidhrdw/dcon.o obj/mame/linux/blend/drivers/deadang.o obj/mame/linux/blend/vidhrdw/deadang.o obj/mame/linux/blend/drivers/dynduke.o obj/mame/linux/blend/vidhrdw/dynduke.o obj/mame/linux/blend/drivers/kncljoe.o obj/mame/linux/blend/vidhrdw/kncljoe.o obj/mame/linux/blend/drivers/mustache.o obj/mame/linux/blend/vidhrdw/mustache.o obj/mame/linux/blend/drivers/panicr.o obj/mame/linux/blend/drivers/raiden.o obj/mame/linux/blend/vidhrdw/raiden.o obj/mame/linux/blend/drivers/raiden2.o obj/mame/linux/blend/drivers/seibuspi.o obj/mame/linux/blend/machine/seibuspi.o obj/mame/linux/blend/vidhrdw/seibuspi.o obj/mame/linux/blend/drivers/sengokmj.o obj/mame/linux/blend/vidhrdw/sengokmj.o obj/mame/linux/blend/drivers/stfight.o obj/mame/linux/blend/machine/stfight.o obj/mame/linux/blend/vidhrdw/stfight.o obj/mame/linux/blend/drivers/wiz.o obj/mame/linux/blend/vidhrdw/wiz.o obj/mame/linux/blend/machine/spisprit.o 1 warning generated. obj/mame/linux/blend/sndhrdw/seibu.o obj/mame/linux/blend/drivers/aleck64.o obj/mame/linux/blend/machine/n64.o obj/mame/linux/blend/vidhrdw/n64.o obj/mame/linux/blend/drivers/darkhors.o obj/mame/linux/blend/drivers/hanaawas.o obj/mame/linux/blend/vidhrdw/hanaawas.o obj/mame/linux/blend/drivers/macs.o obj/mame/linux/blend/drivers/seta.o obj/mame/linux/blend/vidhrdw/seta.o obj/mame/linux/blend/drivers/seta2.o obj/mame/linux/blend/vidhrdw/seta2.o obj/mame/linux/blend/drivers/speedatk.o obj/mame/linux/blend/vidhrdw/speedatk.o obj/mame/linux/blend/drivers/srmp2.o obj/mame/linux/blend/vidhrdw/srmp2.o obj/mame/linux/blend/drivers/srmp6.o obj/mame/linux/blend/drivers/ssv.o obj/mame/linux/blend/vidhrdw/ssv.o obj/mame/linux/blend/drivers/st0016.o obj/mame/linux/blend/vidhrdw/st0016.o obj/mame/linux/blend/drivers/nyny.o obj/mame/linux/blend/vidhrdw/nyny.o obj/mame/linux/blend/drivers/r2dtank.o obj/mame/linux/blend/drivers/spiders.o obj/mame/linux/blend/machine/spiders.o obj/mame/linux/blend/sndhrdw/spiders.o obj/mame/linux/blend/vidhrdw/spiders.o obj/mame/linux/blend/drivers/bbusters.o obj/mame/linux/blend/vidhrdw/bbusters.o obj/mame/linux/blend/drivers/dmndrby.o obj/mame/linux/blend/drivers/hal21.o obj/mame/linux/blend/drivers/hng64.o obj/mame/linux/blend/vidhrdw/hng64.o obj/mame/linux/blend/drivers/jcross.o obj/mame/linux/blend/vidhrdw/jcross.o src/sndhrdw/spiders.c:141:49: warning: implicit conversion from 'double' to 'int' changes value from 2.75 to 2 [-Wliteral-conversion] DISCRETE_ASWITCH(NODE_64, 1, NODE_61, NODE_63, DISC_CD4066_THRESHOLD) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2766:41: note: expanded from macro 'DISC_CD4066_THRESHOLD' #define DISC_CD4066_THRESHOLD 2.75 ^~~~ ./src/sound/discrete.h:3272:118: note: expanded from macro 'DISCRETE_ASWITCH' #define DISCRETE_ASWITCH(NODE,ENAB,CTRL,INP,THRESHOLD) { NODE, DST_ASWITCH , 3, { ENAB,CTRL,INP,THRESHOLD }, { ENAB,CTRL,INP, THRESHOLD}, NULL, "Analog Switch" }, ~ ^~~~~~~~~ src/sndhrdw/spiders.c:139:32: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_MULTIPLY(NODE_62, 1, DEFAULT_TTL_V_LOGIC_1, SPIDERS_SUPER_WEB_EXPL_EN) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3264:109: note: expanded from macro 'DISCRETE_MULTIPLY' #define DISCRETE_MULTIPLY(NODE,ENAB,INP0,INP1) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,NODE_NC }, { ENAB,INP0,INP1,0 }, NULL, "Multiplier" }, ~ ^~~~ src/sndhrdw/spiders.c:137:42: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_60, 1, NODE_32, DEFAULT_TTL_V_LOGIC_1, &spiders_web_exp_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/spiders.c:134:52: warning: implicit conversion from 'double' to 'int' changes value from 2.75 to 2 [-Wliteral-conversion] DISCRETE_ASWITCH(NODE_53, 1, NODE_52, NODE_51, DISC_CD4066_THRESHOLD) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2766:41: note: expanded from macro 'DISC_CD4066_THRESHOLD' #define DISC_CD4066_THRESHOLD 2.75 ^~~~ ./src/sound/discrete.h:3272:118: note: expanded from macro 'DISCRETE_ASWITCH' #define DISCRETE_ASWITCH(NODE,ENAB,CTRL,INP,THRESHOLD) { NODE, DST_ASWITCH , 3, { ENAB,CTRL,INP,THRESHOLD }, { ENAB,CTRL,INP, THRESHOLD}, NULL, "Analog Switch" }, ~ ^~~~~~~~~ src/sndhrdw/spiders.c:133:32: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_MULTIPLY(NODE_52, 1, DEFAULT_TTL_V_LOGIC_1, NODE_32) // Noise 0/1 -> TTL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3264:109: note: expanded from macro 'DISCRETE_MULTIPLY' #define DISCRETE_MULTIPLY(NODE,ENAB,INP0,INP1) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,NODE_NC }, { ENAB,INP0,INP1,0 }, NULL, "Multiplier" }, ~ ^~~~ src/sndhrdw/spiders.c:131:32: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_MULTIPLY(NODE_50, 1, DEFAULT_TTL_V_LOGIC_1, SPIDERS_EXP_EN) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3264:109: note: expanded from macro 'DISCRETE_MULTIPLY' #define DISCRETE_MULTIPLY(NODE,ENAB,INP0,INP1) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,NODE_NC }, { ENAB,INP0,INP1,0 }, NULL, "Multiplier" }, ~ ^~~~ src/sndhrdw/spiders.c:128:48: warning: implicit conversion from 'double' to 'int' changes value from 2.75 to 2 [-Wliteral-conversion] DISCRETE_ASWITCH(NODE_46,1, NODE_44, NODE_45, DISC_CD4066_THRESHOLD) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2766:41: note: expanded from macro 'DISC_CD4066_THRESHOLD' #define DISC_CD4066_THRESHOLD 2.75 ^~~~ ./src/sound/discrete.h:3272:118: note: expanded from macro 'DISCRETE_ASWITCH' #define DISCRETE_ASWITCH(NODE,ENAB,CTRL,INP,THRESHOLD) { NODE, DST_ASWITCH , 3, { ENAB,CTRL,INP,THRESHOLD }, { ENAB,CTRL,INP, THRESHOLD}, NULL, "Analog Switch" }, ~ ^~~~~~~~~ src/sndhrdw/spiders.c:124:56: warning: implicit conversion from 'double' to 'int' changes value from 24.5 to 24 [-Wliteral-conversion] DISCRETE_TRANSFORM4(NODE_43,1, NODE_40, NODE_42, 2.5, 24.5,"012*3/-") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./src/sound/discrete.h:3275:124: note: expanded from macro 'DISCRETE_TRANSFORM4' #define DISCRETE_TRANSFORM4(NODE,ENAB,INP0,INP1,INP2,INP3,FUNCT) { NODE, DST_TRANSFORM , 5, { ENAB,INP0,INP1,INP2,INP3 }, { ENAB,INP0,INP1,INP2,INP3 }, FUNCT, "Transform 4 Nodes" }, ~ ^~~~ src/sndhrdw/spiders.c:124:51: warning: implicit conversion from 'double' to 'int' changes value from 2.5 to 2 [-Wliteral-conversion] DISCRETE_TRANSFORM4(NODE_43,1, NODE_40, NODE_42, 2.5, 24.5,"012*3/-") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3275:119: note: expanded from macro 'DISCRETE_TRANSFORM4' #define DISCRETE_TRANSFORM4(NODE,ENAB,INP0,INP1,INP2,INP3,FUNCT) { NODE, DST_TRANSFORM , 5, { ENAB,INP0,INP1,INP2,INP3 }, { ENAB,INP0,INP1,INP2,INP3 }, FUNCT, "Transform 4 Nodes" }, ~ ^~~~ src/sndhrdw/spiders.c:122:32: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_MULTIPLY(NODE_41, 1, DEFAULT_TTL_V_LOGIC_1, SPIDERS_FIRE_EN) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3264:109: note: expanded from macro 'DISCRETE_MULTIPLY' #define DISCRETE_MULTIPLY(NODE,ENAB,INP0,INP1) { NODE, DST_GAIN , 4, { ENAB,INP0,INP1,NODE_NC }, { ENAB,INP0,INP1,0 }, NULL, "Multiplier" }, ~ ^~~~ src/sndhrdw/spiders.c:119:39: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_40, 1, NODE_32, DEFAULT_TTL_V_LOGIC_1, &spiders_fire_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/spiders.c:115:75: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_SQUAREWFIX(NODE_31, 1, SPIDERS_SOUND_CLK/(10*10*16),1, 50.0, 0.5, 0) /* 3.75 kHz */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./src/sound/discrete.h:3225:124: note: expanded from macro 'DISCRETE_SQUAREWFIX' #define DISCRETE_SQUAREWFIX(NODE,ENAB,FREQ,AMPL,DUTY,BIAS,PHASE) { NODE, DSS_SQUAREWFIX , 6, { ENAB,FREQ,AMPL,DUTY,BIAS,NODE_NC }, { ENAB,FREQ,AMPL,DUTY,BIAS,PHASE }, NULL, "Square Wave Fixed" }, ~ ^~~~ src/sndhrdw/spiders.c:114:69: warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] DISCRETE_LFSR_NOISE(NODE_30, 1, 1, SPIDERS_SOUND_CLK/(1000), 1, 0, 0.5, &spiders_lfsr) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:3219:129: note: expanded from macro 'DISCRETE_LFSR_NOISE' #define DISCRETE_LFSR_NOISE(NODE,ENAB,RESET,CLK,AMPL,FEED,BIAS,LFSRTB) { NODE, DSS_LFSR_NOISE , 6, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, { ENAB,RESET,CLK,AMPL,FEED,BIAS }, LFSRTB, "LFSR Noise Source" }, ~ ^~~~ src/sndhrdw/spiders.c:109:39: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_22, 1, NODE_21, DEFAULT_TTL_V_LOGIC_1, &spiders_sound_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ obj/mame/linux/blend/drivers/lasso.o 14 warnings generated. obj/mame/linux/blend/vidhrdw/lasso.o obj/mame/linux/blend/drivers/mainsnk.o obj/mame/linux/blend/vidhrdw/mainsnk.o obj/mame/linux/blend/drivers/marvins.o obj/mame/linux/blend/vidhrdw/marvins.o obj/mame/linux/blend/drivers/munchmo.o obj/mame/linux/blend/vidhrdw/munchmo.o obj/mame/linux/blend/drivers/prehisle.o obj/mame/linux/blend/vidhrdw/prehisle.o obj/mame/linux/blend/drivers/rockola.o obj/mame/linux/blend/sndhrdw/rockola.o obj/mame/linux/blend/vidhrdw/rockola.o obj/mame/linux/blend/drivers/sgladiat.o obj/mame/linux/blend/drivers/snk.o obj/mame/linux/blend/vidhrdw/snk.o obj/mame/linux/blend/drivers/snk68.o obj/mame/linux/blend/vidhrdw/snk68.o obj/mame/linux/blend/drivers/astinvad.o obj/mame/linux/blend/sndhrdw/astinvad.o obj/mame/linux/blend/vidhrdw/astinvad.o obj/mame/linux/blend/drivers/berzerk.o obj/mame/linux/blend/machine/berzerk.o obj/mame/linux/blend/sndhrdw/berzerk.o obj/mame/linux/blend/vidhrdw/berzerk.o obj/mame/linux/blend/drivers/mazerbla.o obj/mame/linux/blend/drivers/supdrapo.o obj/mame/linux/blend/drivers/arabian.o obj/mame/linux/blend/vidhrdw/arabian.o obj/mame/linux/blend/drivers/ikki.o obj/mame/linux/blend/vidhrdw/ikki.o obj/mame/linux/blend/drivers/kangaroo.o obj/mame/linux/blend/vidhrdw/kangaroo.o obj/mame/linux/blend/drivers/markham.o obj/mame/linux/blend/vidhrdw/markham.o obj/mame/linux/blend/drivers/route16.o obj/mame/linux/blend/vidhrdw/route16.o obj/mame/linux/blend/drivers/shanghai.o obj/mame/linux/blend/drivers/shangha3.o src/vidhrdw/arabian.c:95:24: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] int rlo = planea ? ((!arhf & az) ? 0 : ar) : enb ? br : 0; ^ ~ src/vidhrdw/arabian.c:95:24: note: add parentheses after the '!' to evaluate the bitwise operator first int rlo = planea ? ((!arhf & az) ? 0 : ar) : enb ? br : 0; ^ ( ) src/vidhrdw/arabian.c:95:24: note: add parentheses around left hand side expression to silence this warning int rlo = planea ? ((!arhf & az) ? 0 : ar) : enb ? br : 0; ^ ( ) src/vidhrdw/arabian.c:126:24: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] int glo = planea ? ((!aghf & az) ? 0 : ag) : enb ? bg : 0; ^ ~ src/vidhrdw/arabian.c:126:24: note: add parentheses after the '!' to evaluate the bitwise operator first int glo = planea ? ((!aghf & az) ? 0 : ag) : enb ? bg : 0; ^ ( ) src/vidhrdw/arabian.c:126:24: note: add parentheses around left hand side expression to silence this warning int glo = planea ? ((!aghf & az) ? 0 : ag) : enb ? bg : 0; ^ ( ) src/vidhrdw/arabian.c:147:16: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] int bbase = (!abhf & az) ? 0 : ab; ^ ~ src/vidhrdw/arabian.c:147:16: note: add parentheses after the '!' to evaluate the bitwise operator first int bbase = (!abhf & az) ? 0 : ab; ^ ( ) src/vidhrdw/arabian.c:147:16: note: add parentheses around left hand side expression to silence this warning int bbase = (!abhf & az) ? 0 : ab; ^ ( ) obj/mame/linux/blend/vidhrdw/shangha3.o obj/mame/linux/blend/drivers/strnskil.o obj/mame/linux/blend/vidhrdw/strnskil.o obj/mame/linux/blend/drivers/ttmahjng.o obj/mame/linux/blend/vidhrdw/ttmahjng.o obj/mame/linux/blend/drivers/goindol.o obj/mame/linux/blend/vidhrdw/goindol.o obj/mame/linux/blend/drivers/suna8.o obj/mame/linux/blend/sndhrdw/suna8.o obj/mame/linux/blend/vidhrdw/suna8.o obj/mame/linux/blend/drivers/suna16.o 3 warnings generated. obj/mame/linux/blend/vidhrdw/suna16.o obj/mame/linux/blend/drivers/bloodbro.o obj/mame/linux/blend/vidhrdw/bloodbro.o obj/mame/linux/blend/drivers/cabal.o obj/mame/linux/blend/vidhrdw/cabal.o obj/mame/linux/blend/drivers/goal92.o obj/mame/linux/blend/vidhrdw/goal92.o obj/mame/linux/blend/drivers/legionna.o obj/mame/linux/blend/vidhrdw/legionna.o obj/mame/linux/blend/drivers/toki.o obj/mame/linux/blend/vidhrdw/toki.o obj/mame/linux/blend/drivers/40love.o obj/mame/linux/blend/vidhrdw/40love.o obj/mame/linux/blend/drivers/arkanoid.o obj/mame/linux/blend/machine/arkanoid.o obj/mame/linux/blend/vidhrdw/arkanoid.o obj/mame/linux/blend/drivers/ashnojoe.o obj/mame/linux/blend/vidhrdw/ashnojoe.o obj/mame/linux/blend/drivers/asuka.o obj/mame/linux/blend/machine/bonzeadv.o obj/mame/linux/blend/vidhrdw/asuka.o obj/mame/linux/blend/drivers/bigevglf.o obj/mame/linux/blend/machine/bigevglf.o obj/mame/linux/blend/vidhrdw/bigevglf.o obj/mame/linux/blend/drivers/bking2.o obj/mame/linux/blend/vidhrdw/bking2.o obj/mame/linux/blend/drivers/bublbobl.o obj/mame/linux/blend/machine/bublbobl.o obj/mame/linux/blend/vidhrdw/bublbobl.o obj/mame/linux/blend/drivers/buggychl.o obj/mame/linux/blend/machine/buggychl.o obj/mame/linux/blend/vidhrdw/buggychl.o obj/mame/linux/blend/drivers/chaknpop.o obj/mame/linux/blend/machine/chaknpop.o obj/mame/linux/blend/vidhrdw/chaknpop.o obj/mame/linux/blend/drivers/champbwl.o obj/mame/linux/blend/drivers/changela.o obj/mame/linux/blend/drivers/crbaloon.o obj/mame/linux/blend/vidhrdw/crbaloon.o obj/mame/linux/blend/sndhrdw/crbaloon.o obj/mame/linux/blend/drivers/darius.o obj/mame/linux/blend/vidhrdw/darius.o obj/mame/linux/blend/drivers/darkmist.o obj/mame/linux/blend/vidhrdw/darkmist.o obj/mame/linux/blend/drivers/exzisus.o obj/mame/linux/blend/vidhrdw/exzisus.o src/drivers/changela.c:618:8: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if (!pSource[1]&0x10) /* D4=0 enables latch at U32 */ ^ ~ src/drivers/changela.c:618:8: note: add parentheses after the '!' to evaluate the bitwise operator first if (!pSource[1]&0x10) /* D4=0 enables latch at U32 */ ^ ( ) src/drivers/changela.c:618:8: note: add parentheses around left hand side expression to silence this warning if (!pSource[1]&0x10) /* D4=0 enables latch at U32 */ ^ ( ) obj/mame/linux/blend/drivers/fgoal.o obj/mame/linux/blend/vidhrdw/fgoal.o obj/mame/linux/blend/drivers/flstory.o src/sndhrdw/crbaloon.c:67:55: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_21, CRBALOON_MUSIC_EN, NODE_20, DEFAULT_TTL_V_LOGIC_1, &desc_crbaloon_music_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ obj/mame/linux/blend/machine/flstory.o 1 warning generated. obj/mame/linux/blend/vidhrdw/flstory.o obj/mame/linux/blend/drivers/gladiatr.o obj/mame/linux/blend/vidhrdw/gladiatr.o obj/mame/linux/blend/drivers/grchamp.o obj/mame/linux/blend/machine/grchamp.o obj/mame/linux/blend/sndhrdw/grchamp.o obj/mame/linux/blend/vidhrdw/grchamp.o obj/mame/linux/blend/drivers/groundfx.o obj/mame/linux/blend/vidhrdw/groundfx.o obj/mame/linux/blend/drivers/gsword.o obj/mame/linux/blend/machine/tait8741.o obj/mame/linux/blend/vidhrdw/gsword.o obj/mame/linux/blend/drivers/gunbustr.o obj/mame/linux/blend/vidhrdw/gunbustr.o obj/mame/linux/blend/drivers/halleys.o obj/mame/linux/blend/drivers/jollyjgr.o obj/mame/linux/blend/drivers/ksayakyu.o obj/mame/linux/blend/vidhrdw/ksayakyu.o src/sndhrdw/grchamp.c:55:46: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_21, 1, GRCHAMP_B_DATA, DEFAULT_TTL_V_LOGIC_1, &grchamp_sound_dac2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ src/sndhrdw/grchamp.c:53:46: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_20, 1, GRCHAMP_A_DATA, DEFAULT_TTL_V_LOGIC_1, &grchamp_sound_dac1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./src/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ 2 warnings generated. obj/mame/linux/blend/drivers/lkage.o obj/mame/linux/blend/machine/lkage.o obj/mame/linux/blend/vidhrdw/lkage.o obj/mame/linux/blend/drivers/lsasquad.o obj/mame/linux/blend/machine/lsasquad.o obj/mame/linux/blend/vidhrdw/lsasquad.o obj/mame/linux/blend/drivers/marinedt.o obj/mame/linux/blend/drivers/mexico86.o obj/mame/linux/blend/machine/mexico86.o obj/mame/linux/blend/vidhrdw/mexico86.o obj/mame/linux/blend/drivers/minivadr.o obj/mame/linux/blend/vidhrdw/minivadr.o obj/mame/linux/blend/drivers/missb2.o obj/mame/linux/blend/drivers/msisaac.o obj/mame/linux/blend/vidhrdw/msisaac.o obj/mame/linux/blend/drivers/ninjaw.o obj/mame/linux/blend/vidhrdw/ninjaw.o 1 warning generated. obj/mame/linux/blend/drivers/nycaptor.o obj/mame/linux/blend/machine/nycaptor.o obj/mame/linux/blend/vidhrdw/nycaptor.o obj/mame/linux/blend/drivers/opwolf.o obj/mame/linux/blend/machine/opwolf.o obj/mame/linux/blend/drivers/othunder.o obj/mame/linux/blend/vidhrdw/othunder.o obj/mame/linux/blend/drivers/pitnrun.o obj/mame/linux/blend/machine/pitnrun.o obj/mame/linux/blend/vidhrdw/pitnrun.o obj/mame/linux/blend/drivers/qix.o obj/mame/linux/blend/machine/qix.o obj/mame/linux/blend/sndhrdw/qix.o obj/mame/linux/blend/vidhrdw/qix.o obj/mame/linux/blend/drivers/rainbow.o obj/mame/linux/blend/machine/rainbow.o obj/mame/linux/blend/drivers/rastan.o obj/mame/linux/blend/vidhrdw/rastan.o obj/mame/linux/blend/drivers/retofinv.o obj/mame/linux/blend/machine/retofinv.o obj/mame/linux/blend/vidhrdw/retofinv.o obj/mame/linux/blend/drivers/rollrace.o obj/mame/linux/blend/vidhrdw/rollrace.o obj/mame/linux/blend/drivers/sbowling.o obj/mame/linux/blend/drivers/slapshot.o obj/mame/linux/blend/vidhrdw/slapshot.o obj/mame/linux/blend/drivers/ssrj.o obj/mame/linux/blend/vidhrdw/ssrj.o obj/mame/linux/blend/drivers/superchs.o obj/mame/linux/blend/vidhrdw/superchs.o obj/mame/linux/blend/drivers/superqix.o obj/mame/linux/blend/vidhrdw/superqix.o obj/mame/linux/blend/drivers/taito_b.o obj/mame/linux/blend/vidhrdw/taito_b.o obj/mame/linux/blend/drivers/taito_f2.o obj/mame/linux/blend/vidhrdw/taito_f2.o obj/mame/linux/blend/drivers/taito_f3.o obj/mame/linux/blend/vidhrdw/taito_f3.o obj/mame/linux/blend/sndhrdw/taito_f3.o obj/mame/linux/blend/drivers/taito_h.o obj/mame/linux/blend/vidhrdw/taito_h.o obj/mame/linux/blend/drivers/taito_l.o obj/mame/linux/blend/vidhrdw/taito_l.o obj/mame/linux/blend/drivers/taito_x.o obj/mame/linux/blend/machine/cchip.o obj/mame/linux/blend/drivers/taito_z.o obj/mame/linux/blend/vidhrdw/taito_z.o obj/mame/linux/blend/drivers/taitoair.o obj/mame/linux/blend/vidhrdw/taitoair.o obj/mame/linux/blend/drivers/taitojc.o obj/mame/linux/blend/drivers/taitosj.o src/vidhrdw/taito_f3.c:1904:48: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (f3_game_config->extend) sx=-sx+((188-512)<<16); else sx=-sx+(188<<16); /* Adjust for flipped scroll position */ ~~~~~~~~~^ obj/mame/linux/blend/machine/taitosj.o obj/mame/linux/blend/vidhrdw/taitosj.o obj/mame/linux/blend/drivers/taitowlf.o obj/mame/linux/blend/drivers/tnzs.o obj/mame/linux/blend/machine/tnzs.o obj/mame/linux/blend/vidhrdw/tnzs.o obj/mame/linux/blend/drivers/topspeed.o obj/mame/linux/blend/vidhrdw/topspeed.o obj/mame/linux/blend/drivers/tsamurai.o obj/mame/linux/blend/vidhrdw/tsamurai.o obj/mame/linux/blend/drivers/undrfire.o obj/mame/linux/blend/vidhrdw/undrfire.o obj/mame/linux/blend/drivers/volfied.o obj/mame/linux/blend/machine/volfied.o obj/mame/linux/blend/vidhrdw/volfied.o obj/mame/linux/blend/drivers/warriorb.o obj/mame/linux/blend/vidhrdw/warriorb.o obj/mame/linux/blend/drivers/wgp.o obj/mame/linux/blend/vidhrdw/wgp.o obj/mame/linux/blend/machine/mb87078.o obj/mame/linux/blend/sndhrdw/taitosnd.o obj/mame/linux/blend/vidhrdw/taitoic.o obj/mame/linux/blend/drivers/lockon.o obj/mame/linux/blend/drivers/tatsumi.o obj/mame/linux/blend/machine/tatsumi.o obj/mame/linux/blend/vidhrdw/tatsumi.o obj/mame/linux/blend/drivers/tx1.o obj/mame/linux/blend/machine/tx1.o obj/mame/linux/blend/vidhrdw/tx1.o obj/mame/linux/blend/drivers/kickgoal.o obj/mame/linux/blend/vidhrdw/kickgoal.o obj/mame/linux/blend/drivers/littlerb.o obj/mame/linux/blend/drivers/speedspn.o obj/mame/linux/blend/vidhrdw/speedspn.o obj/mame/linux/blend/drivers/wheelfir.o obj/mame/linux/blend/drivers/holeland.o obj/mame/linux/blend/vidhrdw/holeland.o obj/mame/linux/blend/drivers/sauro.o obj/mame/linux/blend/vidhrdw/sauro.o obj/mame/linux/blend/drivers/speedbal.o obj/mame/linux/blend/vidhrdw/speedbal.o obj/mame/linux/blend/drivers/battlane.o obj/mame/linux/blend/vidhrdw/battlane.o obj/mame/linux/blend/drivers/blockout.o obj/mame/linux/blend/vidhrdw/blockout.o obj/mame/linux/blend/drivers/bogeyman.o obj/mame/linux/blend/vidhrdw/bogeyman.o obj/mame/linux/blend/drivers/chinagat.o obj/mame/linux/blend/drivers/ddragon.o obj/mame/linux/blend/vidhrdw/ddragon.o obj/mame/linux/blend/drivers/ddragon3.o obj/mame/linux/blend/vidhrdw/ddragon3.o obj/mame/linux/blend/drivers/dogfgt.o obj/mame/linux/blend/vidhrdw/dogfgt.o obj/mame/linux/blend/drivers/matmania.o obj/mame/linux/blend/machine/maniach.o obj/mame/linux/blend/vidhrdw/matmania.o obj/mame/linux/blend/drivers/mystston.o obj/mame/linux/blend/vidhrdw/mystston.o obj/mame/linux/blend/drivers/renegade.o obj/mame/linux/blend/vidhrdw/renegade.o obj/mame/linux/blend/drivers/scregg.o obj/mame/linux/blend/drivers/shadfrce.o obj/mame/linux/blend/vidhrdw/shadfrce.o obj/mame/linux/blend/drivers/spdodgeb.o obj/mame/linux/blend/vidhrdw/spdodgeb.o obj/mame/linux/blend/drivers/ssozumo.o obj/mame/linux/blend/vidhrdw/ssozumo.o obj/mame/linux/blend/drivers/tagteam.o obj/mame/linux/blend/vidhrdw/tagteam.o obj/mame/linux/blend/drivers/vball.o obj/mame/linux/blend/vidhrdw/vball.o obj/mame/linux/blend/drivers/wwfsstar.o obj/mame/linux/blend/vidhrdw/wwfsstar.o obj/mame/linux/blend/drivers/wwfwfest.o obj/mame/linux/blend/vidhrdw/wwfwfest.o obj/mame/linux/blend/drivers/xain.o obj/mame/linux/blend/vidhrdw/xain.o obj/mame/linux/blend/drivers/bombjack.o obj/mame/linux/blend/vidhrdw/bombjack.o obj/mame/linux/blend/drivers/gaiden.o obj/mame/linux/blend/vidhrdw/gaiden.o obj/mame/linux/blend/drivers/lvcards.o obj/mame/linux/blend/vidhrdw/lvcards.o obj/mame/linux/blend/drivers/pbaction.o obj/mame/linux/blend/vidhrdw/pbaction.o obj/mame/linux/blend/drivers/senjyo.o obj/mame/linux/blend/sndhrdw/senjyo.o obj/mame/linux/blend/vidhrdw/senjyo.o obj/mame/linux/blend/drivers/solomon.o obj/mame/linux/blend/vidhrdw/solomon.o obj/mame/linux/blend/drivers/spbactn.o obj/mame/linux/blend/vidhrdw/spbactn.o obj/mame/linux/blend/drivers/tbowl.o obj/mame/linux/blend/vidhrdw/tbowl.o obj/mame/linux/blend/drivers/tecmo.o obj/mame/linux/blend/vidhrdw/tecmo.o obj/mame/linux/blend/drivers/tecmo16.o obj/mame/linux/blend/vidhrdw/tecmo16.o obj/mame/linux/blend/drivers/tecmosys.o obj/mame/linux/blend/drivers/tehkanwc.o obj/mame/linux/blend/vidhrdw/tehkanwc.o obj/mame/linux/blend/drivers/wc90.o obj/mame/linux/blend/vidhrdw/wc90.o obj/mame/linux/blend/drivers/wc90b.o obj/mame/linux/blend/vidhrdw/wc90b.o obj/mame/linux/blend/drivers/thepit.o obj/mame/linux/blend/vidhrdw/thepit.o obj/mame/linux/blend/drivers/timelimt.o obj/mame/linux/blend/vidhrdw/timelimt.o obj/mame/linux/blend/drivers/mjsister.o obj/mame/linux/blend/vidhrdw/mjsister.o obj/mame/linux/blend/drivers/slapfght.o obj/mame/linux/blend/machine/slapfght.o obj/mame/linux/blend/vidhrdw/slapfght.o obj/mame/linux/blend/drivers/snowbros.o obj/mame/linux/blend/vidhrdw/snowbros.o obj/mame/linux/blend/drivers/toaplan1.o obj/mame/linux/blend/machine/toaplan1.o obj/mame/linux/blend/vidhrdw/toaplan1.o obj/mame/linux/blend/drivers/toaplan2.o obj/mame/linux/blend/sndhrdw/toaplan2.o obj/mame/linux/blend/vidhrdw/toaplan2.o obj/mame/linux/blend/drivers/twincobr.o obj/mame/linux/blend/machine/twincobr.o obj/mame/linux/blend/vidhrdw/twincobr.o obj/mame/linux/blend/drivers/wardner.o obj/mame/linux/blend/drivers/leprechn.o obj/mame/linux/blend/machine/leprechn.o obj/mame/linux/blend/vidhrdw/leprechn.o src/vidhrdw/toaplan1.c:185:36: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] logerror("colorram_size: %08x\n", toaplan1_colorram1_size + toaplan1_colorram2_size); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %08lx obj/mame/linux/blend/drivers/beezer.o obj/mame/linux/blend/machine/beezer.o obj/mame/linux/blend/vidhrdw/beezer.o obj/mame/linux/blend/drivers/drgnmst.o obj/mame/linux/blend/vidhrdw/drgnmst.o obj/mame/linux/blend/drivers/silkroad.o obj/mame/linux/blend/vidhrdw/silkroad.o obj/mame/linux/blend/drivers/unico.o src/vidhrdw/twincobr.c:352:17: warning: shift count >= width of type [-Wshift-count-overflow] case 01: data <<= 8; ^ ~ src/vidhrdw/twincobr.c:354:17: warning: shift count >= width of type [-Wshift-count-overflow] case 03: data <<= 8; ^ ~ obj/mame/linux/blend/vidhrdw/unico.o obj/mame/linux/blend/drivers/cheekyms.o obj/mame/linux/blend/vidhrdw/cheekyms.o obj/mame/linux/blend/drivers/cosmic.o obj/mame/linux/blend/vidhrdw/cosmic.o obj/mame/linux/blend/drivers/docastle.o obj/mame/linux/blend/machine/docastle.o obj/mame/linux/blend/vidhrdw/docastle.o obj/mame/linux/blend/drivers/ladybug.o 2 warnings generated. obj/mame/linux/blend/vidhrdw/ladybug.o obj/mame/linux/blend/drivers/mrdo.o obj/mame/linux/blend/vidhrdw/mrdo.o obj/mame/linux/blend/drivers/redclash.o obj/mame/linux/blend/vidhrdw/redclash.o obj/mame/linux/blend/drivers/mnight.o src/vidhrdw/cosmic.c:377:9: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if ((!(hc & va) & (vb ^ hb_)) && /* right network */ ^ ~ src/vidhrdw/cosmic.c:377:9: note: add parentheses after the '!' to evaluate the bitwise operator first if ((!(hc & va) & (vb ^ hb_)) && /* right network */ ^ ( ) src/vidhrdw/cosmic.c:377:9: note: add parentheses around left hand side expression to silence this warning if ((!(hc & va) & (vb ^ hb_)) && /* right network */ ^ ( ) src/vidhrdw/cosmic.c:535:9: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if ((!vb_ & vc_ & !vd_) ^ (vb_ & !vc_ & vd_)) ^ ~ src/vidhrdw/cosmic.c:535:9: note: add parentheses after the '!' to evaluate the bitwise operator first if ((!vb_ & vc_ & !vd_) ^ (vb_ & !vc_ & vd_)) ^ ( ) src/vidhrdw/cosmic.c:535:9: note: add parentheses around left hand side expression to silence this warning if ((!vb_ & vc_ & !vd_) ^ (vb_ & !vc_ & vd_)) ^ ( ) src/vidhrdw/cosmic.c:538:9: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if (!hd_ & hc_ & !hb_) ^ ~ src/vidhrdw/cosmic.c:538:9: note: add parentheses after the '!' to evaluate the bitwise operator first if (!hd_ & hc_ & !hb_) ^ ( ) src/vidhrdw/cosmic.c:538:9: note: add parentheses around left hand side expression to silence this warning if (!hd_ & hc_ & !hb_) ^ ( ) src/vidhrdw/cosmic.c:569:15: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] (!plane1 & hd) << 2; // B - see above ^ ~ src/vidhrdw/cosmic.c:569:15: note: add parentheses after the '!' to evaluate the bitwise operator first (!plane1 & hd) << 2; // B - see above ^ ( ) src/vidhrdw/cosmic.c:569:15: note: add parentheses around left hand side expression to silence this warning (!plane1 & hd) << 2; // B - see above ^ ( ) obj/mame/linux/blend/vidhrdw/mnight.o obj/mame/linux/blend/drivers/mouser.o obj/mame/linux/blend/vidhrdw/mouser.o obj/mame/linux/blend/drivers/ninjakid.o obj/mame/linux/blend/vidhrdw/ninjakid.o obj/mame/linux/blend/drivers/ninjakd2.o 1 warning generated. obj/mame/linux/blend/vidhrdw/ninjakd2.o obj/mame/linux/blend/drivers/nova2001.o obj/mame/linux/blend/vidhrdw/nova2001.o obj/mame/linux/blend/drivers/omegaf.o obj/mame/linux/blend/vidhrdw/omegaf.o obj/mame/linux/blend/drivers/pkunwar.o obj/mame/linux/blend/vidhrdw/pkunwar.o obj/mame/linux/blend/drivers/raiders5.o obj/mame/linux/blend/vidhrdw/raiders5.o 4 warnings generated. obj/mame/linux/blend/drivers/xxmissio.o obj/mame/linux/blend/vidhrdw/xxmissio.o 1 warning generated. obj/mame/linux/blend/drivers/bagman.o obj/mame/linux/blend/machine/bagman.o obj/mame/linux/blend/vidhrdw/bagman.o obj/mame/linux/blend/drivers/tankbust.o obj/mame/linux/blend/vidhrdw/tankbust.o obj/mame/linux/blend/drivers/cardline.o obj/mame/linux/blend/drivers/witch.o obj/mame/linux/blend/drivers/looping.o obj/mame/linux/blend/drivers/spcforce.o obj/mame/linux/blend/vidhrdw/spcforce.o obj/mame/linux/blend/drivers/suprridr.o obj/mame/linux/blend/vidhrdw/suprridr.o obj/mame/linux/blend/drivers/aerofgt.o obj/mame/linux/blend/vidhrdw/aerofgt.o obj/mame/linux/blend/drivers/crshrace.o obj/mame/linux/blend/vidhrdw/crshrace.o obj/mame/linux/blend/drivers/f1gp.o obj/mame/linux/blend/vidhrdw/f1gp.o obj/mame/linux/blend/drivers/fromance.o obj/mame/linux/blend/vidhrdw/fromance.o obj/mame/linux/blend/drivers/fromanc2.o obj/mame/linux/blend/vidhrdw/fromanc2.o obj/mame/linux/blend/drivers/gstriker.o obj/mame/linux/blend/vidhrdw/gstriker.o obj/mame/linux/blend/drivers/inufuku.o obj/mame/linux/blend/vidhrdw/inufuku.o obj/mame/linux/blend/drivers/ojankohs.o obj/mame/linux/blend/vidhrdw/ojankohs.o obj/mame/linux/blend/drivers/pipedrm.o obj/mame/linux/blend/drivers/rpunch.o obj/mame/linux/blend/vidhrdw/rpunch.o obj/mame/linux/blend/drivers/suprslam.o obj/mame/linux/blend/vidhrdw/suprslam.o obj/mame/linux/blend/drivers/tail2nos.o obj/mame/linux/blend/vidhrdw/tail2nos.o obj/mame/linux/blend/drivers/taotaido.o obj/mame/linux/blend/vidhrdw/taotaido.o obj/mame/linux/blend/drivers/welltris.o obj/mame/linux/blend/vidhrdw/welltris.o obj/mame/linux/blend/drivers/nmg5.o obj/mame/linux/blend/drivers/paradise.o obj/mame/linux/blend/vidhrdw/paradise.o obj/mame/linux/blend/drivers/yunsung8.o obj/mame/linux/blend/vidhrdw/yunsung8.o obj/mame/linux/blend/drivers/yunsun16.o obj/mame/linux/blend/vidhrdw/yunsun16.o obj/mame/linux/blend/drivers/galaxia.o obj/mame/linux/blend/drivers/laserbat.o obj/mame/linux/blend/drivers/zac2650.o obj/mame/linux/blend/vidhrdw/zac2650.o obj/mame/linux/blend/drivers/zaccaria.o obj/mame/linux/blend/vidhrdw/zaccaria.o obj/mame/linux/blend/drivers/1945kiii.o obj/mame/linux/blend/drivers/4enraya.o obj/mame/linux/blend/vidhrdw/4enraya.o obj/mame/linux/blend/drivers/afega.o obj/mame/linux/blend/vidhrdw/afega.o obj/mame/linux/blend/drivers/ambush.o src/drivers/nmg5.c:704:2: warning: 'sizeof (nmg5_bitmap)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] state_save_register_item_array("nmg5", 0, nmg5_bitmap); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/state.h:47:66: note: expanded from macro 'state_save_register_item_array' state_save_register_item_pointer(_mod, _inst, _val, sizeof(_val)/sizeof(_val[0])) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./src/state.h:44:69: note: expanded from macro 'state_save_register_item_pointer' state_save_register_generic(_mod, _inst, #_val, &_val[0], _val[0], _count) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./src/state.h:37:73: note: expanded from macro 'state_save_register_generic' state_save_register_memory(_mod, _inst, _name, _val, sizeof(_valsize), _count); \ ^~~~~~ src/drivers/nmg5.c:24:16: note: pointer 'nmg5_bitmap' declared here static UINT16 *nmg5_bitmap; ^ obj/mame/linux/blend/vidhrdw/ambush.o obj/mame/linux/blend/drivers/ampoker.o obj/mame/linux/blend/drivers/amspdwy.o obj/mame/linux/blend/vidhrdw/amspdwy.o obj/mame/linux/blend/drivers/artmagic.o obj/mame/linux/blend/vidhrdw/artmagic.o obj/mame/linux/blend/drivers/attckufo.o obj/mame/linux/blend/sndhrdw/attckufo.o obj/mame/linux/blend/vidhrdw/attckufo.o obj/mame/linux/blend/drivers/aztarac.o obj/mame/linux/blend/sndhrdw/aztarac.o obj/mame/linux/blend/vidhrdw/aztarac.o obj/mame/linux/blend/drivers/beaminv.o obj/mame/linux/blend/vidhrdw/beaminv.o obj/mame/linux/blend/drivers/bmcbowl.o obj/mame/linux/blend/drivers/cave.o obj/mame/linux/blend/vidhrdw/cave.o obj/mame/linux/blend/drivers/cavepgm.o obj/mame/linux/blend/drivers/cherrym.o obj/mame/linux/blend/drivers/coinmstr.o obj/mame/linux/blend/drivers/coolpool.o obj/mame/linux/blend/drivers/crystal.o obj/mame/linux/blend/machine/ds1302.o obj/mame/linux/blend/vidhrdw/vrender0.o obj/mame/linux/blend/drivers/cybertnk.o obj/mame/linux/blend/drivers/dambustr.o obj/mame/linux/blend/drivers/dcheese.o obj/mame/linux/blend/vidhrdw/dcheese.o obj/mame/linux/blend/drivers/dgpix.o obj/mame/linux/blend/drivers/dorachan.o obj/mame/linux/blend/vidhrdw/dorachan.o obj/mame/linux/blend/drivers/dreamwld.o obj/mame/linux/blend/drivers/dribling.o obj/mame/linux/blend/vidhrdw/dribling.o obj/mame/linux/blend/drivers/dwarfd.o obj/mame/linux/blend/drivers/dynadice.o obj/mame/linux/blend/drivers/epos.o obj/mame/linux/blend/vidhrdw/epos.o obj/mame/linux/blend/drivers/ertictac.o obj/mame/linux/blend/drivers/esd16.o 1 warning generated. obj/mame/linux/blend/vidhrdw/esd16.o obj/mame/linux/blend/drivers/ettrivia.o obj/mame/linux/blend/drivers/flower.o obj/mame/linux/blend/sndhrdw/flower.o obj/mame/linux/blend/vidhrdw/flower.o obj/mame/linux/blend/drivers/fortecar.o obj/mame/linux/blend/drivers/freekick.o obj/mame/linux/blend/vidhrdw/freekick.o obj/mame/linux/blend/drivers/funworld.o obj/mame/linux/blend/drivers/go2000.o obj/mame/linux/blend/drivers/gotcha.o obj/mame/linux/blend/vidhrdw/gotcha.o obj/mame/linux/blend/drivers/gumbo.o obj/mame/linux/blend/vidhrdw/gumbo.o obj/mame/linux/blend/drivers/gunpey.o obj/mame/linux/blend/drivers/hexa.o obj/mame/linux/blend/vidhrdw/hexa.o obj/mame/linux/blend/drivers/homedata.o obj/mame/linux/blend/vidhrdw/homedata.o obj/mame/linux/blend/drivers/hotblock.o obj/mame/linux/blend/drivers/intrscti.o obj/mame/linux/blend/drivers/jackpool.o obj/mame/linux/blend/drivers/kyugo.o obj/mame/linux/blend/vidhrdw/kyugo.o obj/mame/linux/blend/drivers/ladyfrog.o obj/mame/linux/blend/vidhrdw/ladyfrog.o obj/mame/linux/blend/drivers/laserbas.o obj/mame/linux/blend/drivers/lastfght.o obj/mame/linux/blend/drivers/lethalj.o obj/mame/linux/blend/vidhrdw/lethalj.o obj/mame/linux/blend/drivers/ltcasino.o obj/mame/linux/blend/drivers/lucky8.o obj/mame/linux/blend/drivers/magic10.o obj/mame/linux/blend/drivers/malzak.o obj/mame/linux/blend/vidhrdw/malzak.o obj/mame/linux/blend/drivers/mcatadv.o obj/mame/linux/blend/vidhrdw/mcatadv.o obj/mame/linux/blend/drivers/micro3d.o obj/mame/linux/blend/vidhrdw/micro3d.o obj/mame/linux/blend/drivers/mirax.o obj/mame/linux/blend/drivers/mole.o obj/mame/linux/blend/vidhrdw/mole.o obj/mame/linux/blend/drivers/monzagp.o obj/mame/linux/blend/drivers/mosaic.o obj/mame/linux/blend/vidhrdw/mosaic.o obj/mame/linux/blend/drivers/mrjong.o obj/mame/linux/blend/vidhrdw/mrjong.o obj/mame/linux/blend/drivers/murogem.o obj/mame/linux/blend/drivers/news.o src/drivers/micro3d.c:628:19: warning: array index 8 is past the end of the array (which contains 8 elements) [-Warray-bounds] case 0x3: ti_uart[COMMAND] = data; ^ ~~~~~~~ src/drivers/micro3d.c:93:1: note: array 'ti_uart' declared here static UINT8 ti_uart[8]; ^ src/drivers/micro3d.c:657:26: warning: array index 8 is past the end of the array (which contains 8 elements) [-Warray-bounds] return ti_uart[COMMAND]; ^ ~~~~~~~ src/drivers/micro3d.c:93:1: note: array 'ti_uart' declared here static UINT8 ti_uart[8]; ^ obj/mame/linux/blend/vidhrdw/news.o src/drivers/micro3d.c:797:28: warning: cast to smaller integer type 'int' from 'UINT8 (*)(offs_t)' (aka 'unsigned char (*)(unsigned int)') [-Wpointer-to-int-cast] case 0x03: return (int)(upd7759_0_busy_r)<<3; ^~~~~~~~~~~~~~~~~~~~~~~ obj/mame/linux/blend/drivers/oneshot.o obj/mame/linux/blend/vidhrdw/oneshot.o obj/mame/linux/blend/drivers/onetwo.o obj/mame/linux/blend/drivers/othldrby.o obj/mame/linux/blend/vidhrdw/othldrby.o obj/mame/linux/blend/drivers/pass.o obj/mame/linux/blend/vidhrdw/pass.o obj/mame/linux/blend/drivers/pipeline.o obj/mame/linux/blend/drivers/pkscram.o obj/mame/linux/blend/drivers/pntnpuzl.o obj/mame/linux/blend/drivers/policetr.o obj/mame/linux/blend/vidhrdw/policetr.o obj/mame/linux/blend/drivers/polyplay.o obj/mame/linux/blend/sndhrdw/polyplay.o obj/mame/linux/blend/vidhrdw/polyplay.o obj/mame/linux/blend/drivers/rbmk.o obj/mame/linux/blend/drivers/shangkid.o obj/mame/linux/blend/vidhrdw/shangkid.o obj/mame/linux/blend/drivers/skyarmy.o obj/mame/linux/blend/drivers/sliver.o obj/mame/linux/blend/drivers/sprcros2.o obj/mame/linux/blend/vidhrdw/sprcros2.o obj/mame/linux/blend/drivers/ssfindo.o obj/mame/linux/blend/drivers/ssingles.o obj/mame/linux/blend/drivers/starspnr.o 3 warnings generated. obj/mame/linux/blend/drivers/statriv2.o obj/mame/linux/blend/drivers/supertnk.o obj/mame/linux/blend/drivers/tattack.o obj/mame/linux/blend/drivers/taxidrvr.o obj/mame/linux/blend/vidhrdw/taxidrvr.o obj/mame/linux/blend/drivers/tcl.o obj/mame/linux/blend/drivers/thedeep.o obj/mame/linux/blend/vidhrdw/thedeep.o obj/mame/linux/blend/drivers/tickee.o obj/mame/linux/blend/vidhrdw/tickee.o obj/mame/linux/blend/drivers/truco.o obj/mame/linux/blend/vidhrdw/truco.o obj/mame/linux/blend/drivers/trucocl.o obj/mame/linux/blend/vidhrdw/trucocl.o obj/mame/linux/blend/drivers/trvquest.o obj/mame/linux/blend/drivers/ttchamp.o obj/mame/linux/blend/drivers/tugboat.o obj/mame/linux/blend/drivers/turbosub.o obj/mame/linux/blend/drivers/usgames.o obj/mame/linux/blend/vidhrdw/usgames.o obj/mame/linux/blend/drivers/vamphalf.o obj/mame/linux/blend/drivers/vp906iii.o obj/mame/linux/blend/drivers/vroulet.o obj/mame/linux/blend/drivers/wldarrow.o obj/mame/linux/blend/drivers/xyonix.o obj/mame/linux/blend/vidhrdw/xyonix.o obj/mame/linux/blend/machine/53c810.o obj/mame/linux/blend/machine/6532riot.o obj/mame/linux/blend/machine/6522via.o obj/mame/linux/blend/machine/6526cia.o obj/mame/linux/blend/machine/6821pia.o obj/mame/linux/blend/machine/6840ptm.o obj/mame/linux/blend/machine/6850acia.o obj/mame/linux/blend/machine/7474.o obj/mame/linux/blend/machine/74123.o obj/mame/linux/blend/machine/74148.o obj/mame/linux/blend/machine/74153.o obj/mame/linux/blend/machine/74181.o obj/mame/linux/blend/machine/8042kbdc.o obj/mame/linux/blend/machine/8237dma.o obj/mame/linux/blend/machine/8255ppi.o obj/mame/linux/blend/machine/adc083x.o obj/mame/linux/blend/machine/am53cf96.o src/machine/6840ptm.c:103:23: warning: if statement has empty body [-Wempty-body] if ( ptm[i].timer1 );// mame_timer_remove( ptm[i].timer1 ); ^ src/machine/6840ptm.c:103:23: note: put the semicolon on a separate line to silence this warning src/machine/6840ptm.c:107:23: warning: if statement has empty body [-Wempty-body] if ( ptm[i].timer2 );// mame_timer_remove( ptm[i].timer2 ); ^ src/machine/6840ptm.c:107:23: note: put the semicolon on a separate line to silence this warning src/machine/6840ptm.c:111:23: warning: if statement has empty body [-Wempty-body] if ( ptm[i].timer3 );// mame_timer_remove( ptm[i].timer3 ); ^ src/machine/6840ptm.c:111:23: note: put the semicolon on a separate line to silence this warning obj/mame/linux/blend/machine/ds2404.o obj/mame/linux/blend/machine/idectrl.o obj/mame/linux/blend/machine/intelfsh.o src/machine/74148.c:84:13: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] bit0 = !((!chips[which].input_lines[1] & ^ ~ src/machine/74148.c:84:13: note: add parentheses after the '!' to evaluate the bitwise operator first bit0 = !((!chips[which].input_lines[1] & ^ ( src/machine/74148.c:84:13: note: add parentheses around left hand side expression to silence this warning bit0 = !((!chips[which].input_lines[1] & ^ ( ) src/machine/74148.c:88:13: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] (!chips[which].input_lines[3] & ^ ~ src/machine/74148.c:88:13: note: add parentheses after the '!' to evaluate the bitwise operator first (!chips[which].input_lines[3] & ^ ( src/machine/74148.c:88:13: note: add parentheses around left hand side expression to silence this warning (!chips[which].input_lines[3] & ^ ( ) src/machine/74148.c:91:13: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] (!chips[which].input_lines[5] & ^ ~ src/machine/74148.c:91:13: note: add parentheses after the '!' to evaluate the bitwise operator first (!chips[which].input_lines[5] & ^ ( src/machine/74148.c:91:13: note: add parentheses around left hand side expression to silence this warning (!chips[which].input_lines[5] & ^ ( ) src/machine/74148.c:95:13: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] bit1 = !((!chips[which].input_lines[2] & ^ ~ src/machine/74148.c:95:13: note: add parentheses after the '!' to evaluate the bitwise operator first bit1 = !((!chips[which].input_lines[2] & ^ ( src/machine/74148.c:95:13: note: add parentheses around left hand side expression to silence this warning bit1 = !((!chips[which].input_lines[2] & ^ ( ) src/machine/74148.c:98:13: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] (!chips[which].input_lines[3] & ^ ~ src/machine/74148.c:98:13: note: add parentheses after the '!' to evaluate the bitwise operator first (!chips[which].input_lines[3] & ^ ( src/machine/74148.c:98:13: note: add parentheses around left hand side expression to silence this warning (!chips[which].input_lines[3] & ^ ( ) obj/mame/linux/blend/machine/mc146818.o obj/mame/linux/blend/machine/nmk112.o obj/mame/linux/blend/machine/pci.o obj/mame/linux/blend/machine/pckeybrd.o 5 warnings generated. obj/mame/linux/blend/machine/pcshare.o obj/mame/linux/blend/machine/pd4990a.o obj/mame/linux/blend/machine/pic8259.o obj/mame/linux/blend/machine/pit8253.o obj/mame/linux/blend/machine/scsicd.o obj/mame/linux/blend/machine/scsihd.o obj/mame/linux/blend/machine/segacrpt.o obj/mame/linux/blend/machine/smc91c9x.o obj/mame/linux/blend/machine/ticket.o obj/mame/linux/blend/machine/timekpr.o obj/mame/linux/blend/machine/tmp68301.o obj/mame/linux/blend/machine/z80ctc.o obj/mame/linux/blend/machine/z80pio.o 3 warnings generated. obj/mame/linux/blend/machine/z80sio.o obj/mame/linux/blend/vidhrdw/crtc6845.o obj/mame/linux/blend/vidhrdw/avgdvg.o obj/mame/linux/blend/vidhrdw/poly.o obj/mame/linux/blend/vidhrdw/res_net.o obj/mame/linux/blend/vidhrdw/tlc34076.o obj/mame/linux/blend/vidhrdw/tms34061.o obj/mame/linux/blend/vidhrdw/voodoo.o obj/mess/linux/blend/advance obj/mess/linux/blend/advance/blit obj/mess/linux/blend/advance/lib obj/mess/linux/blend/advance/linux obj/mess/linux/blend/advance/osd obj/mess/linux/blend/advance/sdl obj/mess/linux/blend/cpu obj/mess/linux/blend/cpu/arm obj/mess/linux/blend/cpu/e132xs obj/mess/linux/blend/cpu/g65816 obj/mess/linux/blend/cpu/h6280 obj/mess/linux/blend/cpu/hd6309 obj/mess/linux/blend/cpu/i386 obj/mess/linux/blend/cpu/i8039 obj/mess/linux/blend/cpu/i8085 obj/mess/linux/blend/cpu/jaguar obj/mess/linux/blend/cpu/i86 obj/mess/linux/blend/cpu/m6502 obj/mess/linux/blend/cpu/m6800 obj/mess/linux/blend/cpu/m68000 obj/mess/linux/blend/cpu/m6805 obj/mess/linux/blend/cpu/m6809 obj/mess/linux/blend/cpu/mips obj/mess/linux/blend/cpu/nec obj/mess/linux/blend/cpu/powerpc obj/mess/linux/blend/cpu/rsp obj/mess/linux/blend/cpu/s2650 obj/mess/linux/blend/cpu/sh2 obj/mess/linux/blend/cpu/spc700 obj/mess/linux/blend/cpu/tms9900 obj/mess/linux/blend/cpu/z180 obj/mess/linux/blend/cpu/z80 obj/mess/linux/blend/debug obj/mess/linux/blend/drivers obj/mess/linux/blend/machine obj/mess/linux/blend/mess obj/mess/linux/blend/mess/cpu obj/mess/linux/blend/mess/cpu/apexc obj/mess/linux/blend/mess/cpu/cdp1802 obj/mess/linux/blend/mess/cpu/cop411 obj/mess/linux/blend/mess/cpu/cp1610 obj/mess/linux/blend/mess/cpu/f8 obj/mess/linux/blend/mess/cpu/pdp1 obj/mess/linux/blend/mess/cpu/saturn obj/mess/linux/blend/mess/cpu/sc61860 obj/mess/linux/blend/mess/cpu/sm8500 obj/mess/linux/blend/mess/cpu/tms7000 obj/mess/linux/blend/mess/cpu/v30mz obj/mess/linux/blend/mess/cpu/z80gb obj/mess/linux/blend/mess/devices obj/mess/linux/blend/mess/expat obj/mess/linux/blend/mess/formats obj/mess/linux/blend/mess/machine obj/mess/linux/blend/mess/sndhrdw obj/mess/linux/blend/mess/sound obj/mess/linux/blend/mess/systems obj/mess/linux/blend/mess/tools obj/mess/linux/blend/mess/tools/dat2html obj/mess/linux/blend/mess/tools/imgtool obj/mess/linux/blend/mess/tools/messroms obj/mess/linux/blend/mess/tools/mkhdimg obj/mess/linux/blend/mess/tools/mkimage obj/mess/linux/blend/mess/vidhrdw obj/mess/linux/blend/sndhrdw obj/mess/linux/blend/sound obj/mess/linux/blend/vidhrdw obj/mess/linux/blend/advance/linux/file.o obj/mess/linux/blend/advance/linux/target.o obj/mess/linux/blend/advance/linux/os.o obj/mess/linux/blend/advance/lib/lcd.o obj/mess/linux/blend/advance/osd/thdouble.o obj/mess/linux/blend/advance/sdl/ssdl.o obj/mess/linux/blend/advance/sdl/msdl.o obj/mess/linux/blend/advance/sdl/ksdl.o obj/mess/linux/blend/advance/sdl/jsdl.o obj/mess/linux/blend/advance/sdl/vsdl.o obj/mess/linux/blend/advance/linux/vfb.o obj/mess/linux/blend/advance/linux/salsa.o obj/mess/linux/blend/advance/linux/soss.o obj/mess/linux/blend/advance/linux/kraw.o obj/mess/linux/blend/advance/linux/jraw.o obj/mess/linux/blend/advance/linux/mraw.o obj/mess/linux/blend/advance/linux/kevent.o obj/mess/linux/blend/advance/linux/mevent.o obj/mess/linux/blend/advance/linux/jevent.o obj/mess/linux/blend/advance/linux/event.o obj/mess/linux/blend/advance/osd/emu.o obj/mess/linux/blend/advance/osd/glue.o obj/mess/linux/blend/advance/osd/global.o obj/mess/linux/blend/advance/osd/video.o obj/mess/linux/blend/advance/osd/ui.o In file included from advance/linux/mraw.c:45: ./advance/linux/ms.c:545:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((context->type == MOUSE_SPACEBALL)) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/advance/osd/frame.o ./advance/linux/ms.c:545:21: note: remove extraneous parentheses around the comparison to silence this warning if ((context->type == MOUSE_SPACEBALL)) { ~ ^ ~ ./advance/linux/ms.c:545:21: note: use '=' to turn this equality comparison into an assignment if ((context->type == MOUSE_SPACEBALL)) { ^~ = obj/mess/linux/blend/advance/osd/sync.o ./advance/linux/ms.c:575:23: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((context->type == MOUSE_SPACEBALL)) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./advance/linux/ms.c:575:23: note: remove extraneous parentheses around the comparison to silence this warning if ((context->type == MOUSE_SPACEBALL)) { ~ ^ ~ ./advance/linux/ms.c:575:23: note: use '=' to turn this equality comparison into an assignment if ((context->type == MOUSE_SPACEBALL)) { ^~ = obj/mess/linux/blend/advance/osd/mode.o obj/mess/linux/blend/advance/osd/menu.o obj/mess/linux/blend/advance/osd/record.o obj/mess/linux/blend/advance/osd/estimate.o advance/linux/event.c:1418:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_VENDOR], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1419:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_PRODUCT], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1420:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_VERSION], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1421:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_BUS], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ obj/mess/linux/blend/advance/osd/sound.o obj/mess/linux/blend/advance/osd/input.o obj/mess/linux/blend/advance/osd/lexyy.o obj/mess/linux/blend/advance/osd/y_tab.o obj/mess/linux/blend/advance/osd/script.o obj/mess/linux/blend/advance/osd/hscript.o obj/mess/linux/blend/advance/osd/safequit.o obj/mess/linux/blend/advance/osd/fileio.o advance/osd/mode.c:272:17: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] unsigned ad = abs(as - rs); ^ advance/osd/mode.c:272:17: note: remove the call to 'abs' since unsigned values cannot be negative unsigned ad = abs(as - rs); ^~~ advance/osd/mode.c:273:17: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] unsigned bd = abs(bs - rs); ^ advance/osd/mode.c:273:17: note: remove the call to 'abs' since unsigned values cannot be negative unsigned bd = abs(bs - rs); ^~~ advance/osd/mode.c:322:17: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] unsigned ad = abs(a - r); ^ advance/osd/mode.c:322:17: note: remove the call to 'abs' since unsigned values cannot be negative unsigned ad = abs(a - r); ^~~ advance/osd/mode.c:323:17: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] unsigned bd = abs(b - r); ^ advance/osd/mode.c:323:17: note: remove the call to 'abs' since unsigned values cannot be negative unsigned bd = abs(b - r); ^~~ obj/mess/linux/blend/advance/osd/fuzzy.o obj/mess/linux/blend/advance/blit/blit.o advance/osd/frame.c:2452:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_crtc || abs(mode_size_x * mode_size_y - size) < abs(mode_size_x * mode_size_y - best_size)) { ^ advance/osd/frame.c:2452:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_crtc || abs(mode_size_x * mode_size_y - size) < abs(mode_size_x * mode_size_y - best_size)) { ^~~ advance/osd/frame.c:2452:64: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_crtc || abs(mode_size_x * mode_size_y - size) < abs(mode_size_x * mode_size_y - best_size)) { ^ advance/osd/frame.c:2452:64: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_crtc || abs(mode_size_x * mode_size_y - size) < abs(mode_size_x * mode_size_y - best_size)) { ^~~ advance/osd/glue.c:1001:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] KR2("pound", "pound", "") ^~~~ advance/osd/glue.c:863:37: note: expanded from macro 'KR2' { "key_" name, "Key " name, { re1, re2 } }, ^~~ obj/mess/linux/blend/advance/blit/hq2x.o obj/mess/linux/blend/advance/blit/hq2x3.o 4 warnings generated. obj/mess/linux/blend/advance/blit/hq2x4.o obj/mess/linux/blend/advance/blit/hq3x.o obj/mess/linux/blend/advance/blit/hq4x.o 4 warnings generated. obj/mess/linux/blend/advance/blit/xbr2x.o obj/mess/linux/blend/advance/blit/xbr3x.o obj/mess/linux/blend/advance/blit/xbr4x.o obj/mess/linux/blend/advance/blit/scale2x.o obj/mess/linux/blend/advance/blit/scale3x.o obj/mess/linux/blend/advance/blit/scale2k.o obj/mess/linux/blend/advance/blit/scale3k.o 2 warnings generated. obj/mess/linux/blend/advance/blit/scale4k.o obj/mess/linux/blend/advance/blit/interp.o obj/mess/linux/blend/advance/blit/clear.o obj/mess/linux/blend/advance/blit/slice.o obj/mess/linux/blend/advance/lib/portable.o obj/mess/linux/blend/advance/lib/snstring.o obj/mess/linux/blend/advance/lib/log.o obj/mess/linux/blend/advance/lib/video.o obj/mess/linux/blend/advance/lib/measure.o obj/mess/linux/blend/advance/lib/rgb.o obj/mess/linux/blend/advance/lib/conf.o obj/mess/linux/blend/advance/lib/incstr.o obj/mess/linux/blend/advance/lib/fz.o obj/mess/linux/blend/advance/lib/font.o obj/mess/linux/blend/advance/lib/fontdef.o obj/mess/linux/blend/advance/lib/bitmap.o obj/mess/linux/blend/advance/lib/filter.o obj/mess/linux/blend/advance/lib/dft.o obj/mess/linux/blend/advance/lib/complex.o obj/mess/linux/blend/advance/lib/png.o obj/mess/linux/blend/advance/lib/pngdef.o obj/mess/linux/blend/advance/lib/mng.o obj/mess/linux/blend/advance/lib/unzip.o obj/mess/linux/blend/advance/lib/videoio.o obj/mess/linux/blend/advance/lib/update.o obj/mess/linux/blend/advance/lib/generate.o obj/mess/linux/blend/advance/lib/crtc.o obj/mess/linux/blend/advance/lib/crtcbag.o obj/mess/linux/blend/advance/lib/monitor.o obj/mess/linux/blend/advance/lib/sounddrv.o 1 warning generated. obj/mess/linux/blend/advance/lib/snone.o obj/mess/linux/blend/advance/lib/vnone.o advance/lib/generate.c:289:6: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^ advance/lib/generate.c:289:6: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^~~ obj/mess/linux/blend/advance/lib/device.o obj/mess/linux/blend/advance/lib/videoall.o advance/lib/generate.c:464:6: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^ advance/lib/generate.c:464:6: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^~~ advance/lib/crtc.c:176:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^ advance/lib/crtc.c:176:28: note: remove the call to 'fabs' since unsigned values cannot be negative if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^~~~ advance/lib/crtc.c:183:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^ advance/lib/crtc.c:183:28: note: remove the call to 'fabs' since unsigned values cannot be negative if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^~~~ advance/lib/crtc.c:306:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:306:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:319:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:319:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:358:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:358:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:368:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:368:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:468:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:468:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:468:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:468:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:479:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:479:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:479:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:479:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:490:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:490:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:490:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:490:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ obj/mess/linux/blend/advance/lib/soundall.o advance/lib/crtc.c:511:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:511:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:511:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:511:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:524:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:524:24obj/mess/linux/blend/advance/lib/joy.o : note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:524:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:524:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:537:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:537:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:537:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:537:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ obj/mess/linux/blend/advance/lib/joyall.o obj/mess/linux/blend/advance/lib/joydrv.o obj/mess/linux/blend/advance/lib/jnone.o obj/mess/linux/blend/advance/lib/keyall.o obj/mess/linux/blend/advance/lib/keydrv.o obj/mess/linux/blend/advance/lib/knone.o obj/mess/linux/blend/advance/lib/key.o obj/mess/linux/blend/advance/lib/mouse.o obj/mess/linux/blend/advance/lib/mouseall.o obj/mess/linux/blend/advance/lib/mousedrv.o obj/mess/linux/blend/advance/lib/mnone.o obj/mess/linux/blend/advance/lib/error.o 2 warnings generated. obj/mess/linux/blend/advance/lib/wave.o obj/mess/linux/blend/artwork.o 2 warnings generated. obj/mess/linux/blend/audit.o obj/mess/linux/blend/cdrom.o obj/mess/linux/blend/chd.o obj/mess/linux/blend/cheat.o obj/mess/linux/blend/config.o obj/mess/linux/blend/cpuexec.o obj/mess/linux/blend/cpuint.o obj/mess/linux/blend/cpuintrf.o src/vidhrdw/voodoo.c:4781:5: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void (*)(voodoo_state *, UINT16 *)' (aka 'void (*)(struct _voodoo_state *, unsigned short *)') [-Wpointer-to-int-cast] (UINT32)info->callback, ^~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/drawgfx.o obj/mess/linux/blend/driver.o obj/mess/linux/blend/fileio.o obj/mess/linux/blend/harddisk.o obj/mess/linux/blend/hash.o 18 warnings generated. obj/mess/linux/blend/hiscore.o obj/mess/linux/blend/info.o obj/mess/linux/blend/input.o obj/mess/linux/blend/inptport.o obj/mess/linux/blend/jedparse.o srcmess/cheat.c:2100:6: warning: cast to smaller integer type 'int' from 'const char **' [-Wpointer-to-int-cast] (int)menuStrings.mainList, ^~~~~~~~~~~~~~~~~~~~~~~~~ srcmess/cheat.c:2101:6: warning: cast to smaller integer type 'int' from 'const char **' [-Wpointer-to-int-cast] (int)menuStrings.subList, ^~~~~~~~~~~~~~~~~~~~~~~~ srcmess/cheat.c:2102:6: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (int)menuStrings.flagList, ^~~~~~~~~~~~~~~~~~~~~~~~~ srcmess/cheat.c:2103:6: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] (int)menuStrings.mainStrings, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ srcmess/cheat.c:2104:6: warning: cast to smaller integer type 'int' from 'char **' [-Wpointer-to-int-cast] (int)menuStrings.subStrings, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ srcmess/cheat.c:2105:6: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] (int)menuStrings.buf); ^~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mame.o obj/mess/linux/blend/mamecore.o obj/mess/linux/blend/md5.o obj/mess/linux/blend/memory.o srcmess/info.c:438:12: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] switch (ROMREGION_GETTYPE(region)) ^~~~~~~~~~~~~~~~~~~~~~~~~ srcmess/cheat.c./srcmess/romload.h::7947187::2932:: warning: note: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast]expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) UINT32 handlerAddress = (UINT32)handler; ^~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ srcmess/cheat.c:8003:28: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] if( (handlerAddress >= ((UINT32)MWA8_BANK1)) && ^~~~~~~~~~~~~~~~~~ srcmess/cheat.c:8004:25: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] (handlerAddress <= ((UINT32)MWA8_BANK24))) ^~~~~~~~~~~~~~~~~~~ srcmess/cheat.c:8045:32: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'genf *' (aka 'void (*)(void)') [-Wpointer-to-int-cast] UINT32 handlerAddress = (UINT32)handler; ^~~~~~~~~~~~~~~ srcmess/cheat.c:8047:29: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] if( (handlerAddress >= ((UINT32)MWA8_BANK1)) && ^~~~~~~~~~~~~~~~~~ srcmess/cheat.c:8048:26: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] (handlerAddress <= ((UINT32)MWA8_BANK24))) ^~~~~~~~~~~~~~~~~~~ srcmess/cheat.c:8050:51: warning: srcmess/info.ccast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast]: 474:47: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] sprintf(desc, "BANK%.2d", (handlerAddress - ((UINT32)MWA8_BANK1)) + 1); ^~~~~~~~~~~~~~~~~~ default: fprintf(out, " region=\"0x%x\"", ROMREGION_GETTYPE(region)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./srcmess/romload.h:187:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ srcmess/cheat.c:8056:12: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] case (UINT32)MWA8_NOP: strcpy(desc, "NOP "); break; ^~~~~~~~~~~~~~~~ srcmess/cheat.c:8057:12: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] case (UINT32)MWA8_RAM: strcpy(desc, "RAM "); break; ^~~~~~~~~~~~~~~~ srcmess/cheat.c:8058:12: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') [-Wpointer-to-int-cast] case (UINT32)MWA8_ROM: strcpy(desc, "ROM "); break; ^~~~~~~~~~~~~~~~ obj/mess/linux/blend/palette.o srcmess/cheat.c:9242:5: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] !region->flags & kRegionFlag_Enabled) ^ ~ srcmess/cheat.c:9242:5: note: add parentheses after the '!' to evaluate the bitwise operator first !region->flags & kRegionFlag_Enabled) ^ ( ) srcmess/cheat.c:9242:5: note: add parentheses around left hand side expression to silence this warning !region->flags & kRegionFlag_Enabled) ^ ( ) srcmess/cheat.c:9285:5: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] !region->flags & kRegionFlag_Enabled) ^ ~ srcmess/cheat.c:9285:5: note: add parentheses after the '!' to evaluate the bitwise operator first !region->flags & kRegionFlag_Enabled) ^ ( ) srcmess/cheat.c:9285:5: note: add parentheses around left hand side expression to silence this warning !region->flags & kRegionFlag_Enabled) ^ ( ) srcmess/cheat.c:10396:24: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] UINT8 regionType = ROMREGION_GETTYPE(traverse); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./srcmess/romload.h:187:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/png.o obj/mess/linux/blend/romload.o obj/mess/linux/blend/sha1.o obj/mess/linux/blend/sound.o obj/mess/linux/blend/sndintrf.o obj/mess/linux/blend/state.o srcmess/memory.c:941:75: warning: cast to 'genf *' (aka 'void (*)(void)') from smaller integer type 'int' [-Wint-to-pointer-cast] install_mem_handler(space, 0, space->dbits, 0, start, end, mask, mirror, (genf *)handler, 0, handler_name); ^~~~~~~~~~~~~~~ srcmess/memory.c:989:75: warning: cast to 'genf *' (aka 'void (*)(void)') from smaller integer type 'int' [-Wint-to-pointer-cast] install_mem_handler(space, 1, space->dbits, 0, start, end, mask, mirror, (genf *)handler, 0, handler_name); ^~~~~~~~~~~~~~~ obj/mess/linux/blend/streams.o srcmess/memory.c:1038:82: warning: cast to 'genf *' (aka 'void (*)(void)') from smaller integer type 'int' [-Wint-to-pointer-cast] install_mem_handler(space, 0, space->dbits, 1, matchval, maskval, mask, mirror, (genf *)handler, 0, handler_name); ^~~~~~~~~~~~~~~ srcmess/memory.c:1087:82: warning: cast to 'genf *' (aka 'void (*)(void)') from smaller integer type 'int' [-Wint-to-pointer-cast] install_mem_handler(space, 1, space->dbits, 1, matchval, maskval, mask, mirror, (genf *)handler, 0, handler_name); ^~~~~~~~~~~~~~~ srcmess/memory.c:1625:11: warning: cast to 'genf *' (aka 'void (*)(void)') from smaller integer type 'int' [-Wint-to-pointer-cast] return BANK_TO_HANDLER(bank); ^~~~~~~~~~~~~~~~~~~~~ srcmess/memory.c:152:30: note: expanded from macro 'BANK_TO_HANDLER' #define BANK_TO_HANDLER(b) ((genf *)(b)) ^~~~~~~~~~~ srcmess/memory.c:1998:12: warning: cast to smaller integer type 'int' from 'genf *' (aka 'void (*)(void)') [-Wpointer-to-int-cast] handler = (int)map->write.handler; ^~~~~~~~~~~~~~~~~~~~~~~ srcmess/memory.c:2008:12: warning: cast to smaller integer type 'int' from 'genf *' (aka 'void (*)(void)') [-Wpointer-to-int-cast] handler = (int)map->read.handler; ^~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/tilemap.o obj/mess/linux/blend/timer.o srcmess/romload.c:416:13: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] int type = ROMREGION_GETTYPE(regiondata); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./srcmess/romload.h:187:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/ui_text.o srcmess/romload.c:567:36: warning: cast to smaller integer type 'int' from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] debugload(" Copying to %08X\n", (int)base); ^~~~~~~~~ srcmess/romload.c:652:15: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] memset(base, (UINT32)ROM_GETHASHDATA(romp) & 0xff, numbytes); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ srcmess/romload.c:666:19: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] UINT32 srcoffs = (UINT32)ROM_GETHASHDATA(romp); /* srcoffset in place of hashdata */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ srcmess/sound.c:183:85: warning: for loop has empty body [-Wempty-body] for (totalspeakers = 0; Machine->drv->speaker[totalspeakers].tag; totalspeakers++) ; ^ srcmess/sound.c:183:85: note: put the semicolon on a separate line to silence this warning srcmess/romload.c:959:20: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] int regiontype = ROMREGION_GETTYPE(region); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./srcmess/romload.h:187:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ srcmess/romload.c:980:66: warning: cast to smaller integer type 'int' from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] debugload("Allocated %X bytes @ %08X\n", romdata.regionlength, (int)romdata.regionbase); ^~~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/unzip.o srcmess/state.c:396:86: warning: cast to smaller integer type 'int' from 'void (*)(int)' [-Wpointer-to-int-cast] fatalerror("Duplicate save state function (%d, %d, 0x%x)", ss_current_tag, param, (int)func); ^~~~~~~~~ srcmess/state.c:439:86: warning: cast to smaller integer type 'int' from 'void (*)(void *)' [-Wpointer-to-int-cast] fatalerror("Duplicate save state function (%d, %p, 0x%x)", ss_current_tag, param, (int)func); ^~~~~~~~~ obj/mess/linux/blend/usrintrf.o obj/mess/linux/blend/validity.o obj/mess/linux/blend/version.o obj/mess/linux/blend/video.o obj/mess/linux/blend/xmlfile.o obj/mess/linux/blend/sound/filter.o obj/mess/linux/blend/sound/flt_vol.o obj/mess/linux/blend/sound/flt_rc.o obj/mess/linux/blend/sound/wavwrite.o obj/mess/linux/blend/machine/eeprom.o srcmess/validity.c:192:38: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const rom_entry *' (aka 'const struct _rom_entry *') [-Wpointer-to-int-cast] add_quark(roms_table, drivnum, (UINT32)driver->rom); ^~~~~~~~~~~~~~~~~~~ srcmess/validity.c:343:15: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] int type = ROMREGION_GETTYPE(romp); ^~~~~~~~~~~~~~~~~~~~~~~ ./srcmess/romload.h:187:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ srcmess/validity.c:694:8: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'void (*)(input_port_init_params *)' (aka 'void (*)(struct _input_port_init_params *)') [-Wpointer-to-int-cast] crc = (UINT32)driver->construct_ipt; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. obj/mess/linux/blend/machine/generic.o 2 warnings generated. 1 warning generated. obj/mess/linux/blend/sndhrdw/generic.o obj/mess/linux/blend/vidhrdw/generic.o obj/mess/linux/blend/vidhrdw/vector.o obj/mess/linux/blend/vidhrdw/tms9928a.o obj/mess/linux/blend/machine/8255ppi.o obj/mess/linux/blend/machine/6522via.o obj/mess/linux/blend/machine/6821pia.o obj/mess/linux/blend/machine/z80ctc.o obj/mess/linux/blend/machine/z80pio.o obj/mess/linux/blend/machine/z80sio.o obj/mess/linux/blend/machine/idectrl.o 6 warnings generated. obj/mess/linux/blend/machine/6532riot.o obj/mess/linux/blend/mess/mess.o obj/mess/linux/blend/mess/mesvalid.o obj/mess/linux/blend/mess/image.o obj/mess/linux/blend/mess/messdriv.o obj/mess/linux/blend/mess/device.o obj/mess/linux/blend/mess/hashfile.o obj/mess/linux/blend/mess/inputx.o obj/mess/linux/blend/mess/unicode.o obj/mess/linux/blend/mess/artworkx.o obj/mess/linux/blend/mess/mesintrf.o obj/mess/linux/blend/mess/filemngr.o obj/mess/linux/blend/mess/tapectrl.o obj/mess/linux/blend/mess/compcfg.o 3 warnings generated. obj/mess/linux/blend/mess/utils.o obj/mess/linux/blend/mess/eventlst.o obj/mess/linux/blend/mess/mscommon.o obj/mess/linux/blend/mess/pool.o obj/mess/linux/blend/mess/cheatms.o mess/artworkx.c:195:60: warning: 'sscanf' may overflow; destination buffer in argument 3 has size 64, but the corresponding specifier may require size 65 [-Wfortify-source] if (!enabled || sscanf(buffer, "%64s (%d,%d)-(%d,%d)", ipt_name, &x1, &y1, &x2, &y2) != 5) ^ obj/mess/linux/blend/mess/opresolv.o mess/compcfg.c:132:28: warning: cast to 'read8_handler' (aka 'unsigned char (*)(unsigned int)') from smaller integer type 'int' [-Wint-to-pointer-cast] read8_handler read_bank = (read8_handler) (STATIC_BANK1 + bank - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mess/compcfg.c:133:30: warning: cast to 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') from smaller integer type 'int' [-Wint-to-pointer-cast] write8_handler write_bank = (write8_handler) (STATIC_BANK1 + bank - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. obj/mess/linux/blend/mess/mui_text.o obj/mess/linux/blend/mess/infomess.o obj/mess/linux/blend/mess/formats/ioprocs.o obj/mess/linux/blend/mess/formats/flopimg.o obj/mess/linux/blend/mess/formats/cassimg.o 2 warnings generated. obj/mess/linux/blend/mess/formats/basicdsk.o obj/mess/linux/blend/mess/formats/pc_dsk.o obj/mess/linux/blend/mess/devices/mflopimg.o obj/mess/linux/blend/mess/devices/cassette.o obj/mess/linux/blend/mess/devices/cartslot.o obj/mess/linux/blend/mess/devices/printer.o obj/mess/linux/blend/mess/devices/bitbngr.o obj/mess/linux/blend/mess/devices/snapquik.o mess/formats/flopimg.c:242:21: warning: address of array 'floppy_option_guide' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!parameters && floppy_option_guide && format->param_guidelines) ~~ ^~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mess/devices/basicdsk.o obj/mess/linux/blend/mess/devices/flopdrv.o obj/mess/linux/blend/mess/devices/harddriv.o obj/mess/linux/blend/mess/devices/idedrive.o obj/mess/linux/blend/mess/devices/dsk.o obj/mess/linux/blend/mess/devices/z80bin.o obj/mess/linux/blend/mess/devices/chd_cd.o obj/mess/linux/blend/mess/machine/6551.o mess/devices/cartslot.c:42:11: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] region = ROMREGION_GETTYPE(romrgn); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./srcmess/romload.h:187:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ mess/devices/cartslot.c:72:10: warning: cast to smaller integer type 'UINT32' (aka 'unsigned int') from 'const char *' [-Wpointer-to-int-cast] type = ROMREGION_GETTYPE(romrgn); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./srcmess/romload.h:187:32: note: expanded from macro 'ROMREGION_GETTYPE' #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mess/machine/smartmed.o mess/devices/snapquik.c:33:7: warning: cast to 'struct snapquick_info *' from smaller integer type 'int' [-Wint-to-pointer-cast] si = (struct snapquick_info *) arg; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mess/devices/snapquik.c:69:19: warning: cast to smaller integer type 'int' from 'struct snapquick_info *' [-Wpointer-to-int-cast] timer_set(delay, (int) si, snapquick_processsnapshot); ^~~~~~~~ ./srcmess/timer.h:75:68: note: expanded from macro 'timer_set' #define timer_set(d,p,c) mame_timer_set(double_to_mame_time(d), p, c) ^ ./srcmess/timer.h:65:52: note: expanded from macro 'mame_timer_set' #define mame_timer_set(d,p,c) _mame_timer_set(d, p, c, __FILE__, __LINE__, #c) ^ obj/mess/linux/blend/mess/vidhrdw/m6847.o mess/devices/flopdrv.c:67:20: warning: cast to 'mess_image *' (aka 'struct _mess_image *') from smaller integer type 'int' [-Wint-to-pointer-cast] mess_image *img = (mess_image *) image_ptr; ^~~~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mess/vidhrdw/m6845.o mess/devices/flopdrv.c:205:42: warning: cast to smaller integer type 'int' from 'mess_image *' (aka 'struct _mess_image *') [-Wpointer-to-int-cast] timer_adjust(pDrive->index_timer, 0, (int) img, newpulse); ^~~~~~~~~ ./srcmess/timer.h:71:78: note: expanded from macro 'timer_adjust' #define timer_adjust(w,d,p,e) mame_timer_adjust(w, double_to_mame_time(d), p, double_to_mame_time(e)) ^ obj/mess/linux/blend/mess/machine/msm8251.o mess/devices/harddriv.c:110:3: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] (unsigned int) ptr); ^~~~~~~~~~~~~~~~~~ mess/devices/harddriv.c:148:10: warning: cast to 'mess_image *' (aka 'struct _mess_image *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] return (mess_image *) ptr; ^~~~~~~~~~~~~~~~~~ 2 warnings generated. obj/mess/linux/blend/mess/machine/tc8521.o 2 warnings generated. 1 warning generated. obj/mess/linux/blend/mess/vidhrdw/v9938.o obj/mess/linux/blend/mess/vidhrdw/crtc6845.o mess/devices/chd_cd.c:96:3: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] (unsigned int) ptr); ^~~~~~~~~~~~~~~~~~ mess/devices/chd_cd.c:134:10: warning: cast to 'mess_image *' (aka 'struct _mess_image *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] return (mess_image *) ptr; ^~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mess/machine/28f008sa.o obj/mess/linux/blend/mess/machine/am29f080.o obj/mess/linux/blend/mess/machine/rriot.o obj/mess/linux/blend/mess/machine/riot6532.o 2 warnings generated. obj/mess/linux/blend/machine/pit8253.o obj/mess/linux/blend/machine/mc146818.o 2 warnings generated. obj/mess/linux/blend/mess/machine/uart8250.o 2 warnings generated. obj/mess/linux/blend/mess/machine/pc_mouse.o obj/mess/linux/blend/mess/machine/pclpt.o obj/mess/linux/blend/mess/machine/centroni.o obj/mess/linux/blend/machine/pckeybrd.o obj/mess/linux/blend/mess/machine/d88.o obj/mess/linux/blend/mess/machine/nec765.o obj/mess/linux/blend/mess/machine/wd17xx.o obj/mess/linux/blend/mess/machine/serial.o obj/mess/linux/blend/mess/formats/wavfile.o obj/mess/linux/blend/cpu/arm/arm.o obj/mess/linux/blend/cpu/e132xs/e132xs.o obj/mess/linux/blend/cpu/g65816/g65816.o obj/mess/linux/blend/cpu/g65816/g65816o0.o obj/mess/linux/blend/cpu/g65816/g65816o1.o obj/mess/linux/blend/cpu/g65816/g65816o2.o mess/machine/nec765.c:1202:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((fdc.nec765_command_bytes[4]==fdc.nec765_command_bytes[6])) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mess/machine/nec765.c:1202:35: note: remove extraneous parentheses around the comparison to silence this warning if ((fdc.nec765_command_bytes[4]==fdc.nec765_command_bytes[6])) ~ ^ ~ mess/machine/nec765.c:1202:35: note: use '=' to turn this equality comparison into an assignment if ((fdc.nec765_command_bytes[4]==fdc.nec765_command_bytes[6])) ^~ = mess/machine/wd17xx.c:291:14: warning: cast to 'WD179X *' from smaller integer type 'int' [-Wint-to-pointer-cast] WD179X *w = (WD179X *)dummy; ^~~~~~~~~~~~~~~ mess/machine/wd17xx.c:302:55: warning: cast to smaller integer type 'int' from 'WD179X *' [-Wpointer-to-int-cast] timer_adjust(busy_timer, TIME_IN_MSEC(milliseconds), (int)w, 0); ^~~~~~ ./srcmess/timer.h:71:78: note: expanded from macro 'timer_adjust' #define timer_adjust(w,d,p,e) mame_timer_adjust(w, double_to_mame_time(d), p, double_to_mame_time(e)) ^ obj/mess/linux/blend/cpu/g65816/g65816o3.o obj/mess/linux/blend/cpu/g65816/g65816o4.o obj/mess/linux/blend/cpu/h6280/h6280.o obj/mess/linux/blend/cpu/hd6309/hd6309.o obj/mess/linux/blend/cpu/i386/i386.o obj/mess/linux/blend/cpu/i8039/i8039.o obj/mess/linux/blend/cpu/i8085/i8085.o obj/mess/linux/blend/cpu/i86/i286.o obj/mess/linux/blend/cpu/i86/i86.o obj/mess/linux/blend/cpu/jaguar/jaguar.o 2 warnings generated. obj/mess/linux/blend/cpu/m6502/m4510.o In file included from srcmess/cpu/i386/i386.c:381: srcmess/cpu/i386/i386ops.c:422:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if( (I.SF == I.OF) ) { ~~~~~^~~~~~~ srcmess/cpu/i386/i386ops.c:422:12: note: remove extraneous parentheses around the comparison to silence this warning if( (I.SF == I.OF) ) { ~ ^ ~ srcmess/cpu/i386/i386ops.c:422:12: note: use '=' to turn this equality comparison into an assignment if( (I.SF == I.OF) ) { ^~ = srcmess/cpu/i386/i386ops.c:1283:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if( (I.SF == I.OF) ) { ~~~~~^~~~~~~ srcmess/cpu/i386/i386ops.c:1283:12: note: remove extraneous parentheses around the comparison to silence this warning if( (I.SF == I.OF) ) { ~ ^ ~ srcmess/cpu/i386/i386ops.c:1283:12: note: use '=' to turn this equality comparison into an assignment if( (I.SF == I.OF) ) { ^~ = obj/mess/linux/blend/cpu/m6502/m6502.o In file included from srcmess/cpu/i386/i386.c:382: srcmess/cpu/i386/i386op16.c:854:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if( (I.SF == I.OF) ) { ~~~~~^~~~~~~ srcmess/cpu/i386/i386op16.c:854:12: note: remove extraneous parentheses around the comparison to silence this warning if( (I.SF == I.OF) ) { ~ ^ ~ srcmess/cpu/i386/i386op16.c:854:12: note: use '=' to turn this equality comparison into an assignment if( (I.SF == I.OF) ) { ^~ = In file included from srcmess/cpu/hd6309/hd6309.c:617: srcmess/cpu/hd6309/6309ops.c:2819:13: warning: taking the absolute value of unsigned type 'UINT16' (aka 'unsigned short') has no effect [-Wabsolute-value] t.w.l = abs( t.w.l ); ^ srcmess/cpu/hd6309/6309ops.c:2819:13: note: remove the call to 'abs' since unsigned values cannot be negative t.w.l = abs( t.w.l ); ^~~ srcmess/cpu/hd6309/6309ops.c:3153:13: warning: taking the absolute value of unsigned type 'UINT16' (aka 'unsigned short') has no effect [-Wabsolute-value] t.w.l = abs( t.w.l ); ^ srcmess/cpu/hd6309/6309ops.c:3153:13: note: remove the call to 'abs' since unsigned values cannot be negative t.w.l = abs( t.w.l ); ^~~ 1 warning generated. obj/mess/linux/blend/cpu/m6502/m6509.o srcmess/cpu/hd6309/6309ops.c:3555:13: warning: taking the absolute value of unsigned type 'UINT16' (aka 'unsigned short') has no effect [-Wabsolute-value] t.w.l = abs( t.w.l ); ^ srcmess/cpu/hd6309/6309ops.c:3555:13: note: remove the call to 'abs' since unsigned values cannot be negative t.w.l = abs( t.w.l ); ^~~ srcmess/cpu/hd6309/6309ops.c:3943:13: warning: taking the absolute value of unsigned type 'UINT16' (aka 'unsigned short') has no effect [-Wabsolute-value] t.w.l = abs( t.w.l ); ^ srcmess/cpu/hd6309/6309ops.c:3943:13: note: remove the call to 'abs' since unsigned values cannot be negative t.w.l = abs( t.w.l ); ^~~ In file included from srcmess/cpu/i386/i386.c:383: srcmess/cpu/i386/i386op32.c:811:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if( (I.SF == I.OF) ) { ~~~~~^~~~~~~ srcmess/cpu/i386/i386op32.c:811:12: note: remove extraneous parentheses around the comparison to silence this warning if( (I.SF == I.OF) ) { ~ ^ ~ srcmess/cpu/i386/i386op32.c:811:12: note: use '=' to turn this equality comparison into an assignment if( (I.SF == I.OF) ) { ^~ = obj/mess/linux/blend/cpu/m6800/m6800.o obj/mess/linux/blend/cpu/m68000/m68kmake srcmess/cpu/m68000/m68kmake.c:673:36: warning: comparison of array 'op->name' not equal to a null pointer is always true [-Wtautological-pointer-compare] for(op = g_opcode_input_table;op->name != NULL;op++) ~~~~^~~~ ~~~~ srcmess/cpu/m68000/m68kmake.c:689:36: warning: comparison of array 'op->name' not equal to a null pointer is always true [-Wtautological-pointer-compare] for(op = g_opcode_input_table;op->name != NULL;op++) ~~~~^~~~ ~~~~ obj/mess/linux/blend/cpu/m68000/m68kmame.o srcmess/cpu/i86/i286.c:553:97: warning: cast to smaller integer type 'unsigned int' from 'UINT32 *' (aka 'unsigned int *') [-Wpointer-to-int-cast] case CPUINFO_STR_REGISTER + I286_IDTR: sprintf(info->s = cpuintrf_temp_str(), "IDTR: %06X", (unsigned) I.base); break; ^~~~~~~~~~~~~~~~~ srcmess/cpu/i86/i286.c:554:92: warning: cast to smaller integer type 'unsigned int' from 'UINT16 *' (aka 'unsigned short *') [-Wpointer-to-int-cast] case CPUINFO_STR_REGISTER + I286_IDTR_2: sprintf(info->s = cpuintrf_temp_str(), "%04X", (unsigned) I.limit); break; ^~~~~~~~~~~~~~~~~~ 2 warnings generated. 7 warnings generated. Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator Copyright 1998-2000 Karl Stenerud (karl@mame.net) Generated 1966 opcode handlers from 517 primitives obj/mess/linux/blend/cpu/m6805/m6805.o obj/mess/linux/blend/cpu/m6809/m6809.o obj/mess/linux/blend/cpu/mips/mips3.o 19 warnings generated. obj/mess/linux/blend/cpu/mips/psx.o obj/mess/linux/blend/cpu/nec/nec.o obj/mess/linux/blend/cpu/powerpc/ppc.o obj/mess/linux/blend/cpu/rsp/rsp.o obj/mess/linux/blend/cpu/s2650/s2650.o obj/mess/linux/blend/cpu/sh2/sh2.o obj/mess/linux/blend/cpu/spc700/spc700.o obj/mess/linux/blend/cpu/tms9900/ti990_10.o obj/mess/linux/blend/cpu/tms9900/tms9900.o obj/mess/linux/blend/cpu/tms9900/tms9980a.o obj/mess/linux/blend/cpu/tms9900/tms9995.o obj/mess/linux/blend/cpu/z180/z180.o obj/mess/linux/blend/cpu/z80/z80.o obj/mess/linux/blend/cpu/z80/z80daisy.o obj/mess/linux/blend/mess/cpu/apexc/apexc.o obj/mess/linux/blend/mess/cpu/cdp1802/cdp1802.o In file included from srcmess/cpu/z180/z180.c:802: srcmess/cpu/z180/z180op.c:510:18: warning: array index 74 is past the end of the array (which contains 64 elements) [-Warray-bounds] irq_vector = (Z180.io[Z180_IL] & Z180_IL_IL) + (irq - Z180_INT1) * 2; ^ ~~~~~~~ srcmess/cpu/z180/z180.c:103:2: note: array 'io' declared here UINT8 io[64]; /* 64 internal 8 bit registers */ ^ obj/mess/linux/blend/mess/cpu/cop411/cop411.o obj/mess/linux/blend/mess/cpu/cp1610/cp1610.o obj/mess/linux/blend/mess/cpu/f8/f8.o obj/mess/linux/blend/mess/cpu/pdp1/pdp1.o obj/mess/linux/blend/mess/cpu/pdp1/tx0.o obj/mess/linux/blend/mess/cpu/saturn/saturn.o obj/mess/linux/blend/mess/cpu/sc61860/sc61860.o obj/mess/linux/blend/mess/cpu/sm8500/sm8500.o In file included from mess/cpu/saturn/saturn.c:163: mess/cpu/saturn/satops.c:313:23: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 0: saturn.carry=!saturn.st&1;break; ^ ~ mess/cpu/saturn/satops.c:313:23: note: add parentheses after the '!' to evaluate the bitwise operator first case 0: saturn.carry=!saturn.st&1;break; ^ ( ) mess/cpu/saturn/satops.c:313:23: note: add parentheses around left hand side expression to silence this warning case 0: saturn.carry=!saturn.st&1;break; ^ ( ) mess/cpu/saturn/satops.c:314:23: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 1: saturn.carry=!saturn.st&2;break; ^ ~ mess/cpu/saturn/satops.c:314:23: note: add parentheses after the '!' to evaluate the bitwise operator first case 1: saturn.carry=!saturn.st&2;break; ^ ( ) mess/cpu/saturn/satops.c:314:23: note: add parentheses around left hand side expression to silence this warning case 1: saturn.carry=!saturn.st&2;break; ^ ( ) mess/cpu/saturn/satops.c:315:23: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 2: saturn.carry=!saturn.st&4;break; ^ ~ mess/cpu/saturn/satops.c:315:23: note: add parentheses after the '!' to evaluate the bitwise operator first case 2: saturn.carry=!saturn.st&4;break; ^ ( ) mess/cpu/saturn/satops.c:315:23: note: add parentheses around left hand side expression to silence this warning case 2: saturn.carry=!saturn.st&4;break; ^ ( ) mess/cpu/saturn/satops.c:316:23: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 3: saturn.carry=!saturn.st&8;break; ^ ~ mess/cpu/saturn/satops.c:316:23: note: add parentheses after the '!' to evaluate the bitwise operator first case 3: saturn.carry=!saturn.st&8;break; ^ ( ) mess/cpu/saturn/satops.c:316:23: note: add parentheses around left hand side expression to silence this warning case 3: saturn.carry=!saturn.st&8;break; ^ ( ) mess/cpu/saturn/satops.c:317:23: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 4: saturn.carry=!saturn.st&0x10;break; ^ ~ mess/cpu/saturn/satops.c:317:23: note: add parentheses after the '!' to evaluate the bitwise operator first case 4: saturn.carry=!saturn.st&0x10;break; ^ ( ) mess/cpu/saturn/satops.c:317:23: note: add parentheses around left hand side expression to silence this warning case 4: saturn.carry=!saturn.st&0x10;break; ^ ( ) mess/cpu/saturn/satops.c:318:23: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 5: saturn.carry=!saturn.st&0x20;break; ^ ~ mess/cpu/saturn/satops.c:318:23: note: add parentheses after the '!' to evaluate the bitwise operator first case 5: saturn.carry=!saturn.st&0x20;break; ^ ( ) mess/cpu/saturn/satops.c:318:23: note: add parentheses around left hand side expression to silence this warning case 5: saturn.carry=!saturn.st&0x20;break; ^ ( ) mess/cpu/saturn/satops.c:319:23: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 6: saturn.carry=!saturn.st&0x40;break; ^ ~ mess/cpu/saturn/satops.c:319:23: note: add parentheses after the '!' to evaluate the bitwise operator first case 6: saturn.carry=!saturn.st&0x40;break; ^ ( ) mess/cpu/saturn/satops.c:319:23: note: add parentheses around left hand side expression to silence this warning case 6: saturn.carry=!saturn.st&0x40;break; ^ ( ) mess/cpu/saturn/satops.c:320:23: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 7: saturn.carry=!saturn.st&0x80;break; ^ ~ mess/cpu/saturn/satops.c:320:23: note: add parentheses after the '!' to evaluate the bitwise operator first case 7: saturn.carry=!saturn.st&0x80;break; ^ ( ) mess/cpu/saturn/satops.c:320:23: note: add parentheses around left hand side expression to silence this warning case 7: saturn.carry=!saturn.st&0x80;break; ^ ( ) mess/cpu/saturn/satops.c:321:23: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 8: saturn.carry=!saturn.st&0x100;break; ^ ~ mess/cpu/saturn/satops.c:321:23: note: add parentheses after the '!' to evaluate the bitwise operator first case 8: saturn.carry=!saturn.st&0x100;break; ^ ( ) mess/cpu/saturn/satops.c:321:23: note: add parentheses around left hand side expression to silence this warning case 8: saturn.carry=!saturn.st&0x100;break; ^ ( ) mess/cpu/saturn/satops.c:322:23: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 9: saturn.carry=!saturn.st&0x200;break; ^ ~ mess/cpu/saturn/satops.c:322:23: note: add parentheses after the '!' to evaluate the bitwise operator first case 9: saturn.carry=!saturn.st&0x200;break; ^ ( ) mess/cpu/saturn/satops.c:322:23: note: add parentheses around left hand side expression to silence this warning case 9: saturn.carry=!saturn.st&0x200;break; ^ ( ) mess/cpu/saturn/satops.c:323:25: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 0xa: saturn.carry=!saturn.st&0x400;break; ^ ~ mess/cpu/saturn/satops.c:323:25: note: add parentheses after the '!' to evaluate the bitwise operator first case 0xa: saturn.carry=!saturn.st&0x400;break; ^ ( ) mess/cpu/saturn/satops.c:323:25: note: add parentheses around left hand side expression to silence this warning case 0xa: saturn.carry=!saturn.st&0x400;break; ^ ( ) mess/cpu/saturn/satops.c:324:25: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 0xb: saturn.carry=!saturn.st&0x800;break; ^ ~ mess/cpu/saturn/satops.c:324:25: note: add parentheses after the '!' to evaluate the bitwise operator first case 0xb: saturn.carry=!saturn.st&0x800;break; ^ ( ) mess/cpu/saturn/satops.c:324:25: note: add parentheses around left hand side expression to silence this warning case 0xb: saturn.carry=!saturn.st&0x800;break; ^ ( ) mess/cpu/saturn/satops.c:325:25: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 0xc: saturn.carry=!saturn.st&0x1000;break; ^ ~ mess/cpu/saturn/satops.c:325:25: note: add parentheses after the '!' to evaluate the bitwise operator first case 0xc: saturn.carry=!saturn.st&0x1000;break; ^ ( ) mess/cpu/saturn/satops.c:325:25: note: add parentheses around left hand side expression to silence this warning case 0xc: saturn.carry=!saturn.st&0x1000;break; ^ ( ) mess/cpu/saturn/satops.c:326:25: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 0xd: saturn.carry=!saturn.st&0x2000;break; ^ ~ mess/cpu/saturn/satops.c:326:25: note: add parentheses after the '!' to evaluate the bitwise operator first case 0xd: saturn.carry=!saturn.st&0x2000;break; ^ ( ) mess/cpu/saturn/satops.c:326:25: note: add parentheses around left hand side expression to silence this warning case 0xd: saturn.carry=!saturn.st&0x2000;break; ^ ( ) mess/cpu/saturn/satops.c:327:25: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 0xe: saturn.carry=!saturn.st&0x4000;break; ^ ~ mess/cpu/saturn/satops.c:327:25: note: add parentheses after the '!' to evaluate the bitwise operator first case 0xe: saturn.carry=!saturn.st&0x4000;break; ^ ( ) mess/cpu/saturn/satops.c:327:25: note: add parentheses around left hand side expression to silence this warning case 0xe: saturn.carry=!saturn.st&0x4000;break; ^ ( ) mess/cpu/saturn/satops.c:328:25: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] case 0xf: saturn.carry=!saturn.st&0x8000;break; ^ ~ mess/cpu/saturn/satops.c:328:25: note: add parentheses after the '!' to evaluate the bitwise operator first case 0xf: saturn.carry=!saturn.st&0x8000;break; ^ ( ) mess/cpu/saturn/satops.c:328:25: note: add parentheses around left hand side expression to silence this warning case 0xf: saturn.carry=!saturn.st&0x8000;break; ^ ( ) obj/mess/linux/blend/mess/cpu/tms7000/tms7000.o obj/mess/linux/blend/mess/cpu/v30mz/v30mz.o obj/mess/linux/blend/mess/cpu/z80gb/z80gb.o obj/mess/linux/blend/mess/sound/beep.o obj/mess/linux/blend/mess/sound/sid.o obj/mess/linux/blend/mess/sound/sid6581.o obj/mess/linux/blend/mess/sound/sidenvel.o obj/mess/linux/blend/mess/sound/sidvoice.o obj/mess/linux/blend/mess/sound/speaker.o obj/mess/linux/blend/mess/sound/wave.o 2 warnings generated. obj/mess/linux/blend/sound/2151intf.o obj/mess/linux/blend/sound/2203intf.o obj/mess/linux/blend/sound/2413intf.o obj/mess/linux/blend/sound/2608intf.o mess/sound/wave.c:28:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] int num = ((int) param) & ~WAVE_TOKEN_MASK; ^~~~~~~~~~~ mess/sound/wave.c:57:44: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] stream_create(0, 1, Machine->sample_rate, (void *) sndindex, wave_sound_update); ^~~~~~~~~~~~~~~~~ mess/sound/wave.c:58:12: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] return (void *) (sndindex | WAVE_TOKEN_MASK); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/sound/2610intf.o 3 warnings generated. obj/mess/linux/blend/sound/2612intf.o obj/mess/linux/blend/sound/3812intf.o obj/mess/linux/blend/sound/5110intf.o obj/mess/linux/blend/sound/5220intf.o obj/mess/linux/blend/sound/astrocde.o obj/mess/linux/blend/sound/ay8910.o obj/mess/linux/blend/sound/c6280.o obj/mess/linux/blend/sound/custom.o obj/mess/linux/blend/sound/dac.o obj/mess/linux/blend/sound/discrete.o obj/mess/linux/blend/sound/dmadac.o obj/mess/linux/blend/sound/es5503.o obj/mess/linux/blend/sound/fm.o obj/mess/linux/blend/sound/fmopl.o obj/mess/linux/blend/sound/k051649.o obj/mess/linux/blend/sound/nes_apu.o In file included from srcmess/sound/discrete.c:150: srcmess/sound/disc_wav.c:763:79: warning: operator '?:' has lower precedence than '-'; '-' will be evaluated first [-Wparentheses] node->output = (info->vP - (context->type == DISC_OP_AMP_OSCILLATOR_VCO_1) ? OP_AMP_VP_RAIL_OFFSET : OP_AMP_NORTON_VBE) * context->flip_flop; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ srcmess/sound/disc_wav.c:763:79: note: place parentheses around the '-' expression to silence this warning node->output = (info->vP - (context->type == DISC_OP_AMP_OSCILLATOR_VCO_1) ? OP_AMP_VP_RAIL_OFFSET : OP_AMP_NORTON_VBE) * context->flip_flop; ^ ( ) srcmess/sound/disc_wav.c:763:79: note: place parentheses around the '?:' expression to evaluate it first node->output = (info->vP - (context->type == DISC_OP_AMP_OSCILLATOR_VCO_1) ? OP_AMP_VP_RAIL_OFFSET : OP_AMP_NORTON_VBE) * context->flip_flop; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/sound/okim6295.o In file included from srcmess/sound/discrete.c:151: srcmess/sound/disc_mth.c:1234:55: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] context->dir = ((DST_RAMP__END - DST_RAMP__START) == abs(DST_RAMP__END - DST_RAMP__START)); ^ srcmess/sound/disc_mth.c:1234:55: note: use function 'fabs' instead context->dir = ((DST_RAMP__END - DST_RAMP__START) == abs(DST_RAMP__END - DST_RAMP__START)); ^~~ fabs obj/mess/linux/blend/sound/pokey.o obj/mess/linux/blend/sound/psx.o obj/mess/linux/blend/sound/qsound.o obj/mess/linux/blend/sound/saa1099.o obj/mess/linux/blend/sound/samples.o srcmess/sound/qsound.c:145:25: warning: 'memset' call operates on objects of type 'struct qsound_info' while the size is based on a different type 'struct qsound_info *' [-Wsizeof-pointer-memaccess] memset(chip, 0, sizeof(chip)); ~~~~ ^~~~ srcmess/sound/qsound.c:145:25: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(chip, 0, sizeof(chip)); ^~~~ obj/mess/linux/blend/sound/sn76477.o srcmess/sound/psx.c:339:2: warning: 'sizeof (chip->m_p_n_spuram)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] state_save_register_item_array( "psx", sndindex, chip->m_p_n_spuram ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./srcmess/state.h:47:66: note: expanded from macro 'state_save_register_item_array' state_save_register_item_pointer(_mod, _inst, _val, sizeof(_val)/sizeof(_val[0])) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./srcmess/state.h:44:69: note: expanded from macro 'state_save_register_item_pointer' state_save_register_generic(_mod, _inst, #_val, &_val[0], _val[0], _count) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./srcmess/state.h:37:73: note: expanded from macro 'state_save_register_generic' state_save_register_memory(_mod, _inst, _name, _val, sizeof(_valsize), _count); \ ^~~~~~ obj/mess/linux/blend/sound/sn76496.o 1 warning generated. obj/mess/linux/blend/sound/tiaintf.o obj/mess/linux/blend/sound/tiasound.o obj/mess/linux/blend/sound/tms5110.o obj/mess/linux/blend/sound/tms5220.o obj/mess/linux/blend/sound/ym2151.o 1 warning generated. obj/mess/linux/blend/sound/ym2413.o obj/mess/linux/blend/sound/ymdeltat.o obj/mess/linux/blend/mess/machine/6883sam.o srcmess/sound/tms5110.c:494:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] buffer[buf_count] = -128<<8; ~~~~^ obj/mess/linux/blend/mess/machine/cococart.o obj/mess/linux/blend/mess/machine/ds1315.o srcmess/sound/tms5220.c:660:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] buffer[buf_count] = -128<<8; ~~~~^ obj/mess/linux/blend/mess/machine/m6242b.o obj/mess/linux/blend/mess/machine/coco.o obj/mess/linux/blend/mess/vidhrdw/coco.o obj/mess/linux/blend/mess/systems/coco.o obj/mess/linux/blend/mess/vidhrdw/coco3.o obj/mess/linux/blend/mess/formats/cocopak.o obj/mess/linux/blend/mess/formats/coco_cas.o obj/mess/linux/blend/mess/formats/coco_dsk.o obj/mess/linux/blend/mess/devices/coco_vhd.o 1 warning generated. obj/mess/linux/blend/mess/machine/mc10.o 1 warning generated. 4 warnings generated. obj/mess/linux/blend/mess/systems/mc10.o obj/mess/linux/blend/mess/vidhrdw/apple2.o obj/mess/linux/blend/mess/machine/apple2.o mess/formats/coco_dsk.c:919:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((sector == dmk_idam_sector(&track_data[idam_offset])) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mess/formats/coco_dsk.c:919:17: note: remove extraneous parentheses around the comparison to silence this warning if ((sector == dmk_idam_sector(&track_data[idam_offset])) ~ ^ ~ mess/formats/coco_dsk.c:919:17: note: use '=' to turn this equality comparison into an assignment if ((sector == dmk_idam_sector(&track_data[idam_offset])) ^~ = obj/mess/linux/blend/mess/systems/apple2.o obj/mess/linux/blend/mess/vidhrdw/apple2gs.o obj/mess/linux/blend/mess/machine/apple2gs.o obj/mess/linux/blend/mess/systems/apple2gs.o mess/machine/apple2.c:154:9: warning: cast to 'read8_handler' (aka 'unsigned char (*)(unsigned int)') from smaller integer type 'int' [-Wint-to-pointer-cast] rh = (read8_handler) (STATIC_BANK1 + rbank - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mess/machine/apple2.c:234:9: warning: cast to 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') from smaller integer type 'int' [-Wint-to-pointer-cast] wh = (write8_handler) (STATIC_BANK1 + wbank - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mess/formats/ap2_dsk.o obj/mess/linux/blend/mess/formats/ap_dsk35.o mess/formats/ap2_dsk.c:144:11: warning: taking the absolute value of unsigned type 'unsigned long long' has no effect [-Wabsolute-value] else if (abs(size - expected_size) < 8) ^ mess/formats/ap2_dsk.c:144:11: note: remove the call to 'abs' since unsigned values cannot be negative else if (abs(size - expected_size) < 8) ^~~ 1 warning generated. obj/mess/linux/blend/mess/machine/ay3600.o obj/mess/linux/blend/mess/machine/lisa.o obj/mess/linux/blend/mess/systems/lisa.o obj/mess/linux/blend/mess/machine/applefdc.o obj/mess/linux/blend/mess/machine/8530scc.o obj/mess/linux/blend/mess/devices/sonydriv.o obj/mess/linux/blend/mess/devices/appldriv.o 2 warnings generated. obj/mess/linux/blend/mess/sndhrdw/mac.o 16 warnings generated. 1 warning generated. obj/mess/linux/blend/mess/machine/mac.o obj/mess/linux/blend/mess/vidhrdw/mac.o obj/mess/linux/blend/mess/systems/mac.o obj/mess/linux/blend/mess/vidhrdw/apple1.o 2 warnings generated. obj/mess/linux/blend/mess/machine/apple1.o obj/mess/linux/blend/mess/systems/apple1.o obj/mess/linux/blend/mess/vidhrdw/apple3.o obj/mess/linux/blend/mess/machine/apple3.o mess/machine/mac.c:115:7: warning: cast to 'read16_handler' (aka 'unsigned short (*)(unsigned int, unsigned short)') from smaller integer type 'int' [-Wint-to-pointer-cast] rh = (read16_handler) bank; ^~~~~~~~~~~~~~~~~~~~~ mess/machine/mac.c:116:28: warning: cast to 'write16_handler' (aka 'void (*)(unsigned int, unsigned short, unsigned short)') from smaller integer type 'int' [-Wint-to-pointer-cast] wh = is_rom ? MWA16_ROM : (write16_handler) bank; ^~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mess/systems/apple3.o obj/mess/linux/blend/mess/machine/ncr5380.o obj/mess/linux/blend/mess/systems/apexc.o obj/mess/linux/blend/mess/vidhrdw/pdp1.o obj/mess/linux/blend/mess/machine/pdp1.o obj/mess/linux/blend/mess/systems/pdp1.o obj/mess/linux/blend/mess/systems/psx.o obj/mess/linux/blend/machine/psx.o obj/mess/linux/blend/vidhrdw/psx.o obj/mess/linux/blend/mess/sndhrdw/gb.o obj/mess/linux/blend/mess/vidhrdw/gb.o obj/mess/linux/blend/mess/machine/gb.o obj/mess/linux/blend/mess/systems/gb.o mess/machine/apple3.c:290:98: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] logerror("\tbank #%d --> %02x/%04x [0x%08x]\n", mame_bank, (unsigned) bank, (unsigned) offset, ptr - mess_ram); ~~~~ ^~~~~~~~~~~~~~ %08lx obj/mess/linux/blend/mess/machine/nes_mmc.o obj/mess/linux/blend/vidhrdw/ppu2c03b.o obj/mess/linux/blend/mess/vidhrdw/nes.o obj/mess/linux/blend/mess/machine/nes.o obj/mess/linux/blend/mess/systems/nes.o 1 warning generated. obj/mess/linux/blend/sndhrdw/snes.o 2 warnings generated. obj/mess/linux/blend/machine/snes.o obj/mess/linux/blend/vidhrdw/snes.o obj/mess/linux/blend/mess/systems/snes.o obj/mess/linux/blend/mess/systems/n64.o mess/vidhrdw/nes.c:66:22: warning: implicit conversion from 'double' to 'int' changes value from 262.5 to 262 [-Wliteral-conversion] return nes_vh_start(NTSC_SCANLINES_PER_FRAME); ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ ./mess/includes/nes.h:14:34: note: expanded from macro 'NTSC_SCANLINES_PER_FRAME' #define NTSC_SCANLINES_PER_FRAME 262.5 ^~~~~ mess/vidhrdw/nes.c:71:22: warning: implicit conversion from 'double' to 'int' changes value from 312.5 to 312 [-Wliteral-conversion] return nes_vh_start(PAL_SCANLINES_PER_FRAME); ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~ ./mess/includes/nes.h:15:34: note: expanded from macro 'PAL_SCANLINES_PER_FRAME' #define PAL_SCANLINES_PER_FRAME 312.5 /* in theory--needs verification */ ^~~~~ mess/machine/nes.c:265:15: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds] retVal |= ((in_1[3] << in_1_shift) & 0x80) >> 3; ^ ~ mess/machine/nes.c:33:1: note: array 'in_1' declared here static UINT32 in_1[3]; ^ obj/mess/linux/blend/machine/n64.o srcmess/sndhrdw/snes.c:155:31: warning: array index -1 is before the beginning of the array [-Warray-bounds] static const int * G4 = &gauss[ -1 ]; ^ ~~ srcmess/sndhrdw/snes.c:43:1: note: array 'gauss' declared here static const int gauss[]= ^ obj/mess/linux/blend/vidhrdw/n64.o obj/mess/linux/blend/mess/vidhrdw/pc_aga.o 2 warnings generated. obj/mess/linux/blend/mess/machine/ibmpc.o obj/mess/linux/blend/mess/machine/tandy1t.o obj/mess/linux/blend/mess/machine/amstr_pc.o obj/mess/linux/blend/mess/machine/europc.o obj/mess/linux/blend/mess/machine/pc.o 1 warning generated. obj/mess/linux/blend/mess/systems/pc.o obj/mess/linux/blend/mess/vidhrdw/pc_t1t.o obj/mess/linux/blend/machine/8042kbdc.o obj/mess/linux/blend/mess/machine/pc_ide.o obj/mess/linux/blend/mess/machine/ps2.o obj/mess/linux/blend/mess/machine/at.o obj/mess/linux/blend/mess/systems/at.o 1 warning generated. obj/mess/linux/blend/mess/machine/i82439tx.o obj/mess/linux/blend/machine/8237dma.o obj/mess/linux/blend/machine/pic8259.o obj/mess/linux/blend/machine/pcshare.o obj/mess/linux/blend/mess/machine/pc_turbo.o obj/mess/linux/blend/mess/sndhrdw/pc.o obj/mess/linux/blend/mess/sndhrdw/sblaster.o obj/mess/linux/blend/mess/machine/pc_fdc.o obj/mess/linux/blend/mess/machine/pc_hdc.o mess/systems/pc.c:713:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_DIPSETTING( 0x02, "V.g. vnta" ) ^~~~ ./srcmess/inptport.h:631:56: note: expanded from macro 'PORT_DIPSETTING' PORT_BIT(0, default, IPT_DIPSWITCH_SETTING) PORT_NAME(name) \ ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/mess/linux/blend/mess/machine/pc_joy.o obj/mess/linux/blend/mess/vidhrdw/pc_video.o mess/systems/pc.c:801:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_DIPSETTING( 0x02, "V.g. vnta" ) ^~~~ ./srcmess/inptport.h:631:56: note: expanded from macro 'PORT_DIPSETTING' PORT_BIT(0, default, IPT_DIPSWITCH_SETTING) PORT_NAME(name) \ ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/machine/pc_turbo.c:30:7: warning: cast to 'struct pc_turbo_info *' from smaller integer type 'int' [-Wint-to-pointer-cast] ti = (struct pc_turbo_info *) param; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mess/machine/pc_turbo.c:53:32: warning: cast to smaller integer type 'int' from 'struct pc_turbo_info *' [-Wpointer-to-int-cast] timer_pulse(TIME_IN_SEC(0.1), (int) ti, pc_turbo_callback); ^~~~~~~~ ./srcmess/timer.h:73:72: note: expanded from macro 'timer_pulse' #define timer_pulse(e,p,c) mame_timer_pulse(double_to_mame_time(e), p, c) ^ ./srcmess/timer.h:63:56: note: expanded from macro 'mame_timer_pulse' #define mame_timer_pulse(e,p,c) _mame_timer_pulse(e, p, c, __FILE__, __LINE__, #c) ^ obj/mess/linux/blend/mess/vidhrdw/pc_mda.o obj/mess/linux/blend/mess/vidhrdw/pc_cga.o 2 warnings generated. mess/systems/pc.c:897:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_DIPSETTING( 0x02, "V.g. vnta" ) ^~~~ ./srcmess/inptport.h:631:56: note: expanded from macro 'PORT_DIPSETTING' PORT_BIT(0, default, IPT_DIPSWITCH_SETTING) PORT_NAME(name) \ ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/mess/linux/blend/mess/vidhrdw/cgapal.o obj/mess/linux/blend/mess/vidhrdw/pc_vga.o obj/mess/linux/blend/mess/machine/tms9901.o obj/mess/linux/blend/mess/machine/tms9902.o obj/mess/linux/blend/mess/machine/ti99_4x.o obj/mess/linux/blend/mess/machine/990_hd.o obj/mess/linux/blend/mess/machine/990_tap.o mess/machine/pc_hdc.c:649:27: warning: 'memset' call operates on objects of type 'UINT8' (aka 'unsigned char') while the size is based on a different type 'UINT8 *' (aka 'unsigned char *') [-Wsizeof-pointer-memaccess] memset(buffer, 0, sizeof(buffer)); ~~~~~~ ^~~~~~ mess/machine/pc_hdc.c:649:27: note: did you mean to provide an explicit length? memset(buffer, 0, sizeof(buffer)); ^~~~~~ obj/mess/linux/blend/mess/machine/ti990.o obj/mess/linux/blend/mess/machine/mm58274c.o obj/mess/linux/blend/mess/machine/994x_ser.o obj/mess/linux/blend/mess/machine/at29040.o mess/vidhrdw/pc_vga.c:564:21: warning: cast to 'read8_handler' (aka 'unsigned char (*)(unsigned int)') from smaller integer type 'int' [-Wint-to-pointer-cast] read_handler = (read8_handler) vga.vga_intf.vga_memory_bank; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mess/vidhrdw/pc_vga.c:565:22: warning: cast to 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') from smaller integer type 'int' [-Wint-to-pointer-cast] write_handler = (write8_handler) vga.vga_intf.vga_memory_bank; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mess/machine/99_dsk.o In file included from mess/machine/ti99_4x.c:60: mess/machine/ti99_4x.h:101:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ In file included from mess/machine/ti99_4x.c:63: mess/machine/99_dsk.h:4:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/machine/99_ide.o mess/machine/ti99_4x.c:796:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ mess/machine/ti99_4x.c:1001:27: warning: cast to 'UINT16 *' (aka 'unsigned short *') from smaller integer type 'int' [-Wint-to-pointer-cast] ti99_4p_internal_ROM6 = (UINT16 *) (memory_region(REGION_CPU1) + (offset & 1) ? offset_rom6b_4p : offset_rom6_4p); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mess/machine/99_peb.o obj/mess/linux/blend/mess/machine/99_hsgpl.o mess/machine/ti99_4x.c:2126:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if (/*(ti99_model == model_99_4) &&*/ (KeyCol == 7)) ~~~~~~~^~~~ mess/machine/ti99_4x.c:2126:48: note: remove extraneous parentheses around the comparison to silence this warning if (/*(ti99_model == model_99_4) &&*/ (KeyCol == 7)) ~ ^ ~ mess/machine/ti99_4x.c:2126:48: note: use '=' to turn this equality comparison into an assignment if (/*(ti99_model == model_99_4) &&*/ (KeyCol == 7)) ^~ = 1 warning generated. obj/mess/linux/blend/mess/machine/99_usbsm.o obj/mess/linux/blend/mess/machine/smc92x4.o obj/mess/linux/blend/mess/machine/strata.o obj/mess/linux/blend/mess/machine/rtc65271.o In file included from mess/machine/994x_ser.c:24: mess/machine/ti99_4x.h:101:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/machine/geneve.o In file included from mess/machine/99_dsk.c:28: mess/machine/ti99_4x.h:101:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ In file included from mess/machine/99_dsk.c:30: mess/machine/99_dsk.h:4:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ mess/machine/99_dsk.c:604:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ 1 warning generated. obj/mess/linux/blend/mess/machine/990_dk.o In file included from mess/machine/99_hsgpl.c:8: mess/machine/ti99_4x.h:101:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/sndhrdw/spchroms.o In file included from mess/machine/99_ide.c:24: mess/machine/ti99_4x.h:101:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/systems/ti990_4.o obj/mess/linux/blend/mess/systems/ti99_4x.o obj/mess/linux/blend/mess/systems/ti99_4p.o In file included from mess/machine/99_usbsm.c:28: mess/machine/ti99_4x.h:101:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/systems/geneve.o mess/machine/strata.c:243:18: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (((offset && BYTE_ADDRESS_MASK) >> 1) == 2) ^ ~~~~~~~~~~~~~~~~~ mess/machine/strata.c:243:18: note: use '&' for a bitwise operation if (((offset && BYTE_ADDRESS_MASK) >> 1) == 2) ^~ & mess/machine/strata.c:243:18: note: remove constant to silence this warning if (((offset && BYTE_ADDRESS_MASK) >> 1) == 2) ~^~~~~~~~~~~~~~~~~~~~ mess/machine/strata.c:267:17: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (((offset && BYTE_ADDRESS_MASK) >> 1) == 2) ^ ~~~~~~~~~~~~~~~~~ mess/machine/strata.c:267:17: note: use '&' for a bitwise operation if (((offset && BYTE_ADDRESS_MASK) >> 1) == 2) ^~ & mess/machine/strata.c:267:17: note: remove constant to silence this warning if (((offset && BYTE_ADDRESS_MASK) >> 1) == 2) ~^~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mess/systems/tm990189.o In file included from mess/machine/geneve.c:12: mess/machine/ti99_4x.h:101:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ 1 warning generated. In file included from mess/machine/geneve.c:16: mess/machine/99_dsk.h:4:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/systems/ti99_8.o 1 warning generated. mess/machine/geneve.c:264:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/vidhrdw/911_vdt.o 1 warning generated. obj/mess/linux/blend/mess/vidhrdw/733_asr.o obj/mess/linux/blend/mess/systems/ti990_10.o In file included from mess/systems/ti99_4x.c:27: ./mess/machine/ti99_4x.h:101:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/systems/ti99_2.o In file included from mess/systems/ti99_4x.c:32: ./mess/machine/99_dsk.h:4:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ 3 warnings generated. obj/mess/linux/blend/mess/systems/tutor.o mess/systems/ti99_4x.c:124:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ In file included from mess/systems/ti99_4p.c:34: ./mess/machine/ti99_4x.h:101:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ In file included from mess/systems/geneve.c:206: ./mess/machine/ti99_4x.h:101:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ In file included from mess/systems/ti99_4p.c:39: ./mess/machine/99_dsk.h:4:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/systems/amstrad.o In file included from mess/systems/geneve.c:211: ./mess/machine/99_dsk.h:4:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ 2 warnings generated. mess/systems/geneve.c:265:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/machine/amstrad.o mess/systems/ti99_4p.c:104:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/vidhrdw/amstrad.o mess/systems/ti99_4x.c:265:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ In file included from mess/systems/ti99_8.c:153: ./mess/machine/ti99_4x.h:101:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ In file included from mess/systems/ti99_8.c:158: ./mess/machine/99_dsk.h:4:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/vidhrdw/pcw.o mess/systems/ti99_8.c:205:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/systems/pcw.o mess/systems/ti99_4p.c:302:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ mess/systems/geneve.c:509:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ mess/systems/geneve.c:529:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/systems/pcw16.o mess/systems/ti99_8.c:467:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ mess/systems/ti99_4x.c:724:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ mess/systems/ti99_4x.c:751:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ mess/systems/ti99_4x.c:778:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_99CCFDC ^ ./mess/machine/ti99_4x.h:7:21: note: expanded from macro 'HAS_99CCFDC' #define HAS_99CCFDC defined(MESS_DEBUG) ^ obj/mess/linux/blend/mess/vidhrdw/pcw16.o obj/mess/linux/blend/mess/vidhrdw/nc.o 3 warnings generated. obj/mess/linux/blend/mess/systems/nc.o 5 warnings generated. obj/mess/linux/blend/mess/machine/nc.o mess/systems/pcw.c:277:4: warning: cast to 'read8_handler' (aka 'unsigned char (*)(unsigned int)') from smaller integer type 'int' [-Wint-to-pointer-cast] (read8_handler) (STATIC_BANK1 + block)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./srcmess/memory.h:1028:70: note: expanded from macro 'memory_install_read8_handler' _memory_install_read8_handler(cpu, space, start, end, mask, mirror, handler, #handler) ^~~~~~~ obj/mess/linux/blend/mess/machine/genesis.o obj/mess/linux/blend/mess/systems/genesis.o mess/systems/pcw.c:840:59: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT(0x010, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("") PORT_CODE(KEYCODE_QUOTE) ^~~~ obj/mess/linux/blend/mess/systems/saturn.o ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/mess/linux/blend/machine/stvcd.o 2 warnings generated. obj/mess/linux/blend/machine/scudsp.o 4 warnings generated. obj/mess/linux/blend/vidhrdw/stvvdp1.o obj/mess/linux/blend/vidhrdw/stvvdp2.o 5 warnings generated. obj/mess/linux/blend/sound/scsp.o obj/mess/linux/blend/mess/vidhrdw/smsvdp.o obj/mess/linux/blend/mess/machine/sms.o obj/mess/linux/blend/mess/systems/sms.o 4 warnings generated. obj/mess/linux/blend/mess/machine/i8271.o obj/mess/linux/blend/mess/machine/upd7002.o obj/mess/linux/blend/mess/vidhrdw/saa505x.o obj/mess/linux/blend/mess/vidhrdw/bbc.o mess/systems/saturn.c:469:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((offset == 0x61)) ~~~~~~~^~~~~~~ mess/systems/saturn.c:469:14: note: remove extraneous parentheses around the comparison to silence this warning if ((offset == 0x61)) ~ ^ ~ mess/systems/saturn.c:469:14: note: use '=' to turn this equality comparison into an assignment if ((offset == 0x61)) ^~ = 3 warnings generated. obj/mess/linux/blend/mess/machine/bbc.o obj/mess/linux/blend/mess/systems/bbc.o obj/mess/linux/blend/mess/systems/a310.o obj/mess/linux/blend/mess/systems/z88.o obj/mess/linux/blend/mess/vidhrdw/z88.o 2 warnings generated. obj/mess/linux/blend/mess/vidhrdw/atom.o obj/mess/linux/blend/mess/systems/atom.o obj/mess/linux/blend/mess/machine/atom.o 7 warnings generated. obj/mess/linux/blend/mess/formats/uef_cas.o obj/mess/linux/blend/mess/vidhrdw/electron.o obj/mess/linux/blend/mess/machine/electron.o mess/systems/z88.c:182:31: warning: cast to 'read8_handler' (aka 'unsigned char (*)(unsigned int)') from smaller integer type 'int' [-Wint-to-pointer-cast] read_handler = read_addr ? (read8_handler) (STATIC_BANK1 + (bank_base - 1 + 0)) : MRA8_ROM; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mess/systems/z88.c:183:31: warning: cast to 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') from smaller integer type 'int' [-Wint-to-pointer-cast] write_handler = write_addr ? (write8_handler) (STATIC_BANK1 + (bank_base - 1 + 1)) : MWA8_ROM; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mess/systems/electron.o mess/systems/z88.c:706:58: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT(0x001, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("") PORT_CODE(KEYCODE_TILDE) ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/mess/linux/blend/vidhrdw/tia.o obj/mess/linux/blend/machine/atari.o obj/mess/linux/blend/vidhrdw/atari.o obj/mess/linux/blend/vidhrdw/antic.o obj/mess/linux/blend/vidhrdw/gtia.o mess/formats/uef_cas.c:182:23: warning: expression result unused [-Wunused-value] *buffer = WAVE_NULL; *buffer++; ^~~~~~~~~ mess/formats/uef_cas.c:183:23: warning: expression result unused [-Wunused-value] *buffer = WAVE_NULL; *buffer++; ^~~~~~~~~ obj/mess/linux/blend/mess/systems/atari.o obj/mess/linux/blend/mess/machine/a7800.o 1 warning generated. obj/mess/linux/blend/mess/systems/a7800.o obj/mess/linux/blend/mess/vidhrdw/a7800.o obj/mess/linux/blend/mess/systems/a2600.o obj/mess/linux/blend/mess/systems/jaguar.o 2 warnings generated. obj/mess/linux/blend/sndhrdw/jaguar.o obj/mess/linux/blend/vidhrdw/jaguar.o obj/mess/linux/blend/mess/machine/trs80.o 3 warnings generated. obj/mess/linux/blend/mess/vidhrdw/trs80.o obj/mess/linux/blend/mess/systems/trs80.o obj/mess/linux/blend/mess/vidhrdw/channelf.o obj/mess/linux/blend/mess/sndhrdw/channelf.o obj/mess/linux/blend/mess/systems/channelf.o obj/mess/linux/blend/mess/vidhrdw/astrocde.o obj/mess/linux/blend/mess/machine/astrocde.o obj/mess/linux/blend/mess/systems/astrocde.o 1 warning generated. obj/mess/linux/blend/mess/vidhrdw/advision.o obj/mess/linux/blend/mess/machine/advision.o obj/mess/linux/blend/mess/systems/advision.o obj/mess/linux/blend/mess/vidhrdw/mbee.o obj/mess/linux/blend/mess/machine/mbee.o obj/mess/linux/blend/mess/systems/mbee.o obj/mess/linux/blend/mess/vidhrdw/vtech1.o obj/mess/linux/blend/mess/machine/vtech1.o obj/mess/linux/blend/mess/systems/vtech1.o obj/mess/linux/blend/mess/vidhrdw/vtech2.o obj/mess/linux/blend/mess/machine/vtech2.o obj/mess/linux/blend/mess/systems/vtech2.o obj/mess/linux/blend/mess/formats/vt_cas.o obj/mess/linux/blend/mess/formats/vt_dsk.o obj/mess/linux/blend/mess/systems/jupiter.o obj/mess/linux/blend/mess/vidhrdw/jupiter.o obj/mess/linux/blend/mess/machine/jupiter.o obj/mess/linux/blend/mess/systems/vectrex.o obj/mess/linux/blend/mess/vidhrdw/vectrex.o obj/mess/linux/blend/mess/machine/vectrex.o obj/mess/linux/blend/mess/systems/arcadia.o obj/mess/linux/blend/mess/sndhrdw/arcadia.o obj/mess/linux/blend/mess/vidhrdw/arcadia.o obj/mess/linux/blend/mess/systems/kaypro.o obj/mess/linux/blend/mess/machine/cpm_bios.o obj/mess/linux/blend/mess/vidhrdw/kaypro.o obj/mess/linux/blend/mess/sndhrdw/kaypro.o obj/mess/linux/blend/mess/machine/kaypro.o mess/machine/jupiter.c:122:39: warning: cast to smaller integer type 'int' from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] logerror("data: %08X. type: %d.\n", (int) jupiter_data, ^~~~~~~~~~~~~~~~~~ mess/machine/jupiter.c:203:27: warning: cast to smaller integer type 'int' from 'UINT8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] logerror("data: %08X\n", (int) jupiter_data); ^~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mess/systems/cgenie.o mess/systems/vtech2.c:314:57: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("") PORT_CODE(KEYCODE_ASTERISK) ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/mess/linux/blend/mess/vidhrdw/cgenie.o obj/mess/linux/blend/mess/sndhrdw/cgenie.o 2 warnings generated. obj/mess/linux/blend/mess/machine/cgenie.o obj/mess/linux/blend/mess/systems/aquarius.o obj/mess/linux/blend/mess/vidhrdw/aquarius.o obj/mess/linux/blend/mess/machine/aquarius.o obj/mess/linux/blend/mess/devices/mfmdisk.o obj/mess/linux/blend/mess/vidhrdw/microtan.o obj/mess/linux/blend/mess/machine/microtan.o obj/mess/linux/blend/mess/systems/microtan.o obj/mess/linux/blend/mess/formats/oric_tap.o obj/mess/linux/blend/mess/systems/oric.o obj/mess/linux/blend/mess/vidhrdw/oric.o obj/mess/linux/blend/mess/machine/oric.o obj/mess/linux/blend/mess/systems/sord.o obj/mess/linux/blend/mess/formats/sord_cas.o 1 warning generated. obj/mess/linux/blend/mess/machine/hd6402.o obj/mess/linux/blend/mess/systems/exidy.o obj/mess/linux/blend/mess/vidhrdw/exidy.o obj/mess/linux/blend/mess/vidhrdw/coupe.o obj/mess/linux/blend/mess/systems/coupe.o obj/mess/linux/blend/mess/machine/coupe.o obj/mess/linux/blend/mess/vidhrdw/saa5050.o mess/systems/oric.c:333:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] INPUT_PORT_ORIC ^~~~~~~~~~~~~~~ mess/systems/oric.c:119:60: note: expanded from macro 'INPUT_PORT_ORIC' PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("- ") PORT_CODE(KEYCODE_MINUS) \ ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/mess/linux/blend/mess/vidhrdw/p2000m.o mess/systems/oric.c:353:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] INPUT_PORT_ORICA ^~~~~~~~~~~~~~~~ mess/systems/oric.c:203:60: note: expanded from macro 'INPUT_PORT_ORICA' PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("- ") PORT_CODE(KEYCODE_MINUS) \ ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/mess/linux/blend/mess/systems/p2000t.o obj/mess/linux/blend/mess/machine/p2000t.o obj/mess/linux/blend/mess/machine/mc6850.o obj/mess/linux/blend/mess/vidhrdw/osi.o obj/mess/linux/blend/mess/sndhrdw/osi.o mess/systems/oric.c:387:2: warning: illegal character encoding in string literal [-Winvalid-source-encoding] INPUT_PORT_ORICA ^~~~~~~~~~~~~~~~ mess/systems/oric.c:203:60: note: expanded from macro 'INPUT_PORT_ORICA' PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("- ") PORT_CODE(KEYCODE_MINUS) \ ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/mess/linux/blend/mess/systems/osi.o obj/mess/linux/blend/mess/machine/osi.o obj/mess/linux/blend/mess/systems/einstein.o obj/mess/linux/blend/mess/sndhrdw/dave.o obj/mess/linux/blend/mess/vidhrdw/enterp.o obj/mess/linux/blend/mess/vidhrdw/epnick.o mess/machine/coupe.c:48:34: warning: cast to 'read8_handler' (aka 'unsigned char (*)(unsigned int)') from smaller integer type 'int' [-Wint-to-pointer-cast] rh = !memory ? MRA8_NOP : (read8_handler) (STATIC_BANK1 + bank - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mess/machine/coupe.c:49:54: warning: cast to 'write8_handler' (aka 'void (*)(unsigned int, unsigned char)') from smaller integer type 'int' [-Wint-to-pointer-cast] wh = !memory ? MWA8_NOP : (is_readonly ? MWA8_ROM : (write8_handler) (STATIC_BANK1 + bank - 1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mess/machine/enterp.o 2 warnings generated. obj/mess/linux/blend/mess/systems/enterp.o obj/mess/linux/blend/mess/systems/cpschngr.o obj/mess/linux/blend/vidhrdw/cps1.o obj/mess/linux/blend/mess/vidhrdw/kc.o mess/sndhrdw/osi.c:16:39: warning: implicit conversion from 'double' to 'int' changes value from 3.4 to 3 [-Wliteral-conversion] DISCRETE_DAC_R1(NODE_02, 1, NODE_01, DEFAULT_TTL_V_LOGIC_1, &sb2m600_dac) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./srcmess/sound/discrete.h:2601:31: note: expanded from macro 'DEFAULT_TTL_V_LOGIC_1' #define DEFAULT_TTL_V_LOGIC_1 3.4 ^~~ ./srcmess/sound/discrete.h:3279:114: note: expanded from macro 'DISCRETE_DAC_R1' #define DISCRETE_DAC_R1(NODE,ENAB,DATA,VDATA,LADDER) { NODE, DST_DAC_R1 , 3, { ENAB,DATA,VDATA }, { ENAB,DATA,VDATA }, LADDER, "DAC with R1 Ladder" }, ~ ^~~~~ 1 warning generated. obj/mess/linux/blend/mess/systems/kc.o obj/mess/linux/blend/mess/machine/kc.o obj/mess/linux/blend/mess/vidhrdw/vdc.o obj/mess/linux/blend/mess/machine/pce.o obj/mess/linux/blend/mess/systems/pce.o mess/vidhrdw/epnick.c:712:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((Nick.ScanLineCount == 0)) // || ~~~~~~~~~~~~~~~~~~~^~~~ mess/vidhrdw/epnick.c:712:27: note: remove extraneous parentheses around the comparison to silence this warning if ((Nick.ScanLineCount == 0)) // || ~ ^ ~ mess/vidhrdw/epnick.c:712:27: note: use '=' to turn this equality comparison into an assignment if ((Nick.ScanLineCount == 0)) // || ^~ = obj/mess/linux/blend/mess/vidhrdw/nascom1.o obj/mess/linux/blend/mess/machine/nascom1.o obj/mess/linux/blend/mess/systems/nascom1.o obj/mess/linux/blend/mess/machine/odyssey2.o obj/mess/linux/blend/mess/vidhrdw/odyssey2.o obj/mess/linux/blend/mess/sndhrdw/odyssey2.o obj/mess/linux/blend/mess/systems/odyssey2.o obj/mess/linux/blend/mess/cpu/f8/f3853.o mess/machine/kc.c:1871:2: warning: implicit conversion from 'double' to 'int' changes value from 1379310.344828 to 1379310 [-Wliteral-conversion] 1379310.344828, ^~~~~~~~~~~~~~ obj/mess/linux/blend/mess/vidhrdw/mk1.o obj/mess/linux/blend/mess/systems/mk1.o obj/mess/linux/blend/mess/vidhrdw/mk2.o 3 warnings generated. obj/mess/linux/blend/mess/systems/mk2.o obj/mess/linux/blend/mess/systems/ti85.o obj/mess/linux/blend/mess/formats/ti85_ser.o obj/mess/linux/blend/mess/vidhrdw/ti85.o obj/mess/linux/blend/mess/machine/ti85.o obj/mess/linux/blend/mess/vidhrdw/galaxy.o 4 warnings generated. obj/mess/linux/blend/mess/systems/galaxy.o obj/mess/linux/blend/mess/machine/galaxy.o obj/mess/linux/blend/mess/sndhrdw/vc4000.o obj/mess/linux/blend/mess/systems/vc4000.o obj/mess/linux/blend/mess/vidhrdw/vc4000.o obj/mess/linux/blend/mess/vidhrdw/lviv.o obj/mess/linux/blend/mess/systems/lviv.o obj/mess/linux/blend/mess/machine/lviv.o obj/mess/linux/blend/mess/formats/lviv_lvt.o obj/mess/linux/blend/mess/vidhrdw/pmd85.o obj/mess/linux/blend/mess/systems/pmd85.o 1 warning generated. obj/mess/linux/blend/mess/machine/pmd85.o obj/mess/linux/blend/mess/formats/pmd_pmd.o obj/mess/linux/blend/mess/vidhrdw/border.o obj/mess/linux/blend/mess/vidhrdw/spectrum.o obj/mess/linux/blend/mess/vidhrdw/zx.o obj/mess/linux/blend/mess/systems/zx.o mess/vidhrdw/vc4000.c:373:6: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if (!vc4000_video.reg.d.background&8) return; ^ ~ mess/vidhrdw/vc4000.c:373:6: note: add parentheses after the '!' to evaluate the bitwise operator first if (!vc4000_video.reg.d.background&8) return; ^ ( ) mess/vidhrdw/vc4000.c:373:6: note: add parentheses around left hand side expression to silence this warning if (!vc4000_video.reg.d.background&8) return; ^ ( ) 1 warning generated. obj/mess/linux/blend/mess/machine/zx.o obj/mess/linux/blend/mess/systems/spectrum.o obj/mess/linux/blend/mess/machine/spectrum.o obj/mess/linux/blend/mess/formats/zx81_p.o obj/mess/linux/blend/mess/systems/ql.o obj/mess/linux/blend/mess/systems/lynx.o obj/mess/linux/blend/mess/sndhrdw/lynx.o obj/mess/linux/blend/mess/machine/lynx.o obj/mess/linux/blend/mess/systems/svision.o obj/mess/linux/blend/mess/sndhrdw/svision.o obj/mess/linux/blend/mess/machine/coleco.o obj/mess/linux/blend/mess/systems/coleco.o mess/systems/zx.c:116:64: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("SPACE ") PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ') PORT_CHAR('') ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/zx.c:116:118: warning: illegal character encoding in character literal [-Winvalid-source-encoding] PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("SPACE ") PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ') PORT_CHAR('') ^ mess/machine/spectrum.c:205:9: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if (!spectrum_plus3_port_1ffd_data & 0x04) ^ ~ mess/machine/spectrum.c:205:9: note: add parentheses after the '!' to evaluate the bitwise operator first if (!spectrum_plus3_port_1ffd_data & 0x04) ^ ( ) mess/machine/spectrum.c:205:9: note: add parentheses around left hand side expression to silence this warning if (!spectrum_plus3_port_1ffd_data & 0x04) ^ ( ) mess/machine/spectrum.c:208:8: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if (!spectrum_128_port_7ffd_data & 0x10) ^ ~ mess/machine/spectrum.c:208:8: note: add parentheses after the '!' to evaluate the bitwise operator first if (!spectrum_128_port_7ffd_data & 0x10) ^ ( ) mess/machine/spectrum.c:208:8: note: add parentheses around left hand side expression to silence this warning if (!spectrum_128_port_7ffd_data & 0x10) ^ ( ) mess/machine/spectrum.c:217:8: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if ((!ts2068_port_f4_data & 0x01) || (!ts2068_port_ff_data & 0x80)) ^ ~ mess/machine/spectrum.c:217:8: note: add parentheses after the '!' to evaluate the bitwise operator first if ((!ts2068_port_f4_data & 0x01) || (!ts2068_port_ff_data & 0x80)) ^ ( ) mess/machine/spectrum.c:217:8: note: add parentheses around left hand side expression to silence this warning if ((!ts2068_port_f4_data & 0x01) || (!ts2068_port_ff_data & 0x80)) ^ ( ) mess/machine/spectrum.c:217:41: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if ((!ts2068_port_f4_data & 0x01) || (!ts2068_port_ff_data & 0x80)) ^ ~ mess/machine/spectrum.c:217:41: note: add parentheses after the '!' to evaluate the bitwise operator first if ((!ts2068_port_f4_data & 0x01) || (!ts2068_port_ff_data & 0x80)) ^ ( ) mess/machine/spectrum.c:217:41: note: add parentheses around left hand side expression to silence this warning if ((!ts2068_port_f4_data & 0x01) || (!ts2068_port_ff_data & 0x80)) ^ ( ) obj/mess/linux/blend/mess/machine/adam.o mess/systems/zx.c:201:64: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("SPACE ") PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ') PORT_CHAR('') ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/zx.c:201:118: warning: illegal character encoding in character literal [-Winvalid-source-encoding] PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("SPACE ") PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ') PORT_CHAR('') ^ 1 warning generated. obj/mess/linux/blend/mess/systems/adam.o obj/mess/linux/blend/mess/formats/adam_dsk.o obj/mess/linux/blend/mess/systems/fnvision.o mess/systems/ql.c:303:83: warning: illegal character encoding in character literal [-Winvalid-source-encoding] PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_TILDE) PORT_CHAR('') PORT_CHAR('~') ^ obj/mess/linux/blend/mess/systems/apf.o mess/systems/ql.c:317:116: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_ESC) PORT_CHAR(UCHAR_MAMEKEY(ESC)) PORT_NAME("ESC ") ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/mess/linux/blend/mess/machine/apf.o obj/mess/linux/blend/mess/vidhrdw/apf.o mess/machine/lynx.c:913:37: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] logerror("timer %d read %x %.2x\n",This-lynx_timer,offset,data); ~~ ^~~~~~~~~~~~~~~ %ld mess/machine/lynx.c:920:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] logerror("timer %d write %x %.2x\n",This-lynx_timer,offset,data); ~~ ^~~~~~~~~~~~~~~ %ld obj/mess/linux/blend/mess/formats/apf_apt.o obj/mess/linux/blend/mess/vidhrdw/comquest.o obj/mess/linux/blend/mess/systems/comquest.o obj/mess/linux/blend/mess/systems/concept.o obj/mess/linux/blend/mess/machine/concept.o obj/mess/linux/blend/mess/machine/corvushd.o obj/mess/linux/blend/vidhrdw/amiga.o obj/mess/linux/blend/machine/amiga.o mess/machine/adam.c:661:56: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] sectorCount = (byteCount/512)+(byteCount%512==0)? 0:1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ mess/machine/adam.c:661:56: note: place parentheses around the '+' expression to silence this warning sectorCount = (byteCount/512)+(byteCount%512==0)? 0:1; ^ ( ) mess/machine/adam.c:661:56: note: place parentheses around the '?:' expression to evaluate it first sectorCount = (byteCount/512)+(byteCount%512==0)? 0:1; ^ ( ) obj/mess/linux/blend/sndhrdw/amiga.o obj/mess/linux/blend/machine/6526cia.o obj/mess/linux/blend/mess/machine/amigafdc.o obj/mess/linux/blend/mess/systems/amiga.o 2 warnings generated. obj/mess/linux/blend/mess/machine/svi318.o obj/mess/linux/blend/mess/systems/svi318.o obj/mess/linux/blend/mess/formats/svi_cas.o obj/mess/linux/blend/tutor.a obj/mess/linux/blend/mess/vidhrdw/mz700.o obj/mess/linux/blend/mess/systems/mz700.o obj/mess/linux/blend/mess/formats/mz_cas.o 4 warnings generated. obj/mess/linux/blend/mess/systems/pocketc.o 4 warnings generated. obj/mess/linux/blend/mess/vidhrdw/pc1401.o obj/mess/linux/blend/mess/machine/pc1401.o obj/mess/linux/blend/mess/vidhrdw/pc1403.o obj/mess/linux/blend/mess/machine/pc1403.o obj/mess/linux/blend/mess/machine/pc1350.o obj/mess/linux/blend/mess/vidhrdw/pc1350.o obj/mess/linux/blend/mess/vidhrdw/pc1251.o obj/mess/linux/blend/mess/machine/pc1251.o obj/mess/linux/blend/mess/vidhrdw/pocketc.o obj/mess/linux/blend/mess/machine/mz700.o obj/mess/linux/blend/mess/vidhrdw/aim65.o obj/mess/linux/blend/mess/machine/aim65.o obj/mess/linux/blend/mess/systems/aim65.o obj/mess/linux/blend/mess/vidhrdw/avigo.o obj/mess/linux/blend/mess/systems/avigo.o obj/mess/linux/blend/mess/vidhrdw/mekd2.o obj/mess/linux/blend/mess/machine/mekd2.o mess/systems/cpschngr.c:30:10: warning: cast to smaller integer type 'int' from 'void (*)(machine_config *)' (aka 'void (*)(struct _machine_config *)') [-Wpointer-to-int-cast] return ((int) construct_forgottn) | ((int) construct_sf2) | ((int) construct_qsound); ^~~~~~~~~~~~~~~~~~~~~~~~ mess/systems/cpschngr.c:30:39: warning: cast to smaller integer type 'int' from 'void (*)(machine_config *)' (aka 'void (*)(struct _machine_config *)') [-Wpointer-to-int-cast] return ((int) construct_forgottn) | ((int) construct_sf2) | ((int) construct_qsound); ^~~~~~~~~~~~~~~~~~~ mess/systems/cpschngr.c:30:63: warning: cast to smaller integer type 'int' from 'void (*)(machine_config *)' (aka 'void (*)(struct _machine_config *)') [-Wpointer-to-int-cast] return ((int) construct_forgottn) | ((int) construct_sf2) | ((int) construct_qsound); ^~~~~~~~~~~~~~~~~~~~~~ obj/mess/linux/blend/mess/systems/mekd2.o obj/mess/linux/blend/mess/vidhrdw/ssystem3.o obj/mess/linux/blend/mess/systems/ssystem3.o obj/mess/linux/blend/mess/machine/hp48.o obj/mess/linux/blend/mess/vidhrdw/hp48.o obj/mess/linux/blend/mess/systems/hp48.o obj/mess/linux/blend/mess/systems/pet.o obj/mess/linux/blend/mess/vidhrdw/pet.o obj/mess/linux/blend/mess/machine/pet.o obj/mess/linux/blend/mess/systems/c64.o obj/mess/linux/blend/mess/machine/vc20.o obj/mess/linux/blend/mess/systems/vc20.o obj/mess/linux/blend/mess/sndhrdw/ted7360.o obj/mess/linux/blend/mess/sndhrdw/t6721.o 2 warnings generated. obj/mess/linux/blend/mess/machine/c16.o obj/mess/linux/blend/mess/systems/c16.o obj/mess/linux/blend/mess/systems/cbmb.o obj/mess/linux/blend/mess/machine/cbmb.o obj/mess/linux/blend/mess/vidhrdw/cbmb.o obj/mess/linux/blend/mess/systems/c65.o obj/mess/linux/blend/mess/vidhrdw/vdc8563.o obj/mess/linux/blend/mess/systems/c128.o obj/mess/linux/blend/mess/sndhrdw/vic6560.o obj/mess/linux/blend/mess/machine/c128.o obj/mess/linux/blend/mess/vidhrdw/ted7360.o obj/mess/linux/blend/mess/vidhrdw/vic6560.o obj/mess/linux/blend/mess/machine/tpi6525.o obj/mess/linux/blend/mess/machine/cbm.o obj/mess/linux/blend/mess/machine/vc1541.o obj/mess/linux/blend/mess/machine/cbmdrive.o obj/mess/linux/blend/mess/machine/cbmieeeb.o obj/mess/linux/blend/mess/machine/cbmserb.o obj/mess/linux/blend/mess/machine/c64.o obj/mess/linux/blend/mess/machine/c65.o obj/mess/linux/blend/mess/vidhrdw/vic6567.o mess/systems/pet.c:566:47: warning: 'memcpy' call operates on objects of type 'UINT16' (aka 'unsigned short') while the size is based on a different type 'UINT16 *' (aka 'unsigned short *') [-Wsizeof-pointer-memaccess] memcpy(colortable, pet_colortable, sizeof(colortable)); ~~~~~~~~~~ ^~~~~~~~~~ mess/systems/pet.c:566:47: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memcpy(colortable, pet_colortable, sizeof(colortable)); ^~~~~~~~~~ obj/mess/linux/blend/mess/machine/vc20tape.o mess/machine/vc1541.c:677:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((vc1541->type==TypeC1551)) { ~~~~~~~~~~~~^~~~~~~~~~~ mess/machine/vc1541.c:677:19: note: remove extraneous parentheses around the comparison to silence this warning if ((vc1541->type==TypeC1551)) { ~ ^ ~ mess/machine/vc1541.c:677:19: note: use '=' to turn this equality comparison into an assignment if ((vc1541->type==TypeC1551)) { ^~ = obj/mess/linux/blend/mess/vidhrdw/kim1.o obj/mess/linux/blend/mess/machine/kim1.o obj/mess/linux/blend/mess/systems/kim1.o obj/mess/linux/blend/mess/vidhrdw/sym1.o obj/mess/linux/blend/mess/machine/sym1.o obj/mess/linux/blend/mess/systems/sym1.o obj/mess/linux/blend/mess/systems/dai.o obj/mess/linux/blend/mess/vidhrdw/dai.o obj/mess/linux/blend/mess/sndhrdw/dai.o obj/mess/linux/blend/mess/machine/tms5501.o obj/mess/linux/blend/mess/machine/dai.o obj/mess/linux/blend/mess/systems/wswan.o 1 warning generated. obj/mess/linux/blend/mess/machine/wswan.o obj/mess/linux/blend/mess/vidhrdw/wswan.o obj/mess/linux/blend/mess/sndhrdw/wswan.o obj/mess/linux/blend/mess/systems/compis.o obj/mess/linux/blend/mess/machine/compis.o obj/mess/linux/blend/mess/formats/cpis_dsk.o 1 warning generated. obj/mess/linux/blend/mess/vidhrdw/i82720.o obj/mess/linux/blend/mess/systems/pc8801.o obj/mess/linux/blend/mess/machine/pc8801.o obj/mess/linux/blend/mess/vidhrdw/pc8801.o obj/mess/linux/blend/mess/formats/fmsx_cas.o obj/mess/linux/blend/mess/systems/msx.o obj/mess/linux/blend/mess/machine/msx_slot.o obj/mess/linux/blend/mess/machine/msx.o 1 warning generated. obj/mess/linux/blend/mess/systems/mtx.o obj/mess/linux/blend/mess/vidhrdw/intv.o obj/mess/linux/blend/mess/vidhrdw/stic.o obj/mess/linux/blend/mess/machine/intv.o mess/systems/compis.c:98:60: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(" `") PORT_CODE(KEYCODE_EQUALS) ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/compis.c:113:60: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(" ") PORT_CODE(KEYCODE_OPENBRACE) ^~~~ ~~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/compis.c:114:60: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(" ") PORT_CODE(KEYCODE_CLOSEBRACE) ^~~~ ~~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/mess/linux/blend/mess/sndhrdw/intv.o mess/systems/compis.c:128:60: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(" ") PORT_CODE(KEYCODE_COLON) ^~~~ ~~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/compis.c:129:60: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(" ") PORT_CODE(KEYCODE_QUOTE) ^~~~ ~~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/compis.c:152:61: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("SK") PORT_CODE(KEYCODE_PRTSCR) ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/compis.c:153:64: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("UTPLNA") PORT_CODE(KEYCODE_DEL) ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/mess/linux/blend/mess/systems/intv.o obj/mess/linux/blend/mess/systems/studio2.o obj/mess/linux/blend/mess/vidhrdw/studio2.o obj/mess/linux/blend/mess/systems/mpf1.o obj/mess/linux/blend/mess/systems/telmac.o obj/mess/linux/blend/mess/vidhrdw/cdp186x.o obj/mess/linux/blend/mess/vidhrdw/crt.o 7 warnings generated. obj/mess/linux/blend/mess/systems/tx0.o obj/mess/linux/blend/mess/machine/tx0.o obj/mess/linux/blend/mess/vidhrdw/tx0.o obj/mess/linux/blend/mess/systems/abc80.o obj/mess/linux/blend/mess/machine/sgi.o obj/mess/linux/blend/mess/systems/ip20.o obj/mess/linux/blend/mess/systems/ip22.o obj/mess/linux/blend/mess/machine/wd33c93.o obj/mess/linux/blend/machine/scsihd.o mess/systems/telmac.c:488:87: warning: illegal character encoding in character literal [-Winvalid-source-encoding] PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR('') ^ mess/systems/telmac.c:489:83: warning: illegal character encoding in character literal [-Winvalid-source-encoding] PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_QUOTE) PORT_CHAR('') ^ mess/systems/telmac.c:490:83: warning: illegal character encoding in character literal [-Winvalid-source-encoding] PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_COLON) PORT_CHAR('') ^ obj/mess/linux/blend/mess/vidhrdw/newport.o obj/mess/linux/blend/machine/scsicd.o obj/mess/linux/blend/mess/systems/primo.o obj/mess/linux/blend/mess/machine/primo.o mess/systems/abc80.c:849:62: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT (0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("4 ") PORT_CODE(KEYCODE_4) ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/abc80.c:858:60: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT (0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME(" ") PORT_CODE(KEYCODE_EQUALS) ^~~~ ~~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/abc80.c:871:60: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT (0x80, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME(" ") PORT_CODE(KEYCODE_OPENBRACE) ^~~~ ~~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/abc80.c:873:60: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT (0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME(" ") PORT_CODE(KEYCODE_CLOSEBRACE) ^~~~ ~~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/abc80.c:884:60: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT (0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME(" ") PORT_CODE(KEYCODE_COLON) ^~~~ ~~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/mess/linux/blend/mess/vidhrdw/primo.o mess/systems/abc80.c:885:60: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT (0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME(" ") PORT_CODE(KEYCODE_QUOTE) ^~~~ ~~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/mess/linux/blend/mess/formats/primoptp.o obj/mess/linux/blend/mess/machine/dgn_beta.o obj/mess/linux/blend/mess/vidhrdw/dgn_beta.o obj/mess/linux/blend/mess/systems/dgn_beta.o obj/mess/linux/blend/mess/systems/bebox.o obj/mess/linux/blend/mess/machine/bebox.o obj/mess/linux/blend/machine/pci.o obj/mess/linux/blend/mess/machine/mpc105.o obj/mess/linux/blend/machine/intelfsh.o obj/mess/linux/blend/mess/vidhrdw/cirrus.o obj/mess/linux/blend/machine/53c810.o obj/mess/linux/blend/mess/systems/gamecom.o obj/mess/linux/blend/mess/machine/gamecom.o obj/mess/linux/blend/mess/vidhrdw/gamecom.o obj/menu/linux/blend/blit mess/systems/primo.c:197:63: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x0001, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("<81>") PORT_CODE(KEYCODE_EQUALS) PORT_CHAR(UCHAR_MAMEKEY(F2)) ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/primo.c:200:63: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x0008, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("") PORT_CODE(KEYCODE_END) PORT_CHAR(UCHAR_MAMEKEY(F3)) ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/menu/linux/blend/lib obj/menu/linux/blend/linux mess/systems/primo.c:207:63: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x0400, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("<82>") PORT_CODE(KEYCODE_COLON) PORT_CHAR(UCHAR_MAMEKEY(F4)) ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/primo.c:208:63: warning: illegal character encoding in string literal [-Winvalid-source-encoding] obj/menu/linux/blend/menu PORT_BIT( 0x0800, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("") PORT_CODE(KEYCODE_CLOSEBRACE) PORT_CHAR(UCHAR_MAMEKEY(F5)) ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/systems/primo.c:209:63: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x1000, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("") PORT_CODE(KEYCODE_QUOTE) PORT_CHAR(UCHAR_MAMEKEY(F6)) ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ obj/menu/linux/blend/mpglib mess/formats/primoptp.c:161:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] logerror ("Samples (pause): %d\n", p-buffer); ~~ ^~~~~~~~ %ld mess/systems/primo.c:211:63: warning: illegal character encoding in string literal [-Winvalid-source-encoding] PORT_BIT( 0x4000, IP_ACTIVE_HIGH, IPT_KEYBOARD ) PORT_NAME("<94>") PORT_CODE(KEYCODE_OPENBRACE) PORT_CHAR(UCHAR_MAMEKEY(F7)) ^~~~ ./srcmess/inptport.h:593:16: note: expanded from macro 'PORT_NAME' port->name = (name_); \ ^~~~~ mess/formats/primoptp.c:167:43: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] logerror ("Samples (file pilot): %d\n", p-buffer); ~~ ^~~~~~~~ %ld mess/formats/primoptp.c:188:45: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] logerror ("Samples (block pilot): %d\n", p-buffer); ~~ ^~~~~~~~ %ld mess/formats/primoptp.c:197:44: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] logerror ("Samples (block data): %d\n", p-buffer); ~~ ^~~~~~~~ %ld obj/menu/linux/blend/sdl obj/menu/linux/blend/menu/category.o obj/menu/linux/blend/menu/choice.o obj/menu/linux/blend/menu/common.o obj/menu/linux/blend/menu/crc.o mess/machine/mpc105.c:66:14: warning: cast to 'read64_handler' (aka 'unsigned long long (*)(unsigned int, unsigned long long)') from smaller integer type 'int' [-Wint-to-pointer-cast] 0, 0, (read64_handler) (bank + mpc105->bank_base)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./srcmess/memory.h:1034:71: note: expanded from macro 'memory_install_read64_handler' _memory_install_read64_handler(cpu, space, start, end, mask, mirror, handler, #handler) ^~~~~~~ mess/machine/mpc105.c:68:14: warning: cast to 'write64_handler' (aka 'void (*)(unsigned int, unsigned long long, unsigned long long)') from smaller integer type 'int' [-Wint-to-pointer-cast] 0, 0, (write64_handler) (bank + mpc105->bank_base)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./srcmess/memory.h:1045:72: note: expanded from macro 'memory_install_write64_handler' _memory_install_write64_handler(cpu, space, start, end, mask, mirror, handler, #handler) ^~~~~~~ obj/menu/linux/blend/menu/emulator.o obj/menu/linux/blend/menu/emuxml.o 4 warnings generated. obj/menu/linux/blend/menu/game.o mess/systems/dgn_beta.c:320:48: warning: 'memcpy' call operates on objects of type 'UINT16' (aka 'unsigned short') while the size is based on a different type 'UINT16 *' (aka 'unsigned short *') [-Wsizeof-pointer-memaccess] memcpy(colortable, dgnbeta_colortable, sizeof(colortable)); ~~~~~~~~~~ ^~~~~~~~~~ mess/systems/dgn_beta.c:320:48: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memcpy(colortable, dgnbeta_colortable, sizeof(colortable)); ^~~~~~~~~~ mess/vidhrdw/gamecom.c:19:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if ( ! internal_registers[SM8521_LCDC] & 0x80 ) { ^ ~ mess/vidhrdw/gamecom.c:19:7: note: add parentheses after the '!' to evaluate the bitwise operator first if ( ! internal_registers[SM8521_LCDC] & 0x80 ) { ^ ( ) mess/vidhrdw/gamecom.c:19:7: note: add parentheses around left hand side expression to silence this warning if ( ! internal_registers[SM8521_LCDC] & 0x80 ) { ^ ( ) obj/menu/linux/blend/menu/mconfig.o mess/machine/gamecom.c:86:36: warning: 'memset' call operates on objects of type 'UINT8' (aka 'unsigned char') while the size is based on a different type 'UINT8 *' (aka 'unsigned char *') [-Wsizeof-pointer-memaccess] memset( dummy_bank, 0xff, sizeof( dummy_bank ) ); ~~~~~~~~~~ ^~~~~~~~~~ mess/machine/gamecom.c:86:36: note: did you mean to provide an explicit length? memset( dummy_bank, 0xff, sizeof( dummy_bank ) ); ^~~~~~~~~~ 3 warnings generated. obj/menu/linux/blend/menu/menu.o obj/menu/linux/blend/menu/submenu.o 1 warning generated. 2 warnings generated. obj/menu/linux/blend/menu/mm.o obj/menu/linux/blend/menu/play.o obj/menu/linux/blend/menu/playdef.o obj/menu/linux/blend/menu/resource.o obj/menu/linux/blend/menu/text.o obj/menu/linux/blend/menu/event.o 6 warnings generated. obj/menu/linux/blend/menu/color.o 6 warnings generated. obj/menu/linux/blend/lib/portable.o obj/menu/linux/blend/lib/snstring.o obj/menu/linux/blend/lib/log.o obj/menu/linux/blend/lib/mng.o obj/menu/linux/blend/lib/bitmap.o obj/menu/linux/blend/lib/fz.o 1 warning generated. 1 warning generated. obj/menu/linux/blend/lib/unzip.o obj/menu/linux/blend/lib/mixer.o obj/menu/linux/blend/lib/wave.o obj/menu/linux/blend/lib/png.o obj/menu/linux/blend/lib/pngdef.o obj/menu/linux/blend/lib/pcx.o obj/menu/linux/blend/lib/icon.o obj/menu/linux/blend/lib/fontdef.o obj/menu/linux/blend/lib/font.o obj/menu/linux/blend/lib/video.o obj/menu/linux/blend/lib/measure.o obj/menu/linux/blend/lib/rgb.o In file included from advance/menu/category.cc:23: In file included from advance/menu/category.h:24: advance/menu/game.h:294:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_name_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/category.cc:23: In file included from advance/menu/category.h:24: advance/menu/game.h:301:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_play_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/category.cc:23: advance/menu/category.h:73:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct pcategory_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ obj/menu/linux/blend/lib/conf.o In file included from advance/menu/common.cc:24: In file included from advance/menu/crc.h:24: advance/menu/game.h:294:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_name_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/common.cc:24: In file included from advance/menu/crc.h:24: advance/menu/game.h:301:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_play_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/crc.cc:23: In file included from advance/menu/crc.h:24: advance/menu/game.h:294:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_name_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/crc.cc:23: In file included from advance/menu/crc.h:24: advance/menu/game.h:301:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_play_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ obj/menu/linux/blend/lib/key.o In file included from advance/menu/mconfig.cc:23: In file included from advance/menu/mconfig.h:24: advance/menu/game.h:294:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_name_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/mconfig.cc:23: In file included from advance/menu/mconfig.h:24: advance/menu/game.h:301:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_play_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/mconfig.cc:23: In file included from advance/menu/mconfig.h:25: advance/menu/category.h:73:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] obj/menu/linux/blend/lib/joy.o struct pcategory_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/game.cc:23: In file included from advance/menu/category.h:24: advance/menu/game.h:294:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_name_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/game.cc:23: In file included from advance/menu/category.h:24: advance/menu/game.h:301:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_play_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/emuxml.cc:23: In file included from advance/menu/emulator.h:24: advance/menu/game.h:294:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_name_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/emuxml.cc:23: In file included from advance/menu/emulator.h:24: advance/menu/game.h:301:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_play_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ obj/menu/linux/blend/lib/mouse.o In file included from advance/menu/game.cc:23: advance/menu/category.h:73:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct pcategory_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/menu.cc:23: advance/menu/game.h:294:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_name_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__))In file included from advance/menu/submenu.cc ^: 23: In file included from advance/menu/submenu.h:24: In file included from advance/menu/mconfig.h:24: advance/menu/game.h:294:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_name_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.hIn file included from :advance/menu/menu.cc94::2346: :advance/menu/game.h :note: 301expanded from macro '_GLIBCXX_DEPRECATED': 33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ struct game_by_play_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/submenu.cc:23: In file included from advance/menu/submenu.h:24: In file included from advance/menu/mconfig.h:24: advance/menu/game.h:301:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_play_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/mm.cc:23: In file included from advance/menu/mconfig.h:24: advance/menu/game.h:294:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_name_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/mm.cc:23: In file included from advance/menu/mconfig.h:24: advance/menu/game.h:301:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_play_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/submenu.cc:23: In file included from advance/menu/submenu.h:24: In file included from advance/menu/mconfig.h:25: advance/menu/category.h:73:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct pcategory_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/mm.cc:23: In file included from advance/menu/mconfig.h:25: advance/menu/category.h:73:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct pcategory_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ obj/menu/linux/blend/lib/incstr.o obj/menu/linux/blend/lib/videoio.o 3 warnings generated. obj/menu/linux/blend/lib/update.o obj/menu/linux/blend/lib/generate.o obj/menu/linux/blend/lib/crtc.o obj/menu/linux/blend/lib/crtcbag.o obj/menu/linux/blend/lib/monitor.o obj/menu/linux/blend/lib/device.o obj/menu/linux/blend/lib/sounddrv.o obj/menu/linux/blend/lib/snone.o advance/lib/generate.c:289:6: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^ advance/lib/generate.c:289:6: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^~~ advance/lib/generate.c:464:6: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^ advance/lib/generate.c:464:6: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^~~ advance/lib/crtc.c:176:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^ advance/lib/crtc.c:176:28: note: remove the call to 'fabs' since unsigned values cannot be negative if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^~~~ advance/lib/crtc.c:183:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^ advance/lib/crtc.c:183:28: note: remove the call to 'fabs' since unsigned values cannot be negative if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^~~~ advance/lib/crtc.c:306:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:306:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:319:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:319:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:358:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:358:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:368:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:368:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:468:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:468:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:468:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:468:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:479:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:479:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:479:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:479:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:490:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:490:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:490:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:490:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:511:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:511:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:511:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:511:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ obj/menu/linux/blend/lib/keydrv.o advance/lib/crtc.c:524:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:524:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:524:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:524:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:537:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:537:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:537:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:537:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ obj/menu/linux/blend/lib/keyall.o In file included from advance/menu/emulator.cc:24: In file included from advance/menu/emulator.h:24: advance/menu/game.h:294:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_name_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/emulator.cc:24: In file included from advance/menu/emulator.h:24: advance/menu/game.h:301:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_play_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ obj/menu/linux/blend/lib/knone.o 1 warning generated. obj/menu/linux/blend/lib/mousedrv.o In file included from advance/menu/emulator.cc:25: In file included from advance/menu/submenu.h:24: In file included from advance/menu/mconfig.h:25: advance/menu/category.h:73:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct pcategory_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ obj/menu/linux/blend/lib/mouseall.o obj/menu/linux/blend/lib/mnone.o obj/menu/linux/blend/lib/joydrv.o obj/menu/linux/blend/lib/joyall.o In file included from advance/menu/menu.cc:26: In file included from advance/menu/menu.h:24: In file included from advance/menu/mconfig.h:25: advance/menu/category.h:73:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct pcategory_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/text.cc:26: In file included from advance/menu/mconfig.h:24: advance/menu/game.h:294:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_name_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ In file included from advance/menu/text.cc:26: In file included from advance/menu/mconfig.h:24: advance/menu/game.h:301:33: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct game_by_play_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ obj/menu/linux/blend/lib/jnone.o In file included from advance/menu/text.cc:26: In file included from advance/menu/mconfig.h:25: advance/menu/category.h:73:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct pcategory_less : std::binary_function { ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/bits/stl_function.h:141:7: note: 'binary_function' has been explicitly marked deprecated here } _GLIBCXX11_DEPRECATED; ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:103:32: note: expanded from macro '_GLIBCXX11_DEPRECATED' # define _GLIBCXX11_DEPRECATED _GLIBCXX_DEPRECATED ^ /usr/bin/../lib/gcc/x86_64-alpine-linux-musl/12.1.1/../../../../include/c++/12.1.1/x86_64-alpine-linux-musl/bits/c++config.h:94:46: note: expanded from macro '_GLIBCXX_DEPRECATED' # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__)) ^ obj/menu/linux/blend/lib/readinfo.o obj/menu/linux/blend/lib/soundall.o 2 warnings generated. obj/menu/linux/blend/lib/videoall.o obj/menu/linux/blend/lib/vnone.o obj/menu/linux/blend/lib/error.o obj/menu/linux/blend/lib/filter.o obj/menu/linux/blend/lib/complex.o obj/menu/linux/blend/blit/hq2x.o obj/menu/linux/blend/blit/hq2x3.o 18 warnings generated. obj/menu/linux/blend/blit/hq2x4.o obj/menu/linux/blend/blit/hq3x.o obj/menu/linux/blend/blit/hq4x.o obj/menu/linux/blend/blit/xbr2x.o 3 warnings generated. obj/menu/linux/blend/blit/xbr3x.o obj/menu/linux/blend/blit/xbr4x.o obj/menu/linux/blend/blit/scale2x.o obj/menu/linux/blend/blit/scale3x.o obj/menu/linux/blend/blit/scale2k.o obj/menu/linux/blend/blit/scale3k.o obj/menu/linux/blend/blit/scale4k.o obj/menu/linux/blend/blit/interp.o obj/menu/linux/blend/blit/clear.o obj/menu/linux/blend/blit/blit.o advance/menu/mconfig.cc:1723:47: warning: illegal character encoding in character literal [-Winvalid-source-encoding] if (main_text.length() && main_text[0] == '') ^ obj/menu/linux/blend/blit/slice.o advance/menu/emulator.cc:2206:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] target_err(error.c_str()); ^~~~~~~~~~~~~ advance/menu/emulator.cc:2206:17: note: treat the string as an argument to avoid this target_err(error.c_str()); ^ "%s", obj/menu/linux/blend/mpglib/interfac.o obj/menu/linux/blend/mpglib/internal.o obj/menu/linux/blend/mpglib/decode.o obj/menu/linux/blend/mpglib/dct64.o 3 warnings generated. obj/menu/linux/blend/mpglib/layer3.o obj/menu/linux/blend/mpglib/tabinit.o obj/menu/linux/blend/linux/file.o 2 warnings generated. obj/menu/linux/blend/linux/target.o obj/menu/linux/blend/linux/os.o obj/menu/linux/blend/linux/vfb.o obj/menu/linux/blend/linux/salsa.o obj/menu/linux/blend/linux/soss.o 2 warnings generated. obj/menu/linux/blend/linux/kraw.o obj/menu/linux/blend/linux/jraw.o obj/menu/linux/blend/linux/mraw.o obj/menu/linux/blend/linux/kevent.o obj/menu/linux/blend/linux/mevent.o obj/menu/linux/blend/linux/jevent.o obj/menu/linux/blend/linux/event.o obj/menu/linux/blend/sdl/vsdl.o obj/menu/linux/blend/sdl/ssdl.o In file included from advance/linux/mraw.c:45: ./advance/linux/ms.c:545:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((context->type == MOUSE_SPACEBALL)) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./advance/linux/ms.c:545:21: note: remove extraneous parentheses around the comparison to silence this warning if ((context->type == MOUSE_SPACEBALL)) { ~ ^ ~ ./advance/linux/ms.c:545:21: note: use '=' to turn this equality comparison into an assignment if ((context->type == MOUSE_SPACEBALL)) { ^~ = ./advance/linux/ms.c:575:23: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((context->type == MOUSE_SPACEBALL)) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./advance/linux/ms.c:575:23: note: remove extraneous parentheses around the comparison to silence this warning if ((context->type == MOUSE_SPACEBALL)) { ~ ^ ~ ./advance/linux/ms.c:575:23: note: use '=' to turn this equality comparison into an assignment if ((context->type == MOUSE_SPACEBALL)) { ^~ = obj/menu/linux/blend/sdl/ksdl.o obj/menu/linux/blend/sdl/msdl.o advance/linux/event.c:1418:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_VENDOR], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1419:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_PRODUCT], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1420:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_VERSION], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1421:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_BUS], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ 2 warnings generated. obj/menu/linux/blend/sdl/jsdl.o obj/cfg/linux/blend/blit obj/cfg/linux/blend/cfg obj/cfg/linux/blend/lib obj/cfg/linux/blend/linux obj/cfg/linux/blend/v obj/cfg/linux/blend/lib/portable.o obj/cfg/linux/blend/lib/snstring.o obj/cfg/linux/blend/lib/log.o obj/cfg/linux/blend/lib/video.o obj/cfg/linux/blend/lib/measure.o obj/cfg/linux/blend/lib/rgb.o obj/cfg/linux/blend/lib/conf.o obj/cfg/linux/blend/lib/incstr.o obj/cfg/linux/blend/lib/videoio.o obj/cfg/linux/blend/lib/update.o obj/cfg/linux/blend/lib/generate.o obj/cfg/linux/blend/lib/crtc.o obj/cfg/linux/blend/lib/monitor.o obj/cfg/linux/blend/lib/crtcbag.o obj/cfg/linux/blend/lib/gtf.o obj/cfg/linux/blend/lib/device.o advance/lib/generate.c:289:6: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^ advance/lib/generate.c:289:6: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^~~ advance/lib/generate.c:464:6: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^ advance/lib/generate.c:464:6: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^~~ advance/lib/crtc.c:176:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^ advance/lib/crtc.c:176:28: note: remove the call to 'fabs' since unsigned values cannot be negative if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^~~~ advance/lib/crtc.c:183:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^ advance/lib/crtc.c:183:28: note: remove the call to 'fabs' since unsigned values cannot be negative if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^~~~ advance/lib/crtc.c:306:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:306:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:319:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:319:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:358:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:358:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:368:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:368:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:468:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:468:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:468:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:468:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:479:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:479:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:479:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:479:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:490:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:490:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:490:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:490:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:511:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:511:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:511:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:511:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:524:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:524:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:524:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:524:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:537:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:537:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:537:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:537:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ obj/cfg/linux/blend/lib/inputall.o advance/lib/gtf.c:85:29: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (crtc->vde != vsize && abs(crtc->vde - vsize) <= CRTC_VSTEP) ^ advance/lib/gtf.c:85:29: note: remove the call to 'abs' since unsigned values cannot be negative if (crtc->vde != vsize && abs(crtc->vde - vsize) <= CRTC_VSTEP) ^~~ obj/cfg/linux/blend/lib/inputdrv.o 4 warnings generated. obj/cfg/linux/blend/lib/videoall.o 1 warning generated. obj/cfg/linux/blend/lib/error.o obj/cfg/linux/blend/blit/blit.o obj/cfg/linux/blend/blit/clear.o obj/cfg/linux/blend/blit/slice.o obj/cfg/linux/blend/cfg/cfg.o 2 warnings generated. 2 warnings generated. obj/cfg/linux/blend/cfg/list.o obj/cfg/linux/blend/cfg/edid.o obj/cfg/linux/blend/v/draw.o obj/cfg/linux/blend/linux/file.o obj/cfg/linux/blend/linux/target.o obj/cfg/linux/blend/linux/os.o obj/cfg/linux/blend/linux/vslang.o 18 warnings generated. obj/cfg/linux/blend/linux/itty.o obj/cfg/linux/blend/linux/vfb.o obj/v/linux/blend/blit obj/v/linux/blend/lib obj/v/linux/blend/linux obj/v/linux/blend/v obj/v/linux/blend/lib/portable.o advance/v/draw.c:119:11: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ad = abs(as - 640 * 480); ^ advance/v/draw.c:119:11: note: remove the call to 'abs' since unsigned values cannot be negative int ad = abs(as - 640 * 480); ^~~ advance/v/draw.c:120:11: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int bd = abs(bs - 640 * 480); ^ advance/v/draw.c:120:11: note: remove the call to 'abs' since unsigned values cannot be negative int bd = abs(bs - 640 * 480); ^~~ obj/v/linux/blend/lib/snstring.o advance/v/draw.c:868:37: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(i, text_size_y(), '', DRAW_COLOR_RED); ^ advance/v/draw.c:871:37: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(text_size_x(), j, '', DRAW_COLOR_RED); ^ advance/v/draw.c:876:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(i, 0, '', DRAW_COLOR_GRAY); ^ advance/v/draw.c:877:41: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(i, text_size_y() - 1, '', DRAW_COLOR_GRAY); ^ advance/v/draw.c:880:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(0, j, '', DRAW_COLOR_GRAY); ^ advance/v/draw.c:881:41: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(text_size_x() - 1, j, '', DRAW_COLOR_GRAY); ^ advance/v/draw.c:887:26: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(i, j, '', DRAW_COLOR_GRAY); ^ obj/v/linux/blend/lib/log.o obj/v/linux/blend/lib/video.o obj/v/linux/blend/lib/measure.o obj/v/linux/blend/lib/rgb.o obj/v/linux/blend/lib/conf.o obj/v/linux/blend/lib/incstr.o obj/v/linux/blend/lib/videoio.o obj/v/linux/blend/lib/update.o obj/v/linux/blend/lib/generate.o obj/v/linux/blend/lib/crtc.o obj/v/linux/blend/lib/crtcbag.o obj/v/linux/blend/lib/monitor.o obj/v/linux/blend/lib/device.o obj/v/linux/blend/lib/gtf.o obj/v/linux/blend/lib/inputall.o obj/v/linux/blend/lib/inputdrv.o obj/v/linux/blend/lib/videoall.o advance/lib/crtc.c:176:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^ advance/lib/crtc.c:176:28: note: remove the call to 'fabs' since unsigned values cannot be negative if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^~~~ advance/lib/crtc.c:183:28: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^ advance/lib/crtc.c:183:28: note: remove the call to 'fabs' since unsigned values cannot be negative if (!best_size_found || fabs(try_size - size) < fabs(best_size - size)) { ^~~~ advance/lib/crtc.c:306:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:306:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:319:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:319:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:358:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:358:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:368:50: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^ advance/lib/crtc.c:368:50: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - vtotal) < abs(best_vtotal - vtotal)) { ^~~ advance/lib/crtc.c:468:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:468:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:468:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:468:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:479:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:479:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:479:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:479:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/generate.c:289advance/lib/crtc.c::6490:: 24warning: :taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^ if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:490:24: note: remove the call to 'abs' since unsigned values cannot be negative advance/lib/generate.c:289:6: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^~~ advance/lib/crtc.c:490:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:490:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:511:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:511:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:511:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:511:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:524:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:524:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:524:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:524:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:537:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:537:24: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/crtc.c:537:56: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^ advance/lib/crtc.c:537:56: note: remove the call to 'abs' since unsigned values cannot be negative if (!best_found || abs(try_vtotal - *req_vtotal) < abs(best_vtotal - *req_vtotal)) { ^~~ advance/lib/generate.c:464:6: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^ advance/lib/generate.c:464:6: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(crtc->vde - vsize) <= CRTC_VSTEP ^~~ obj/v/linux/blend/lib/error.o obj/v/linux/blend/blit/blit.o obj/v/linux/blend/blit/clear.o 3 warnings generated. obj/v/linux/blend/blit/slice.o obj/v/linux/blend/v/v.o advance/lib/gtf.c:85:29: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (crtc->vde != vsize && abs(crtc->vde - vsize) <= CRTC_VSTEP) ^ advance/lib/gtf.c:85:29: note: remove the call to 'abs' since unsigned values cannot be negative if (crtc->vde != vsize && abs(crtc->vde - vsize) <= CRTC_VSTEP) ^~~ obj/v/linux/blend/v/draw.o obj/v/linux/blend/linux/file.o obj/v/linux/blend/linux/target.o obj/v/linux/blend/linux/os.o 1 warning generated. obj/v/linux/blend/linux/vslang.o obj/v/linux/blend/linux/itty.o obj/v/linux/blend/linux/vfb.o obj/s/linux/blend/lib obj/s/linux/blend/linux obj/s/linux/blend/mpglib obj/s/linux/blend/s obj/s/linux/blend/sdl obj/s/linux/blend/lib/portable.o 3 warnings generated. obj/s/linux/blend/lib/snstring.o 2 warnings generated. obj/s/linux/blend/lib/log.o obj/s/linux/blend/lib/measure.o advance/v/v.c:225:11: warning: illegal character encoding in character literal [-Winvalid-source-encoding] tag = ''; ^ advance/v/v.c:235:11: warning: illegal character encoding in character literal [-Winvalid-source-encoding] tag = ''; ^ advance/v/draw.c:119:11: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int ad = abs(as - 640 * 480); ^ advance/v/draw.c:119:11: note: remove the call to 'abs' since unsigned values cannot be negative int ad = abs(as - 640 * 480); ^~~ advance/v/draw.c:120:11: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] int bd = abs(bs - 640 * 480); ^ advance/v/draw.c:120:11: note: remove the call to 'abs' since unsigned values cannot be negative int bd = abs(bs - 640 * 480); ^~~ obj/s/linux/blend/lib/conf.o advance/v/draw.c:868:37: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(i, text_size_y(), '', DRAW_COLOR_RED); ^ advance/v/draw.c:871:37: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(text_size_x(), j, '', DRAW_COLOR_RED); ^ advance/v/draw.c:876:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(i, 0, '', DRAW_COLOR_GRAY); ^ advance/v/draw.c:877:41: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(i, text_size_y() - 1, '', DRAW_COLOR_GRAY); ^ advance/v/draw.c:880:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(0, j, '', DRAW_COLOR_GRAY); ^ advance/v/draw.c:881:41: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(text_size_x() - 1, j, '', DRAW_COLOR_GRAY); ^ advance/v/draw.c:887:26: warning: illegal character encoding in character literal [-Winvalid-source-encoding] video_put_char(i, j, '', DRAW_COLOR_GRAY); ^ obj/s/linux/blend/lib/incstr.o 18 warnings generated. obj/s/linux/blend/lib/sounddrv.o obj/s/linux/blend/lib/device.o obj/s/linux/blend/lib/mixer.o obj/s/linux/blend/lib/wave.o obj/s/linux/blend/lib/fz.o obj/s/linux/blend/lib/soundall.o 9 warnings generated. obj/s/linux/blend/lib/error.o obj/s/linux/blend/mpglib/dct64.o obj/s/linux/blend/mpglib/decode.o obj/s/linux/blend/mpglib/interfac.o obj/s/linux/blend/mpglib/internal.o obj/s/linux/blend/mpglib/layer3.o obj/s/linux/blend/mpglib/tabinit.o obj/s/linux/blend/s/s.o obj/s/linux/blend/linux/file.o obj/s/linux/blend/linux/target.o obj/s/linux/blend/linux/os.o obj/s/linux/blend/linux/salsa.o obj/s/linux/blend/linux/soss.o obj/s/linux/blend/sdl/ssdl.o obj/k/linux/blend/k obj/k/linux/blend/lib obj/k/linux/blend/linux obj/k/linux/blend/k/k.o obj/k/linux/blend/lib/portable.o obj/k/linux/blend/lib/snstring.o obj/k/linux/blend/lib/log.o obj/k/linux/blend/lib/measure.o obj/k/linux/blend/lib/conf.o obj/k/linux/blend/lib/incstr.o obj/k/linux/blend/lib/key.o obj/k/linux/blend/lib/device.o obj/k/linux/blend/lib/keydrv.o obj/k/linux/blend/lib/keyall.o obj/k/linux/blend/lib/knone.o obj/k/linux/blend/lib/error.o obj/k/linux/blend/linux/file.o obj/k/linux/blend/linux/target.o obj/k/linux/blend/linux/os.o obj/k/linux/blend/linux/kraw.o obj/k/linux/blend/linux/event.o obj/k/linux/blend/linux/kevent.o obj/j/linux/blend/j obj/j/linux/blend/lib obj/j/linux/blend/linux 9 warnings generated. obj/j/linux/blend/sdl obj/j/linux/blend/j/j.o obj/j/linux/blend/lib/portable.o obj/j/linux/blend/lib/snstring.o obj/j/linux/blend/lib/log.o obj/j/linux/blend/lib/measure.o obj/j/linux/blend/lib/conf.o 2 warnings generated. obj/j/linux/blend/lib/incstr.o obj/j/linux/blend/lib/device.o advance/linux/event.c:1418:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_VENDOR], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1419:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_PRODUCT], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1420:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_VERSION], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1421:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_BUS], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ obj/j/linux/blend/lib/joyall.o obj/j/linux/blend/lib/joydrv.o obj/j/linux/blend/lib/jnone.o obj/j/linux/blend/linux/file.o obj/j/linux/blend/lib/error.o obj/j/linux/blend/linux/target.o obj/j/linux/blend/linux/os.o obj/j/linux/blend/sdl/jsdl.o obj/j/linux/blend/linux/jraw.o obj/j/linux/blend/linux/jevent.o obj/j/linux/blend/linux/event.o obj/m/linux/blend/lib obj/m/linux/blend/linux obj/m/linux/blend/m obj/m/linux/blend/m/m.o obj/m/linux/blend/lib/portable.o obj/m/linux/blend/lib/measure.o obj/m/linux/blend/lib/snstring.o obj/m/linux/blend/lib/log.o obj/m/linux/blend/lib/conf.o advance/linux/event.c:1418:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_VENDOR], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1419:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_PRODUCT], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1420:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_VERSION], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1421:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_BUS], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ obj/m/linux/blend/lib/incstr.o obj/m/linux/blend/lib/device.o 4 warnings generated. obj/m/linux/blend/lib/mousedrv.o obj/m/linux/blend/lib/mouseall.o obj/m/linux/blend/lib/mnone.o 4 warnings generated. obj/m/linux/blend/lib/error.o obj/m/linux/blend/linux/file.o obj/m/linux/blend/linux/target.o obj/m/linux/blend/linux/os.o obj/m/linux/blend/linux/mraw.o obj/m/linux/blend/linux/event.o obj/m/linux/blend/linux/mevent.o In file included from advance/linux/mraw.c:45: ./advance/linux/ms.c:545:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((context->type == MOUSE_SPACEBALL)) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./advance/linux/ms.c:545:21: note: remove extraneous parentheses around the comparison to silence this warning if ((context->type == MOUSE_SPACEBALL)) { ~ ^ ~ ./advance/linux/ms.c:545:21: note: use '=' to turn this equality comparison into an assignment if ((context->type == MOUSE_SPACEBALL)) { ^~ = ./advance/linux/ms.c:575:23: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((context->type == MOUSE_SPACEBALL)) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./advance/linux/ms.c:575:23: note: remove extraneous parentheses around the comparison to silence this warning if ((context->type == MOUSE_SPACEBALL)) { ~ ^ ~ ./advance/linux/ms.c:575:23: note: use '=' to turn this equality comparison into an assignment if ((context->type == MOUSE_SPACEBALL)) { ^~ = obj/d2/linux/d2 obj/d2/linux/d2/d2.o 3 warnings generated. 4 warnings generated. advance/linux/event.c:1418:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_VENDOR], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1419:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_PRODUCT], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1420:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_VERSION], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ advance/linux/event.c:1421:4: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] (unsigned)device_info[ID_BUS], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./advance/lib/log.h:69:26: note: expanded from macro 'log_std' #define log_std(a) log_f a ^ 3 warnings generated. 2 warnings generated. 4 warnings generated. 4 warnings generated. obj/mame/linux/blend/cpu/m68000/m68kcpu.o obj/mame/linux/blend/cpu/m68000/m68kopac.o obj/mame/linux/blend/cpu/m68000/m68kopdm.o obj/mame/linux/blend/cpu/m68000/m68kopnz.o obj/mame/linux/blend/cpu/m68000/m68kops.o obj/mame/linux/blend/alba.a obj/mame/linux/blend/alliedl.a obj/mame/linux/blend/alpha.a obj/mame/linux/blend/amiga.a obj/mame/linux/blend/atari.a obj/mame/linux/blend/atlus.a obj/mame/linux/blend/bfm.a obj/mame/linux/blend/capcom.a obj/mame/linux/blend/cinemat.a obj/mame/linux/blend/comad.a obj/mame/linux/blend/cvs.a obj/mame/linux/blend/dataeast.a obj/mame/linux/blend/dooyong.a obj/mame/linux/blend/dynax.a obj/mame/linux/blend/edevices.a obj/mame/linux/blend/eolith.a obj/mame/linux/blend/excelent.a obj/mame/linux/blend/exidy.a obj/mame/linux/blend/f32.a obj/mame/linux/blend/fuuki.a obj/mame/linux/blend/gaelco.a obj/mame/linux/blend/gameplan.a obj/mame/linux/blend/gametron.a obj/mame/linux/blend/gottlieb.a obj/mame/linux/blend/greyhnd.a obj/mame/linux/blend/igs.a obj/mame/linux/blend/irem.a obj/mame/linux/blend/itech.a obj/mame/linux/blend/jaleco.a obj/mame/linux/blend/kaneko.a obj/mame/linux/blend/konami.a obj/mame/linux/blend/meadows.a obj/mame/linux/blend/merit.a obj/mame/linux/blend/metro.a obj/mame/linux/blend/midcoin.a obj/mame/linux/blend/midw8080.a obj/mame/linux/blend/midway.a obj/mame/linux/blend/namco.a obj/mame/linux/blend/nasco.a obj/mame/linux/blend/neogeo.a obj/mame/linux/blend/nichibut.a obj/mame/linux/blend/nintendo.a obj/mame/linux/blend/nix.a obj/mame/linux/blend/nmk.a obj/mame/linux/blend/omori.a obj/mame/linux/blend/olympia.a obj/mame/linux/blend/orca.a obj/mame/linux/blend/pacific.a obj/mame/linux/blend/pacman.a obj/mame/linux/blend/phoenix.a obj/mame/linux/blend/playmark.a obj/mame/linux/blend/psikyo.a obj/mame/linux/blend/ramtek.a obj/mame/linux/blend/rare.a obj/mame/linux/blend/sanritsu.a obj/mame/linux/blend/sega.a obj/mame/linux/blend/seibu.a obj/mame/linux/blend/seta.a obj/mame/linux/blend/sigma.a obj/mame/linux/blend/snk.a obj/mame/linux/blend/stern.a obj/mame/linux/blend/sun.a obj/mame/linux/blend/suna.a obj/mame/linux/blend/tad.a obj/mame/linux/blend/taito.a obj/mame/linux/blend/tatsumi.a obj/mame/linux/blend/tch.a obj/mame/linux/blend/tecfri.a obj/mame/linux/blend/technos.a obj/mame/linux/blend/tehkan.a obj/mame/linux/blend/thepit.a obj/mame/linux/blend/toaplan.a obj/mame/linux/blend/tong.a obj/mame/linux/blend/unico.a obj/mame/linux/blend/univers.a obj/mame/linux/blend/upl.a obj/mame/linux/blend/valadon.a obj/mame/linux/blend/veltmjr.a obj/mame/linux/blend/venture.a obj/mame/linux/blend/vsystem.a obj/mame/linux/blend/yunsung.a obj/mame/linux/blend/zaccaria.a obj/mame/linux/blend/misc.a obj/mame/linux/blend/shared.a obj/mess/linux/blend/cpu/m68000/m68kcpu.o obj/mess/linux/blend/cpu/m68000/m68kopac.o obj/mess/linux/blend/cpu/m68000/m68kopdm.o obj/mess/linux/blend/cpu/m68000/m68kopnz.o obj/mess/linux/blend/cpu/m68000/m68kops.o obj/mess/linux/blend/coco.a obj/mess/linux/blend/mc10.a obj/mess/linux/blend/apple.a obj/mess/linux/blend/apexc.a obj/mess/linux/blend/pdp1.a obj/mess/linux/blend/sony.a obj/mess/linux/blend/nintendo.a obj/mess/linux/blend/pc.a obj/mess/linux/blend/at.a obj/mess/linux/blend/pcshare.a obj/mess/linux/blend/ti99.a obj/mess/linux/blend/amstrad.a obj/mess/linux/blend/sega.a obj/mess/linux/blend/acorn.a obj/mess/linux/blend/atari.a obj/mess/linux/blend/trs80.a obj/mess/linux/blend/fairch.a obj/mess/linux/blend/bally.a obj/mess/linux/blend/advision.a obj/mess/linux/blend/mbee.a obj/mess/linux/blend/vtech.a obj/mess/linux/blend/jupiter.a obj/mess/linux/blend/gce.a obj/mess/linux/blend/arcadia.a obj/mess/linux/blend/kaypro.a obj/mess/linux/blend/cgenie.a obj/mess/linux/blend/aquarius.a obj/mess/linux/blend/tangerin.a obj/mess/linux/blend/sord.a obj/mess/linux/blend/exidy.a obj/mess/linux/blend/samcoupe.a obj/mess/linux/blend/p2000.a obj/mess/linux/blend/tatung.a obj/mess/linux/blend/ep128.a obj/mess/linux/blend/cpschngr.a obj/mess/linux/blend/veb.a obj/mess/linux/blend/nec.a obj/mess/linux/blend/nascom1.a obj/mess/linux/blend/magnavox.a obj/mess/linux/blend/mk1.a obj/mess/linux/blend/mk2.a obj/mess/linux/blend/ti85.a obj/mess/linux/blend/galaxy.a obj/mess/linux/blend/vc4000.a obj/mess/linux/blend/lviv.a obj/mess/linux/blend/pmd85.a obj/mess/linux/blend/sinclair.a obj/mess/linux/blend/lynx.a obj/mess/linux/blend/svision.a obj/mess/linux/blend/coleco.a obj/mess/linux/blend/apf.a obj/mess/linux/blend/teamconc.a obj/mess/linux/blend/concept.a obj/mess/linux/blend/amiga.a obj/mess/linux/blend/svi.a obj/mess/linux/blend/sharp.a obj/mess/linux/blend/aim65.a obj/mess/linux/blend/avigo.a obj/mess/linux/blend/motorola.a obj/mess/linux/blend/ssystem3.a obj/mess/linux/blend/hp48.a obj/mess/linux/blend/cbm.a obj/mess/linux/blend/cbmshare.a obj/mess/linux/blend/kim1.a obj/mess/linux/blend/sym1.a obj/mess/linux/blend/dai.a obj/mess/linux/blend/bandai.a obj/mess/linux/blend/compis.a obj/mess/linux/blend/necpc.a obj/mess/linux/blend/ascii.a obj/mess/linux/blend/mtx.a obj/mess/linux/blend/intv.a obj/mess/linux/blend/rca.a obj/mess/linux/blend/multitch.a obj/mess/linux/blend/telmac.a obj/mess/linux/blend/tx0.a obj/mess/linux/blend/luxor.a obj/mess/linux/blend/sgi.a obj/mess/linux/blend/primo.a obj/mess/linux/blend/dgn_beta.a obj/mess/linux/blend/be.a obj/mess/linux/blend/tiger.a obj/s/linux/blend/advs obj/k/linux/blend/advk obj/j/linux/blend/advj obj/m/linux/blend/advm obj/cfg/linux/blend/advcfg src/cpu/m68000/m68kcpu.c:989:46: warning: sizeof on pointer operation will return size of 'unsigned int *' instead of 'unsigned int[16]' [-Wsizeof-array-decay] state_save_register_item_array(type, index, REG_A); ^~~~~ ./src/cpu/m68000/m68kcpu.h:304:40: note: expanded from macro 'REG_A' #define REG_A (m68ki_cpu.dar+8) ~~~~~~~~~~~~~^ ./src/state.h:47:61: note: expanded from macro 'state_save_register_item_array' state_save_register_item_pointer(_mod, _inst, _val, sizeof(_val)/sizeof(_val[0])) ^~~~ ./src/state.h:44:69: note: expanded from macro 'state_save_register_item_pointer' state_save_register_generic(_mod, _inst, #_val, &_val[0], _val[0], _count) ^~~~~~ ./src/state.h:37:73: note: expanded from macro 'state_save_register_generic' state_save_register_memory(_mod, _inst, _name, _val, sizeof(_valsize), _count); \ ^~~~~~ src/cpu/m68000/m68kcpu.c:989:2: warning: 'sizeof ((m68ki_cpu.dar + 8))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] state_save_register_item_array(type, index, REG_A); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/state.h:47:66: note: expanded from macro 'state_save_register_item_array' state_save_register_item_pointer(_mod, _inst, _val, sizeof(_val)/sizeof(_val[0])) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./src/state.h:44:69: note: expanded from macro 'state_save_register_item_pointer' state_save_register_generic(_mod, _inst, #_val, &_val[0], _val[0], _count) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./src/state.h:37:73: note: expanded from macro 'state_save_register_generic' state_save_register_memory(_mod, _inst, _name, _val, sizeof(_valsize), _count); \ ^~~~~~ srcmess/cpu/m68000/m68kcpu.c:989:46: warning: sizeof on pointer operation will return size of 'unsigned int *' instead of 'unsigned int[16]' [-Wsizeof-array-decay] state_save_register_item_array(type, index, REG_A); ^~~~~ ./srcmess/cpu/m68000/m68kcpu.h:304:40: note: expanded from macro 'REG_A' #define REG_A (m68ki_cpu.dar+8) ~~~~~~~~~~~~~^ ./srcmess/state.h:47:61: note: expanded from macro 'state_save_register_item_array' state_save_register_item_pointer(_mod, _inst, _val, sizeof(_val)/sizeof(_val[0])) ^~~~ ./srcmess/state.h:44:69: note: expanded from macro 'state_save_register_item_pointer' state_save_register_generic(_mod, _inst, #_val, &_val[0], _val[0], _count) ^~~~~~ ./srcmess/state.h:37:73: note: expanded from macro 'state_save_register_generic' state_save_register_memory(_mod, _inst, _name, _val, sizeof(_valsize), _count); \ ^~~~~~ srcmess/cpu/m68000/m68kcpu.c:989:2: warning: 'sizeof ((m68ki_cpu.dar + 8))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] state_save_register_item_array(type, index, REG_A); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./srcmess/state.h:47:66: note: expanded from macro 'state_save_register_item_array' state_save_register_item_pointer(_mod, _inst, _val, sizeof(_val)/sizeof(_val[0])) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./srcmess/state.h:44:69: note: expanded from macro 'state_save_register_item_pointer' state_save_register_generic(_mod, _inst, #_val, &_val[0], _val[0], _count) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./srcmess/state.h:37:73: note: expanded from macro 'state_save_register_generic' state_save_register_memory(_mod, _inst, _name, _val, sizeof(_valsize), _count); \ ^~~~~~ obj/v/linux/blend/advv 2 warnings generated. 2 warnings generated. obj/d2/linux/advd2 obj/mame/linux/blend/advmame obj/mess/linux/blend/advmess obj/menu/linux/blend/advmenu >>> advancemame: Entering fakeroot... /usr/bin/install -c -d -m 755 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/bin/ /usr/bin/install -c -d -m 755 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance /usr/bin/install -c -c -m 755 obj/mame/linux/blend/advmame /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/bin/ /usr/bin/install -c -c -m 755 obj/mess/linux/blend/advmess /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/bin/ /usr/bin/install -c -c -m 755 obj/menu/linux/blend/advmenu /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/bin/ /usr/bin/install -c -c -m 755 obj/cfg/linux/blend/advcfg /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/bin/ /usr/bin/install -c -c -m 755 obj/v/linux/blend/advv /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/bin/ /usr/bin/install -c -c -m 755 obj/s/linux/blend/advs /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/bin/ /usr/bin/install -c -c -m 755 obj/k/linux/blend/advk /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/bin/ /usr/bin/install -c -c -m 755 obj/j/linux/blend/advj /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/bin/ /usr/bin/install -c -c -m 755 obj/m/linux/blend/advm /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/bin/ /usr/bin/install -c -d -m 755 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/event.dat /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance /usr/bin/install -c -c -m 644 ./support/history.dat /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance /usr/bin/install -c -c -m 644 ./support/hiscore.dat /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance /usr/bin/install -c -c -m 644 ./support/cheat.dat /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance /usr/bin/install -c -c -m 644 ./support/category.ini /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance /usr/bin/install -c -c -m 644 ./support/sysinfo.dat /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance /usr/bin/install -c -d -m 755 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/man//man1 /usr/bin/install -c -c -m 644 ./support/free/rom/gridlee.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/rom /usr/bin/install -c -c -m 644 ./doc/advcfg.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/rom/polyplay.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/rom /usr/bin/install -c -c -m 644 ./doc/advdev.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/rom/robby.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/rom /usr/bin/install -c -c -m 644 ./doc/advj.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/rom/ti99_4a.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/rom /usr/bin/install -c -c -m 644 ./doc/advk.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/advline.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/advm.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/advmame.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/advmenu.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/advs.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/advv.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/authors.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/build.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/carddos.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/cardlinx.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/cardwin.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/cost.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/faq.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/history.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -d -m 755 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/rom install: can't create directory '/home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/rom': File exists /usr/bin/install -c -c -m 644 ./doc/install.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/image/ti99_4a/alpiner.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a make: [advance/advance.mak:383: install-dirs] Error 1 (ignored) /usr/bin/install -c -d -m 755 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/sample /usr/bin/install -c -c -m 644 ./doc/advmame.1 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/man//man1 install: can't create '/home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a': No such file or directory /usr/bin/install -c -c -m 644 ./support/free/image/ti99_4a/attack.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a /usr/bin/install -c -c -m 644 ./doc/readme.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -d -m 755 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/artwork /usr/bin/install -c -c -m 644 ./doc/advdev.1 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/man//man1 install: can't create '/home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a': No such file or directory /usr/bin/install -c -c -m 644 ./support/free/image/ti99_4a/carwars.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a /usr/bin/install -c -c -m 644 ./doc/release.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -d -m 755 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image /usr/bin/install -c -c -m 644 ./support/advmess.1 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/man//man1 install: can't create '/home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a': No such file or directory /usr/bin/install -c -c -m 644 ./support/free/image/ti99_4a/munchmn.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a /usr/bin/install -c -c -m 644 ./doc/script.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -d -m 755 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a /usr/bin/install -c -c -m 644 ./doc/advmenu.1 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/man//man1 /usr/bin/install -c -c -m 644 ./support/free/image/ti99_4a/parsec.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a /usr/bin/install -c -c -m 644 ./doc/svgawin.txt /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ install: can't create directory '/home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a': File exists make: [advance/advance.mak:387: install-dirs] Error 1 (ignored) /usr/bin/install -c -d -m 755 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/crc /usr/bin/install -c -c -m 644 ./doc/advcfg.1 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/man//man1 /usr/bin/install -c -c -m 644 ./support/free/image/ti99_4a/ti-inva.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a /usr/bin/install -c -c -m 644 ./doc/advcfg.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -d -m 755 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap /usr/bin/install -c -c -m 644 ./doc/advv.1 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/man//man1 /usr/bin/install -c -c -m 644 ./support/free/image/ti99_4a/tombcit.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a /usr/bin/install -c -c -m 644 ./doc/advdev.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -d -m 755 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap/ti99_4a /usr/bin/install -c -c -m 644 ./doc/advs.1 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/man//man1 /usr/bin/install -c -c -m 644 ./support/free/image/ti99_4a/v-chess.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a /usr/bin/install -c -c -m 644 ./doc/advj.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/advk.1 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/man//man1 /usr/bin/install -c -c -m 644 ./support/free/image/ti99_4a/vidgam1.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a /usr/bin/install -c -c -m 644 ./doc/advk.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/advj.1 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/man//man1 /usr/bin/install -c -c -m 644 ./support/free/image/ti99_4a/vidgam2.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/image/ti99_4a /usr/bin/install -c -c -m 644 ./doc/advm.1 /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/man//man1 /usr/bin/install -c -c -m 644 ./doc/advline.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/advm.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/rom/gridlee.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/sample /usr/bin/install -c -c -m 644 ./doc/advmame.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/gridlee.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap /usr/bin/install -c -c -m 644 ./doc/advmenu.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/advs.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/polyplay.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap /usr/bin/install -c -c -m 644 ./doc/advv.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/robby.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap /usr/bin/install -c -c -m 644 ./doc/authors.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/ti99_4a.png /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap /usr/bin/install -c -c -m 644 ./doc/build.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/carddos.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/ti99_4a/alpiner.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap/ti99_4a /usr/bin/install -c -c -m 644 ./doc/cardlinx.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/ti99_4a/attack.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap/ti99_4a /usr/bin/install -c -c -m 644 ./doc/cardwin.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/ti99_4a/carwars.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap/ti99_4a /usr/bin/install -c -c -m 644 ./doc/cost.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/ti99_4a/munchmn.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap/ti99_4a /usr/bin/install -c -c -m 644 ./doc/faq.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./doc/history.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/ti99_4a/parsec.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap/ti99_4a /usr/bin/install -c -c -m 644 ./doc/install.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/ti99_4a/ti-inva.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap/ti99_4a /usr/bin/install -c -c -m 644 ./doc/readme.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/ti99_4a/tombcit.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap/ti99_4a /usr/bin/install -c -c -m 644 ./doc/release.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/ti99_4a/v-chess.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap/ti99_4a /usr/bin/install -c -c -m 644 ./doc/script.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/ti99_4a/vidgam1.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap/ti99_4a /usr/bin/install -c -c -m 644 ./doc/svgawin.html /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share/doc/advancemame/ /usr/bin/install -c -c -m 644 ./support/free/snap/ti99_4a/vidgam2.zip /home/buildozer/aports/testing/advancemame/pkg/advancemame/usr/share//advance/snap/ti99_4a >>> advancemame-doc*: Running split function doc... >>> advancemame-doc*: Preparing subpackage advancemame-doc... >>> advancemame-doc*: Running postcheck for advancemame-doc >>> advancemame-data*: Running split function data... >>> advancemame-data*: Preparing subpackage advancemame-data... >>> advancemame-data*: Running postcheck for advancemame-data >>> advancemame-mess*: Running split function mess... >>> advancemame-mess*: Preparing subpackage advancemame-mess... >>> advancemame-mess*: Stripping binaries >>> advancemame-mess*: Running postcheck for advancemame-mess >>> advancemame-menu*: Running split function menu... >>> advancemame-menu*: Preparing subpackage advancemame-menu... >>> advancemame-menu*: Stripping binaries >>> advancemame-menu*: Running postcheck for advancemame-menu >>> advancemame*: Running postcheck for advancemame >>> advancemame*: Preparing package advancemame... >>> advancemame*: Stripping binaries >>> advancemame-data*: Scanning shared objects >>> advancemame-doc*: Scanning shared objects >>> advancemame-menu*: Scanning shared objects >>> advancemame-mess*: Scanning shared objects >>> advancemame*: Scanning shared objects >>> advancemame-data*: Tracing dependencies... >>> advancemame-data*: Package size: 21.6 MB >>> advancemame-data*: Compressing data... >>> advancemame-data*: Create checksum... >>> advancemame-data*: Create advancemame-data-3.9-r2.apk >>> advancemame-doc*: Tracing dependencies... >>> advancemame-doc*: Package size: 1.7 MB >>> advancemame-doc*: Compressing data... >>> advancemame-doc*: Create checksum... >>> advancemame-doc*: Create advancemame-doc-3.9-r2.apk >>> advancemame-menu*: Tracing dependencies... so:libSDL2-2.0.so.0 so:libasound.so.2 so:libc.musl-x86_64.so.1 so:libexpat.so.1 so:libfreetype.so.6 so:libgcc_s.so.1 so:libstdc++.so.6 so:libz.so.1 >>> advancemame-menu*: Package size: 2.3 MB >>> advancemame-menu*: Compressing data... >>> advancemame-menu*: Create checksum... >>> advancemame-menu*: Create advancemame-menu-3.9-r2.apk >>> advancemame-mess*: Tracing dependencies... so:libSDL2-2.0.so.0 so:libasound.so.2 so:libc.musl-x86_64.so.1 so:libexpat.so.1 so:libfreetype.so.6 so:libz.so.1 >>> advancemame-mess*: Package size: 10.9 MB >>> advancemame-mess*: Compressing data... >>> advancemame-mess*: Create checksum... >>> advancemame-mess*: Create advancemame-mess-3.9-r2.apk >>> advancemame*: Tracing dependencies... so:libSDL2-2.0.so.0 so:libasound.so.2 so:libc.musl-x86_64.so.1 so:libexpat.so.1 so:libfreetype.so.6 so:libslang.so.2 so:libz.so.1 >>> advancemame*: Package size: 41.2 MB >>> advancemame*: Compressing data... >>> advancemame*: Create checksum... >>> advancemame*: Create advancemame-3.9-r2.apk >>> advancemame: Build complete at Sat, 20 Aug 2022 14:45:07 +0000 elapsed time 0h 1m 52s >>> advancemame: Cleaning up srcdir >>> advancemame: Cleaning up pkgdir >>> advancemame: Uninstalling dependencies... (1/65) Purging .makedepends-advancemame (20220820.144317) (2/65) Purging alsa-lib-dev (1.2.7.2-r0) (3/65) Purging alsa-lib (1.2.7.2-r0) (4/65) Purging clang-dev (14.0.6-r1) (5/65) Purging clang (14.0.6-r1) (6/65) Purging clang-extra-tools (14.0.6-r1) (7/65) Purging clang-libs (14.0.6-r1) (8/65) Purging expat-dev (2.4.8-r1) (9/65) Purging expat (2.4.8-r1) (10/65) Purging freetype-dev (2.12.1-r0) (11/65) Purging sdl2-dev (2.24.0-r0) (12/65) Purging sdl2 (2.24.0-r0) (13/65) Purging directfb-dev (1.7.7-r4) (14/65) Purging directfb (1.7.7-r4) (15/65) Purging mesa-dev (22.1.7-r1) (16/65) Purging libxdamage-dev (1.1.5-r1) (17/65) Purging libxdamage (1.1.5-r1) (18/65) Purging libxshmfence-dev (1.3-r1) (19/65) Purging mesa-egl (22.1.7-r1) (20/65) Purging mesa-gbm (22.1.7-r1) (21/65) Purging mesa-gl (22.1.7-r1) (22/65) Purging mesa-gles (22.1.7-r1) (23/65) Purging mesa-osmesa (22.1.7-r1) (24/65) Purging mesa-xatracker (22.1.7-r1) (25/65) Purging mesa (22.1.7-r1) (26/65) Purging slang-dev (2.3.3-r0) (27/65) Purging slang (2.3.3-r0) (28/65) Purging llvm14-libs (14.0.6-r3) (29/65) Purging wayland-libs-client (1.21.0-r0) (30/65) Purging wayland-libs-server (1.21.0-r0) (31/65) Purging libffi (3.4.2-r1) (32/65) Purging libxml2 (2.10.0-r0) (33/65) Purging libpng-dev (1.6.37-r2) (34/65) Purging freetype (2.12.1-r0) (35/65) Purging libpng (1.6.37-r2) (36/65) Purging brotli-dev (1.0.9-r7) (37/65) Purging zlib-dev (1.2.12-r3) (38/65) Purging libdrm-dev (2.4.112-r0) (39/65) Purging libdrm (2.4.112-r0) (40/65) Purging linux-headers (5.16.7-r1) (41/65) Purging tslib (1.22-r1) (42/65) Purging libpciaccess-dev (0.16-r1) (43/65) Purging libpciaccess (0.16-r1) (44/65) Purging libxxf86vm-dev (1.1.4-r3) (45/65) Purging libxxf86vm (1.1.4-r3) (46/65) Purging libxfixes-dev (6.0.0-r0) (47/65) Purging libxfixes (6.0.0-r0) (48/65) Purging libxext-dev (1.3.4-r1) (49/65) Purging libxext (1.3.4-r1) (50/65) Purging libx11-dev (1.8.1-r1) (51/65) Purging xtrans (1.4.0-r2) (52/65) Purging libx11 (1.8.1-r1) (53/65) Purging libxcb-dev (1.15-r0) (54/65) Purging xcb-proto (1.15-r0) (55/65) Purging libxcb (1.15-r0) (56/65) Purging libxau-dev (1.0.9-r1) (57/65) Purging libxau (1.0.9-r1) (58/65) Purging libxdmcp-dev (1.1.3-r1) (59/65) Purging libxdmcp (1.1.3-r1) (60/65) Purging xorgproto (2022.2-r0) (61/65) Purging libbsd (0.11.6-r2) (62/65) Purging libmd (1.0.4-r0) (63/65) Purging libxshmfence (1.3-r1) (64/65) Purging mesa-glapi (22.1.7-r1) (65/65) Purging pcre (8.45-r2) Executing busybox-1.35.0-r22.trigger OK: 399 MiB in 101 packages >>> advancemame: Updating the testing/x86_64 repository index... >>> advancemame: Signing the index...