------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/games/libretro-mame2003 XDG_CONFIG_HOME=/construction/games/libretro-mame2003 XDG_CACHE_HOME=/construction/games/libretro-mame2003/.cache HOME=/construction/games/libretro-mame2003 TMPDIR="/tmp" PATH=/construction/games/libretro-mame2003/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/libretro-mame2003/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/games/libretro-mame2003 XDG_CONFIG_HOME=/construction/games/libretro-mame2003 XDG_CACHE_HOME=/construction/games/libretro-mame2003/.cache HOME=/construction/games/libretro-mame2003 TMPDIR="/tmp" PATH=/construction/games/libretro-mame2003/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/libretro-mame2003/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/games/libretro-mame2003/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/libretro-mame2003" EXAMPLESDIR="share/examples/libretro-mame2003" DATADIR="share/libretro-mame2003" WWWDIR="www/libretro-mame2003" ETCDIR="etc/libretro-mame2003" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/libretro-mame2003 DOCSDIR=/usr/local/share/doc/libretro-mame2003 EXAMPLESDIR=/usr/local/share/examples/libretro-mame2003 WWWDIR=/usr/local/www/libretro-mame2003 ETCDIR=/usr/local/etc/libretro-mame2003 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/gmake-4.3_2.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: The libretro-mame2003 port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> libretro-mame2003-0.20220206 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: The libretro-mame2003 port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> libretro-mame2003-0.20220206 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libretro-mame2003-0.20220206 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: The libretro-mame2003 port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> libretro-mame2003-0.20220206 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libretro-mame2003-0.20220206 for building => SHA256 Checksum OK for libretro-mame2003-libretro-0.20220206-3eb27d5_GH0.tar.gz. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: The libretro-mame2003 port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> libretro-mame2003-0.20220206 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libretro-mame2003-0.20220206 for building ===> Extracting for libretro-mame2003-0.20220206 ===> NOTICE: The libretro-mame2003 port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> libretro-mame2003-0.20220206 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libretro-mame2003-0.20220206 for building => SHA256 Checksum OK for libretro-mame2003-libretro-0.20220206-3eb27d5_GH0.tar.gz. Extracted Memory Use: 94.28M SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for libretro-mame2003-0.20220206 /usr/bin/env WRKSRC=/construction/games/libretro-mame2003/mame2003-libretro-3eb27d5 REWARNFILE=/construction/games/libretro-mame2003/reinplace_warnings.txt /bin/sh /xports/Mk/Scripts/sed_checked.sh -e "s@-D_XOPEN_SOURCE@&__@g" /construction/games/libretro-mame2003/mame2003-libretro-3eb27d5/Makefile SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> libretro-mame2003-0.20220206 depends on package: gmake>=4.3 - found ===> libretro-mame2003-0.20220206 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> libretro-mame2003-0.20220206 depends on package: gmake>=4.3 - found ===> libretro-mame2003-0.20220206 depends on file: /usr/local/bin/ccache - found ===> Configuring for libretro-mame2003-0.20220206 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for libretro-mame2003-0.20220206 gmake[2]: Entering directory '/construction/games/libretro-mame2003/mame2003-libretro-3eb27d5' /bin/sh: git: not found Compiling src/mame2003/video.c... Compiling src/artwork.c... Compiling src/bootstrap.c... Compiling src/mame2003/core_options.c... Compiling src/mame2003/mame2003.c... Compiling src/cheat.c... Compiling src/common.c... Compiling src/controls.c... Compiling src/cpuexec.c... In file included from src/mame2003/video.c:7: src/common.h:447:55: warning: 'struct GameDriver' declared inside parameter list will not be visible outside of this definition or declaration const struct RomModule *rom_first_region(const struct GameDriver *drv); ^~~~~~~~~~ src/mame2003/video.c: In function 'mame2003_video_reinit': src/mame2003/video.c:239:36: warning: passing argument 2 of 'osd_create_display' from incompatible pointer type [-Wincompatible-pointer-types] osd_create_display(&old_params, &rgb_components); ^~~~~~~~~~~~~~~ In file included from src/mame2003/video.c:4: src/mame2003/mame2003.h:197:72: note: expected 'UINT32 *' {aka 'unsigned int *'} but argument is of type 'UINT32 (*)[3]' {aka 'unsigned int (*)[3]'} int osd_create_display(const struct osd_create_params *params, UINT32 *rgb_components); ~~~~~~~~^~~~~~~~~~~~~~ src/mame2003/core_options.c: In function 'update_variables': src/mame2003/core_options.c:1167:39: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] options.cpu_clock_scale = (double) atoi(var.value) / 100; ^ At top level: src/mame2003/core_options.c:712:47: warning: 'option_def_cyclone_mode' defined but not used [-Wunused-variable] static struct retro_core_option_v2_definition option_def_cyclone_mode = { ^~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/core_options.c: In function 'update_variables': src/mame2003/core_options.c:1046:45: warning: '.cfg' directive writing 4 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(cfg_file_path, "%s%s%s.cfg", buffer, PATH_DEFAULT_SLASH(), options.romset_filename_noext); ^~~~ src/mame2003/core_options.c:1046:15: note: 'sprintf' output 6 or more bytes (assuming 4101) into a destination of size 4096 sprintf(cfg_file_path, "%s%s%s.cfg", buffer, PATH_DEFAULT_SLASH(), options.romset_filename_noext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/config.c... Compiling src/cpuint.c... src/cheat.c: In function 'UIPressedRepeatThrottle': src/cheat.c:1448:8: warning: variable 'pressed' set but not used [-Wunused-but-set-variable] int pressed = 0; ^~~~~~~ src/cheat.c: In function 'RebuildStringTables': src/cheat.c:2000:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)menuStrings.mainList, ^ src/cheat.c:2001:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)menuStrings.subList, ^ src/cheat.c:2002:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)menuStrings.flagList, ^ src/cheat.c:2003:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)menuStrings.mainStrings, ^ src/cheat.c:2004:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)menuStrings.subStrings, ^ src/cheat.c:2005:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)menuStrings.buf); ^ src/cheat.c: In function 'DoSearchMenu': src/cheat.c:4871:15: warning: variable 'submenuChoice' set but not used [-Wunused-but-set-variable] static INT32 submenuChoice = 0; ^~~~~~~~~~~~~ src/cheat.c: In function 'DefaultEnableRegion': src/cheat.c:7690:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] UINT32 handlerAddress = (UINT32)handler; ^ src/cheat.c:7745:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if( (handlerAddress >= ((UINT32)MWA_BANK1)) && ^ src/cheat.c:7746:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (handlerAddress <= ((UINT32)MWA_BANK24))) ^ src/cheat.c: In function 'SetSearchRegionDefaultName': src/cheat.c:7787:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] UINT32 handlerAddress = (UINT32)handler; ^ src/cheat.c:7789:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if( (handlerAddress >= ((UINT32)MWA_BANK1)) && ^ src/cheat.c:7790:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (handlerAddress <= ((UINT32)MWA_BANK24))) ^ src/cheat.c:7792:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sprintf(desc, "BANK%.2d", (handlerAddress - ((UINT32)MWA_BANK1)) + 1); ^ src/cheat.c:7798:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (UINT32)MWA_NOP: strcpy(desc, "NOP "); break; ^ src/cheat.c:7799:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (UINT32)MWA_RAM: strcpy(desc, "RAM "); break; ^ src/cheat.c:7800:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (UINT32)MWA_ROM: strcpy(desc, "ROM "); break; ^ src/cheat.c:7801:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (UINT32)MWA_RAMROM: strcpy(desc, "RAMROM"); break; ^ In file included from src/driver.h:68, from src/cheat.c:374: src/cheat.c: In function 'BuildCPUInfoList': src/common.h:230:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^ src/cheat.c:10093:24: note: in expansion of macro 'ROMREGION_GETTYPE' UINT8 regionType = ROMREGION_GETTYPE(traverse); ^~~~~~~~~~~~~~~~~ src/cheat.c: In function 'LoadCheatDatabase': src/cheat.c:8245:45: warning: '%s' directive output may be truncated writing 10 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(cheat_path, PATH_MAX_LENGTH, "%s%c%s", cheat_directory, PATH_DEFAULT_SLASH_C(), CHEAT_DATABASE_RZIP_FILENAME); ^~ src/cheat.c:8245:2: note: 'snprintf' output between 12 and 4107 bytes into a destination of size 4096 snprintf(cheat_path, PATH_MAX_LENGTH, "%s%c%s", cheat_directory, PATH_DEFAULT_SLASH_C(), CHEAT_DATABASE_RZIP_FILENAME); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:8252:46: warning: '%s' directive output may be truncated writing 9 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(cheat_path, PATH_MAX_LENGTH, "%s%c%s", cheat_directory, PATH_DEFAULT_SLASH_C(), CHEAT_DATABASE_FILENAME); ^~ src/cheat.c:8252:3: note: 'snprintf' output between 11 and 4106 bytes into a destination of size 4096 snprintf(cheat_path, PATH_MAX_LENGTH, "%s%c%s", cheat_directory, PATH_DEFAULT_SLASH_C(), CHEAT_DATABASE_FILENAME); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cheat.c:8260:46: warning: '%s' directive output may be truncated writing 10 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(cheat_path, PATH_MAX_LENGTH, "%s%c%s", cheat_directory, PATH_DEFAULT_SLASH_C(), CHEAT_DATABASE_RZIP_FILENAME); ^~ src/cheat.c:8260:3: note: 'snprintf' output between 12 and 4107 bytes into a destination of size 4096 snprintf(cheat_path, PATH_MAX_LENGTH, "%s%c%s", cheat_directory, PATH_DEFAULT_SLASH_C(), CHEAT_DATABASE_RZIP_FILENAME); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/datafile.c... Compiling src/cpuintrf.c... src/artwork.c: In function 'render_ui_overlay': src/artwork.c:1968:6: warning: variable 'width' set but not used [-Wunused-but-set-variable] int width, height; ^~~~~ Compiling src/drawgfx.c... src/common.c:21:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_NONE", ^~~~~~~~~~~~~ src/common.c:22:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_NO_INTERFACE", ^~~~~~~~~~~~~~~~~~~~~ src/common.c:23:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_OUT_OF_MEMORY", ^~~~~~~~~~~~~~~~~~~~~~ src/common.c:24:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_INVALID_FILE", ^~~~~~~~~~~~~~~~~~~~~ src/common.c:25:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_INVALID_PARAMETER", ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:26:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_INVALID_DATA", ^~~~~~~~~~~~~~~~~~~~~ src/common.c:27:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_FILE_NOT_FOUND", ^~~~~~~~~~~~~~~~~~~~~~~ src/common.c:28:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_REQUIRES_PARENT", ^~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:29:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_FILE_NOT_WRITEABLE", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:30:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_READ_ERROR", ^~~~~~~~~~~~~~~~~~~ src/common.c:31:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_WRITE_ERROR", ^~~~~~~~~~~~~~~~~~~~ src/common.c:32:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_CODEC_ERROR", ^~~~~~~~~~~~~~~~~~~~ src/common.c:33:2: warning: initialization discards 'const' qusrc/config.c: In function 'config_read_ports': src/config.c:325:15: warning: variable 'total' set but not used [-Wunused-but-set-variable] unsigned int total; ^~~~~ src/config.c: In function 'config_read_coin_and_ticket_counters': src/config.c:434:6: warning: variable 'coin_counters' set but not used [-Wunused-but-set-variable] int coin_counters; ^~~~~~~~~~~~~ alifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_INVALID_PARENT", ^~~~~~~~~~~~~~~~~~~~~~~ src/common.c:34:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_HUNK_OUT_OF_RANGE", ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:35:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_DECOMPRESSION_ERROR", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:36:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_COMPRESSION_ERROR", ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:37:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_CANT_CREATE_FILE", ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:38:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_CANT_VERIFY", ^~~~~~~~~~~~~~~~~~~~ src/common.c:39:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_NOT_SUPPORTED", ^~~~~~~~~~~~~~~~~~~~~~ src/common.c:40:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_METADATA_NOT_FOUND", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:41:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_INVALID_METADATA_SIZE", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:42:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "CHDERR_UNSUPPORTED_VERSION" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c: In function 'read_wav_sample': src/common.c:439:25: warning: assignment to 'INT16 *' {aka 'short int *'} from incompatible pointer type 'signed char *' [-Wincompatible-pointer-types] flac_file.write_data = result->data; ^ src/common.c: In function 'readsample': src/common.c:473:21: warning: unused variable 'SampleFile' [-Wunused-variable] struct GameSample *SampleFile; ^~~~~~~~~~ src/common.c: In function 'readsamples': src/common.c:507:7: warning: variable 'missing_sample' set but not used [-Wunused-but-set-variable] bool missing_sample = false; ^~~~~~~~~~~~~~ src/common.c: In function 'determine_bios_rom': src/common.c:1156:27: warning: unused variable 'firstbios' [-Wunused-variable] const struct SystemBios *firstbios = bios; ^~~~~~~~~ In file included from src/driver.h:68, from src/common.c:6: src/common.c: In function 'region_post_process': src/common.h:230:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^ src/common.c:1414:13: note: in expansion of macro 'ROMREGION_GETTYPE' int type = ROMREGION_GETTYPE(regiondata); ^~~~~~~~~~~~~~~~~ src/common.c: In function 'read_rom_data': src/common.c:1562:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] log_cb(RETRO_LOG_DEBUG, LOGPRE " Copying to %08X\n", (int)base); ^ src/common.c: In function 'fill_rom_data': src/common.c:1647:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] memset(base, (UINT32)ROM_GETHASHDATA(romp) & 0xff, numbytes); ^ src/common.c: In function 'copy_rom_data': src/common.c:1661:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] UINT32 srcoffs = (UINT32)ROM_GETHASHDATA(romp); /* srcoffset in place of hashdata */ ^ In file included from src/driver.h:68, from src/common.c:6: src/common.c: In function 'rom_load': src/common.h:230:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^ src/common.c:1958:20: note: in expansion of macro 'ROMREGION_GETTYPE' int regiontype = ROMREGION_GETTYPE(region); ^~~~~~~~~~~~~~~~~ src/common.c:1983:87: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] log_cb(RETRO_LOG_DEBUG, LOGPRE "Allocated %X bytes @ %08X\n", romdata.regionlength, (int)romdata.regionbase); ^ Compiling src/fileio.c... Compiling src/driver.c... src/mame2003/mame2003.c: In function 'retro_load_game': src/mame2003/mame2003.c:279:20: warning: unused variable 'port_index' [-Wunused-variable] int port_index; ^~~~~~~~~~ src/mame2003/mame2003.c: In function 'convert_analog_scale': src/mame2003/mame2003.c:839:13: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] input = (int)round(scaled); ^ At top level: src/mame2003/mame2003.c:104:13: warning: 'retro_audio_buff_status_cb' defined but not used [-Wunused-function] static void retro_audio_buff_status_cb(bool active, unsigned occupancy, bool underrun_likely) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/mame2003.c:56:38: warning: 'empty' defined but not used [-Wunused-variable] static struct retro_input_descriptor empty[] = { { 0 } }; ^~~~~ Compiling src/hiscore.c... src/datafile.c:369:12: warning: 'ci_strcmp' defined but not used [-Wunused-function] static int ci_strcmp (const char *s1, const char *s2) ^~~~~~~~~ src/fileio.c: In function 'osd_get_path': src/fileio.c:240:47: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer, PATH_DEFAULT_SLASH_C(), "ctrlr"); ^~ ~~~~~~~ src/fileio.c:240:10: note: 'snprintf' output between 7 and 4102 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer, PATH_DEFAULT_SLASH_C(), "ctrlr"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:237:47: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer, PATH_DEFAULT_SLASH_C(), "memcard"); ^~ ~~~~~~~~~ src/fileio.c:237:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer, PATH_DEFAULT_SLASH_C(), "memcard"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:234:47: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer, PATH_DEFAULT_SLASH_C(), "cfg"); ^~ ~~~~~ src/fileio.c:234:10: note: 'snprintf' output between 5 and 4100 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer, PATH_DEFAULT_SLASH_C(), "cfg"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:231:48: warning: '%s' directive output may be truncated writing 2 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer, PATH_DEFAULT_SLASH_C(), "hi"); ^~ ~~~~ src/fileio.c:231:11: note: 'snprintf' output between 4 and 4099 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer, PATH_DEFAULT_SLASH_C(), "hi"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:228:47: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer, PATH_DEFAULT_SLASH_C(), "nvram"); ^~ ~~~~~~~ src/fileio.c:228:10: note: 'snprintf' output between 7 and 4102 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer, PATH_DEFAULT_SLASH_C(), "nvram"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:248:47: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", sys_path_buffer, PATH_DEFAULT_SLASH_C(), "artwork"); ^~ ~~~~~~~~~ src/fileio.c:248:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", sys_path_buffer, PATH_DEFAULT_SLASH_C(), "artwork"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:251:47: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", sys_path_buffer, PATH_DEFAULT_SLASH_C(), "samples"); ^~ ~~~~~~~~~ src/fileio.c:251:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", sys_path_buffer, PATH_DEFAULT_SLASH_C(), "samples"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:225:47: warning: '%s' directive output may be truncated writing 4 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer, PATH_DEFAULT_SLASH_C(), "diff"); ^~ ~~~~~~ src/fileio.c:225:10: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer, PATH_DEFAULT_SLASH_C(), "diff"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c: In function 'osd_get_path_info': src/fileio.c:274:45: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buffer, PATH_MAX_LENGTH, "%s%c%s", currDir, PATH_DEFAULT_SLASH_C(), filename); ^ src/fileio.c:274:4: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 snprintf(buffer, PATH_MAX_LENGTH, "%s%c%s", currDir, PATH_DEFAULT_SLASH_C(), filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c: In function 'osd_fopen': src/fileio.c:299:45: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buffer, PATH_MAX_LENGTH, "%s%c%s", currDir, PATH_DEFAULT_SLASH_C(), filename); ^ src/fileio.c:299:4: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 snprintf(buffer, PATH_MAX_LENGTH, "%s%c%s", currDir, PATH_DEFAULT_SLASH_C(), filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/info.c... Compiling src/harddisk.c... Compiling src/mame-memory.c... Compiling src/inptport.c... Compiling src/hash.c... Compiling src/mame.c... Compiling src/input.c... src/inptport.c:1608:13: warning: 'writeint' defined but not used [-Wunused-function] static void writeint(mame_file *f,UINT32 num) ^~~~~~~~ src/inptport.c:1589:12: warning: 'readint' defined but not used [-Wunused-function] static int readint(mame_file *f,UINT32 *num) ^~~~~~~ src/mame-memory.c: In function 'assign_dynamic_bank': src/mame-memory.c:73:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define BANK_TO_HANDLER(b) ((void *)(b)) ^ src/mame-memory.c:995:11: note: in expansion of macro 'BANK_TO_HANDLER' return BANK_TO_HANDLER(bank); ^~~~~~~~~~~~~~~ src/mame-memory.c: In function 'verify_memory': src/mame-memory.c:1247:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (; !IS_MEMPORT_END(mwa); mwa++) ^~~ src/mame-memory.c:1254:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' mwa++; ^~~ Compiling src/mamedbg.c... Compiling src/profiler.c... Compiling src/png.c... Compiling src/state.c... Compiling src/sndintrf.c... Compiling src/tilemap.c... Compiling src/timer.c... Compiling src/ui_text.c... Compiling src/usrintrf.c... src/state.c: In function 'ss_register_func': src/state.c:302:97: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] log_cb(RETRO_LOG_DEBUG, LOGPRE "Duplicate save state function (%d, 0x%x)\n", ss_current_tag, (int)func); ^ Compiling src/palette.c... Compiling src/mame_unzip.c... Compiling src/x86drc.c... Compiling src/machine/6522via.c... Compiling src/machine/6532riot.c... Compiling src/machine/6821pia.c... Compiling src/window.c... src/drawgfx.c: In function 'draw_crosshair': src/drawgfx.c:3521:16: warning: variable 'black' set but not used [-Wunused-but-set-variable] unsigned long black,white; ^~~~~ Compiling src/machine/74123.c... src/usrintrf.c: In function 'generate_warning_list': src/usrintrf.c:2619:67: warning: '%s' directive output may be truncated writing up to 2013 bytes into a region of size 1997 [-Wformat-truncation=] snprintf(message_buffer, MAX_MESSAGE_LENGTH, "Driver Warnings:\n%s", buffer); ^~ ~~~~~~ src/usrintrf.c:2619:3: note: 'snprintf' output between 18 and 2031 bytes into a destination of size 2014 snprintf(message_buffer, MAX_MESSAGE_LENGTH, "Driver Warnings:\n%s", buffer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/usrintrf.c: In function 'ui_copyright_and_warnings': src/usrintrf.c:2508:93: warning: '%s' directive output may be truncated writing up to 2013 bytes into a region of size 2008 [-Wformat-truncation=] snprintf(&buffer[strlen(buffer)], MAX_MESSAGE_LENGTH - strlen(buffer), "%s - %s %s\n\n%s", Machine->gamedrv->description, Machine->gamedrv->year, Machine->gamedrv->manufacturer, message_buffer); ^~ ~~~~~~~~~~~~~~ src/usrintrf.c:2508:7: note: 'snprintf' output 7 or more bytes (assuming 2020) into a destination of size 2014 snprintf(&buffer[strlen(buffer)], MAX_MESSAGE_LENGTH - strlen(buffer), "%s - %s %s\n\n%s", Machine->gamedrv->description, Machine->gamedrv->year, Machine->gamedrv->manufacturer, message_buffer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/x86drc.c:12: src/x86drc.c: In function 'drc_begin_sequence': src/x86drc.h:977:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^ src/x86drc.h:199:59: note: in definition of macro 'OP4' #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.c:217:3: note: in expansion of macro '_jmp' _jmp(drc->dispatch); ^~~~ src/x86drc.h:977:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^ src/x86drc.h:199:59: note: in definition of macro 'OP4' #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.c:217:3: note: in expansion of macro '_jmp' _jmp(drc->dispatch); ^~~~ src/x86drc.c: In function 'drc_end_sequence': src/x86drc.h:977:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^ src/x86drc.h:199:59: note: in definition of macro 'OP4' #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.c:241:5: note: in expansion of macro '_jmp' _jmp(drc->sequence_list[j].target); ^~~~ src/x86drc.h:977:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^ src/x86drc.h:199:59: note: in definition of macro 'OP4' #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.c:241:5: note: in expansion of macro '_jmp' _jmp(drc->sequence_list[j].target); ^~~~ src/x86drc.c: In function 'drc_append_verify_code': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:639:14: note: in expansion of macro 'MODRM_MABS' OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ ^~~~~~~~~~ src/x86drc.h:669:6: note: in expansion of macro '_arith_m32abs_imm_common' do { _arith_m32abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:285:3: note: in expansion of macro '_cmp_m32abs_imm' _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:643:14: note: in expansion of macro 'MODRM_MABS' OP1(0x81); MODRM_MABS(reg, addr); OP4(imm); \ ^~~~~~~~~~ src/x86drc.h:669:6: note: in expansion of macro '_arith_m32abs_imm_common' do { _arith_m32abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:285:3: note: in expansion of macro '_cmp_m32abs_imm' _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:746:14: note: in expansion of macro 'MODRM_MABS' OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ ^~~~~~~~~~ src/x86drc.h:773:6: note: in expansion of macro '_arith_m16abs_imm_common' do { _arith_m16abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:290:3: note: in expansion of macro '_cmp_m16abs_imm' _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:750:14: note: in expansion of macro 'MODRM_MABS' OP1(0x81); MODRM_MABS(reg, addr); OP2(imm); \ ^~~~~~~~~~ src/x86drc.h:773:6: note: in expansion of macro '_arith_m16abs_imm_common' do { _arith_m16abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:290:3: note: in expansion of macro '_cmp_m16abs_imm' _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:781:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x80); MODRM_MABS(reg, addr); OP1(imm); } while (0) ^~~~~~~~~~ src/x86drc.h:802:6: note: in expansion of macro '_arith_m8abs_imm_common' do { _arith_m8abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:295:3: note: in expansion of macro '_cmp_m8abs_imm' _cmp_m8abs_imm(code, *(UINT8 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_save_volatiles': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:324:3: note: in expansion of macro '_mov_m32abs_r32' _mov_m32abs_r32(drc->icountptr, REG_EBP); ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:326:3: note: in expansion of macro '_mov_m32abs_r32' _mov_m32abs_r32(drc->pcptr, REG_EDI); ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:328:3: note: in expansion of macro '_mov_m32abs_r32' _mov_m32abs_r32(drc->esiptr, REG_ESI); ^~~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_restore_volatiles': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:339:3: note: in expansion of macro '_mov_r32_m32abs' _mov_r32_m32abs(REG_EBP, drc->icountptr); ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:341:3: note: in expansion of macro '_mov_r32_m32abs' _mov_r32_m32abs(REG_EDI, drc->pcptr); ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:343:3: note: in expansion of macro '_mov_r32_m32abs' _mov_r32_m32abs(REG_ESI, drc->esiptr); ^~~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_save_call_restore': src/x86drc.h:982:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] do { if (drc->uses_fp) OP1(0xe8); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^ src/x86drc.h:199:59: note: in definition of macro 'OP4' #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.c:354:2: note: in expansion of macro '_call' _call(target); /* call target*/ ^~~~~ src/x86drc.h:982:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] do { if (drc->uses_fp) OP1(0xe8); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^ src/x86drc.h:199:59: note: in definition of macro 'OP4' #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.c:354:2: note: in expansion of macro '_call' _call(target); /* call target*/ ^~~~~ src/x86drc.c: In function 'drc_append_dispatcher': src/x86drc.h:218:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((UINT32)(disp) == 0 && (base) != REG_ESP && (base) != REG_EBP) \ ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:222:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:222:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:228:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] OP1((INT32)disp); \ ^ src/x86drc.h:197:50: note: in definition of macro 'OP1' #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:233:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] OP1((INT32)disp); \ ^ src/x86drc.h:197:50: note: in definition of macro 'OP1' #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:242:4: note: in expansion of macro 'OP4' OP4(disp); \ ^~~ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:247:4: note: in expansion of macro 'OP4' OP4(disp); \ ^~~ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~Compiling src/machine/7474.c... src/x86drc.h:257:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((UINT32)(disp) == 0 || (base) == NO_BASE) \ ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:261:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((UINT32)(disp) != 0) OP4(disp); \ ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:261:28: note: in expansion of macro 'OP4' if ((UINT32)(disp) != 0) OP4(disp); \ ^~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:263:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)Compiling src/machine/74148.c... ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:263:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:267:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] OP1((INT32)disp); \ ^ src/x86drc.h:197:50: note: in definition of macro 'OP1' #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:273:3: note: in expansion of macro 'OP4' OP4(disp); \ ^~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drCompiling src/machine/8255ppi.c... Compiling src/machine/74153.c... c->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_fixed_dispatcher': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:404:3: note: in expansion of macro '_mov_r32_m32abs' _mov_r32_m32abs(REG_EAX, &drc->lookup_l1[newpc >> drc->l1shift]);/* mov eax,[(newpc >> l1shift)*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:987:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xff); MODRM_MABS(4, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:408:3: note: in expansion of macro '_jmp_m32abs' _jmp_m32abs((UINT8 *)base + (newpc & drc->l2mask) * drc->l2scale); /* jmp [eax+(newpc & l2mask)*l2scale]*/ ^~~~~~~~~~~ src/x86drc.c: In function 'drc_append_set_fp_rounding': src/x86drc.h:218:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((UINT32)(disp) == 0 && (base) != REG_ESP && (base) != REG_EBP) \ ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:222:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:222:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:228:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] OP1((INT32)disp); \ ^ src/x86drc.h:197:50: note: in definition of macro 'OP1' #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:233:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] OP1((INT32)disp); \ ^ src/x86drc.h:197:50: note: in definition of macro 'OP1' #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:242:4: note: in expansion of macro 'OP4' OP4(disp); \ ^~~ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:247:4: note: in expansion of macro 'OP4' OP4(disp); \ ^~~ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:257:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((UINT32)(disp) == 0 || (base) == NO_BASE) \ ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:261:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((UINT32)(disp) != 0) OP4(disp); \ ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:261:28: note: in expansion of macro 'OP4' if ((UINT32)(disp) != 0) OP4(disp); \ ^~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:263:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:263:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:267:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] OP1((INT32)disp); \ ^ src/x86drc.h:197:50: note: in definition of macro 'OP1' #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:273:3: note: in expansion of macro 'OP4' OP4(disp); \ ^~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:870:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:437:2: note: in expansion of macro '_fnstcw_m16abs' _fnstcw_m16abs(&drc->fpcw_curr); /* fnstcw [fpcw_curr]*/ ^~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_set_temp_fp_rounding': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:448:2: note: in expansion of macro '_fldcw_m16abs' _fldcw_m16abs(&fp_control[rounding]); /* fldcw [fp_control]*/ ^~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_restore_fp_rounding': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:459:2: note: in expansion of macro '_fldcw_m16abs' _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ ^~~~~~~~~~~~~ src/x86drc.c: In function 'append_entry_point': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:870:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:537:3: note: in expansion of macro '_fnstcw_m16abs' _fnstcw_m16abs(&drc->fpcw_save); /* fstcw [fpcw_save]*/ ^~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:538:3: note: in expansion of macro '_fldcw_m16abs' _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ ^~~~~~~~~~~~~ src/x86drc.c: In function 'append_recompile': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:290:17: note: in expansion of macro 'OP4' do { OP1(0x68); OP4(imm); } while (0) ^~~ src/x86drc.c:565:2: note: in expansion of macro '_push_imm' _push_imm(drc); /* push drc*/ ^~~~~~~~~ src/x86drc.c: In function 'append_out_of_cycles': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:581:3: note: in expansion of macro '_fldcw_m16abs' _fldcw_m16abs(&drc->fpcw_save); /* fldcw [fpcw_save]*/ ^~~~~~~~~~~~~ Compiling src/machine/eeprom.c... Compiling src/machine/mathbox.c... Compiling src/machine/random.c... Compiling src/machine/mb87078.c... Compiling src/machine/ticket.c... Compiling src/machine/idectrl.c... Compiling src/machine/tmp68301.c... src/machine/eeprom.c: In function 'EEPROM_reset': src/machine/eeprom.c:251:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (serial_count) ^~ src/machine/eeprom.c:254:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' serial_count = 0; ^~~~~~~~~~~~ src/machine/74148.c: In function 'TTL74148_update': src/machine/74148.c:84:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] bit0 = !((!chips[which].input_lines[1] & ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:88:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] (!chips[which].input_lines[3] & ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:91:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] (!chips[which].input_lines[5] & ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:95:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] bit1 = !((!chips[which].input_lines[2] & ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:98:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] (!chips[which].input_lines[3] & ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/z80fmly.c... Compiling src/sound/mixer.c... Compiling src/sound/filter.c... Compiling src/sound/wavwrite.c... Compiling src/sound/streams.c... Compiling src/sound/votrax.c... Compiling src/vidhrdw/avgdvg_vidhrdw.c... Compiling src/vidhrdw/generic.c... Compiling src/vidhrdw/poly.c... Compiling src/vidhrdw/tlc34076.c... Compiling src/drivers/pacman.c... Compiling src/machine/mspacman.c... Compiling src/vidhrdw/matrix3d.c... Compiling src/vidhrdw/vector.c... Compiling src/machine/theglobp.c... Compiling src/machine/acitya.c... Compiling src/drivers/jrpacman.c... Compiling src/vidhrdw/jrpacman_vidhrdw.c... Compiling src/vidhrdw/pengo_vidhrdw.c... Compiling src/drivers/pengo.c... Compiling src/machine/pacplus.c... Compiling src/drivers/epos.c... src/vidhrdw/tlc34076.c: In function 'tlc34076_w': src/vidhrdw/tlc34076.c:138:8: warning: variable 'oldval' set but not used [-Wunused-but-set-variable] UINT8 oldval; ^~~~~~ Compiling src/vidhrdw/epos_vidhrdw.c... Compiling src/vidhrdw/cclimber_vidhrdw.c... Compiling src/sndhrdw/cclimber_sndhrdw.c... Compiling src/drivers/cclimber.c... Compiling src/drivers/yamato.c... Compiling src/machine/jumpshot.c... Compiling src/vidhrdw/gomoku_vidhrdw.c... Compiling src/sndhrdw/gomoku_sndhrdw.c... Compiling src/drivers/gomoku.c... Compiling src/vidhrdw/wiping_vidhrdw.c... Compiling src/vidhrdw/seicross_vidhrdw.c... Compiling src/drivers/wiping.c... Compiling src/sndhrdw/wiping_sndhrdw.c... In file included from src/driver.h:68, from src/info.c:3: src/info.c: In function 'print_game_rom': src/common.h:230:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^ src/info.c:359:12: note: in expansion of macro 'ROMREGION_GETTYPE' switch (ROMREGION_GETTYPE(region)) ^~~~~~~~~~~~~~~~~ src/common.h:230:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^ src/info.c:395:58: note: in expansion of macro 'ROMREGION_GETTYPE' default: fprintf(out, " region=\"0x%x\"", ROMREGION_GETTYPE(region)); ^~~~~~~~~~~~~~~~~ At top level: src/info.c:646:13: warning: 'print_game_history' defined but not used [-Wunused-function] static void print_game_history(FILE* out, const struct GameDriver* game) ^~~~~~~~~~~~~~~~~~ Compiling src/drivers/seicross.c... Compiling src/vidhrdw/clshroad_vidhrdw.c... Compiling src/drivers/clshroad.c... Compiling src/drivers/tubep.c... Compiling src/vidhrdw/magmax_vidhrdw.c... Compiling src/drivers/magmax.c... Compiling src/vidhrdw/cop01_vidhrdw.c... Compiling src/drivers/cop01.c... Compiling src/vidhrdw/terracre_vidhrdw.c... Compiling src/vidhrdw/galivan_vidhrdw.c... Compiling src/drivers/terracre.c... Compiling src/drivers/galivan.c... Compiling src/vidhrdw/armedf_vidhrdw.c... Compiling src/drivers/armedf.c... Compiling src/machine/nb1413m3.c... Compiling src/vidhrdw/tubep_vidhrdw.c... Compiling src/vidhrdw/hyhoo_vidhrdw.c... src/vidhrdw/tubep_vidhrdw.c: In function 'palette_init_tubep': src/vidhrdw/tubep_vidhrdw.c:235:9: warning: variable 'output_scaler' set but not used [-Wunused-but-set-variable] double output_scaler; ^~~~~~~~~~~~~ In file included from src/vidhrdw/tubep_vidhrdw.c:22: At top level: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] static double compute_resistor_net_outputs( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/hyhoo.c... Compiling src/vidhrdw/pastelgl_vidhrdw.c... Compiling src/drivers/pastelgl.c... src/timer.c: In function 'timer_adjust_global_time': src/timer.c:325:71: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] log_cb(RETRO_LOG_DEBUG, LOGPRE "Timer %08X fired (expire=%.9f)\n", (UINT32)timer, timer->expire); ^ src/timer.c: In function 'timer_adjust': src/timer.c:417:74: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] log_cb(RETRO_LOG_DEBUG, LOGPRE "timer_adjust %08X to expire @ %.9f\n", (UINT32)which, which->expire); ^ Compiling src/drivers/nbmj8688.c... Compiling src/vidhrdw/nbmj8688_vidhrdw.c... Compiling src/vidhrdw/nbmj8891_vidhrdw.c... Compiling src/drivers/nbmj8891.c... Compiling src/vidhrdw/nbmj8991_vidhrdw.c... Compiling src/drivers/nbmj8991.c... Compiling src/drivers/nbmj9195.c... Compiling src/vidhrdw/niyanpai_vidhrdw.c... Compiling src/drivers/niyanpai.c... Compiling src/vidhrdw/nbmj9195_vidhrdw.c... Compiling src/machine/m68kfmly.c... Compiling src/drivers/safarir.c... Compiling src/vidhrdw/phoenix_vidhrdw.c... Compiling src/sndhrdw/phoenix_sndhrdw.c... Compiling src/drivers/phoenix.c... Compiling src/drivers/naughtyb.c... Compiling src/sndhrdw/pleiads.c... Compiling src/vidhrdw/naughtyb_vidhrdw.c... In file included from src/vidhrdw/naughtyb_vidhrdw.c:11: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] static double compute_resistor_net_outputs( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/geebee.c... Compiling src/vidhrdw/geebee_vidhrdw.c... Compiling src/sndhrdw/geebee_sndhrdw.c... Compiling src/machine/geebee_machine.c... Compiling src/vidhrdw/warpwarp_vidhrdw.c... Compiling src/sndhrdw/warpwarp_sndhrdw.c... Compiling src/drivers/warpwarp.c... Compiling src/vidhrdw/tankbatt_vidhrdw.c... Compiling src/drivers/tankbatt.c... Compiling src/vidhrdw/galaxian_vidhrdw.c... Compiling src/sndhrdw/galaxian_sndhrdw.c... Compiling src/drivers/galaxian.c... src/sndhrdw/galaxian_sndhrdw.c: In function 'galaxian_sh_start': src/sndhrdw/galaxian_sndhrdw.c:206:19: warning: variable 'charge' set but not used [-Wunused-but-set-variable] int i, j, sweep, charge, countdown, generator, bit1, bit2; ^~~~~~ src/sndhrdw/galaxian_sndhrdw.c:206:12: warning: variable 'sweep' set but not used [-Wunused-but-set-variable] int i, j, sweep, charge, countdown, generator, bit1, bit2; ^~~~~ src/sndhrdw/galaxian_sndhrdw.c:206:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] int i, j, sweep, charge, countdown, generator, bit1, bit2; ^ Compiling src/vidhrdw/rallyx_vidhrdw.c... Compiling src/drivers/rallyx.c... Compiling src/drivers/locomotn.c... Compiling src/machine/bosco_machine.c... Compiling src/sndhrdw/bosco_sndhrdw.c... Compiling src/vidhrdw/bosco_vidhrdw.c... src/vidhrdw/bosco_vidhrdw.c: In function 'video_update_bosco': src/vidhrdw/bosco_vidhrdw.c:326:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (flipscreen) sx += 32; ^~ src/vidhrdw/bosco_vidhrdw.c:327:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' sy = 225 - spriteram_2[offs] - displacement; ^~ Compiling src/drivers/bosco.c... Compiling src/machine/galaga_machine.c... Compiling src/vidhrdw/galaga_vidhrdw.c... Compiling src/drivers/galaga.c... Compiling src/vidhrdw/digdug_vidhrdw.c... Compiling src/drivers/digdug.c... Compiling src/machine/digdug_machine.c... Compiling src/vidhrdw/xevious_vidhrdw.c... Compiling src/drivers/xevious.c... Compiling src/machine/xevious_machine.c... Compiling src/machine/superpac_machine.c... Compiling src/vidhrdw/superpac_vidhrdw.c... Compiling src/drivers/superpac.c... Compiling src/machine/phozon_machine.c... Compiling src/vidhrdw/phozon_vidhrdw.c... Compiling src/drivers/phozon.c... Compiling src/machine/mappy_machine.c... Compiling src/vidhrdw/mappy_vidhrdw.c... Compiling src/drivers/mappy.c... Compiling src/machine/grobda_machine.c... Compiling src/vidhrdw/grobda_vidhrdw.c... Compiling src/machine/gaplus_machine.c... Compiling src/drivers/grobda.c... Compiling src/vidhrdw/gaplus_vidhrdw.c... Compiling src/drivers/gaplus.c... Compiling src/machine/toypop_machine.c... Compiling src/vidhrdw/toypop_vidhrdw.c... Compiling src/drivers/toypop.c... Compiling src/machine/polepos_machine.c... Compiling src/vidhrdw/polepos_vidhrdw.c... Compiling src/drivers/polepos.c... Compiling src/vidhrdw/pacland_vidhrdw.c... Compiling src/drivers/pacland.c... Compiling src/sndhrdw/polepos_sndhrdw.c... Compiling src/vidhrdw/skykid_vidhrdw.c... Compiling src/drivers/skykid.c... Compiling src/drivers/baraduke.c... Compiling src/vidhrdw/namcos86_vidhrdw.c... Compiling src/drivers/namcos86.c... Compiling src/vidhrdw/baraduke_vidhrdw.c... Compiling src/vidhrdw/tceptor_vidhrdw.c... Compiling src/drivers/tceptor.c... Compiling src/machine/namcos1_machine.c... Compiling src/vidhrdw/namcos1_vidhrdw.c... Compiling src/machine/namcos2_machine.c... Compiling src/drivers/namcos1.c... src/vidhrdw/tceptor_vidhrdw.c: In function 'palette_init_tceptor': src/vidhrdw/tceptor_vidhrdw.c:47:17: warning: variable 'totlookup' set but not used [-Wunused-but-set-variable] int totcolors, totlookup; ^~~~~~~~~ Compiling src/vidhrdw/namcos2_vidhrdw.c... Compiling src/drivers/namcos2.c... Compiling src/drivers/namcoic.c... Compiling src/drivers/namcona1.c... Compiling src/vidhrdw/namcona1_vidhrdw.c... Compiling src/vidhrdw/namconb1_vidhrdw.c... Compiling src/drivers/namconb1.c... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/namconb1.c:290: src/inptport.h:187:36: warning: 'input_ports_machbrkr' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/namconb1.c:1141:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( machbrkr ) ^~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/ygv608.c... Compiling src/vidhrdw/psx_vidhrdw.c... Compiling src/drivers/namcond1.c... Compiling src/drivers/namcos10.c... Compiling src/machine/namcond1_machine.c... Compiling src/machine/psx_machine.c... src/vidhrdw/psx_vidhrdw.c: In function 'MonochromeLine': src/vidhrdw/psx_vidhrdw.c:2106:8: warning: variable 'n_db' set but not used [-Wunused-but-set-variable] INT32 n_db; ^~~~ src/vidhrdw/psx_vidhrdw.c:2105:8: warning: variable 'n_dg' set but not used [-Wunused-but-set-variable] INT32 n_dg; ^~~~ src/vidhrdw/psx_vidhrdw.c:2104:8: warning: variable 'n_dr' set but not used [-Wunused-but-set-variable] INT32 n_dr; ^~~~ Compiling src/drivers/namcos11.c... Compiling src/vidhrdw/namcos21_vidhrdw.c... Compiling src/vidhrdw/namcos3d.c... Compiling src/drivers/namcos12.c... In file included from src/drivers/namcos11.c:144: src/driver.h:98:7: warning: 'construct_coh110' defined but not used [-Wunused-function] void construct_##game(struct InternalMachineDriver *machine) \ ^~~~~~~~~~ src/drivers/namcos11.c:797:8: note: in expansion of macro 'MACHINE_DRIVER_START' static MACHINE_DRIVER_START( coh110 ) ^~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/namcos22.c... Compiling src/drivers/cosmic.c... Compiling src/vidhrdw/cosmic_vidhrdw.c... Compiling src/vidhrdw/namcos22_vidhrdw.c... Compiling src/drivers/namcos21.c... Compiling src/vidhrdw/redclash_vidhrdw.c... src/drivers/cosmic.c: In function 'panic_sound_output_w': src/drivers/cosmic.c:69:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/drivers/cosmic.c:71:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ src/drivers/cosmic.c: In function 'panic_interrupt': src/drivers/cosmic.c:190:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((input_port_3_r(0) & 0xc0) != 0xc0) ^~ src/drivers/cosmic.c:193:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' cpu_set_irq_line_and_vector(0, 0, HOLD_LINE, 0xcf); /* RST 08h */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/redclash.c... Compiling src/vidhrdw/cheekyms_vidhrdw.c... Compiling src/drivers/ladybug.c... Compiling src/vidhrdw/ladybug_vidhrdw.c... Compiling src/vidhrdw/mrdo_vidhrdw.c... Compiling src/drivers/cheekyms.c... Compiling src/drivers/mrdo.c... Compiling src/vidhrdw/docastle_vidhrdw.c... src/vidhrdw/cosmic_vidhrdw.c: In function 'cosmica_draw_starfield': src/vidhrdw/cosmic_vidhrdw.c:378:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if ((!(hc & va) & (vb ^ hb_)) && /* right network */ ^~~~~~~~~~ src/vidhrdw/cosmic_vidhrdw.c: In function 'nomnlnd_draw_background': src/vidhrdw/cosmic_vidhrdw.c:536:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if ((!vb_ & vc_ & !vd_) ^ (vb_ & !vc_ & vd_)) ^~~~ src/vidhrdw/cosmic_vidhrdw.c:539:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (!hd_ & hc_ & !hb_) ^~~~ src/vidhrdw/cosmic_vidhrdw.c:570:15: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] (!plane1 & hd) << 2; // B - see above ^~~~~~~ Compiling src/vidhrdw/dkong_vidhrdw.c... Compiling src/machine/docastle_machine.c... Compiling src/drivers/docastle.c... Compiling src/sndhrdw/dkong_sndhrdw.c... Compiling src/drivers/dkong.c... Compiling src/machine/strtheat.c... src/vidhrdw/dkong_vidhrdw.c: In function 'radarscp_grid_color_w': src/vidhrdw/dkong_vidhrdw.c:220:10: warning: variable 'b' set but not used [-Wunused-but-set-variable] int r,g,b; ^ src/vidhrdw/dkong_vidhrdw.c:220:8: warning: variable 'g' set but not used [-Wunused-but-set-variable] int r,g,b; ^ src/vidhrdw/dkong_vidhrdw.c:220:6: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r,g,b; ^ Compiling src/vidhrdw/mario_vidhrdw.c... Compiling src/vidhrdw/popeye_vidhrdw.c... Compiling src/sndhrdw/mario_sndhrdw.c... Compiling src/drivers/mario.c... Compiling src/drivers/popeye.c... Compiling src/vidhrdw/punchout_vidhrdw.c... Compiling src/vidhrdw/ppu2c03b.c... Compiling src/machine/playch10_machine.c... Compiling src/drivers/punchout.c... Compiling src/vidhrdw/playch10_vidhrdw.c... Compiling src/machine/rp5h01.c... Compiling src/drivers/playch10.c... Compiling src/machine/vsnes_machine.c... Compiling src/vidhrdw/vsnes_vidhrdw.c... Compiling src/drivers/vsnes.c... Compiling src/machine/snes_machine.c... Compiling src/vidhrdw/snes_vidhrdw.c... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/vsnes.c:128: src/inptport.h:187:36: warning: 'input_ports_vsnes' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/vsnes.c:524:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( vsnes ) ^~~~~~~~~~~~~~~~~ src/machine/snes_machine.c:1129:12: warning: 'snes_validate_infoblock' defined but not used [-Wunused-function] static int snes_validate_infoblock( UINT8 *infoblock, UINT16 offset ) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/snes_vidhrdw.c: In function 'snes_update_line_8': src/vidhrdw/snes_vidhrdw.c:1131:27: warning: variable 'pal' set but not used [-Wunused-but-set-variable] UINT16 ii, vflip, hflip, pal; ^~~ Compiling src/sndhrdw/snes_sndhrdw.c... Compiling src/drivers/nss.c... Compiling src/machine/8080bw.c... src/sndhrdw/snes_sndhrdw.c: In function 'fakespc_port_r': src/sndhrdw/snes_sndhrdw.c:586:21: warning: array subscript 4 is above array bounds of 'UINT8[4]' {aka 'unsigned char[4]'} [-Warray-bounds] return fakeapu_port[offset]; ~~~~~~~~~~~~^~~~~~~~ Compiling src/vidhrdw/8080bw_vidhrdw.c... Compiling src/sndhrdw/8080bw_sndhrdw.c... Compiling src/drivers/8080bw_drivers.c... Compiling src/vidhrdw/sspeedr_vidhrdw.c... Compiling src/drivers/sspeedr.c... Compiling src/vidhrdw/m79amb_vidhrdw.c... Compiling src/drivers/m79amb.c... Compiling src/drivers/rotaryf.c... Compiling src/drivers/lazercmd.c... Compiling src/vidhrdw/lazercmd_vidhrdw.c... Compiling src/drivers/meadows.c... Compiling src/sndhrdw/meadows_sndhrdw.c... Compiling src/vidhrdw/meadows_vidhrdw.c... Compiling src/drivers/cvs.c... Compiling src/vidhrdw/cvs_vidhrdw.c... Compiling src/vidhrdw/s2636_vidhrdw.c... Compiling src/machine/astrocde_machine.c... Compiling src/drivers/astrocde.c... Compiling src/vidhrdw/astrocde_vidhrdw.c... Compiling src/sndhrdw/astrocde_sndhrdw.c... Compiling src/sndhrdw/gorf.c... src/sndhrdw/astrocde_sndhrdw.c: In function 'wow_speech_r': src/sndhrdw/astrocde_sndhrdw.c:128:14: warning: variable 'Intonation' set but not used [-Wunused-but-set-variable] int Phoneme,Intonation; ^~~~~~~~~~ Compiling src/machine/mcr.c... Compiling src/sndhrdw/mcr_sndhrdw.c... Compiling src/vidhrdw/mcr12_vidhrdw.c... Compiling src/vidhrdw/mcr3_vidhrdw.c... Compiling src/drivers/mcr1.c... Compiling src/drivers/mcr2.c... Compiling src/drivers/mcr3.c... Compiling src/vidhrdw/mcr68_vidhrdw.c... Compiling src/drivers/mcr68.c... Compiling src/vidhrdw/balsente_vidhrdw.c... Compiling src/machine/balsente_machine.c... src/machine/balsente_machine.c: In function 'balsente_chip_select_w': src/machine/balsente_machine.c:1024:11: warning: variable 'temp' set but not used [-Wunused-but-set-variable] double temp = 0; ^~~~ Compiling src/drivers/balsente.c... Compiling src/vidhrdw/gridlee_vidhrdw.c... Compiling src/sndhrdw/gridlee_sndhrdw.c... Compiling src/drivers/gridlee.c... Compiling src/drivers/seattle.c... Compiling src/vidhrdw/voodoo_vidhrdw.c... src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo2_regs_w': src/vidhrdw/voodoo_vidhrdw.c:1729:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] logerror("CMDFIFO(%06X)=%f (min=%06X max=%06X d=%d h=%d)\n", addr, *(float *)&data, voodoo_regs[cmdFifoAMin], voodoo_regs[cmdFifoAMax], voodoo_regs[cmdFifoDepth], voodoo_regs[cmdFifoHoles]); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo_regs_w': src/vidhrdw/voodoo_vidhrdw.c:1781:130: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] logerror("%06X:voodoo %s(%d) write = %f\n", activecpu_get_pc(), (offset < 0x384/4) ? voodoo_reg_name[offset] : "oob", chips, *(float *)&data); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1898:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_va.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:1901:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_va.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:1904:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_vb.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:1907:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_vb.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:1910:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_vc.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:1913:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_vc.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:1918:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_startr = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1921:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_startg = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1924:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_startb = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1927:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_starta = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1930:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_startz = (INT32)(*(float *)&data * 4096.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1933:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_startw = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1934:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_startw0 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1935:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_startw1 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1938:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_starts0 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1939:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_starts1 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1942:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_startt0 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1943:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_startt1 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1948:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_drdx = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1951:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dgdx = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1954:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dbdx = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1957:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dadx = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1960:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dzdx = (INT32)(*(float *)&data * 4096.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1963:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dwdx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1964:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_dw0dx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1965:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_dw1dx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1968:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_ds0dx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1969:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_ds1dx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1972:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_dt0dx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1973:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_dt1dx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1978:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_drdy = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1981:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dgdy = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1984:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dbdy = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1987:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dady = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1990:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dzdy = (INT32)(*(float *)&data * 4096.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1993:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dwdy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1994:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_dw0dy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1995:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_dw1dy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1998:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_ds0dy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1999:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_ds1dy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2002:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_dt0dy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2003:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_dt1dy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2008:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:2011:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:2020:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.wb = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2023:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.w0 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2026:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.s0 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2029:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.t0 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2032:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.w1 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2035:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.s1 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2038:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.t1 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2041:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.a = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2044:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.r = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2047:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.g = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2050:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.b = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo_textureram_w': src/vidhrdw/voodoo_vidhrdw.c:2969:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s == 0 && t == 0) ^~ src/vidhrdw/voodoo_vidhrdw.c:2971:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' while (lod != 0) ^~~~~ Compiling src/vidhrdw/exterm_vidhrdw.c... Compiling src/drivers/exterm.c... Compiling src/machine/midwayic.c... Compiling src/sndhrdw/dcs.c... Compiling src/machine/midyunit_machine.c... Compiling src/vidhrdw/midyunit_vidhrdw.c... Compiling src/drivers/midyunit.c... Compiling src/drivers/midxunit.c... Compiling src/drivers/midwunit.c... Compiling src/machine/midwunit_machine.c... Compiling src/vidhrdw/midvunit_vidhrdw.c... Compiling src/drivers/midvunit.c... Compiling src/machine/midtunit_machine.c... src/vidhrdw/midvunit_vidhrdw.c: In function 'midvunit_dma_queue_w': src/vidhrdw/midvunit_vidhrdw.c:1026:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (keyboard_pressed(KEYCODE_L)) ^~ src/vidhrdw/midvunit_vidhrdw.c:1028:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dma_data_index < 16) ^~ Compiling src/vidhrdw/midtunit_vidhrdw.c... Compiling src/vidhrdw/skychut_vidhrdw.c... Compiling src/drivers/midtunit.c... Compiling src/drivers/skychut.c... Compiling src/sndhrdw/irem.c... Compiling src/vidhrdw/mpatrol_vidhrdw.c... Compiling src/drivers/olibochu.c... Compiling src/drivers/mpatrol.c... Compiling src/vidhrdw/troangel_vidhrdw.c... Compiling src/drivers/troangel.c... Compiling src/vidhrdw/yard_vidhrdw.c... Compiling src/drivers/yard.c... Compiling src/vidhrdw/travrusa_vidhrdw.c... Compiling src/drivers/travrusa.c... Compiling src/drivers/wilytowr.c... Compiling src/vidhrdw/m62_vidhrdw.c... Compiling src/drivers/m62.c... Compiling src/vidhrdw/vigilant_vidhrdw.c... Compiling src/drivers/vigilant.c... In file included from src/driver.h:64, from src/includes/namcos22.h:1, from src/drivers/namcos22.c:552: src/drivers/namcos22.c:602:25: warning: 'namcos22_C139_SCI_w' defined but not used [-Wunused-function] static WRITE32_HANDLER( namcos22_C139_SCI_w ) ^~~~~~~~~~~~~~~~~~~ src/memory.h:131:40: note: in definition of macro 'WRITE32_HANDLER' #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask) ^~~~ Compiling src/vidhrdw/m72_vidhrdw.c... Compiling src/drivers/m72.c... Compiling src/vidhrdw/shisen_vidhrdw.c... Compiling src/drivers/shisen.c... Compiling src/vidhrdw/m90_vidhrdw.c... Compiling src/sndhrdw/m72_sndhrdw.c... Compiling src/machine/irem_cpu.c... Compiling src/vidhrdw/m92_vidhrdw.c... Compiling src/vidhrdw/m107_vidhrdw.c... Compiling src/drivers/m107.c... Compiling src/drivers/m92.c... Compiling src/vidhrdw/gottlieb_vidhrdw.c... Compiling src/sndhrdw/gottlieb_sndhrdw.c... Compiling src/drivers/gottlieb.c... Compiling src/drivers/sbowling.c... src/sndhrdw/gottlieb_sndhrdw.c: In function 'gottlieb_speech_w': src/sndhrdw/gottlieb_sndhrdw.c:120:13: warning: variable 'queue' set but not used [-Wunused-but-set-variable] static int queue[100],pos; ^~~~~ Compiling src/vidhrdw/chaknpop_vidhrdw.c... Compiling src/drivers/m90.c... Compiling src/machine/chaknpop_machine.c... Compiling src/drivers/chaknpop.c... src/drivers/m72.c:136:12: warning: 'find_sample' defined but not used [-Wunused-function] static int find_sample(int num) ^~~~~~~~~~~ Compiling src/machine/qix_machine.c... Compiling src/vidhrdw/qix_vidhrdw.c... Compiling src/drivers/qix.c... Compiling src/machine/taitosj_machine.c... Compiling src/drivers/taitosj.c... Compiling src/machine/grchamp_machine.c... Compiling src/vidhrdw/grchamp_vidhrdw.c... Compiling src/vidhrdw/taitosj_vidhrdw.c... Compiling src/drivers/grchamp.c... Compiling src/machine/pitnrun_machine.c... Compiling src/vidhrdw/pitnrun_vidhrdw.c... Compiling src/drivers/marinedt.c... Compiling src/drivers/pitnrun.c... Compiling src/vidhrdw/crbaloon_vidhrdw.c... Compiling src/drivers/crbaloon.c... Compiling src/vidhrdw/bking2_vidhrdw.c... Compiling src/drivers/bking2.c... Compiling src/vidhrdw/gsword_vidhrdw.c... Compiling src/drivers/gsword.c... Compiling src/machine/tait8741.c... Compiling src/vidhrdw/msisaac_vidhrdw.c... Compiling src/drivers/msisaac.c... Compiling src/machine/retofinv_machine.c... In file included from src/driver.h:64, from src/drivers/msisaac.c:10: src/drivers/msisaac.c:352:28: warning: 'mcu_writemem' defined but not used [-Wunused-const-variable=] static MEMORY_WRITE_START( mcu_writemem ) ^~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/msisaac.c:352:8: note: in expansion of macro 'MEMORY_WRITE_START' static MEMORY_WRITE_START( mcu_writemem ) ^~~~~~~~~~~~~~~~~~ src/drivers/msisaac.c:344:27: warning: 'mcu_readmem' defined but not used [-Wunused-const-variable=] static MEMORY_READ_START( mcu_readmem ) ^~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/msisaac.c:344:8: note: in expansion of macro 'MEMORY_READ_START' static MEMORY_READ_START( mcu_readmem ) ^~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/retofinv_vidhrdw.c... In file included from src/drivers/midvunit.c:21: src/driver.h:19:33: warning: 'init_crusnw13' defined but not used [-Wunused-function] #define DRIVER_INIT(name) void init_##name(void) ^~~~~ src/drivers/midvunit.c:1396:8: note: in expansion of macro 'DRIVER_INIT' sCompiling src/drivers/retofinv.c... Compiling src/vidhrdw/rollrace_vidhrdw.c... tatic DRIVER_INIT( crusnw13 ) { init_crusnwld_common(0); } ^~~~~~~~~~~ src/driver.h:19:33: warning: 'init_crusnw20' defined but not used [-Wunused-function] #define DRIVER_INIT(name) void init_##name(void) ^~~~~ src/drivers/midvunit.c:1395:8: note: in expansion of macro 'DRIVER_INIT' static DRIVER_INIT( crusnw20 ) { init_crusnwld_common(0xd49c); } ^~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/midvunit.c:21: src/drivers/midvunit.c:324:25: warning: 'crusnwld_serial_data_w' defined but not used [-Wunused-function] static WRITE32_HANDLER( crusnwld_serial_data_w ) ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:131:40: note: in definition of macro 'WRITE32_HANDLER' #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask) ^~~~ src/drivers/midvunit.c:318:24: warning: 'crusnwld_serial_data_r' defined but not used [-Wunused-function] static READ32_HANDLER( crusnwld_serial_data_r ) ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: in definition of macro 'READ32_HANDLER' #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) ^~~~ src/drivers/midvunit.c:311:24: warning: 'crusnwld_serial_status_r' defined but not used [-Wunused-function] static READ32_HANDLER( crusnwld_serial_status_r ) ^~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: in definition of macro 'READ32_HANDLER' #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) ^~~~ Compiling src/drivers/rollrace.c... Compiling src/vidhrdw/40love_vidhrdw.c... Compiling src/vidhrdw/ssrj_vidhrdw.c... Compiling src/drivers/ssrj.c... Compiling src/machine/bigevglf_machine.c... Compiling src/drivers/40love.c... Compiling src/vidhrdw/bigevglf_vidhrdw.c... Compiling src/drivers/bigevglf.c... Compiling src/vidhrdw/tsamurai_vidhrdw.c... Compiling src/drivers/tsamurai.c... Compiling src/machine/flstory_machine.c... Compiling src/vidhrdw/flstory_vidhrdw.c... Compiling src/drivers/flstory.c... Compiling src/machine/nycaptor_machine.c... Compiling src/vidhrdw/nycaptor_vidhrdw.c... Compiling src/drivers/nycaptor.c... Compiling src/drivers/gladiatr.c... Compiling src/drivers/halleys.c... Compiling src/vidhrdw/lsasquad_vidhrdw.c... Compiling src/machine/lsasquad_machine.c... Compiling src/drivers/lsasquad.c... Compiling src/vidhrdw/gladiatr_vidhrdw.c... src/drivers/halleys.c: In function 'blit': src/drivers/halleys.c:863:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x01) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:863:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x01) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c:864:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x02) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:864:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x02) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c:865:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x04) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:865:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x04) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c:866:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x08) dst_ptr[ecIn file included from src/drivers/sbowling.c:43: src/vidhrdw/res_net.h:76:15: warning: 'compute_resistor_weights' defined but not used [-Wunused-function] static double compute_resistor_weights( ^~~~~~~~~~~~~~~~~~~~~~~~ x] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:866:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x08) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c:867:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x10) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:867:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x10) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c:868:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x20) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:868:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x20) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c:869:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x40) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:869:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x40) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c: In function 'copy_fixed_xp': src/drivers/halleys.c:1337:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ax) edi[ecx ] = ax; ax = esi[ecx+2]; ^~ src/drivers/halleys.c:1337:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ax) edi[ecx ] = ax; ax = esi[ecx+2]; ^~ src/drivers/halleys.c:1338:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (bx) edi[ecx+1] = bx; bx = esi[ecx+3]; ^~ src/drivers/halleys.c:1338:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (bx) edi[ecx+1] = bx; bx = esi[ecx+3]; ^~ src/drivers/halleys.c:1339:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ax) edi[ecx+2] = ax; ax = esi[ecx+4]; ^~ src/drivers/halleys.c:1339:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ax) edi[ecx+2] = ax; ax = esi[ecx+4]; ^~ src/drivers/halleys.c:1340:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (bx) edi[ecx+3] = bx; bx = esi[ecx+5]; ^~ src/drivers/halleys.c:1340:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (bx) edi[ecx+3] = bx; bx = esi[ecx+5]; ^~ src/drivers/halleys.c:1341:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ax) edi[ecx+4] = ax; ax = esi[ecx+6]; ^~ src/drivers/halleys.c:1341:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ax) edi[ecx+4] = ax; ax = esi[ecx+6]; ^~ src/drivers/halleys.c:1342:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (bx) edi[ecx+5] = bx; bx = esi[ecx+7]; ^~ src/drivers/halleys.c:1342:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (bx) edi[ecx+5] = bx; bx = esi[ecx+7]; ^~ src/drivers/halleys.c: In function 'copy_fixed_2b': src/drivers/halleys.c:1420:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(ax)) goto SKIP0; if (!(ax&SP_2BACK)) goto DRAW0; if (edi[ecx ]) goto SKIP0; ^~ src/drivers/halleys.c:1420:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(ax)) goto SKIP0; if (!(ax&SP_2BACK)) goto DRAW0; if (edi[ecx ]) goto SKIP0; ^~ src/drivers/halleys.c:1422:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(bx)) goto SKIP1; if (!(bx&SP_2BACK)) goto DRAW1; if (edi[ecx+1]) goto SKIP1; ^~ src/drivers/halleys.c:1422:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(bx)) goto SKIP1; if (!(bx&SP_2BACK)) goto DRAW1; if (edi[ecx+1]) goto SKIP1; ^~ src/drivers/halleys.c:1425:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(ax)) goto SKIP2; if (!(ax&SP_2BACK)) goto DRAW2; if (edi[ecx+2]) goto SKIP2; ^~ src/drivers/halleys.c:1425:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(ax)) goto SKIP2; if (!(ax&SP_2BACK)) goto DRAW2; if (edi[ecx+2]) goto SKIP2; ^~ src/drivers/halleys.c:1427:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(bx)) goto SKIP3; if (!(bx&SP_2BACK)) goto DRAW3; if (edi[ecx+3]) goto SKIP3; ^~ src/drivers/halleys.c:1427:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(bx)) goto SKIP3; if (!(bx&SP_2BACK)) goto DRAW3; if (edi[ecx+3]) goto SKIP3; ^~ src/drivers/halleys.c:1430:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(ax)) goto SKIP4; if (!(ax&SP_2BACK)) goto DRAW4; if (edi[ecx+4]) goto SKIP4; ^~ src/drivers/halleys.c:1430:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(ax)) goto SKIP4; if (!(ax&SP_2BACK)) goto DRAW4; if (edi[ecx+4]) goto SKIP4; ^~ src/drivers/halleys.c:1432:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(bx)) goto SKIP5; if (!(bx&SP_2BACK)) goto DRAW5; if (edi[ecx+5]) goto SKIP5; ^~ src/drivers/halleys.c:1432:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(bx)) goto SKIP5; if (!(bx&SP_2BACK)) goto DRAW5; if (edi[ecx+5]) goto SKIP5; ^~ src/drivers/halleys.c:1435:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(ax)) goto SKIP6; if (!(ax&SP_2BACK)) goto DRAW6; if (edi[ecx+6]) goto SKIP6; ^~ src/drivers/halleys.c:1435:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(ax)) goto SKIP6; if (!(ax&SP_2BACK)) goto DRAW6; if (edi[ecx+6]) goto SKIP6; ^~ src/drivers/halleys.c:1437:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(bx)) continue; if (!(bx&SP_2BACK)) goto DRAW7; if (edi[ecx+7]) continue; ^~ src/drivers/halleys.c:1437:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(bx)) continue; if (!(bx&SP_2BACK)) goto DRAW7; if (edi[ecx+7]) continue; ^~ At top level: src/drivers/halleys.c:1356:13: warning: 'copy_fixed_ab' defined but not used [-Wunused-function] static void copy_fixed_ab(struct mame_bitmap *bitmap, WORD *source) ^~~~~~~~~~~~~ src/drivers/halleys.c:1307:13: warning: 'copy_fixed_op' defined but not used [-Wunused-function] static void copy_fixed_op(struct mame_bitmap *bitmap, WORD *source) ^~~~~~~~~~~~~ Compiling src/machine/bublbobl_machine.c... Compiling src/vidhrdw/bublbobl_vidhrdw.c... Compiling src/drivers/bublbobl.c... Compiling src/drivers/missb2.c... Compiling src/machine/mexico86_machine.c... Compiling src/vidhrdw/mexico86_vidhrdw.c... Compiling src/drivers/mexico86.c... Compiling src/drivers/darius.c... Compiling src/vidhrdw/darius_vidhrdw.c... src/vidhrdw/mexico86_vidhrdw.c: In function 'video_update_kikikai': src/vidhrdw/mexico86_vidhrdw.c:186:14: warning: variable 'gfx_attr' set but not used [-Wunused-but-set-variable] int gfx_num,gfx_attr,gfx_offs; ^~~~~~~~ Compiling src/vidhrdw/rastan_vidhrdw.c... Compiling src/drivers/rastan.c... Compiling src/machine/rainbow_machine.c... Compiling src/sndhrdw/rastan_sndhrdw.c... Compiling src/drivers/rainbow.c... Compiling src/drivers/opwolf.c... Compiling src/drivers/othunder.c... Compiling src/vidhrdw/othunder_vidhrdw.c... Compiling src/drivers/topspeed.c... Compiling src/vidhrdw/topspeed_vidhrdw.c... Compiling src/machine/arkanoid_machine.c... Compiling src/vidhrdw/arkanoid_vidhrdw.c... Compiling src/drivers/arkanoid.c... Compiling src/drivers/superqix.c... Compiling src/vidhrdw/superqix_vidhrdw.c... Compiling src/drivers/pbillian.c... Compiling src/sndhrdw/pbillian_sndhrdw.c... src/drivers/missb2.c: In function 'video_update_missb2': src/drivers/missb2.c:106:20: warning: variable 'color' set but not used [-Wunused-but-set-variable] int goffs,code,color,flipx,flipy,x,y; ^~~~~ Compiling src/vidhrdw/exzisus_vidhrdw.c... Compiling src/drivers/taito_x.c... Compiling src/vidhrdw/minivadr_vidhrdw.c... Compiling src/machine/cchip.c... Compiling src/drivers/exzisus.c... Compiling src/drivers/minivadr.c... Compiling src/vidhrdw/pbillian_vidhrdw.c... Compiling src/drivers/ashnojoe.c... Compiling src/machine/volfied_machine.c... Compiling src/vidhrdw/ashnojoe_vidhrdw.c... Compiling src/vidhrdw/volfied_vidhrdw.c... Compiling src/drivers/volfied.c... Compiling src/machine/bonzeadv.c... Compiling src/vidhrdw/asuka_vidhrdw.c... Compiling src/drivers/asuka.c... Compiling src/vidhrdw/wgp_vidhrdw.c... Compiling src/drivers/wgp.c... Compiling src/vidhrdw/slapshot_vidhrdw.c... src/vidhrdw/wgp_vidhrdw.c: In function 'wgp_draw_sprites': src/vidhrdw/wgp_vidhrdw.c:385:9: warning: variable 'rotate' set but not used [-Wunused-but-set-variable] UINT16 rotate=0; ^~~~~~ src/vidhrdw/wgp_vidhrdw.c: In function 'wgp_piv_layer_draw': src/vidhrdw/wgp_vidhrdw.c:590:24: warning: variable 'x_max' set but not used [-Wunused-but-set-variable] int sx,x_index,x_step,x_max; ^~~~~ Compiling src/drivers/slapshot.c... Compiling src/vidhrdw/ninjaw_vidhrdw.c... Compiling src/drivers/ninjaw.c... src/vidhrdw/ninjaw_vidhrdw.c: In function 'ninjaw_draw_sprites': src/vidhrdw/ninjaw_vidhrdw.c:71:22: warning: variable 'invis' set but not used [-Wunused-but-set-variable] int x, y, priority, invis, curx, cury; ^~~~~ Compiling src/vidhrdw/warriorb_vidhrdw.c... Compiling src/drivers/warriorb.c... Compiling src/machine/tnzs_machine.c... Compiling src/vidhrdw/tnzs_vidhrdw.c... Compiling src/drivers/tnzs.c... Compiling src/vidhrdw/buggychl_vidhrdw.c... Compiling src/machine/buggychl_machine.c... Compiling src/machine/lkage_machine.c... Compiling src/drivers/buggychl.c... Compiling src/vidhrdw/lkage_vidhrdw.c... Compiling src/drivers/lkage.c... Compiling src/vidhrdw/taitoic.c... Compiling src/sndhrdw/taitosnd.c... Compiling src/vidhrdw/taito_l_vidhrdw.c... Compiling src/drivers/taito_l.c... Compiling src/vidhrdw/taito_b_vidhrdw.c... Compiling src/drivers/taito_h.c... Compiling src/vidhrdw/taito_h_vidhrdw.c... Compiling src/drivers/taito_b.c... Compiling src/vidhrdw/taito_z_vidhrdw.c... Compiling src/drivers/taito_z.c... Compiling src/vidhrdw/gunbustr_vidhrdw.c... Compiling src/drivers/gunbustr.c... Compiling src/vidhrdw/superchs_vidhrdw.c... Compiling src/drivers/superchs.c... Compiling src/vidhrdw/undrfire_vidhrdw.c... Compiling src/drivers/undrfire.c... Compiling src/drivers/groundfx.c... Compiling src/vidhrdw/taito_f3_vidhrdw.c... Compiling src/vidhrdw/groundfx_vidhrdw.c... Compiling src/vidhrdw/taito_f2_vidhrdw.c... Compiling src/drivers/taito_f2.c... src/vidhrdw/taito_f3_vidhrdw.c: In function 'get_sprite_info': src/vidhrdw/taito_f3_vidhrdw.c:2888:40: warning: variable 'old_y' set but not used [-Wunused-but-set-variable] int offs,spritecont,flipx,flipy,old_x,old_y,color,x,y; ^~~~~ Compiling src/vidhrdw/taitoair_vidhrdw.c... Compiling src/drivers/taitoair.c... Compiling src/drivers/taito_f3.c... In file included from src/driver.h:64, from src/drivers/slapshot.c:134: src/drivers/slapshot.c:212:24: warning: 'opwolf3_service_input_r' defined but not used [-Wunused-function] static READ16_HANDLER( opwolf3_service_input_r ) ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ Compiling src/vidhrdw/slapfght_vidhrdw.c... Compiling src/sndhrdw/taito_f3_sndhrdw.c... Compiling src/drivers/slapfght.c... src/sndhrdw/taito_f3_sndhrdw.c: In function 'f3_volume_w': src/sndhrdw/taito_f3_sndhrdw.c:57:36: warning: variable 'last_r' set but not used [-Wunused-but-set-variable] static data16_t channel[8],last_l,last_r; ^~~~~~ src/sndhrdw/taito_f3_sndhrdw.c:57:29: warning: variable 'last_l' set but not used [-Wunused-but-set-variable] static data16_t channel[8],last_l,last_r; ^~~~~~ Compiling src/machine/twincobr_machine.c... src/machine/twincobr_machine.c: In function 'twincobr_dsp_w': src/machine/twincobr_machine.c:158:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dsp_addr_w < 2) && (data == 0)) dsp_execute = 1; break; ^~ src/machine/twincobr_machine.c:158:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((dsp_addr_w < 2) && (data == 0)) dsp_execute = 1; break; ^~~~~ src/machine/twincobr_machine.c:163:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dsp_addr_w < 2) && (data == 0)) dsp_execute = 1; break; ^~ src/machine/twincobr_machine.c:163:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((dsp_addr_w < 2) && (data == 0)) dsp_execute = 1; break; ^~~~~ Compiling src/vidhrdw/twincobr_vidhrdw.c... Compiling src/drivers/twincobr.c... Compiling src/drivers/wardner.c... Compiling src/drivers/mjsister.c... Compiling src/vidhrdw/mjsister_vidhrdw.c... Compiling src/machine/slapfght_machine.c... Compiling src/machine/toaplan1_machine.c... Compiling src/drivers/toaplan1.c... src/machine/toaplan1_machine.c: In function 'demonwld_dsp_w': src/machine/toaplan1_machine.c:81:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dsp_addr_w < 3) && (data == 0)) dsp_execute = 1; break; ^~ src/machine/toaplan1_machine.c:81:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((dsp_addr_w < 3) && (data == 0)) dsp_execute = 1; break; ^~~~~ Compiling src/drivers/snowbros.c... Compiling src/vidhrdw/toaplan1_vidhrdw.c... Compiling src/vidhrdw/snowbros_vidhrdw.c... Compiling src/vidhrdw/toaplan2_vidhrdw.c... Compiling src/vidhrdw/cave_vidhrdw.c... Compiling src/drivers/cave.c... Compiling src/vidhrdw/kyugo_vidhrdw.c... Compiling src/drivers/toaplan2.c... Compiling src/machine/kyugo_machine.c... Compiling src/drivers/kyugo.c... Compiling src/machine/williams_machine.c... Compiling src/vidhrdw/williams_vidhrdw.c... Compiling src/drivers/williams.c... Compiling src/sndhrdw/williams_sndhrdw.c... Compiling src/vidhrdw/vulgus_vidhrdw.c... Compiling src/drivers/vulgus.c... Compiling src/vidhrdw/sonson_vidhrdw.c... Compiling src/drivers/sonson.c... Compiling src/vidhrdw/higemaru_vidhrdw.c... Compiling src/drivers/higemaru.c... Compiling src/vidhrdw/1942_vidhrdw.c... Compiling src/drivers/1942.c... Compiling src/vidhrdw/exedexes_vidhrdw.c... Compiling src/drivers/exedexes.c... Compiling src/vidhrdw/commando_vidhrdw.c... Compiling src/drivers/commando.c... Compiling src/vidhrdw/gng_vidhrdw.c... Compiling src/drivers/gng.c... Compiling src/vidhrdw/gunsmoke_vidhrdw.c... Compiling src/vidhrdw/srumbler_vidhrdw.c... Compiling src/drivers/gunsmoke.c... Compiling src/drivers/srumbler.c... Compiling src/vidhrdw/lwings_vidhrdw.c... Compiling src/drivers/lwings.c... Compiling src/drivers/sidearms.c... Compiling src/vidhrdw/sidearms_vidhrdw.c... In file included from src/drivers/lwings.c:48: src/drivers/lwings.c:102:23: warning: 'avengers_interrupt' defined but not used [-Wunused-function] static INTERRUPT_GEN( avengers_interrupt ) ^~~~~~~~~~~~~~~~~~ src/driver.h:21:35: note: in definition of macro 'INTERRUPT_GEN' #define INTERRUPT_GEN(func) void func(void) ^~~~ Compiling src/vidhrdw/bionicc_vidhrdw.c... Compiling src/drivers/bionicc.c... Compiling src/vidhrdw/1943_vidhrdw.c... Compiling src/drivers/1943.c... Compiling src/vidhrdw/blktiger_vidhrdw.c... Compiling src/drivers/blktiger.c... Compiling src/vidhrdw/tigeroad_vidhrdw.c... Compiling src/drivers/tigeroad.c... Compiling src/vidhrdw/lastduel_vidhrdw.c... Compiling src/drivers/lastduel.c... Compiling src/vidhrdw/sf1_vidhrdw.c... Compiling src/drivers/sf1.c... Compiling src/machine/kabuki.c... Compiling src/vidhrdw/mitchell_vidhrdw.c... Compiling src/drivers/mitchell.c... Compiling src/drivers/cbasebal.c... Compiling src/vidhrdw/cps1_vidhrdw.c... Compiling src/vidhrdw/cbasebal_vidhrdw.c... src/drivers/mitchell.c: In function 'pang_port5_r': src/drivers/mitchell.c:140:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Machine->gamedrv == &driver_mgakuen2) /* hack... music doesn't work otherwise */ ^~ src/drivers/mitchell.c:143:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return (input_port_0_r(0) & 0x76) | bit; ^~~~~~ Compiling src/drivers/cps1.c... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/cps1.c:15: src/inptport.h:187:36: warning: 'input_ports_rockmanj' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/cps1.c:3486:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( rockmanj ) ^~~~~~~~~~~~~~~~~ Compiling src/drivers/cps2.c... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/cps2.c:95: src/inptport.h:187:36: warning: 'input_ports_cps2' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/cps2.c:774:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( cps2 ) ^~~~~~~~~~~~~~~~~ Compiling src/drivers/zn.c... Compiling src/machine/capbowl_machine.c... Compiling src/vidhrdw/tms34061_vidhrdw.c... Compiling src/vidhrdw/capbowl_vidhrdw.c... Compiling src/drivers/capbowl.c... Compiling src/vidhrdw/itech8_vidhrdw.c... Compiling src/drivers/itech8.c... Compiling src/vidhrdw/itech32_vidhrdw.c... Compiling src/drivers/itech32.c... In file included from src/driver.h:64, from src/drivers/itech32.c:34: src/drivers/itech32.c:542:24: warning: 'input_port_5_msw_r' defined but not used [-Wunused-function] static READ32_HANDLER( input_port_5_msw_r ) ^~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: in definition of macro 'READ32_HANDLER' #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) ^~~~ src/drivers/itech32.c:199:24: warning: 'trackball32_8bit_r' defined but not used [-Wunused-function] static READ32_HANDLER( trackball32_8bit_r ) ^~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: in definition of macro 'READ32_HANDLER' #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) ^~~~ Compiling src/machine/slikshot.c... Compiling src/vidhrdw/blockade_vidhrdw.c... Compiling src/drivers/blockade.c... Compiling src/vidhrdw/vicdual_vidhrdw.c... Compiling src/drivers/vicdual.c... Compiling src/sndhrdw/depthch.c... Compiling src/sndhrdw/carnival.c... Compiling src/sndhrdw/invinco.c... src/sndhrdw/invinco.c: In function 'invinco_sh_port2_w': src/sndhrdw/invinco.c:54:6: warning: variable 'bitsGoneHigh' set but not used [-Wunused-but-set-variable] int bitsGoneHigh; ^~~~~~~~~~~~ Compiling src/sndhrdw/pulsar.c... Compiling src/machine/segacrpt.c... src/sndhrdw/pulsar.c: In function 'pulsar_sh_port1_w': src/sndhrdw/pulsar.c:75:6: warning: variable 'bitsGoneHigh' set but not used [-Wunused-but-set-variable] int bitsGoneHigh; ^~~~~~~~~~~~ Compiling src/vidhrdw/sega_vidhrdw.c... Compiling src/sndhrdw/segasnd.c... Compiling src/sndhrdw/sega_sndhrdw.c... Compiling src/machine/sega_machine.c... Compiling src/drivers/sega.c... Compiling src/vidhrdw/segar_vidhrdw.c... src/vidhrdw/segar_vidhrdw.c: In function 'video_update_spaceod': src/vidhrdw/segar_vidhrdw.c:412:6: warning: variable 'sprite_transparency' set but not used [-Wunused-but-set-variable] int sprite_transparency; ^~~~~~~~~~~~~~~~~~~ Compiling src/machine/segar_machine.c... Compiling src/sndhrdw/segar_sndhrdw.c... In file included from src/driver.h:64, from src/drivers/sega.c:135: src/drivers/sega.c:192:28: warning: 'speech_writemem' defined but not used [-Wunused-const-variable=] static MEMORY_WRITE_START( speech_writemem ) ^~~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/sega.c:192:8: note: in expansion of macro 'MEMORY_WRITE_START' static MEMORY_WRITE_START( speech_writemem ) ^~~~~~~~~~~~~~~~~~ src/drivers/sega.c:187:27: warning: 'speech_readmem' defined but not used [-Wunused-const-variable=] static MEMORY_READ_START( speech_readmem ) ^~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/sega.c:187:8: note: in expansion of macro 'MEMORY_READ_START' static MEMORY_READ_START( speech_readmem ) ^~~~~~~~~~~~~~~~~ Compiling src/drivers/segar.c... In file included from src/driver.h:64, from src/drivers/segar.c:49: src/drivers/segar.c:243:28: warning: 'speech_writemem' defined but not used [-Wunused-const-variable=] static MEMORY_WRITE_START( speech_writemem ) ^~~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/segar.c:243:8: note: in expansion of macro 'MEMORY_WRITE_START' static MEMORY_WRITE_START( speech_writemem ) ^~~~~~~~~~~~~~~~~~ src/drivers/segar.c:238:27: warning: 'speech_readmem' defined but not used [-Wunused-const-variable=] static MEMORY_READ_START( speech_readmem ) ^~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/segar.c:238:8: note: in expansion of macro 'MEMORY_READ_START' static MEMORY_READ_START( speech_readmem ) ^~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tms9928a.c... Compiling src/drivers/sg1000a.c... Compiling src/vidhrdw/zaxxon_vidhrdw.c... Compiling src/sndhrdw/zaxxon_sndhrdw.c... Compiling src/drivers/zaxxon.c... Compiling src/machine/turbo_machine.c... Compiling src/vidhrdw/turbo_vidhrdw.c... Compiling src/drivers/turbo.c... Compiling src/drivers/kopunch.c... In file included from src/driver.h:64, from src/drivers/kopunch.c:1: src/drivers/kopunch.c:77:22: warning: 'pip_r' defined but not used [-Wunused-function] static READ_HANDLER( pip_r ) ^~~~~ src/memory.h:126:39: note: in definition of macro 'READ_HANDLER' #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) ^~~~ Compiling src/vidhrdw/kopunch_vidhrdw.c... Compiling src/vidhrdw/suprloco_vidhrdw.c... Compiling src/drivers/suprloco.c... Compiling src/vidhrdw/dotrikun_vidhrdw.c... Compiling src/drivers/dotrikun.c... Compiling src/vidhrdw/angelkds_vidhrdw.c... Compiling src/drivers/angelkds.c... Compiling src/vidhrdw/system1_vidhrdw.c... Compiling src/drivers/system1.c... Compiling src/vidhrdw/segasyse_vidhrdw.c... Compiling src/drivers/segasyse.c... Compiling src/machine/system16_machine.c... Compiling src/vidhrdw/system16_vidhrdw.c... Compiling src/vidhrdw/sys16spr.c... src/vidhrdw/segasyse_vidhrdw.c: In function 'segae_drawtilesline': src/vidhrdw/segasyse_vidhrdw.c:457:36: warning: variable 'flipy' set but not used [-Wunused-but-set-variable] UINT8 palette, priority, flipx, flipy; ^~~~~ Compiling src/sndhrdw/system16_sndhrdw.c... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/system1.c:19: src/inptport.h:187:36: warning: 'input_ports_shtngmst' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/system1.c:1380:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( shtngmst ) ^~~~~~~~~~~~~~~~~ Compiling src/drivers/system16.c... Compiling src/drivers/aburner.c... Compiling src/drivers/sharrier.c... Compiling src/drivers/outrun.c... Compiling src/drivers/system18.c... Compiling src/machine/system24_machine.c... Compiling src/vidhrdw/system24_vidhrdw.c... Compiling src/drivers/system24.c... Compiling src/vidhrdw/segaic24.c... Compiling src/drivers/system32.c... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/system32.c:352: src/inptport.h:187:36: warning: 'input_ports_sys32_4p' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/system32.c:1254:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( sys32_4p ) ^~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/system32.c:352: src/drivers/system32.c:869:25: warning: 'jp_v60_write_cab' defined but not used [-Wunused-function] static WRITE16_HANDLER( jp_v60_write_cab ) ^~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/system32.c:625:23: warning: 'sys32_read_ff' defined but not used [-Wunused-function] static READ16_HANDLER(sys32_read_ff) ^~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/system32.c:492:24: warning: 'system32_eeprom_w' defined but not used [-Wunused-function] static WRITE16_HANDLER(system32_eeprom_w) ^~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/system32.c:487:23: warning: 'system32_eeprom_r' defined but not used [-Wunused-function] static READ16_HANDLER(system32_eeprom_r) ^~~~~~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ Compiling src/drivers/multi32.c... src/machine/slikshot.c: In function 'slikshot_extra_draw': src/machine/slikshot.c:382:18: warning: 'word1' may be used uninitialized in this function [-Wmaybe-uninitialized] *sens2 = word2 + word1, *sens3 = word2; ~~~~~~^~~~~~~ src/machine/slikshot.c:396:9: note: 'word1' was declared here UINT16 word1, word2, word3; ^~~~~ src/machine/slikshot.c:382:18: warning: 'word2' may be used uninitialized in this function [-Wmaybe-uninitialized] *sens2 = word2 + word1, *sens3 = word2; ~~~~~~^~~~~~~ src/machine/slikshot.c:396:16: note: 'word2' was declared here UINT16 word1, word2, word3; ^~~~~ Compiling src/vidhrdw/system32_vidhrdw.c... Compiling src/vidhrdw/segac2_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/multi32.c:18: src/drivers/multi32.c:126:23: warning: 'sys32_read_ff' defined but not used [-Wunused-function] static READ16_HANDLER(sys32_read_ff) ^~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/multi32.c:116:24: warning: 'system32_eeprom_w' defined but not used [-Wunused-function] static WRITE16_HANDLER(system32_eeprom_w) ^~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/multi32.c:111:23: warning: 'system32_eeprom_r' defined but not used [-Wunused-function] static READ16_HANDLER(system32_eeprom_r) ^~~~~~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ Compiling src/drivers/segac2.c... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/segac2.c:137: src/inptport.h:187:36: warning: 'input_ports_genesis' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/segac2.c:2747:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( genesis ) /* Genesis Input Ports */ ^~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/segac2.c:137: src/drivers/segac2.c:1500:26: warning: 'genesis_z80_ram_w' defined but not used [-Wunused-function] static WRITE16_HANDLER ( genesis_z80_ram_w ) ^~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/segac2.c:1340:24: warning: 'megaplay_instr_r' defined but not used [-Wunused-function] static READ16_HANDLER( megaplay_instr_r ) ^~~~~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/segac2.c: In function 'init_megaplay': src/drivers/segac2.c:4505:2: warning: 'memcpy' accessing 98304 bytes at offsets 65536 and 32768 overlaps 65536 bytes at offset 65536 [-Wrestrict] memcpy(src+0x10000,src+0x8000,0x18000); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/stv.c... Compiling src/drivers/stvhacks.c... src/drivers/stv.c: In function 'do_cd_command': src/drivers/stv.c:1455:32: warning: pointer targets in passing argument 2 of 'cdb_inject_file_info' differ in signedness [-Wpointer-sign] cdb_inject_file_info(fid, cdb_sat_file_info); ^~~~~~~~~~~~~~~~~ In file included from src/drivers/stv.c:97: src/machine/stvcd.h:7:6: note: expected 'UINT8 *' {aka 'unsigned char *'} but argument is of type 'char *' void cdb_inject_file_info(UINT32 fid, UINT8 * dst); ^~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/stvhacks.c:7: src/drivers/stvhacks.c:311:24: warning: 'dnmtdeka_speedup_r' defined but not used [-Wunused-function] static READ32_HANDLER( dnmtdeka_speedup_r ) ^~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: in definition of macro 'READ32_HANDLER' #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) ^~~~ Compiling src/machine/stvcd.c... Compiling src/machine/scudsp.c... src/machine/stvcd.c: In function 'iso_build_disc_iso': src/machine/stvcd.c:496:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 2 [-Wrestrict] sprintf(t, t, i); ^ ~ At top level: src/machine/stvcd.c:456:13: warning: 'iso_build_disc_bin' defined but not used [-Wunused-function] static void iso_build_disc_bin(void){ ^~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/stvvdp1_vidhrdw.c... Compiling src/vidhrdw/stvvdp2_vidhrdw.c... Compiling src/vidhrdw/deniam_vidhrdw.c... src/vidhrdw/stvvdp2_vidhrdw.c: In function 'stv_vdp2_draw_basic_tilemap': src/vidhrdw/stvvdp2_vidhrdw.c:1768:20: warning: variable 'mpsize_dwords' set but not used [-Wunused-but-set-variable] int mpsize_bytes, mpsize_dwords; ^~~~~~~~~~~~~ src/vidhrdw/stvvdp2_vidhrdw.c:1763:20: warning: variable 'plsize_dwords' set but not used [-Wunused-but-set-variable] int plsize_bytes, plsize_dwords; ^~~~~~~~~~~~~ Compiling src/drivers/deniam.c... Compiling src/machine/btime_machine.c... Compiling src/vidhrdw/btime_vidhrdw.c... Compiling src/drivers/btime.c... Compiling src/machine/decocass_machine.c... Compiling src/vidhrdw/decocass_vidhrdw.c... Compiling src/drivers/decocass.c... Compiling src/vidhrdw/astrof_vidhrdw.c... Compiling src/sndhrdw/astrof_sndhrdw.c... Compiling src/drivers/astrof.c... Compiling src/vidhrdw/bwing_vidhrdw.c... Compiling src/drivers/bwing.c... Compiling src/drivers/liberate.c... Compiling src/vidhrdw/liberate_vidhrdw.c... Compiling src/vidhrdw/kchamp_vidhrdw.c... Compiling src/drivers/kchamp.c... Compiling src/vidhrdw/firetrap_vidhrdw.c... src/vidhrdw/liberate_vidhrdw.c: In function 'video_update_prosport': src/vidhrdw/liberate_vidhrdw.c:385:17: warning: variable 'color' set but not used [-Wunused-but-set-variable] int mx,my,tile,color,offs; ^~~~~ Compiling src/drivers/firetrap.c... Compiling src/vidhrdw/brkthru_vidhrdw.c... Compiling src/drivers/brkthru.c... Compiling src/vidhrdw/metlclsh_vidhrdw.c... src/vidhrdw/segac2_vidhrdw.c: In function 'video_start_segac2': src/vidhrdw/segac2_vidhrdw.c:243:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = 0; i < 24; i++) ^~~ src/vidhrdw/segac2_vidhrdw.c:245:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' vdp_cmdpart = 0; ^~~~~~~~~~~ Compiling src/drivers/metlclsh.c... Compiling src/drivers/compgolf.c... Compiling src/drivers/tryout.c... Compiling src/vidhrdw/shootout_vidhrdw.c... Compiling src/drivers/shootout.c... Compiling src/vidhrdw/sidepckt_vidhrdw.c... Compiling src/drivers/sidepckt.c... Compiling src/vidhrdw/exprraid_vidhrdw.c... Compiling src/drivers/exprraid.c... Compiling src/vidhrdw/pcktgal_vidhrdw.c... Compiling src/drivers/pcktgal.c... Compiling src/vidhrdw/battlera_vidhrdw.c... Compiling src/drivers/battlera.c... Compiling src/vidhrdw/actfancr_vidhrdw.c... Compiling src/drivers/actfancr.c... Compiling src/vidhrdw/dec8_vidhrdw.c... Compiling src/drivers/dec8.c... Compiling src/vidhrdw/karnov_vidhrdw.c... Compiling src/drivers/karnov.c... Compiling src/machine/decoprot.c... Compiling src/machine/decocrpt.c... Compiling src/vidhrdw/deco16ic.c... Compiling src/machine/dec0_machine.c... Compiling src/vidhrdw/dec0_vidhrdw.c... Compiling src/vidhrdw/stadhero_vidhrdw.c... Compiling src/drivers/dec0.c... Compiling src/drivers/stadhero.c... Compiling src/vidhrdw/madmotor_vidhrdw.c... Compiling src/drivers/madmotor.c... Compiling src/drivers/vaportra.c... Compiling src/vidhrdw/cbuster_vidhrdw.c... Compiling src/drivers/cbuster.c... Compiling src/vidhrdw/darkseal_vidhrdw.c... Compiling src/vidhrdw/vaportra_vidhrdw.c... Compiling src/drivers/darkseal.c... Compiling src/vidhrdw/supbtime_vidhrdw.c... Compiling src/drivers/supbtime.c... Compiling src/vidhrdw/cninja_vidhrdw.c... Compiling src/vidhrdw/dassault_vidhrdw.c... Compiling src/drivers/dassault.c... Compiling src/drivers/cninja.c... Compiling src/vidhrdw/rohga_vidhrdw.c... Compiling src/drivers/tumblep.c... Compiling src/vidhrdw/tumblep_vidhrdw.c... Compiling src/drivers/rohga.c... Compiling src/vidhrdw/lemmings_vidhrdw.c... Compiling src/drivers/lemmings.c... Compiling src/vidhrdw/funkyjet_vidhrdw.c... Compiling src/drivers/funkyjet.c... Compiling src/vidhrdw/deco32_vidhrdw.c... src/vidhrdw/deco32_vidhrdw.c: In function 'tilemap_raster_draw': src/vidhrdw/deco32_vidhrdw.c:1235:16: warning: variable 'sy0' set but not used [-Wunused-but-set-variable] int ptr=0,sx0,sy0,sx1,sy1,start,end=0; ^~~ src/vidhrdw/deco32_vidhrdw.c:1235:12: warning: variable 'sx0' set but not used [-Wunused-but-set-variable] int ptr=0,sx0,sy0,sx1,sy1,start,end=0; ^~~ Compiling src/drivers/deco32.c... Compiling src/vidhrdw/avengrgs_vidhrdw.c... Compiling src/drivers/avengrgs.c... Compiling src/vidhrdw/sshangha_vidhrdw.c... Compiling src/drivers/sshangha.c... Compiling src/sndhrdw/senjyo_sndhrdw.c... Compiling src/vidhrdw/senjyo_vidhrdw.c... Compiling src/vidhrdw/bombjack_vidhrdw.c... Compiling src/drivers/senjyo.c... Compiling src/drivers/bombjack.c... Compiling src/drivers/pbaction.c... Compiling src/drivers/tehkanwc.c... Compiling src/vidhrdw/solomon_vidhrdw.c... src/vidhrdw/lemmings_vidhrdw.c: In function 'lemmings_pixel_1_w': src/vidhrdw/lemmings_vidhrdw.c:157:16: warning: variable 'old' set but not used [-Wunused-but-set-variable] int sx,sy,src,old,tile; ^~~ Compiling src/vidhrdw/pbaction_vidhrdw.c... Compiling src/drivers/solomon.c... Compiling src/vidhrdw/tecmo_vidhrdw.c... Compiling src/vidhrdw/tehkanwc_vidhrdw.c... Compiling src/drivers/tecmo.c... Compiling src/vidhrdw/tbowl_vidhrdw.c... Compiling src/drivers/tbowl.c... Compiling src/vidhrdw/gaiden_vidhrdw.c... Compiling src/drivers/gaiden.c... Compiling src/vidhrdw/wc90b_vidhrdw.c... Compiling src/vidhrdw/wc90_vidhrdw.c... Compiling src/drivers/wc90.c... Compiling src/drivers/wc90b.c... Compiling src/vidhrdw/spbactn_vidhrdw.c... Compiling src/drivers/spbactn.c... Compiling src/vidhrdw/tecmo16_vidhrdw.c... Compiling src/drivers/tecmosys.c... Compiling src/drivers/tecmo16.c... Compiling src/drivers/scramble.c... Compiling src/sndhrdw/scramble_sndhrdw.c... Compiling src/machine/scramble_machine.c... src/machine/scramble_machine.c: In function 'init_billiard': src/machine/scramble_machine.c:1385:18: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (bits[3] ^ (!bits[0] & bits[2])) xormask ^= 0x08; ^~~~~~~~ src/machine/scramble_machine.c:1386:18: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (bits[5] ^ (!bits[4] & bits[1])) xormask ^= 0x10; ^~~~~~~~ src/machine/scramble_machine.c:1389:18: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (bits[7] ^ (!bits[1] & bits[0])) xormask ^= 0x80; ^~~~~~~~ Compiling src/drivers/frogger.c... Compiling src/drivers/scobra.c... Compiling src/drivers/amidar.c... Compiling src/vidhrdw/fastfred_vidhrdw.c... Compiling src/drivers/fastfred.c... Compiling src/vidhrdw/tutankhm_vidhrdw.c... Compiling src/drivers/tutankhm.c... src/vidhrdw/tutankhm_vidhrdw.c: In function 'junofrst_blitter_w': src/vidhrdw/tutankhm_vidhrdw.c:143:17: warning: variable 'destflag' set but not used [-Wunused-but-set-variable] unsigned char destflag; ^~~~~~~~ Compiling src/vidhrdw/timeplt_vidhrdw.c... Compiling src/drivers/timeplt.c... Compiling src/drivers/pooyan.c... Compiling src/drivers/junofrst.c... Compiling src/vidhrdw/pooyan_vidhrdw.c... Compiling src/sndhrdw/timeplt_sndhrdw.c... Compiling src/vidhrdw/megazone_vidhrdw.c... Compiling src/drivers/megazone.c... Compiling src/drivers/pandoras.c... Compiling src/vidhrdw/pandoras_vidhrdw.c... Compiling src/sndhrdw/gyruss_sndhrdw.c... Compiling src/vidhrdw/gyruss_vidhrdw.c... Compiling src/drivers/gyruss.c... Compiling src/machine/konami_machine.c... Compiling src/vidhrdw/trackfld_vidhrdw.c... Compiling src/sndhrdw/trackfld_sndhrdw.c... Compiling src/drivers/trackfld.c... src/machine/dec0_machine.c:462:13: warning: 'i8751_callback' defined but not used [-Wunused-function] static void i8751_callback(int param) ^~~~~~~~~~~~~~ Compiling src/vidhrdw/rocnrope_vidhrdw.c... Compiling src/drivers/rocnrope.c... Compiling src/vidhrdw/circusc_vidhrdw.c... Compiling src/drivers/circusc.c... Compiling src/drivers/tp84.c... Compiling src/vidhrdw/tp84_vidhrdw.c... Compiling src/vidhrdw/hyperspt_vidhrdw.c... Compiling src/drivers/hyperspt.c... Compiling src/vidhrdw/sbasketb_vidhrdw.c... Compiling src/drivers/sbasketb.c... Compiling src/vidhrdw/mikie_vidhrdw.c... Compiling src/drivers/yiear.c... Compiling src/vidhrdw/shaolins_vidhrdw.c... Compiling src/drivers/mikie.c... Compiling src/vidhrdw/yiear_vidhrdw.c... Compiling src/vidhrdw/pingpong_vidhrdw.c... Compiling src/drivers/pingpong.c... Compiling src/vidhrdw/gberet_vidhrdw.c... Compiling src/drivers/shaolins.c... Compiling src/drivers/gberet.c... Compiling src/vidhrdw/jailbrek_vidhrdw.c... Compiling src/drivers/jailbrek.c... Compiling src/vidhrdw/finalizr_vidhrdw.c... Compiling src/drivers/finalizr.c... Compiling src/vidhrdw/ironhors_vidhrdw.c... Compiling src/drivers/ironhors.c... Compiling src/machine/jackal_machine.c... Compiling src/vidhrdw/jackal_vidhrdw.c... Compiling src/drivers/jackal.c... Compiling src/drivers/ddrible.c... Compiling src/vidhrdw/contra_vidhrdw.c... Compiling src/vidhrdw/ddrible_vidhrdw.c... Compiling src/drivers/contra.c... Compiling src/vidhrdw/combatsc_vidhrdw.c... Compiling src/drivers/combatsc.c... Compiling src/vidhrdw/hcastle_vidhrdw.c... Compiling src/drivers/hcastle.c... Compiling src/vidhrdw/nemesis_vidhrdw.c... Compiling src/drivers/nemesis.c... Compiling src/vidhrdw/konamiic.c... Compiling src/vidhrdw/rockrage_vidhrdw.c... Compiling src/drivers/rockrage.c... Compiling src/vidhrdw/flkatck_vidhrdw.c... Compiling src/drivers/flkatck.c... Compiling src/vidhrdw/fastlane_vidhrdw.c... Compiling src/drivers/fastlane.c... Compiling src/vidhrdw/labyrunr_vidhrdw.c... Compiling src/vidhrdw/battlnts_vidhrdw.c... Compiling src/drivers/battlnts.c... Compiling src/vidhrdw/bladestl_vidhrdw.c... src/vidhrdw/konamiic.c: In function 'K052109_r': src/vidhrdw/konamiic.c:2077:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/vidhrdw/konamiic.c:2080:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' addr = (code << 5) + (offset & 0x1f); ^~~~ src/vidhrdw/konamiic.c: In function 'K056832_update_linemap': src/vidhrdw/konamiic.c:6350:26: warning: variable 'code_opaque' set but not used [-Wunused-but-set-variable] UINT8 code_transparent, code_opaque; ^~~~~~~~~~~ src/vidhrdw/konamiic.c:6347:24: warning: variable 'src_modulo' set but not used [-Wunused-but-set-variable] int count, src_pitch, src_modulo; ^~~~~~~~~~ src/vidhrdw/konamiic.c:6347:13: warning: variable 'src_pitch' set but not used [-Wunused-but-set-variable] int count, src_pitch, src_modulo; ^~~~~~~~~ Compiling src/drivers/bladestl.c... Compiling src/machine/ajax_machine.c... Compiling src/vidhrdw/ajax_vidhrdw.c... Compiling src/drivers/ajax.c... Compiling src/drivers/labyrunr.c... Compiling src/drivers/thunderx.c... Compiling src/vidhrdw/thunderx_vidhrdw.c... Compiling src/drivers/mainevt.c... Compiling src/vidhrdw/mainevt_vidhrdw.c... Compiling src/vidhrdw/88games_vidhrdw.c... Compiling src/drivers/88games.c... Compiling src/vidhrdw/gbusters_vidhrdw.c... Compiling src/drivers/gbusters.c... Compiling src/vidhrdw/crimfght_vidhrdw.c... Compiling src/drivers/crimfght.c... Compiling src/vidhrdw/spy_vidhrdw.c... Compiling src/drivers/spy.c... Compiling src/vidhrdw/bottom9_vidhrdw.c... Compiling src/drivers/bottom9.c... Compiling src/vidhrdw/blockhl_vidhrdw.c... Compiling src/drivers/blockhl.c... Compiling src/drivers/aliens.c... Compiling src/vidhrdw/surpratk_vidhrdw.c... Compiling src/vidhrdw/aliens_vidhrdw.c... Compiling src/drivers/surpratk.c... Compiling src/vidhrdw/parodius_vidhrdw.c... Compiling src/drivers/parodius.c... Compiling src/vidhrdw/rollerg_vidhrdw.c... Compiling src/vidhrdw/xexex_vidhrdw.c... Compiling src/drivers/rollerg.c... Compiling src/drivers/xexex.c... Compiling src/vidhrdw/asterix_vidhrdw.c... Compiling src/drivers/asterix.c... Compiling src/vidhrdw/gijoe_vidhrdw.c... src/vidhrdw/gijoe_vidhrdw.c: In function 'video_update_gijoe': src/vidhrdw/gijoe_vidhrdw.c:82:40: warning: variable 'primode' set but not used [-Wunused-but-set-variable] int vrc_mode, vrc_new, colorbase_new, primode, dirty, i; ^~~~~~~ Compiling src/drivers/gijoe.c... Compiling src/vidhrdw/simpsons_vidhrdw.c... Compiling src/drivers/simpsons.c... Compiling src/vidhrdw/vendetta_vidhrdw.c... Compiling src/drivers/vendetta.c... Compiling src/vidhrdw/wecleman_vidhrdw.c... Compiling src/vidhrdw/chqflag_vidhrdw.c... Compiling src/drivers/wecleman.c... Compiling src/vidhrdw/ultraman_vidhrdw.c... Compiling src/drivers/ultraman.c... Compiling src/machine/simpsons_machine.c... Compiling src/vidhrdw/hexion_vidhrdw.c... Compiling src/drivers/hexion.c... Compiling src/drivers/twin16.c... Compiling src/vidhrdw/twin16_vidhrdw.c... Compiling src/vidhrdw/tmnt_vidhrdw.c... Compiling src/drivers/tmnt.c... Compiling src/drivers/xmen.c... Compiling src/vidhrdw/xmen_vidhrdw.c... Compiling src/drivers/chqflag.c... Compiling src/vidhrdw/overdriv_vidhrdw.c... Compiling src/vidhrdw/gradius3_vidhrdw.c... Compiling src/drivers/overdriv.c... Compiling src/drivers/gradius3.c... Compiling src/vidhrdw/moo_vidhrdw.c... Compiling src/drivers/moo.c... Compiling src/vidhrdw/mystwarr_vidhrdw.c... Compiling src/drivers/mystwarr.c... Compiling src/vidhrdw/rungun_vidhrdw.c... Compiling src/drivers/rungun.c... In file included from src/drivers/mystwarr.c:25: src/drivers/mystwarr.c:823:22: warning: 'audio_interrupt' defined but not used [-Wunused-function] static INTERRUPT_GEN(audio_interrupt) ^~~~~~~~~~~~~~~ src/driver.h:21:35: note: in definition of macro 'INTERRUPT_GEN' #define INTERRUPT_GEN(func) void func(void) ^~~~ src/vidhrdw/moo_vidhrdw.c: In function 'video_update_moo': src/vidhrdw/moo_vidhrdw.c:106:6: warning: variable 'bg_colorbase' set but not used [-Wunused-but-set-variable] int bg_colorbase, new_colorbase, plane, dirty, alpha; ^~~~~~~~~~~~ Compiling src/vidhrdw/bishi_vidhrdw.c... Compiling src/drivers/bishi.c... Compiling src/machine/konamigx_machine.c... Compiling src/vidhrdw/dbz2_vidhrdw.c... Compiling src/drivers/dbz2.c... Compiling src/drivers/konamigx.c... Compiling src/vidhrdw/konamigx_vidhrdw.c... Compiling src/drivers/djmain.c... Compiling src/vidhrdw/plygonet_vidhrdw.c... Compiling src/drivers/plygonet.c... Compiling src/drivers/mogura.c... src/machine/konamigx_machine.c: In function 'zdrawgfxzoom32GP': src/machine/konamigx_machine.c:515:22: warning: variable 'db1' set but not used [-Wunused-but-set-variable] UINT8 z8, db0, p8, db1; ^~~ src/machine/konamigx_machine.c:515:13: warning: variable 'db0' set but not used [-Wunused-but-set-variable] UINT8 z8, db0, p8, db1; ^~~ src/machine/konamigx_machine.c: In function 'konamigx_mixer': src/machine/konamigx_machine.c:1279:49: warning: variable 'prflp' set but not used [-Wunused-but-set-variable] int wrapsize, xwraplim, ywraplim, cltc_shdpri, prflp, disp; ^~~~~ src/machine/konamigx_machine.c: In function 'K053990_martchmp_word_w': src/machine/konamigx_machine.c:2002:16: warning: variable 'dst_count' set but not used [-Wunused-but-set-variable] int dst_addr, dst_count, dst_skip; ^~~~~~~~~ src/machine/konamigx_machine.c: In function 'konamigx_esc_alert': src/machine/konamigx_machine.c:2110:75: warning: variable 'hmask' set but not used [-Wunused-but-set-variable] INT32 data1, data2, i, j, vpos, hpos, voffs, hoffs, vcorr, hcorr, vmask, hmask, magicid; ^~~~~ Compiling src/vidhrdw/djmain_vidhrdw.c... In file included from src/drivers/konamigx.c:100: src/drivers/konamigx.c:1399:22: warning: 'gxaudio_interrupt' defined but not used [-Wunused-function] static INTERRUPT_GEN(gxaudio_interrupt) ^~~~~~~~~~~~~~~~~ src/driver.h:21:35: note: in definition of macro 'INTERRUPT_GEN' #define INTERRUPT_GEN(func) void func(void) ^~~~ src/drivers/konamigx.c:652:12: warning: 'konamigx_irq_callback' defined but not used [-Wunused-function] static int konamigx_irq_callback(int irqline) ^~~~~~~~~~~~~~~~~~~~~ src/drivers/konamigx.c:208:12: warning: 'pri_comp' defined but not used [-Wunused-function]Compiling src/machine/carpolo_machine.c... static int pri_comp(const void *s1, const void *s2) ^~~~~~~~ Compiling src/vidhrdw/carpolo_vidhrdw.c... Compiling src/drivers/carpolo.c... Compiling src/drivers/konamigq.c... Compiling src/vidhrdw/exidy_vidhrdw.c... Compiling src/sndhrdw/exidy_sndhrdw.c... src/vidhrdw/carpolo_vidhrdw.c: In function 'palette_init_carpolo': src/vidhrdw/carpolo_vidhrdw.c:103:17: warning: variable 'bit2' set but not used [-Wunused-but-set-variable] int bit0,bit1,bit2; ^~~~ src/vidhrdw/carpolo_vidhrdw.c:103:12: warning: variable 'bit1' set but not used [-Wunused-but-set-variable] int bit0,bit1,bit2; ^~~~ src/vidhrdw/carpolo_vidhrdw.c:103:7: warning: variable 'bit0' set but not used [-Wunused-but-set-variable] int bit0,bit1,bit2; ^~~~ Compiling src/machine/am53cf96.c... Compiling src/drivers/exidy.c... Compiling src/sndhrdw/targ.c... Compiling src/vidhrdw/circus_vidhrdw.c... Compiling src/drivers/circus.c... Compiling src/vidhrdw/starfire_vidhrdw.c... Compiling src/drivers/victory.c... Compiling src/drivers/starfire.c... Compiling src/sndhrdw/exidy440_sndhrdw.c... src/vidhrdw/exidy_vidhrdw.c: In function 'video_start_exidy': src/vidhrdw/exidy_vidhrdw.c:156:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (video_start_generic()) ^~ src/vidhrdw/exidy_vidhrdw.c:159:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' motion_object_1_vid = auto_bitmap_alloc(16, 16); ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/exidy_vidhrdw.c:160:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!motion_object_1_vid) ^~ src/vidhrdw/exidy_vidhrdw.c:163:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' motion_object_2_vid = auto_bitmap_alloc(16, 16); ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/exidy_vidhrdw.c:164:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!motion_object_2_vid) ^~ src/vidhrdw/exidy_vidhrdw.c:167:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' motion_object_2_clip = auto_bitmap_alloc(16, 16); ^~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/victory_vidhrdw.c... src/sndhrdw/exidy440_sndhrdw.c: In function 'mix_to_16': src/sndhrdw/exidy440_sndhrdw.c:289:9: warning: unused variable 'clippers' [-Wunused-variable] int i, clippers = 0; ^~~~~~~~ Compiling src/vidhrdw/exidy440_vidhrdw.c... Compiling src/machine/atari_vg.c... Compiling src/vidhrdw/tia.c... Compiling src/drivers/tourtabl.c... Compiling src/sndhrdw/asteroid_sndhrdw.c... Compiling src/machine/asteroid_machine.c... Compiling src/drivers/asteroid.c... Compiling src/sndhrdw/llander.c... Compiling src/drivers/bwidow.c... Compiling src/drivers/exidy440.c... Compiling src/sndhrdw/bzone_sndhrdw.c... Compiling src/drivers/bzone.c... Compiling src/sndhrdw/redbaron.c... Compiling src/drivers/tempest.c... Compiling src/machine/starwars_machine.c... Compiling src/drivers/starwars.c... Compiling src/sndhrdw/starwars_sndhrdw.c... Compiling src/machine/mhavoc_machine.c... src/drivers/wecleman.c: In function 'hotchase_sound_control_w': src/drivers/wecleman.c:780:6: warning: variable 'reg' set but not used [-Wunused-but-set-variable] int reg[8]; ^~~ Compiling src/drivers/mhavoc.c... Compiling src/drivers/quantum.c... Compiling src/vidhrdw/copsnrob_vidhrdw.c... Compiling src/machine/copsnrob_machine.c... Compiling src/drivers/copsnrob.c... Compiling src/vidhrdw/flyball_vidhrdw.c... Compiling src/drivers/flyball.c... Compiling src/vidhrdw/sprint2_vidhrdw.c... Compiling src/drivers/sprint2.c... Compiling src/vidhrdw/sprint4_vidhrdw.c... Compiling src/vidhrdw/sprint8_vidhrdw.c... src/machine/am53cf96.c: In function 'am53cf96_w': src/machine/am53cf96.c:88:16: warning: variable 'dma' set but not used [-Wunused-but-set-variable] int reg, val, dma; ^~~ Compiling src/drivers/sprint4.c... Compiling src/drivers/sprint8.c... Compiling src/vidhrdw/nitedrvr_vidhrdw.c... src/vidhrdw/nitedrvr_vidhrdw.c:82:13: warning: 'nitedrvr_draw_hacks' defined but not used [-Wunused-function] static void nitedrvr_draw_hacks( struct mame_bitmap *bitmap ) ^~~~~~~~~~~~~~~~~~~ Compiling src/machine/nitedrvr_machine.c... Compiling src/drivers/nitedrvr.c... Compiling src/machine/dominos.c... Compiling src/vidhrdw/triplhnt_vidhrdw.c... Compiling src/drivers/triplhnt.c... Compiling src/vidhrdw/dragrace_vidhrdw.c... src/vidhrdw/circus_vidhrdw.c: In function 'ripcord_draw_skydiver': src/vidhrdw/circus_vidhrdw.c:274:26: warning: variable 'clip' set but not used [-Wunused-but-set-variable] const struct rectangle *clip; ^~~~ Compiling src/drivers/dragrace.c... Compiling src/drivers/poolshrk.c... Compiling src/drivers/canyon.c... Compiling src/vidhrdw/poolshrk_vidhrdw.c... Compiling src/vidhrdw/destroyr_vidhrdw.c... Compiling src/vidhrdw/canyon_vidhrdw.c... Compiling src/drivers/starshp1.c... Compiling src/vidhrdw/starshp1_vidhrdw.c... Compiling src/drivers/destroyr.c... Compiling src/drivers/ultratnk.c... Compiling src/vidhrdw/boxer_vidhrdw.c... Compiling src/vidhrdw/wolfpack_vidhrdw.c... Compiling src/drivers/wolfpack.c... Compiling src/drivers/boxer.c... Compiling src/drivers/skyraid.c... Compiling src/vidhrdw/skyraid_vidhrdw.c... Compiling src/machine/avalnche_machine.c... Compiling src/vidhrdw/avalnche_vidhrdw.c... Compiling src/drivers/firetrk.c... Compiling src/drivers/avalnche.c... Compiling src/vidhrdw/firetrk_vidhrdw.c... Compiling src/vidhrdw/skydiver_vidhrdw.c... Compiling src/machine/sbrkout_machine.c... Compiling src/vidhrdw/sbrkout_vidhrdw.c... Compiling src/drivers/skydiver.c... Compiling src/drivers/sbrkout.c... Compiling src/machine/atarifb_machine.c... Compiling src/vidhrdw/atarifb_vidhrdw.c... Compiling src/drivers/atarifb.c... Compiling src/vidhrdw/orbit_vidhrdw.c... Compiling src/drivers/orbit.c... Compiling src/vidhrdw/videopin_vidhrdw.c... Compiling src/drivers/videopin.c... Compiling src/machine/subs_machine.c... Compiling src/vidhrdw/subs_vidhrdw.c... Compiling src/drivers/subs.c... Compiling src/vidhrdw/bsktball_vidhrdw.c... Compiling src/machine/bsktball_machine.c... Compiling src/drivers/bsktball.c... Compiling src/vidhrdw/centiped_vidhrdw.c... Compiling src/drivers/centiped.c... Compiling src/vidhrdw/runaway_vidhrdw.c... Compiling src/drivers/runaway.c... Compiling src/machine/missile_machine.c... Compiling src/vidhrdw/missile_vidhrdw.c... Compiling src/drivers/missile.c... Compiling src/vidhrdw/foodf_vidhrdw.c... Compiling src/drivers/foodf.c... Compiling src/drivers/tunhunt.c... Compiling src/vidhrdw/tunhunt_vidhrdw.c... Compiling src/vidhrdw/liberatr_vidhrdw.c... Compiling src/drivers/liberatr.c... Compiling src/vidhrdw/ccastles_vidhrdw.c... src/vidhrdw/liberatr_vidhrdw.c: In function 'video_start_liberatr': src/vidhrdw/liberatr_vidhrdw.c:311:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((tmpbitmap = auto_bitmap_alloc(Machine->drv->screen_width, Machine->drv->screen_height)) == 0) ^~ src/vidhrdw/liberatr_vidhrdw.c:314:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((liberatr_videoram = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height)) == 0) ^~ src/vidhrdw/wecleman_vidhrdw.c: In function 'do_blit_zoom16': src/vidhrdw/wecleman_vidhrdw.c:321:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ebx += (int)src_base; ^ src/vidhrdw/wecleman_vidhrdw.c:328:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] eax = *((char *)ebx + eax); ^ src/vidhrdw/wecleman_vidhrdw.c:352:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ebx += (int)src_base; ^ src/vidhrdw/wecleman_vidhrdw.c:359:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] eax = *((char *)ebx + eax); ^ src/vidhrdw/wecleman_vidhrdw.c:389:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ebx += (int)src_base; ^ src/vidhrdw/wecleman_vidhrdw.c:396:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] eax = *((char *)ebx + eax); ^ src/vidhrdw/wecleman_vidhrdw.c: In function 'wecleman_draw_cloud': src/vidhrdw/wecleman_vidhrdw.c:810:35: warning: variable 'pal_advance' set but not used [-Wunused-but-set-variable] int src_advance, src_advance_l2, pal_advance, pal_advance_l2; ^~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:810:6: warning: variable 'src_advance' set but not used [-Wunused-but-set-variable] int src_advance, src_advance_l2, pal_advance, pal_advance_l2; ^~~~~~~~~~~ Compiling src/drivers/ccastles.c... Compiling src/vidhrdw/cloak_vidhrdw.c... Compiling src/drivers/cloak.c... Compiling src/vidhrdw/cloud9_vidhrdw.c... Compiling src/drivers/cloud9.c... src/vidhrdw/cloud9_vidhrdw.c: In function 'video_update_cloud9': src/vidhrdw/cloud9_vidhrdw.c:262:26: warning: variable 'lblank' set but not used [-Wunused-but-set-variable] int xflip,yflip,rblank,lblank; ^~~~~~ src/vidhrdw/cloud9_vidhrdw.c:262:19: warning: variable 'rblank' set but not used [-Wunused-but-set-variable] int xflip,yflip,rblank,lblank; ^~~~~~ Compiling src/drivers/jedi.c... Compiling src/vidhrdw/jedi_vidhrdw.c... Compiling src/machine/atarigen.c... Compiling src/sndhrdw/atarijsa.c... Compiling src/vidhrdw/atarimo_vidhrdw.c... src/vidhrdw/atarimo_vidhrdw.c: In function 'atarimo_render': src/vidhrdw/atarimo_vidhrdw.c:547:9: warning: array subscript -1 is below array bounds of 'struct rectangle[1024]' [-Warray-bounds] rect = &mo->rectlist[-1]; ^~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/atarirle_vidhrdw.c... src/vidhrdw/atarirle_vidhrdw.c: In function 'prescan_rle': src/vidhrdw/atarirle_vidhrdw.c:678:15: warning: variable 'value' set but not used [-Wunused-but-set-variable] int count, value; ^~~~~ src/vidhrdw/atarirle_vidhrdw.c: In function 'sort_and_render': src/vidhrdw/atarirle_vidhrdw.c:848:12: warning: variable 'dy' set but not used [-Wunused-but-set-variable] int dx, dy, ex, ey, sx = x, sy = y, tx, ty; ^~ src/vidhrdw/atarirle_vidhrdw.c:848:8: warning: variable 'dx' set but not used [-Wunused-but-set-variable] int dx, dy, ex, ey, sx = x, sy = y, tx, ty; ^~ src/vidhrdw/atarirle_vidhrdw.c:804:19: warning: variable 'which' set but not used [-Wunused-but-set-variable] int scale, code, which; ^~~~~ Compiling src/vidhrdw/atarisy1_vidhrdw.c... Compiling src/machine/slapstic.c... Compiling src/drivers/atarisy1.c... Compiling src/vidhrdw/atarisy2_vidhrdw.c... Compiling src/drivers/atarisy2.c... Compiling src/machine/irobot_machine.c... Compiling src/vidhrdw/irobot_vidhrdw.c... Compiling src/drivers/irobot.c... Compiling src/machine/harddriv_machine.c... Compiling src/vidhrdw/harddriv_vidhrdw.c... Compiling src/sndhrdw/harddriv_sndhrdw.c... Compiling src/drivers/harddriv.c... In file included from src/driver.h:64, from src/drivers/harddriv.c:170: src/drivers/harddriv.c:508:30: warning: 'ds3snd_writemem' defined but not used [-Wunused-const-variable=] static MEMORY_WRITE16_START( ds3snd_writemem ) ^~~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/harddriv.c:508:8: note: in expansion of macro 'MEMORY_WRITE16_START' static MEMORY_WRITE16_START( ds3snd_writemem ) ^~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:478:29: warning: 'ds3snd_readmem' defined but not used [-Wunused-const-variable=] static MEMORY_READ16_START( ds3snd_readmem ) ^~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/harddriv.c:478:8: note: in expansion of macro 'MEMORY_READ16_START' static MEMORY_READ16_START( ds3snd_readmem ) ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gauntlet_vidhrdw.c... Compiling src/drivers/gauntlet.c... Compiling src/vidhrdw/atetris_vidhrdw.c... Compiling src/drivers/atetris.c... Compiling src/vidhrdw/toobin_vidhrdw.c... Compiling src/drivers/toobin.c... Compiling src/vidhrdw/vindictr_vidhrdw.c... Compiling src/drivers/vindictr.c... Compiling src/vidhrdw/klax_vidhrdw.c... Compiling src/drivers/klax.c... Compiling src/vidhrdw/blstroid_vidhrdw.c... Compiling src/drivers/blstroid.c... Compiling src/drivers/xybots.c... Compiling src/vidhrdw/xybots_vidhrdw.c... Compiling src/vidhrdw/eprom_vidhrdw.c... Compiling src/drivers/eprom.c... Compiling src/vidhrdw/skullxbo_vidhrdw.c... Compiling src/drivers/skullxbo.c... Compiling src/vidhrdw/badlands_vidhrdw.c... Compiling src/drivers/badlands.c... Compiling src/vidhrdw/cyberbal_vidhrdw.c... Compiling src/sndhrdw/cyberbal_sndhrdw.c... Compiling src/vidhrdw/rampart_vidhrdw.c... Compiling src/drivers/cyberbal.c... Compiling src/drivers/rampart.c... Compiling src/vidhrdw/shuuz_vidhrdw.c... Compiling src/drivers/shuuz.c... Compiling src/vidhrdw/atarig1_vidhrdw.c... Compiling src/drivers/atarig1.c... Compiling src/vidhrdw/thunderj_vidhrdw.c... Compiling src/drivers/thunderj.c... Compiling src/vidhrdw/batman_vidhrdw.c... Compiling src/vidhrdw/relief_vidhrdw.c... Compiling src/drivers/batman.c... Compiling src/drivers/relief.c... Compiling src/vidhrdw/offtwall_vidhrdw.c... Compiling src/drivers/offtwall.c... src/drivers/relief.c: In function 'init_common': src/drivers/relief.c:466:9: warning: passing argument 1 to restrict-qualified parameter aliases with argument 2 [-Wrestrict] memcpy(&sound_base[0x120000], &sound_base[0x120000], 0x20000); ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/arcadecl_vidhrdw.c... Compiling src/drivers/arcadecl.c... Compiling src/vidhrdw/beathead_vidhrdw.c... Compiling src/drivers/beathead.c... Compiling src/vidhrdw/atarig42_vidhrdw.c... Compiling src/drivers/atarig42.c... Compiling src/machine/asic65.c... Compiling src/vidhrdw/atarigx2_vidhrdw.c... Compiling src/drivers/atarigx2.c... Compiling src/vidhrdw/atarigt_vidhrdw.c... Compiling src/drivers/atarigt.c... Compiling src/vidhrdw/jaguar_vidhrdw.c... Compiling src/sndhrdw/jaguar_sndhrdw.c... Compiling src/sndhrdw/cage_sndhrdw.c... Compiling src/drivers/cojag.c... Compiling src/sndhrdw/rockola_sndhrdw.c... Compiling src/vidhrdw/rockola_vidhrdw.c... Compiling src/drivers/rockola.c... Compiling src/vidhrdw/lasso_vidhrdw.c... Compiling src/drivers/lasso.c... Compiling src/drivers/munchmo.c... Compiling src/vidhrdw/munchmo_vidhrdw.c... Compiling src/vidhrdw/marvins_vidhrdw.c... Compiling src/drivers/marvins.c... Compiling src/vidhrdw/jcross_vidhrdw.c... Compiling src/drivers/jcross.c... Compiling src/vidhrdw/mainsnk_vidhrdw.c... Compiling src/drivers/mainsnk.c... Compiling src/drivers/hal21.c... src/drivers/mainsnk.c:31:13: warning: 'init_sound' defined but not used [-Wunused-function] static void init_sound( int busy_bit ) ^~~~~~~~~~ Compiling src/vidhrdw/snk_vidhrdw.c... Compiling src/drivers/snk.c... Compiling src/drivers/sgladiat.c... Compiling src/vidhrdw/snk68_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/hal21.c:55: src/drivers/hal21.c:123:22: warning: 'hal21_videoram_r' defined but not used [-Wunused-function] static READ_HANDLER( hal21_videoram_r ){ return videoram[offset]; } ^~~~~~~~~~~~~~~~ src/memory.h:126:39: note: in definition of macro 'READ_HANDLER' #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) ^~~~ Compiling src/vidhrdw/prehisle_vidhrdw.c... Compiling src/drivers/prehisle.c... Compiling src/drivers/snk68.c... Compiling src/vidhrdw/bbusters_vidhrdw.c... src/vidhrdw/snk_vidhrdw.c:36:13: warning: 'print' defined but not used [-Wunused-function] static void print( struct mame_bitmap *bitmap, int num, int row ) ^~~~~ Compiling src/drivers/bbusters.c... Compiling src/machine/equites_machine.c... Compiling src/drivers/shougi.c... Compiling src/vidhrdw/equites_vidhrdw.c... Compiling src/drivers/equites.c... In file included from src/drivers/shougi.c:103: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] static double compute_resistor_net_outputs( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/alpha68k.c... Compiling src/vidhrdw/champbas_vidhrdw.c... Compiling src/vidhrdw/alpha68k_vidhrdw.c... Compiling src/drivers/champbas.c... In file included from src/driver.h:64, from src/vidhrdw/prehisle_vidhrdw.c:9: src/vidhrdw/prehisle_vidhrdw.c: In function 'prehisle_control16_w': src/memory.h:872:55: warning: 'scroll' is used uninitialized in this function [-Wuninitialized] #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) ^ src/vidhrdw/equites_vidhrdw.c: In function 'video_init_common': src/vidhrdw/equites_vidhrdw.c:49:9: warning: variable 'colortable' set but not used [-Wunused-but-set-variable] pen_t *colortable; ^~~~~~~~~~ Compiling src/vidhrdw/exctsccr_vidhrdw.c... Compiling src/machine/exctsccr_machine.c... Compiling src/drivers/exctsccr.c... Compiling src/vidhrdw/tagteam_vidhrdw.c... Compiling src/drivers/scregg.c... Compiling src/drivers/tagteam.c... Compiling src/vidhrdw/mystston_vidhrdw.c... Compiling src/vidhrdw/ssozumo_vidhrdw.c... Compiling src/drivers/ssozumo.c... Compiling src/drivers/mystston.c... Compiling src/vidhrdw/dogfgt_vidhrdw.c... Compiling src/drivers/dogfgt.c... Compiling src/vidhrdw/bogeyman_vidhrdw.c... Compiling src/drivers/bogeyman.c... Compiling src/vidhrdw/matmania_vidhrdw.c... Compiling src/drivers/matmania.c... Compiling src/machine/maniach.c... Compiling src/vidhrdw/renegade_vidhrdw.c... Compiling src/drivers/renegade.c... Compiling src/vidhrdw/xain_vidhrdw.c... Compiling src/drivers/xain.c... Compiling src/vidhrdw/battlane_vidhrdw.c... Compiling src/drivers/battlane.c... Compiling src/vidhrdw/ddragon_vidhrdw.c... Compiling src/drivers/ddragon.c... In file included from src/driver.h:64, from src/drivers/ddragon.c:43: src/drivers/ddragon.c:295:23: warning: 'cpu_sound_command_w' defined but not used [-Wunused-function] static WRITE_HANDLER( cpu_sound_command_w ) ^~~~~~~~~~~~~~~~~~~ src/memory.h:127:39: note: in definition of macro 'WRITE_HANDLER' #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data) ^~~~ Compiling src/drivers/chinagat.c... Compiling src/vidhrdw/spdodgeb_vidhrdw.c... Compiling src/drivers/spdodgeb.c... Compiling src/vidhrdw/wwfsstar_vidhrdw.c... Compiling src/drivers/wwfsstar.c... src/sndhrdw/atarijsa.c: In function 'atarijsa3_init_adpcm': src/sndhrdw/atarijsa.c:132:9: warning: passing argument 1 to restrict-qualified parameter aliases with argument 2 [-Wrestrict] memcpy(&base[0xc0000], &base[0xc0000], 0x20000); ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ src/sndhrdw/atarijsa.c:137:9: warning: passing argument 1 to restrict-qualified parameter aliases with argument 2 [-Wrestrict] memcpy(&base[0xe0000], &base[0xe0000], 0x20000); ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ Compiling src/vidhrdw/vball_vidhrdw.c... Compiling src/drivers/vball.c... Compiling src/vidhrdw/blockout_vidhrdw.c... Compiling src/drivers/blockout.c... Compiling src/vidhrdw/ddragon3_vidhrdw.c... Compiling src/drivers/ddragon3.c... Compiling src/vidhrdw/wwfwfest_vidhrdw.c... Compiling src/drivers/wwfwfest.c... Compiling src/vidhrdw/shadfrce_vidhrdw.c... Compiling src/drivers/shadfrce.c... Compiling src/machine/berzerk_machine.c... Compiling src/vidhrdw/berzerk_vidhrdw.c... Compiling src/sndhrdw/berzerk_sndhrdw.c... Compiling src/drivers/supdrapo.c... Compiling src/drivers/berzerk.c... Compiling src/drivers/mazerbla.c... Compiling src/drivers/toratora.c... src/drivers/mazerbla.c: In function 'video_update_mazerbla': src/drivers/mazerbla.c:276:9: warning: variable 'color_base' set but not used [-Wunused-but-set-variable] UINT32 color_base=0; ^~~~~~~~~~ In file included from src/drivers/mazerbla.c:64: At top level: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] static double compute_resistor_net_outputs( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gameplan_vidhrdw.c... Compiling src/drivers/gameplan.c... Compiling src/vidhrdw/zac2650_vidhrdw.c... Compiling src/drivers/zac2650.c... Compiling src/vidhrdw/zaccaria_vidhrdw.c... Compiling src/drivers/zaccaria.c... Compiling src/vidhrdw/mouser_vidhrdw.c... Compiling src/drivers/nova2001.c... Compiling src/vidhrdw/nova2001_vidhrdw.c... Compiling src/drivers/mouser.c... Compiling src/vidhrdw/ninjakid_vidhrdw.c... src/vidhrdw/ninjakid_vidhrdw.c: In function 'ninjakun_io_8000_w': src/vidhrdw/ninjakid_vidhrdw.c:164:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/vidhrdw/ninjakid_vidhrdw.c:166:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' ninjakun_xscroll = data; ^~~~~~~~~~~~~~~~ Compiling src/drivers/ninjakid.c... Compiling src/drivers/raiders5.c... Compiling src/vidhrdw/raiders5_vidhrdw.c... Compiling src/vidhrdw/pkunwar_vidhrdw.c... Compiling src/drivers/pkunwar.c... Compiling src/vidhrdw/xxmissio_vidhrdw.c... Compiling src/vidhrdw/ninjakd2_vidhrdw.c... Compiling src/drivers/xxmissio.c... Compiling src/drivers/ninjakd2.c... Compiling src/vidhrdw/mnight_vidhrdw.c... Compiling src/drivers/mnight.c... Compiling src/vidhrdw/omegaf_vidhrdw.c... Compiling src/drivers/omegaf.c... Compiling src/vidhrdw/nmk16_vidhrdw.c... Compiling src/drivers/nmk16.c... Compiling src/drivers/jalmah.c... Compiling src/drivers/quizpani.c... Compiling src/vidhrdw/quizpani_vidhrdw.c... Compiling src/vidhrdw/macrossp_vidhrdw.c... Compiling src/drivers/macrossp.c... Compiling src/vidhrdw/quizdna_vidhrdw.c... Compiling src/drivers/quizdna.c... Compiling src/vidhrdw/jack_vidhrdw.c... Compiling src/drivers/jack.c... Compiling src/drivers/embargo.c... Compiling src/sndhrdw/cinemat_sndhrdw.c... Compiling src/drivers/cinemat.c... Compiling src/machine/cchasm_machine.c... Compiling src/sndhrdw/cchasm_sndhrdw.c... Compiling src/drivers/cchasm.c... src/sndhrdw/cchasm_sndhrdw.c: In function 'cchasm_io_w': src/sndhrdw/cchasm_sndhrdw.c:85:16: warning: variable 'led' set but not used [-Wunused-but-set-variable] static int led; ^~~ Compiling src/vidhrdw/thepit_vidhrdw.c... Compiling src/vidhrdw/cchasm_vidhrdw.c... Compiling src/drivers/thepit.c... Compiling src/vidhrdw/timelimt_vidhrdw.c... Compiling src/drivers/timelimt.c... Compiling src/drivers/bagman.c... Compiling src/machine/bagman_machine.c... Compiling src/vidhrdw/bagman_vidhrdw.c... Compiling src/vidhrdw/tankbust_vidhrdw.c... In file included from src/vidhrdw/bagman_vidhrdw.c:11: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] static double compute_resistor_net_outputs( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/tankbust.c... Compiling src/vidhrdw/stfight_vidhrdw.c... Compiling src/vidhrdw/wiz_vidhrdw.c... Compiling src/drivers/wiz.c... Compiling src/vidhrdw/kncljoe_vidhrdw.c... Compiling src/machine/stfight_machine.c... Compiling src/drivers/kncljoe.c... Compiling src/drivers/stfight.c... Compiling src/sndhrdw/seibu.c... Compiling src/vidhrdw/deadang_vidhrdw.c... Compiling src/drivers/deadang.c... Compiling src/drivers/cshooter.c... Compiling src/vidhrdw/dynduke_vidhrdw.c... Compiling src/drivers/dynduke.c... Compiling src/drivers/raiden.c... Compiling src/drivers/dcon.c... Compiling src/vidhrdw/sengokmj_vidhrdw.c... Compiling src/drivers/sengokmj.c... Compiling src/vidhrdw/mustache_vidhrdw.c... Compiling src/drivers/mustache.c... Compiling src/vidhrdw/cabal_vidhrdw.c... Compiling src/drivers/cabal.c... Compiling src/vidhrdw/raiden_vidhrdw.c... Compiling src/drivers/raiden2.c... Compiling src/vidhrdw/dcon_vidhrdw.c... Compiling src/drivers/toki.c... Compiling src/vidhrdw/toki_vidhrdw.c... Compiling src/vidhrdw/bloodbro_vidhrdw.c... Compiling src/vidhrdw/legionna_vidhrdw.c... Compiling src/drivers/legionna.c... Compiling src/vidhrdw/goal92_vidhrdw.c... Compiling src/drivers/goal92.c... Compiling src/drivers/bloodbro.c... Compiling src/vidhrdw/exerion_vidhrdw.c... Compiling src/vidhrdw/aeroboto_vidhrdw.c... Compiling src/drivers/exerion.c... Compiling src/drivers/fcombat.c... Compiling src/vidhrdw/citycon_vidhrdw.c... Compiling src/drivers/citycon.c... Compiling src/vidhrdw/momoko_vidhrdw.c... Compiling src/drivers/momoko.c... Compiling src/drivers/aeroboto.c... Compiling src/vidhrdw/argus_vidhrdw.c... Compiling src/drivers/argus.c... Compiling src/vidhrdw/psychic5_vidhrdw.c... Compiling src/drivers/psychic5.c... Compiling src/drivers/ginganin.c... Compiling src/vidhrdw/ginganin_vidhrdw.c... Compiling src/drivers/skyfox.c... Compiling src/vidhrdw/homerun_vidhrdw.c... Compiling src/drivers/homerun.c... Compiling src/vidhrdw/cischeat_vidhrdw.c... Compiling src/drivers/cischeat.c... Compiling src/vidhrdw/tetrisp2_vidhrdw.c... Compiling src/drivers/tetrisp2.c... Compiling src/vidhrdw/megasys1_vidhrdw.c... Compiling src/vidhrdw/skyfox_vidhrdw.c... Compiling src/drivers/megasys1.c... Compiling src/vidhrdw/ms32_vidhrdw.c... src/drivers/megasys1.c: In function 'jitsupro_gfx_unmangle': src/drivers/megasys1.c:3340:11: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] buffer = malloc(size); ^~~~~~~~~~~~ In file included from src/mame.h:14, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/megasys1.c:124: /usr/include/stdlib.h:108:7: note: in a call to allocation function 'malloc' declared here void *malloc(size_t) __malloclike __heedresult __alloc_size(1); ^~~~~~ src/drivers/megasys1.c: In function 'rodlandj_gfx_unmangle': src/drivers/megasys1.c:3310:11: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] buffer = malloc(size); ^~~~~~~~~~~~ In file included from src/mame.h:14, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/megasys1.c:124: /usr/include/stdlib.h:108:7: note: in a call to allocation function 'malloc' declared here void *malloc(size_t) __malloclike __heedresult __alloc_size(1); ^~~~~~ Compiling src/drivers/ms32.c... Compiling src/vidhrdw/bigstrkb_vidhrdw.c... Compiling src/drivers/bigstrkb.c... Compiling src/vidhrdw/rpunch_vidhrdw.c... Compiling src/drivers/rpunch.c... Compiling src/vidhrdw/tail2nos_vidhrdw.c... Compiling src/drivers/tail2nos.c... Compiling src/vidhrdw/ojankohs_vidhrdw.c... Compiling src/drivers/ojankohs.c... Compiling src/vidhrdw/fromance_vidhrdw.c... Compiling src/drivers/fromance.c... Compiling src/drivers/pipedrm.c... Compiling src/vidhrdw/aerofgt_vidhrdw.c... Compiling src/drivers/aerofgt.c... Compiling src/vidhrdw/welltris_vidhrdw.c... Compiling src/drivers/welltris.c... Compiling src/vidhrdw/f1gp_vidhrdw.c... src/vidhrdw/f1gp_vidhrdw.c: In function 'f1gp_drawsprites': src/vidhrdw/f1gp_vidhrdw.c:205:59: warning: variable 'pri' set but not used [-Wunused-but-set-variable] int ox,oy,x,y,xsize,ysize,zoomx,zoomy,flipx,flipy,color,pri; ^~~ Compiling src/drivers/f1gp.c... Compiling src/vidhrdw/taotaido_vidhrdw.c... src/vidhrdw/taotaido_vidhrdw.c: In function 'taotaido_tileregs_w': src/vidhrdw/taotaido_vidhrdw.c:160:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ACCESSING_LSB) ^~ src/vidhrdw/taotaido_vidhrdw.c:162:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' tilemap_mark_all_tiles_dirty(bg_tilemap); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/taotaido.c... Compiling src/drivers/crshrace.c... Compiling src/vidhrdw/gstriker_vidhrdw.c... Compiling src/vidhrdw/crshrace_vidhrdw.c... Compiling src/vidhrdw/suprslam_vidhrdw.c... Compiling src/drivers/gstriker.c... Compiling src/drivers/suprslam.c... Compiling src/vidhrdw/fromanc2_vidhrdw.c... Compiling src/drivers/fromanc2.c... Compiling src/vidhrdw/inufuku_vidhrdw.c... Compiling src/drivers/inufuku.c... Compiling src/vidhrdw/psikyo_vidhrdw.c... Compiling src/drivers/psikyo.c... Compiling src/vidhrdw/psikyosh_vidhrdw.c... Compiling src/drivers/psikyosh.c... Compiling src/vidhrdw/psikyo4_vidhrdw.c... Compiling src/drivers/psikyo4.c... Compiling src/machine/8254pit.c... Compiling src/drivers/leland.c... Compiling src/vidhrdw/leland_vidhrdw.c... Compiling src/machine/leland_machine.c... Compiling src/sndhrdw/leland_sndhrdw.c... src/sndhrdw/leland_sndhrdw.c: In function 'pit8254_r': src/sndhrdw/leland_sndhrdw.c:1561:24: warning: variable 'ctr' set but not used [-Wunused-but-set-variable] struct counter_state *ctr; ^~~ Compiling src/drivers/ataxx.c... Compiling src/vidhrdw/marineb_vidhrdw.c... Compiling src/drivers/marineb.c... Compiling src/vidhrdw/funkybee_vidhrdw.c... Compiling src/drivers/funkybee.c... Compiling src/vidhrdw/zodiack_vidhrdw.c... Compiling src/vidhrdw/espial_vidhrdw.c... Compiling src/drivers/zodiack.c... Compiling src/drivers/espial.c... Compiling src/vidhrdw/vastar_vidhrdw.c... In file included from src/drivers/zodiack.c:21: src/driver.h:98:7: warning: 'construct_moguchan' defined but not used [-Wunused-function] void construct_##game(struct InternalMachineDriver *machine) \ ^~~~~~~~~~ src/drivers/zodiack.c:542:8: note: in expansion of macro 'MACHINE_DRIVER_START' static MACHINE_DRIVER_START( moguchan ) ^~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/vastar.c... Compiling src/vidhrdw/xorworld_vidhrdw.c... Compiling src/vidhrdw/splash_vidhrdw.c... Compiling src/drivers/xorworld.c... Compiling src/drivers/splash.c... Compiling src/vidhrdw/thoop2_vidhrdw.c... Compiling src/drivers/thoop2.c... Compiling src/vidhrdw/gaelco_vidhrdw.c... Compiling src/drivers/gaelco.c... Compiling src/machine/wrally_machine.c... Compiling src/drivers/wrally.c... Compiling src/vidhrdw/targeth_vidhrdw.c... Compiling src/vidhrdw/wrally_vidhrdw.c... Compiling src/machine/gaelco2_machine.c... Compiling src/drivers/targeth.c... Compiling src/vidhrdw/gaelco2_vidhrdw.c... Compiling src/drivers/gaelco2.c... Compiling src/vidhrdw/glass_vidhrdw.c... Compiling src/drivers/glass.c... Compiling src/vidhrdw/airbustr_vidhrdw.c... Compiling src/vidhrdw/djboy_vidhrdw.c... Compiling src/drivers/airbustr.c... Compiling src/drivers/djboy.c... Compiling src/vidhrdw/galpanic_vidhrdw.c... Compiling src/vidhrdw/galpani2_vidhrdw.c... Compiling src/drivers/galpanic.c... Compiling src/drivers/galpani2.c... Compiling src/drivers/jchan.c... Compiling src/vidhrdw/kaneko16_vidhrdw.c... Compiling src/drivers/kaneko16.c... Compiling src/vidhrdw/suprnova_vidhrdw.c... src/drivers/kaneko16.c: In function 'gtmr_wheel_r': src/drivers/kaneko16.c:1192:35: warning: bitwise comparison always evaluates to false [-Wtautological-compare] if ( (readinputport(4) & 0x1800) == 0x10) // DSW setting ^~ Compiling src/drivers/suprnova.c... src/vidhrdw/suprnova_vidhrdw.c: In function 'skns_drawsprites': src/vidhrdw/suprnova_vidhrdw.c:276:40: warning: variable 'pri' set but not used [-Wunused-but-set-variable] int xsize,ysize, size, xpos=0,ypos=0, pri=0, romoffset, colour=0, xflip,yflip, joint; ^~~ src/vidhrdw/suprnova_vidhrdw.c: In function 'video_update_skns': src/vidhrdw/suprnova_vidhrdw.c:703:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(skns_v3_regs[0x0c/4] & 0x0100)); // if tilemap b is in 8bpp mode ^~ src/vidhrdw/suprnova_vidhrdw.c:704:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' { ^ src/vidhrdw/suprnova_vidhrdw.c:729:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (skns_v3_regs[0x0c/4] & 0x0100); // if tilemap b is in 4bpp mode ^~ src/vidhrdw/suprnova_vidhrdw.c:730:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' { ^ Compiling src/machine/pd4990a.c... Compiling src/machine/neocrypt.c... src/drivers/suprnova.c: In function 'palette_set_rgb_brightness': src/drivers/suprnova.c:784:27: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] int use_bright, r, g, b, alpha; ^~~~~ src/drivers/suprnova.c: In function 'skns_palette_ram_w': src/drivers/suprnova.c:892:48: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] int brightness_r, brightness_g, brightness_b, alpha; ^~~~~ Compiling src/machine/neogeo_machine.c... src/machine/neogeo_machine.c: In function 'init_neogeo': src/machine/neogeo_machine.c:109:12: warning: variable 'mem16' set but not used [-Wunused-but-set-variable] data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); ^~~~~ Compiling src/vidhrdw/neogeo_vidhrdw.c... Compiling src/drivers/neogeo.c... In function 'kof98P1decode', inlined from 'init_kof98' at src/drivers/neogeo.c:5997:2: src/drivers/neogeo.c:5966:2: warning: 'memcpy' accessing 4194304 bytes at offsets 1048576 and 2097152 overlaps 3145728 bytes at offset 2097152 [-Wrestrict] memcpy( &src[0x100000], &src[0x200000], 0x400000 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/hanaawas_vidhrdw.c... Compiling src/drivers/hanaawas.c... Compiling src/vidhrdw/speedatk_vidhrdw.c... Compiling src/drivers/speedatk.c... Compiling src/vidhrdw/srmp2_vidhrdw.c... Compiling src/drivers/srmp2.c... Compiling src/vidhrdw/seta_vidhrdw.c... Compiling src/drivers/seta.c... Compiling src/vidhrdw/ssv_vidhrdw.c... Compiling src/drivers/ssv.c... Compiling src/vidhrdw/seta2_vidhrdw.c... Compiling src/drivers/seta2.c... Compiling src/drivers/powerins.c... Compiling src/vidhrdw/powerins_vidhrdw.c... Compiling src/vidhrdw/ohmygod_vidhrdw.c... Compiling src/vidhrdw/blmbycar_vidhrdw.c... Compiling src/vidhrdw/route16_vidhrdw.c... Compiling src/vidhrdw/ttmahjng_vidhrdw.c... Compiling src/drivers/ttmahjng.c... Compiling src/drivers/route16.c... Compiling src/drivers/ohmygod.c... Compiling src/drivers/blmbycar.c... src/vidhrdw/route16_vidhrdw.c: In function 'route16_out0_w': src/vidhrdw/route16_vidhrdw.c:77:35: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] video_disable_1 = ((data & 0x02) << 6) && route16_hardware; ~~~~~~~~~~~~~~~^~~~~ src/vidhrdw/route16_vidhrdw.c: In function 'route16_out1_w': src/vidhrdw/route16_vidhrdw.c:96:35: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] video_disable_2 = ((data & 0x02) << 6 ) && route16_hardware; ~~~~~~~~~~~~~~~^~~~~~ Compiling src/vidhrdw/kangaroo_vidhrdw.c... Compiling src/drivers/kangaroo.c... Compiling src/vidhrdw/arabian_vidhrdw.c... Compiling src/drivers/arabian.c... Compiling src/vidhrdw/markham_vidhrdw.c... Compiling src/drivers/markham.c... Compiling src/vidhrdw/strnskil_vidhrdw.c... Compiling src/drivers/strnskil.c... Compiling src/vidhrdw/ikki_vidhrdw.c... Compiling src/drivers/ikki.c... Compiling src/drivers/shanghai.c... Compiling src/vidhrdw/shangha3_vidhrdw.c... Compiling src/drivers/shangha3.c... Compiling src/vidhrdw/goindol_vidhrdw.c... Compiling src/drivers/goindol.c... Compiling src/drivers/suna8.c... Compiling src/vidhrdw/suna8_vidhrdw.c... Compiling src/vidhrdw/suna16_vidhrdw.c... src/vidhrdw/arabian_vidhrdw.c: In function 'palette_init_arabian': src/vidhrdw/arabian_vidhrdw.c:96:24: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] int rlo = planea ? ((!arhf & az) ? 0 : ar) : enb ? br : 0; ^~~~~ src/vidhrdw/arabian_vidhrdw.c:127:24: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] int glo = planea ? ((!aghf & az) ? 0 : ag) : enb ? bg : 0; ^~~~~ src/vidhrdw/arabian_vidhrdw.c:148:16: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] int bbase = (!abhf & az) ? 0 : ab; ^~~~~ Compiling src/drivers/suna16.c... Compiling src/vidhrdw/gundealr_vidhrdw.c... Compiling src/drivers/dooyong.c... Compiling src/drivers/gundealr.c... Compiling src/vidhrdw/dooyong_vidhrdw.c... Compiling src/machine/leprechn_machine.c... Compiling src/vidhrdw/leprechn_vidhrdw.c... Compiling src/drivers/leprechn.c... Compiling src/machine/beezer_machine.c... Compiling src/vidhrdw/beezer_vidhrdw.c... Compiling src/drivers/beezer.c... Compiling src/vidhrdw/pushman_vidhrdw.c... Compiling src/drivers/pushman.c... Compiling src/vidhrdw/zerozone_vidhrdw.c... Compiling src/vidhrdw/galspnbl_vidhrdw.c... Compiling src/drivers/zerozone.c... Compiling src/drivers/galspnbl.c... Compiling src/vidhrdw/sslam_vidhrdw.c... Compiling src/drivers/sslam.c... Compiling src/vidhrdw/playmark_vidhrdw.c... Compiling src/vidhrdw/thief_vidhrdw.c... Compiling src/drivers/playmark.c... Compiling src/drivers/thief.c... Compiling src/vidhrdw/mrflea_vidhrdw.c... Compiling src/drivers/mrflea.c... Compiling src/vidhrdw/holeland_vidhrdw.c... Compiling src/drivers/holeland.c... Compiling src/vidhrdw/speedbal_vidhrdw.c... Compiling src/drivers/speedbal.c... Compiling src/vidhrdw/sauro_vidhrdw.c... Compiling src/drivers/sauro.c... Compiling src/vidhrdw/metro_vidhrdw.c... Compiling src/drivers/metro.c... Compiling src/vidhrdw/hyprduel_vidhrdw.c... src/drivers/metro.c: In function 'init_karatour': src/drivers/metro.c:4178:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = 0;i < memory_region_length(REGION_USER1)/2;i++) ^~~ src/drivers/metro.c:4180:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' init_metro(); ^~~~~~~~~~ Compiling src/drivers/hyprduel.c... Compiling src/vidhrdw/spcforce_vidhrdw.c... Compiling src/drivers/spcforce.c... Compiling src/drivers/looping.c... Compiling src/drivers/paradise.c... Compiling src/vidhrdw/paradise_vidhrdw.c... Compiling src/vidhrdw/yunsun16_vidhrdw.c... Compiling src/drivers/yunsung8.c... Compiling src/vidhrdw/yunsung8_vidhrdw.c... Compiling src/drivers/yunsun16.c... Compiling src/vidhrdw/blueprnt_vidhrdw.c... Compiling src/drivers/blueprnt.c... Compiling src/vidhrdw/fuukifg2_vidhrdw.c... Compiling src/drivers/fuukifg2.c... Compiling src/vidhrdw/fuukifg3_vidhrdw.c... Compiling src/drivers/fuukifg3.c... Compiling src/vidhrdw/drgnmst_vidhrdw.c... Compiling src/drivers/drgnmst.c... Compiling src/vidhrdw/unico_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/fuukifg3.c:92: src/drivers/fuukifg3.c:168:24: warning: 'fuuki32_sound_command_r' defined but not used [-Wunused-function] static READ32_HANDLER( fuuki32_sound_command_r ) ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: in definition of macro 'READ32_HANDLER' #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) ^~~~ src/drivers/fuukifg3.c:158:25: warning: 'fuuki32_sound_command_w' defined but not used [-Wunused-function] static WRITE32_HANDLER( fuuki32_sound_command_w ) ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:131:40: note: in definition of macro 'WRITE32_HANDLER' #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask) ^~~~ Compiling src/drivers/unico.c... Compiling src/vidhrdw/silkroad_vidhrdw.c... Compiling src/drivers/silkroad.c... Compiling src/vidhrdw/afega_vidhrdw.c... Compiling src/drivers/afega.c... Compiling src/vidhrdw/esd16_vidhrdw.c... Compiling src/drivers/royalmah.c... Compiling src/drivers/esd16.c... Compiling src/vidhrdw/hnayayoi_vidhrdw.c... Compiling src/vidhrdw/dynax_vidhrdw.c... Compiling src/drivers/hnayayoi.c... src/vidhrdw/dynax_vidhrdw.c: In function 'hanamai_copylayer': src/vidhrdw/dynax_vidhrdw.c:654:21: warning: variable 'offs' set but not used [-Wunused-but-set-variable] int dy,length,pen,offs; ^~~~ src/vidhrdw/dynax_vidhrdw.c: In function 'mjdialq2_copylayer': src/vidhrdw/dynax_vidhrdw.c:711:21: warning: variable 'offs' set but not used [-Wunused-but-set-variable] int dy,length,pen,offs; ^~~~ Compiling src/drivers/ddenlovr.c... src/vidhrdw/hnayayoi_vidhrdw.c: In function 'draw_layer_interleaved': src/vidhrdw/hnayayoi_vidhrdw.c:222:24: warning: variable 'offs' set but not used [-Wunused-but-set-variable] int county,countx,pen,offs; ^~~~ Compiling src/drivers/dynax.c... Compiling src/vidhrdw/realbrk_vidhrdw.c... Compiling src/drivers/realbrk.c... Compiling src/vidhrdw/crtc6845.c... In file included from src/drivers/ddenlovr.c:79: src/drivers/ddenlovr.c:2090:23: warning: 'rtc_irq' defined but not used [-Wunused-function] static INTERRUPT_GEN( rtc_irq ) ^~~~~~~ src/driver.h:21:35: note: in definition of macro 'INTERRUPT_GEN' #define INTERRUPT_GEN(func) void func(void) ^~~~ Compiling src/drivers/nyny.c... Compiling src/vidhrdw/nyny_vidhrdw.c... Compiling src/drivers/r2dtank.c... Compiling src/machine/spiders_machine.c... Compiling src/vidhrdw/spiders_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/dynax.c:71: src/drivers/dynax.c:795:30: warning: 'roldfrog_writemem' defined but not used [-Wunused-const-variable=] static MEMORY_WRITE16_START( roldfrog_writemem ) ^~~~~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/dynax.c:795:8: note: in expansion of macro 'MEMORY_WRITE16_START' static MEMORY_WRITE16_START( roldfrog_writemem ) ^~~~~~~~~~~~~~~~~~~~ src/drivers/dynax.c:785:29: warning: 'roldfrog_readmem' defined but not used [-Wunused-const-variable=] static MEMORY_READ16_START( roldfrog_readmem ) ^~~~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/dynax.c:785:8: note: in expansion of macro 'MEMORY_READ16_START' static MEMORY_READ16_START( roldfrog_readmem ) ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/spiders.c... Compiling src/drivers/iqblock.c... Compiling src/drivers/grtwall.c... Compiling src/vidhrdw/iqblock_vidhrdw.c... Compiling src/drivers/chindrag.c... Compiling src/vidhrdw/pgm_vidhrdw.c... Compiling src/machine/pgmprot_machine.c... Compiling src/machine/pgmcrypt.c... Compiling src/drivers/pgm.c... Compiling src/vidhrdw/hitme_vidhrdw.c... Compiling src/drivers/hitme.c... Compiling src/drivers/starcrus.c... Compiling src/vidhrdw/starcrus_vidhrdw.c... Compiling src/drivers/battlex.c... Compiling src/vidhrdw/carjmbre_vidhrdw.c... Compiling src/vidhrdw/battlex_vidhrdw.c... Compiling src/drivers/popper.c... Compiling src/vidhrdw/popper_vidhrdw.c... Compiling src/drivers/carjmbre.c... Compiling src/drivers/speedspn.c... Compiling src/vidhrdw/speedspn_vidhrdw.c... Compiling src/vidhrdw/kickgoal_vidhrdw.c... Compiling src/drivers/kickgoal.c... Compiling src/vidhrdw/usgames_vidhrdw.c... Compiling src/vidhrdw/mermaid_vidhrdw.c... Compiling src/drivers/usgames.c... Compiling src/drivers/mermaid.c... Compiling src/vidhrdw/drmicro_vidhrdw.c... Compiling src/drivers/drmicro.c... Compiling src/drivers/appoooh.c... Compiling src/vidhrdw/bankp_vidhrdw.c... Compiling src/vidhrdw/appoooh_vidhrdw.c... Compiling src/drivers/bankp.c... Compiling src/vidhrdw/mjkjidai_vidhrdw.c... Compiling src/drivers/mayumi.c... Compiling src/drivers/mjkjidai.c... Compiling src/vidhrdw/mayumi_vidhrdw.c... Compiling src/vidhrdw/btoads_vidhrdw.c... Compiling src/drivers/btoads.c... Compiling src/vidhrdw/kinst_vidhrdw.c... Compiling src/drivers/kinst.c... Compiling src/vidhrdw/freekick_vidhrdw.c... Compiling src/drivers/freekick.c... Compiling src/drivers/rmhaihai.c... Compiling src/drivers/hanaroku.c... Compiling src/drivers/yumefuda.c... Compiling src/vidhrdw/homedata_vidhrdw.c... Compiling src/drivers/homedata.c... Compiling src/vidhrdw/artmagic_vidhrdw.c... Compiling src/drivers/artmagic.c... Compiling src/vidhrdw/shangkid_vidhrdw.c... Compiling src/drivers/shangkid.c... Compiling src/vidhrdw/astinvad_vidhrdw.c... Compiling src/sndhrdw/astinvad_sndhrdw.c... Compiling src/drivers/astinvad.c... Compiling src/vidhrdw/spacefb_vidhrdw.c... Compiling src/drivers/spacefb.c... Compiling src/vidhrdw/dday_vidhrdw.c... Compiling src/drivers/omegrace.c... Compiling src/drivers/dday.c... Compiling src/drivers/hexa.c... Compiling src/drivers/redalert.c... Compiling src/machine/stactics_machine.c... Compiling src/vidhrdw/redalert_vidhrdw.c... Compiling src/sndhrdw/redalert_sndhrdw.c... Compiling src/drivers/stactics.c... Compiling src/vidhrdw/kingobox_vidhrdw.c... Compiling src/drivers/kingobox.c... Compiling src/drivers/ambush.c... Compiling src/vidhrdw/ambush_vidhrdw.c... Compiling src/drivers/dlair.c... Compiling src/vidhrdw/hexa_vidhrdw.c... Compiling src/vidhrdw/aztarac_vidhrdw.c... Compiling src/sndhrdw/aztarac_sndhrdw.c... Compiling src/vidhrdw/mole_vidhrdw.c... Compiling src/drivers/aztarac.c... Compiling src/vidhrdw/gotya_vidhrdw.c... Compiling src/drivers/mole.c... Compiling src/vidhrdw/stactics_vidhrdw.c... Compiling src/sndhrdw/gotya_sndhrdw.c... Compiling src/drivers/gotya.c... Compiling src/vidhrdw/mrjong_vidhrdw.c... Compiling src/drivers/polyplay.c... Compiling src/drivers/mrjong.c... Compiling src/vidhrdw/amspdwy_vidhrdw.c... Compiling src/drivers/amspdwy.c... Compiling src/vidhrdw/polyplay_vidhrdw.c... Compiling src/sndhrdw/polyplay_sndhrdw.c... Compiling src/vidhrdw/othldrby_vidhrdw.c... Compiling src/drivers/othldrby.c... Compiling src/vidhrdw/mosaic_vidhrdw.c... Compiling src/drivers/mosaic.c... Compiling src/vidhrdw/sprcros2_vidhrdw.c... Compiling src/drivers/spdbuggy.c... Compiling src/drivers/sprcros2.c... Compiling src/vidhrdw/mugsmash_vidhrdw.c... Compiling src/drivers/mugsmash.c... Compiling src/vidhrdw/stlforce_vidhrdw.c... Compiling src/drivers/stlforce.c... Compiling src/drivers/gcpinbal.c... Compiling src/vidhrdw/gcpinbal_vidhrdw.c... Compiling src/vidhrdw/aquarium_vidhrdw.c... Compiling src/drivers/aquarium.c... Compiling src/vidhrdw/policetr_vidhrdw.c... Compiling src/drivers/policetr.c... Compiling src/vidhrdw/pass_vidhrdw.c... Compiling src/drivers/pass.c... Compiling src/vidhrdw/news_vidhrdw.c... Compiling src/drivers/news.c... Compiling src/vidhrdw/taxidrvr_vidhrdw.c... Compiling src/drivers/taxidrvr.c... Compiling src/vidhrdw/xyonix_vidhrdw.c... Compiling src/drivers/findout.c... Compiling src/drivers/xyonix.c... Compiling src/drivers/dribling.c... Compiling src/vidhrdw/dribling_vidhrdw.c... Compiling src/drivers/ace.c... Compiling src/vidhrdw/clayshoo_vidhrdw.c... Compiling src/machine/clayshoo_machine.c... Compiling src/drivers/clayshoo.c... Compiling src/drivers/pirates.c... Compiling src/vidhrdw/pirates_vidhrdw.c... Compiling src/drivers/fitfight.c... Compiling src/vidhrdw/fitfight_vidhrdw.c... Compiling src/vidhrdw/flower_vidhrdw.c... Compiling src/sndhrdw/flower_sndhrdw.c... Compiling src/drivers/flower.c... Compiling src/vidhrdw/diverboy_vidhrdw.c... Compiling src/drivers/diverboy.c... Compiling src/vidhrdw/beaminv_vidhrdw.c... Compiling src/drivers/beaminv.c... Compiling src/drivers/mcatadv.c... Compiling src/vidhrdw/4enraya_vidhrdw.c... Compiling src/vidhrdw/mcatadv_vidhrdw.c... Compiling src/drivers/4enraya.c... Compiling src/vidhrdw/oneshot_vidhrdw.c... Compiling src/drivers/oneshot.c... In file included from src/driver.h:64, from src/drivers/mcatadv.c:60: src/drivers/mcatadv.c:89:25: warning: 'mcat_coin_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( mcat_coin_w ) ^~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ Compiling src/vidhrdw/gotcha_vidhrdw.c... Compiling src/drivers/tugboat.c... Compiling src/drivers/gotcha.c... Compiling src/drivers/gumbo.c... Compiling src/drivers/statriv2.c... Compiling src/drivers/coolpool.c... Compiling src/vidhrdw/gumbo_vidhrdw.c... Compiling src/vidhrdw/tickee_vidhrdw.c... Compiling src/drivers/tickee.c... Compiling src/vidhrdw/crgolf_vidhrdw.c... Compiling src/drivers/crgolf.c... Compiling src/vidhrdw/truco_vidhrdw.c... Compiling src/drivers/truco.c... Compiling src/vidhrdw/thedeep_vidhrdw.c... Compiling src/drivers/thedeep.c... Compiling src/drivers/fantland.c... Compiling src/drivers/skyarmy.c... Compiling src/vidhrdw/lethalj_vidhrdw.c... Compiling src/vidhrdw/sbugger_vidhrdw.c... Compiling src/drivers/lethalj.c... Compiling src/drivers/sbugger.c... Compiling src/vidhrdw/portrait_vidhrdw.c... Compiling src/drivers/portrait.c... Compiling src/vidhrdw/fantland_vidhrdw.c... Compiling src/drivers/wallc.c... Compiling src/drivers/enigma2.c... In file included from src/drivers/wallc.c:52: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] static double compute_resistor_net_outputs( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/ltcasino.c... Compiling src/drivers/vamphalf.c... Compiling src/drivers/strvmstr.c... Compiling src/drivers/dorachan.c... Compiling src/vidhrdw/dorachan_vidhrdw.c... Compiling src/vidhrdw/ladyfrog_vidhrdw.c... Compiling src/drivers/ladyfrog.c... Compiling src/drivers/rabbit.c... Compiling src/vidhrdw/malzak_vidhrdw.c... Compiling src/drivers/crospang.c... Compiling src/drivers/funybubl.c... Compiling src/cpu/z180/z180.c... Compiling src/cpu/i8085/i8085.c... Compiling src/cpu/adsp2100/adsp2100.c... Compiling src/cpu/z80/z80.c... Compiling src/drivers/malzak.c... Compiling src/drivers/supertnk.c... Compiling src/cpu/m6502/m6502.c... Compiling src/cpu/h6280/h6280.c... In file included from src/driver.h:64, from src/drivers/funybubl.c:17: src/drivers/funybubl.c:64:23: warning: 'unk_port_r' defined but not used [-Wunused-function] static READ_HANDLER ( unk_port_r ) ^~~~~~~~~~ src/memory.h:126:39: note: in definition of macro 'READ_HANDLER' #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) ^~~~ Compiling src/cpu/i86/i86.c... Compiling src/cpu/nec/nec.c... In file included from src/cpu/i86/i86.c:98: src/cpu/i86/instr86.c: In function 'i86_aas': src/cpu/i86/instr86.c:1162:8: warning: variable 'ALcarry' set but not used [-Wunused-but-set-variable] UINT8 ALcarry=1; ^~~~~~~ In file included from src/cpu/i86/i86.c:16: src/cpu/i86/i86.c: In function 'i86_get_reg': src/cpu/i86/i86.h:102:25: warning: statement with no effect [-Wunused-value] #define CompressFlags() (WORD)(CF | (PF << 2) | (AF << 4) | (ZF << 6) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | (SF << 7) | (I.TF << 8) | (I.IF << 9) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | (DF << 10) | (OF << 11)) ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/i86/i86.c:203:20: note: in expansion of macro 'CompressFlags' case I86_FLAGS: CompressFlags(); return I.flags; ^~~~~~~~~~~~~ In file included from src/cpu/i86/i86.c:452: src/cpu/i86/instr186.c: In function 'i186_popa': src/cpu/i86/instr186.c:36:12: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned tmp; ^~~ src/drivers/crospang.c: In function 'draw_sprites': src/drivers/crospang.c:298:34: warning: variable 'attr' set but not used [-Wunused-but-set-variable] int offs,fx,fy,x,y,color,sprite,attr,dy,ay; ^~~~ In file included from src/cpu/h6280/h6280.c:133: src/cpu/h6280/tblh6280.c: In function 'h6280_088': src/cpu/h6280/h6280ops.h:587:4: warning: operation on 'h6280.y' may be undefined [-Wsequence-point] Y = (UINT8)--Y; \ ^ src/cpu/h6280/tblh6280.c:171:38: note: in expansion of macro 'DEY' OP(_088) { h6280_ICount -= 2; DEY; } // 2 DEY ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_0c8': src/cpu/h6280/h6280ops.h:629:4: warning: operation on 'h6280.y' may be undefined [-Wsequence-point] Y = (UINT8)++Y; \ ^ src/cpu/h6280/tblh6280.c:173:38: note: in expansion of macro 'INY' OP(_0c8) { h6280_ICount -= 2; INY; } // 2 INY ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_0e8': src/cpu/h6280/h6280ops.h:622:4: warning: operation on 'h6280.x' may be undefined [-Wsequence-point] X = (UINT8)++X; \ ^ src/cpu/h6280/tblh6280.c:174:38: note: in expansion of macro 'INX' OP(_0e8) { h6280_ICount -= 2; INX; } // 2 INX ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_0ca': src/cpu/h6280/h6280ops.h:580:4: warning: operation on 'h6280.x' may be undefined [-Wsequence-point] X = (UINT8)--X; \ ^ src/cpu/h6280/tblh6280.c:209:38: note: in expansion of macro 'DEX' OP(_0ca) { h6280_ICount -= 2; DEX; } // 2 DEX ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_01a': src/cpu/h6280/h6280ops.h:608:4: warning: operation on 'h6280.a' may be undefined [-Wsequence-point] A = (UINT8)++A; \ ^ src/cpu/h6280/tblh6280.c:212:38: note: in expansion of macro 'INA' OP(_01a) { h6280_ICount -= 2; INA; } // 2 INC A ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_03a': src/cpu/h6280/h6280ops.h:566:4: warning: operation on 'h6280.a' may be undefined [-Wsequence-point] A = (UINT8)--A; \ ^ src/cpu/h6280/tblh6280.c:213:38: note: in expansion of macro 'DEA' OP(_03a) { h6280_ICount -= 2; DEA; } // 2 DEC A ^~~ Compiling src/cpu/v60/v60.c... Compiling src/cpu/v60/v60d.c... Compiling src/cpu/i8039/i8039.c... Compiling src/cpu/m6800/m6800.c... Compiling src/cpu/i8x41/i8x41.c... In file included from src/cpu/m6800/m6800.c:548: src/cpu/m6800/6800ops.c: In function 'brn': src/cpu/m6800/6800ops.c:251:8: warning: variable 't' set but not used [-Wunused-but-set-variable] UINT8 t; ^ src/cpu/m6800/m6800.c: In function 'm6800_set_irq_line': src/cpu/m6800/m6800.c:705:7: warning: variable 'eddge' set but not used [-Wunused-but-set-variable] int eddge; ^~~~~ Compiling src/cpu/hd6309/hd6309.c... Compiling src/cpu/m6805/m6805.c... Compiling src/cpu/m6809/m6809.c... In file included from src/cpu/hd6309/hd6309.c:776: src/cpu/hd6309/6309ops.c: In function 'brn': src/cpu/hd6309/6309ops.c:503:8: warning: variable 't' set but not used [-Wunused-but-set-variable] UINT8 t; ^ Compiling src/cpu/konami/konami.c... In file included from src/drivers/malzak.c:26: src/drivers/malzak.c:335:23: warning: 'malzak_interrupt' defined but not used [-Wunused-function] static INTERRUPT_GEN( malzak_interrupt ) ^~~~~~~~~~~~~~~~ src/driver.h:21:35: note: in definition of macro 'INTERRUPT_GEN' #define INTERRUPT_GEN(func) void func(void) ^~~~ Compiling src/cpu/m68000/m68kops.c... In file included from src/cpu/m6805/m6805.c:531: src/cpu/m6805/6805ops.c: In function 'brn': src/cpu/m6805/6805ops.c:111:8: warning: variable 't' set but not used [-Wunused-but-set-variable] UINT8 t; ^ In file included from src/cpu/m6809/m6809.c:674: src/cpu/m6809/6809ops.c: In function 'brn': src/cpu/m6809/6809ops.c:413:8: warning: variable 't' set but not used [-Wunused-but-set-variable] UINT8 t; ^ In file included from src/cpu/konami/konami.c:669: src/cpu/konami/konamops.c: In function 'brn': src/cpu/konami/konamops.c:328:8: warning: variable 't' set but not used [-Wunused-but-set-variable] UINT8 t; ^ Compiling src/cpu/m68000/m68kopac.c... Compiling src/cpu/m68000/m68kopdm.c... Compiling src/cpu/m68000/m68kopnz.c... Compiling src/cpu/m68000/m68kcpu.c... Compiling src/cpu/m68000/m68kmame.c... Compiling src/cpu/t11/t11.c... src/cpu/m68000/m68kcpu.c:56:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Invalid CPU", ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:57:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "M68000", ^~~~~~~~ src/cpu/m68000/m68kcpu.c:58:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "M68010", ^~~~~~~~ src/cpu/m68000/m68kcpu.c:59:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Invalid CPU", ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:60:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "M68EC020" ^~~~~~~~~~ src/cpu/m68000/m68kcpu.c:62:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Invalid CPU", ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:63:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Invalid CPU", ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:64:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "M68020" ^~~~~~~~ Compiling src/cpu/s2650/s2650.c... Compiling src/cpu/tms34010/34010fld.c... Compiling src/cpu/tms34010/tms34010.c... src/cpu/nec/nec.c: In function 'i_popa': src/cpu/nec/nec.c:374:14: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned tmp; ^~~ src/cpu/nec/nec.c: In function 'i_aam': src/cpu/nec/nec.c:746:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable] OP( 0xd4, i_aam ) { UINT32 mult=FETCH; mult=0; I.regs.b[AH] = I.regs.b[AL] / 10; I.regs.b[AL] %= 10; SetSZPF_Word(I.regs.w[AW]); CLKS(15,15,12); } ^~~~ src/cpu/nec/nec.c: In function 'i_aad': src/cpu/nec/nec.c:747:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable] OP( 0xd5, i_aad ) { UINT32 mult=FETCH; mult=0; I.regs.b[AL] = I.regs.b[AH] * 10 + I.regs.b[AL]; I.regs.b[AH] = 0; SetSZPF_Byte(I.regs.b[AL]); CLKS(7,7,8); } ^~~~ src/cpu/nec/nec.c: In function 'v30_info': src/cpu/nec/nec.c:1204:15: warning: variable 'r' set but not used [-Wunused-but-set-variable] nec_Regs *r = context; ^ src/cpu/nec/nec.c:1202:17: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] static char buffer[32][63+1]; ^~~~~~ src/cpu/nec/nec.c: In function 'v33_info': src/cpu/nec/nec.c:1256:15: warning: variable 'r' set but not used [-Wunused-but-set-variable] nec_Regs *r = context; ^ src/cpu/nec/nec.c:1254:17: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] static char buffer[32][63+1]; ^~~~~~ Compiling src/cpu/tms9900/tms9980a.c... Compiling src/cpu/tms9900/tms9995.c... Compiling src/cpu/z8000/z8000.c... Compiling src/cpu/tms9900/tms9900.c... Compiling src/cpu/tms32010/tms32010.c... Compiling src/cpu/tms32025/tms32025.c... Compiling src/cpu/ccpu/ccpu.c... Compiling src/vidhrdw/cinemat_vidhrdw.c... Compiling src/cpu/tms32031/tms32031.c... Compiling src/cpu/asap/asap.c... Compiling src/cpu/upd7810/upd7810.c... Compiling src/cpu/mips/psx_cpu.c... Compiling src/cpu/arm/arm.c... Compiling src/cpu/jaguar/jaguar.c... src/vidhrdw/cinemat_vidhrdw.c: In function 'CinemaVectorData': src/vidhrdw/cinemat_vidhrdw.c:32:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/vidhrdw/cinemat_vidhrdw.c:35:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' lastx = tox; ^~~~~ Compiling src/cpu/mips/mips3.c... Compiling src/cpu/mips/r3000.c... Compiling src/cpu/sh2/sh2.c... Compiling src/cpu/pic16c5x/pic16c5x.c... src/cpu/mips/mips3.c: In function 'handle_cop1': src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:796:7: note: in expansion of macro 'FDVALS' FDVALS = FSVALS + FTVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:796:16: note: in expansion of macro 'FSVALS' FDVALS = FSVALS + FTVALS; ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:796:25: note: in expansion of macro 'FTVALS' FDVALS = FSVALS + FTVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:798:7: note: in expansion of macro 'FDVALD' FDVALD = FSVALD + FTVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:798:16: note: in expansion of macro 'FSVALD' FDVALD = FSVALD + FTVALD; ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:798:25: note: in expansion of macro 'FTVALD' FDVALD = FSVALD + FTVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:803:7: note: in expansion of macro 'FDVALS' FDVALS = FSVALS - FTVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:803:16: note: in expansion of macro 'FSVALS' FDVALS = FSVALS - FTVALS; ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:803:25: note: in expansion of macro 'FTVALS' FDVALS = FSVALS - FTVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:805:7: note: in expansion of macro 'FDVALD' FDVALD = FSVALD - FTVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:805:16: note: in expansion of macro 'FSVALD' FDVALD = FSVALD - FTVALD; ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:805:25: note: in expansion of macro 'FTVALD' FDVALD = FSVALD - FTVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:810:7: note: in expansion of macro 'FDVALS' FDVALS = FSVALS * FTVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:810:16: note: in expansion of macro 'FSVALS' FDVALS = FSVALS * FTVALS; ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:810:25: note: in expansion of macro 'FTVALS' FDVALS = FSVALS * FTVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:812:7: note: in expansion of macro 'FDVALD' FDVALD = FSVALD * FTVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:812:16: note: in expansion of macro 'FSVALD' FDVALD = FSVALD * FTVALD; ^~~~Compiling src/cpu/g65816/g65816.c... ~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:812:25: note: in expansion of macro 'FTVALD' FDVALD = FSVALD * FTVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:817:7: note: in expansion of macro 'FDVALS' FDVALS = FSVALS / FTVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:817:16: note: in expansion of macro 'FSVALS' FDVALS = FSVALS / FTVALS; ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:817:25: note: in expansion of macro 'FTVALS' FDVALS = FSVALS / FTVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:819:7: note: in expansion of macro 'FDVALD' FDVALD = FSVALD / FTVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:819:16: note: in expansion of macro 'FSVALD' FDVALD = FSVALD / FTVALD; ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:819:25: note: in expansion of macro 'FTVALD' FDVALD = FSVALD / FTVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing ruleCompiling src/cpu/dsp32/dsp32.c... s [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:824:7: note: in expansion of macro 'FDVALS' FDVALS = sqrt(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:824:21: note: in expansion of macro 'FSVALS' FDVALS = sqrt(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:826:7: note: in expansion of macro 'FDVALD' FDVALD = sqrt(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:826:21: note: in expansion of macro 'FSVALD' FDVALD = sqrt(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:831:7: note: in expansion of macro 'FDVALS' FDVALS = fabs(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:831:21: note: in expansion of macro 'FSVALS' FDVALS = fabs(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:833:7: note: in expansion of macro 'FDVALD' FDVALD = fabs(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:833:21: note: in expansion of macro 'FSVALD' FDVALD = fabs(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasCompiling src/cpu/g65816/g65816o0.c... ing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:838:7: note: in expansion of macro 'FDVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:838:16: note: in expansion of macro 'FSVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:840:7: note: in expansion of macro 'FDVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:840:16: note: in expansion of macro 'FSVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:845:7: note: in expansion of macro 'FDVALS' FDVALS = -FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:845:17: note: in expansion of macro 'FSVALS' FDVALS = -FSVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:847:7: note: in expansion of macro 'FDVALD' FDVALD = -FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:847:17: note: in expansion of macro 'FSVALD' FDVALD = -FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:853:21: note: in expansion of macro 'FSVALS' double temp = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:862:21: note: in expansion of macro Compiling src/cpu/g65816/g65816o1.c... 'FSVALD' double temp = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:874:21: note: in expansion of macro 'FSVALS' double temp = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:883:21: note: in expansion of macro 'FSVALD' double temp = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:894:20: note: in expansion of macro 'FSVALS' dtemp = ceil(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:896:20: note: in expansion of macro 'FSVALD' dtemp = ceil(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:902:21: note: in expansion of macro 'FSVALS' dtemp = floor(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:904:21: note: in expansion of macro 'FSVALD' dtemp = floor(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:911:15: note: in expansion of macro 'FSVALS' dtemp = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:127:19: warninCompiling src/cpu/g65816/g65816o2.c... g: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:920:15: note: in expansion of macro 'FSVALD' dtemp = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:932:15: note: in expansion of macro 'FSVALS' dtemp = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:941:15: note: in expansion of macro 'FSVALD' dtemp = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:952:20: note: in expansion of macro 'FSVALS' dtemp = ceil(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:954:20: note: in expansion of macro 'FSVALD' dtemp = ceil(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:960:21: note: in expansion of macro 'FSVALS' dtemp = floor(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:962:21: note: in expansion of macro 'FSVALD' dtemp = floor(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:970:8: note: in expansion of macro 'FDVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:970:17: note: in expansion of macro 'FSVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:972:8: note: in expansion of macro 'FDVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:972:17: note: in expansion of macro 'FSVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:980:8: note: in expansion of macro 'FDVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:980:17: note: in expansion of macro 'FSVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:982:8: note: in expansion of macro 'FDVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:982:17: note: in expansion of macro 'FSVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:990:8: note: in expansion of macro 'FDVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer wCompiling src/cpu/g65816/g65816o4.c... ill break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:990:17: note: in expansion of macro 'FSVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:992:8: note: in expansion of macro 'FDVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:992:17: note: in expansion of macro 'FSVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:998:7: note: in expansion of macro 'FDVALS' FDVALS = 1.0 / FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:998:22: note: in expansion of macro 'FSVALS' FDVALS = 1.0 / FSVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1000:7: note: in expansion of macro 'FDVALD' FDVALD = 1.0 / FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1000:22: note: in expansion of macro 'FSVALD' FDVALD = 1.0 / FSVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FCompiling src/cpu/g65816/g65816o3.c... DVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1005:7: note: in expansion of macro 'FDVALS' FDVALS = 1.0 / sqrt(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[Bsrc/cpu/tms32031/tms32031.c: In function 'tms32031_get_reg': src/cpu/tms32031/tms32031.c:498:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R0F: temp = dsp_to_double(&tms32031.r[TMR_R0]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:499:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R1F: temp = dsp_to_double(&tms32031.r[TMR_R1]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:500:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R2F: temp = dsp_to_double(&tms32031.r[TMR_R2]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:501:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R3F: temp = dsp_to_double(&tms32031.r[TMR_R3]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:502:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R4F: temp = dsp_to_double(&tms32031.r[TMR_R4]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:503:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R5F: temp = dsp_to_double(&tms32031.r[TMR_R5]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:504:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R6F: temp = dsp_to_double(&tms32031.r[TMR_R6]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:505:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R7F: temp = dsp_to_double(&tms32031.r[TMR_R7]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c: In function 'tms32031_set_reg': src/cpu/tms32031/tms32031.c:559:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R0F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R0]); break; ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:560:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R1F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R1]); break; ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:561:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R2F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R2]); break; ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:562:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R3F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R3]); break; ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:563:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R4F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R4]); break; ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:564:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R5F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R5]); break; ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:565:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R6F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R6]); break; ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:566:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R7F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R7]); break; ^~~~~~~~~~~~~ YTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1005:27: note: in expansion of macro 'FSVALS' FDVALS = 1.0 / sqrt(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1007:7: note: in expansion of macro 'FDVALD' FDVALD = 1.0 / sqrt(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1007:27: note: in expansion of macro 'FSVALD' FDVALD = 1.0 / sqrt(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1014:8: note: in expansion of macro 'FDVALS' FDVALS = (INT32)mips3.cpr[1][FSREG]; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1016:8: note: in expansion of macro 'FDVALS' FDVALS = (INT64)mips3.cpr[1][FSREG]; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1019:7: note: in expansion of macro 'FDVALS' FDVALS = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1019:16: note: in expansion of macro 'FSVALD' FDVALS = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1026:8: note: in expansion of macro 'FDVALD' FDVALD = (INT32)mips3.cpr[1][FSREG]; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1028:8: note: in expansion of macro 'FDVALD' FDVALD = (INT64)mips3.cpr[1][FSREG]; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1031:7: note: in expansion of macro 'FDVALD' FDVALD = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1031:16: note: in expansion of macro 'FSVALS' FDVALD = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1036:36: note: in expansion of macro 'FSVALS' mips3.cpr[1][FDREG] = (INT32)FSVALS; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1038:36: note: in expansion of macro 'FSVALD' mips3.cpr[1][FDREG] = (INT32)FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1043:36: note: in expansion of macro 'FSVALS' mips3.cpr[1][FDREG] = (INT64)FSVALS; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1045:36: note: in expansion of macro 'FSVALD' mips3.cpr[1][FDREG] = (INT64)FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1067:31: note: in expansion of macro 'FSVALS' SET_FCC((op >> 8) & 7, (FSVALS == FTVALS)); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1067:41: note: in expansion of macro 'FTVALS' SET_FCC((op >> 8) & 7, (FSVALS == FTVALS)); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1069:31: note: in expansion of macro 'FSVALD' SET_FCC((op >> 8) & 7, (FSVALD == FTVALD)); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #defCompiling src/cpu/g65816/g65816ds.c... ine FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1069:41: note: in expansion of macro 'FTVALD' SET_FCC((op >> 8) & 7, (FSVALD == FTVALD)); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1075:31: note: in expansion of macro 'FSVALS' SET_FCC((op >> 8) & 7, (FSVALS == FTVALS)); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1075:41: note: in expansion of macro 'FTVALS' SET_FCC((op >> 8) & 7, (FSVALS == FTVALS)); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1077:31: note: in expansion of macro 'FSVALD' SET_FCC((op >> 8) & 7, (FSVALD == FTVALD)); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1077:41: note: in expansion of macro 'FTVALD' SET_FCC((op >> 8) & 7, (FSVALD == FTVALD)); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) Compiling src/cpu/spc700/spc700.c... ^ src/cpu/mips/mips3.c:1083:31: note: in expansion of macro 'FSVALS' SET_FCC((op >> 8) & 7, (FSVALS < FTVALS)); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1083:40: note: in expansion of macro 'FTVALS' SET_FCC((op >> 8) & 7, (FSVALS < FTVALS)); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1085:31: note: in expansion of macro 'FSVALD' SET_FCC((op >> 8) & 7, (FSVALD < FTVALD)); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1085:40: note: in expansion of macro 'FTVALD' SET_FCC((op >> 8) & 7, (FSVALD < FTVALD)); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1091:31: note: in expansion of macro 'FSVALS' SET_FCC((op >> 8) & 7, (FSVALS < FTVALS)); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1091:40: note: in expansion of macro 'FTVALS' SET_FCC((op >> 8) & 7, (FSVALS < FTVALS)); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1093:31: note: in expansion of macro 'FSVALD' SET_FCC((op >> 8) & 7, (FSVALD < FTVALD)); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1093:40: note: in expansion of macro 'FTVALD' SET_FCC((op >> 8) & 7, (FSVALD < FTVALD)); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1099:31: note: in expansion of macro 'FSVALS' SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS)); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1099:41: note: in expansion of macro 'FTVALS' SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS)); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) Compiling src/cpu/e132xs/e132xs.c... Compiling src/cpu/spc700/spc700ds.c... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1101:31: note: in expansion of macro 'FSVALD' SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD)); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1101:41: note: in expansion of macro 'FTVALD' SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD)); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1107:31: note: in expansion of macro 'FSVALS' SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS)); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1107:41: note: in expansion of macro 'FTVALS' SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS)); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1109:31: note: in expansion of macro 'FSVALD' SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD)); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n])) ^ src/cpu/mips/mips3.c:1109:41: note: in expansion of macro 'FTVALD' SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD)); ^~~~~~ src/cpu/mips/mips3.c: In function 'handle_cop1x': src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1134:4: note: in expansion of macro 'FDVALS' FDVALS = RLONG(RSVAL32 + RTVAL32); ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1138:4: note: in expansion of macro 'FDVALD' FDVALD = RDOUBLE(RSVAL32 + RTVAL32); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:154:52: note: in definition of macro 'WDOUBLE' #define WDOUBLE(x,v) (*mips3.memory.writedouble)(x,v) ^ src/cpu/mips/mips3.c:1142:31: note: in expansion of macro 'FSVALS' WDOUBLE(RSVAL32 + RTVAL32, FSVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:154:52: note: in definition of macro 'WDOUBLE' #define WDOUBLE(x,v) (*mips3.memory.writedouble)(x,v) ^ src/cpu/mips/mips3.c:1146:31: note: in expansion of macro 'FSVALD' WDOUBLE(RSVAL32 + RTVAL32, FSVALD); Compiling src/sound/samples.c... ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1153:4: note: in expansion of macro 'FDVALS' FDVALS = FSVALS * FTVALS + FRVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1153:13: note: in expansion of macro 'FSVALS' FDVALS = FSVALS * FTVALS + FRVALS; ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1153:22: note: in expansion of macro 'FTVALS' FDVALS = FSVALS * FTVALS + FRVALS; ^~~~~~ src/cpu/mips/mips3.c:120:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1153:31: note: in expansion of macro 'FRVALS' FDVALS = FSVALS * FTVALS + FRVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1157:4: note: in expansion of macro 'FDVALD' FDVALD = FSVALD * FTVALD + FRVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1157:13: note: in expansion of macro 'FSVALD' FDVALD = FSVALD * FTVALD + FRVALD; ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1157:22: note: in expansion of macro 'FTVALD' FDVALD = FSVALD * FTVALD + FRVALD; ^~~~~~ src/cpu/mips/mips3.c:125:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1157:31: note: in expansion of macro 'FRVALD' FDVALD = FSVALD * FTVALD + FRVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1161:4: note: in expansion of macro 'FDVALS' FDVALS = FSVALS * FTVALS - FRVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1161:13: note: in expansion of macro 'FSVALS' FDVALS = FSVALS * FTVALS - FRVALS; ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1161:22: note: in expansion of macro 'FTVALS' FDVALS = FSVALS * FTVALS - FRVALS; ^~~~~~ src/cpu/mips/mips3.c:120:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1161:31: note: in expansion of macro 'FRVALS' FDVALS = FSVALS * FTVALS - FRVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1165:4: note: in expansion of macro 'FDVALD' FDVALD = FSVALD * FTVALD - FRVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1165:13: note: in expansion of macro 'FSVALD' FDVALD = FSVALD * FTVALD - FRVALD; ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cCompiling src/sound/discrete.c... Compiling src/sound/dac.c... Compiling src/sound/2203intf.c... pr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1165:22: note: in expansion of macro 'FTVALD' FDVALD = FSVALD * FTVALD - FRVALD; ^~~~~~ src/cpu/mips/mips3.c:125:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1165:31: note: in expansion of macro 'FRVALD' FDVALD = FSVALD * FTVALD - FRVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1169:4: note: in expansion of macro 'FDVALS' FDVALS = -(FSVALS * FTVALS + FRVALS); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1169:15: note: in expansion of macro 'FSVALS' FDVALS = -(FSVALS * FTVALS + FRVALS); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1169:24: note: in expansion of macro 'FTVALS' FDVALS = -(FSVALS * FTVALS + FRVALS); ^~~~~~ src/cpu/mips/mips3.c:120:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1169:33: note: in expansion of macro 'FRVALS' FDVALS = -(FSVALS * FTVALS + FRVALS); ^~~~~~src/cpu/dsp32/dsp32.c: In function 'dsp32c_info': src/cpu/dsp32/dsp32.c:654:14: warning: variable 'r' set but not used [-Wunused-but-set-variable] dsp32_regs *r = context; ^ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1173:4: note: in expansion of macro 'FDVALD' FDVALD = -(FSVALD * FTVALD + FRVALD); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1173:15: note: in expansion of macro 'FSVALD' FDVALD = -(FSVALD * FTVALD + FRVALD); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1173:24: note: in expansion of macro 'FTVALD' FDVALD = -(FSVALD * FTVALD + FRVALD); ^~~~~~ src/cpu/mips/mips3.c:125:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1173:33: note: in expansion of macro 'FRVALD' FDVALD = -(FSVALD * FTVALD + FRVALD); ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1177:4: note: in expansion of macro 'FDVALS' FDVALS = -(FSVALS * FTVALS - FRVALS); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1177:15: note: in expansion of macro 'FSVALS' FDVALS = -(FSVALS * FTVALS - FRVALS); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1177:24: note: in expansion of macro 'FTVALS' FDVALS = -(FSVALS * FTVALS - FRVALS); ^~~~~~ src/cpu/mips/mips3.c:120:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1177:33: note: in expansion of macro 'FRVALS' FDVALS = -(FSVALS * FTVALS - FRVALS); ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1181:4: note: in expansion of macro 'FDVALD' FDVALD = -(FSVALD * FTVALD - FRVALD); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1181:15: note: in expansion of macro 'FSVALD' FDVALD = -(FSVALD * FTVALD - FRVALD); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1181:24: note: in expansion of macro 'FTVALD' FDVALD = -(FSVALD * FTVALD - FRVALD); ^~~~~Compiling src/sound/2151intf.c... ~ src/cpu/mips/mips3.c:125:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1181:33: note: in expansion of macro 'FRVALD' FDVALD = -(FSVALD * FTVALD - FRVALD); ^~~~~~ Compiling src/sound/2608intf.c... Compiling src/sound/ym2151.c... src/cpu/ccpu/ccpu.c: In function 'opJEI_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1664:4: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1663:3: note: some parts of macro expansion are not guarded by this 'if' clause if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKY) - (CINESWORD)FromX) < 0x800) ^~ src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1669:4: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1668:3: note: some parts of macro expansion are not guarded by this 'if' clause if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJEI_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1682:4: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1681:3: note: some parts of macro expansion are not guarded by this 'if' clause if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKY) - (CINESWORD)FromX) < 0x800) ^~ src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1687:4: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1686:3: note: some parts of macro expansion are not guarded by this 'if' clause if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJEI_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1700:4: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1699:3: note: some parts of macro expansion are not guarded by this 'if' clause if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKY) - (CINESWORD)FromX) < 0x800) ^~ src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1705:4: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1704:3: note: some parts of macro expansion are not guarded by this 'if' clause if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1721:3: note: in expansion of macro 'JMP' JMP(); /* yes -- do jump */ ^~~ src/cpu/ccpu/ccpu.c:1720:2: note: some parts of macro expansion are not guarded by this 'if' clause if (register_A & 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_AA_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1730:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1729:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_old & 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_BB_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [Compiling src/sound/2612intf.c... -Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1738:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1737:2: note: some parts of macro expansion are not guarded by this 'if' clause if (register_B & 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1746:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1745:2: note: some parts of macro expansion are not guarded by this 'if' clause if (register_A & 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJLT_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1756:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1755:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_new < cmp_old) ^~ src/cpu/ccpu/ccpu.c: In function 'opJLT_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) Compiling src/sound/fm.c... Compiling src/sound/2610intf.c... + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1764:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1763:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_new < cmp_old) ^~ src/cpu/ccpu/ccpu.c: In function 'opJEQ_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1774:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1773:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_new == cmp_old) ^~ src/cpu/ccpu/ccpu.c: In function 'opJEQ_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1782:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1781:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_new == cmp_old) ^~ src/cpu/ccpu/ccpu.c: In function 'opJA0_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1790:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1789:2: note: some parts of macro expansion are not guarded by this 'if' clause if (acc_a0 & 0x01) ^~ src/cpu/ccpu/ccpu.c: In function 'opJA0_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1798:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1797:2: note: some parts of macro expansion are not guarded by this 'if' clause if (acc_a0 & 0x01) ^~ src/cpu/ccpu/ccpu.c: In function 'opJNC_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1806:3: note: in expansion of macro 'JMP' JMP(); /* no carry, so jump */ ^~~ src/cpu/ccpu/ccpu.c:1805:2: note: some parts of macro expansion are not guarded by this 'if' clause if (!(GETFC() & 0xF0)) ^~ src/cpu/ccpu/ccpu.c: In function 'opJNC_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1814:3: note: in expansion of macro 'JMP' JMP(); /* no carry, so jump */ ^~~ src/cpu/ccpu/ccpu.c:1813:2: note: some parts of macro expansion are not guarded by this 'if' clause if (!(GETFC() & 0xF0)) ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1921:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1920:2: note: some parts of macro expansion are not guarded by this 'if' clause if (register_A & 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJLT_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1941:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1940:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_new < cmp_old) ^~ src/cpu/ccpu/ccpu.c: In function 'opJEQ_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1949:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1948:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_new == cmp_old) ^~ src/cpu/ccpu/ccpu.c: In function 'opJA0_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1957:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1956:2: note: some parts of macro expansion are not guarded by this 'if' clause if (GETA0() & 0x01) ^~ src/cpu/ccpu/ccpu.c: In function 'opJNC_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1965:3: note: in expansion of macro 'JMP' JMP(); /* if no carry, jump */ ^~~ src/cpu/ccpu/ccpu.c:1964:2: note: some parts of macro expansion are not guarded by this 'if' clause if (!(GETFC() & 0x0F0)) ^~ Compiling src/sound/2413intf.c... Compiling src/sound/ym2413.c... Compiling src/sound/ymz280b.c... src/sound/ym2413.c: In function 'OPLLWriteReg': src/sound/ym2413.c:1666:28: warning: bitwise comparison always evaluates to false [-Wtautological-compare] if ((chip->rhythm&0x20)==1) ^~ Compiling src/sound/3812intf.c... Compiling src/sound/ay8910.c... Compiling src/sound/ymdeltat.c... Compiling src/sound/sn76477.c... Compiling src/sound/fmopl.c... Compiling src/sound/sn76496.c... Compiling src/sound/pokey.c... In file included from src/sound/discrete.c:110: src/sound/disc_wav.c: In function 'dss_adsrenv_step': src/sound/disc_wav.c:888:27: warning: variable 'context' set but not used [-Wunused-but-set-variable] struct dss_adsr_context *context; ^~~~~~~ In file included from src/sound/discrete.c:111: src/sound/disc_mth.c: In function 'dst_clamp_step': src/sound/disc_mth.c:467:27: warning: variable 'context' set but not used [-Wunused-but-set-variable] struct dss_ramp_context *context; ^~~~~~~ Compiling src/sound/tiasound.c... Compiling src/sound/nes_apu.c... Compiling src/sound/tiaintf.c... Compiling src/sound/astrocde_snd.c... Compiling src/sound/namco.c... Compiling src/sound/namcona.c... Compiling src/sound/tms36xx.c... Compiling src/sound/tms5110.c... Compiling src/sound/5110intf.c... src/sound/tiaintf.c: In function 'tia_sh_start': src/sound/tiaintf.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Machine->sample_rate == 0) ^~ src/sound/tiaintf.c:15:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' channel = stream_init("TIA", intf->volume, Machine->sample_rate, 0, tia_process); ^~~~~~~ Compiling src/sound/5220intf.c... src/sound/tms5110.c: In function 'parse_frame': src/sound/tms5110.c:496:19: warning: variable 'old_count' set but not used [-Wunused-but-set-variable] int old_head, old_count; ^~~~~~~~~ src/sound/tms5110.c:496:9: warning: variable 'old_head' set but not used [-Wunused-but-set-variable] int old_head, old_count; ^~~~~~~~ Compiling src/sound/adpcm.c... Compiling src/sound/vlm5030.c... Compiling src/sound/tms5220.c... Compiling src/sound/msm5205.c... Compiling src/sound/msm5232.c... Compiling src/sound/upd7759.c... Compiling src/sound/hc55516.c... Compiling src/sound/k005289.c... Compiling src/sound/k007232.c... Compiling src/sound/k051649.c... Compiling src/sound/k053260.c... Compiling src/sound/k054539.c... Compiling src/sound/segapcm.c... Compiling src/sound/rf5c68.c... Compiling src/sound/cem3394.c... Compiling src/sound/c140.c... Compiling src/sound/qsound.c... Compiling src/sound/iremga20.c... Compiling src/sound/saa1099.c... Compiling src/sound/es5506.c... Compiling src/sound/ymf262.c... Compiling src/sound/bsmt2000.c... Compiling src/sound/262intf.c... Compiling src/sound/ymf278b.c... src/sound/ymf262.c: In function 'OPL3WriteReg': src/sound/ymf262.c:2089:39: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0); ~~~~~~~~~~~~~~~~~~~~^~~~ src/sound/ymf262.c:2089:71: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ src/sound/ymf262.c:2141:43: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ src/sound/ymf262.c:2141:71: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0); ~~~~~~~~~~~~~~~~~~~~^~~~ Compiling src/sound/x1_010.c... Compiling src/sound/gaelco_snd.c... Compiling src/sound/multipcm.c... Compiling src/sound/c6280.c... src/sound/multipcm.c: In function 'MultiPCM_reg_w': src/sound/multipcm.c:407:15: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] pt_abs = (double)abs(pitch); ^ Compiling src/sound/sp0250.c... Compiling src/sound/scsp.c... Compiling src/sound/psx.c... Compiling src/sound/ymf271.c... Compiling src/lib/mame-chd/chd.c... Compiling src/lib/mame-chd/mame_sha1.c... Compiling src/libretro-deps/libFLAC/bitreader.c... Compiling src/libretro-deps/libFLAC/cpu.c... Compiling src/libretro-deps/libFLAC/crc.c... Compiling src/libretro-deps/libFLAC/fixed.c... src/libretro-deps/libFLAC/cpu.c:102:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE42' defined but not used [-Wunused-const-variable=] static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE42 = 0x00100000; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-deps/libFLAC/cpu.c:101:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE41' defined but not used [-Wunused-const-variable=] static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE41 = 0x00080000; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-deps/libFLAC/cpu.c:100:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSSE3' defined but not used [-Wunused-const-variable=] static const unsigned FLAC__CPUINFO_IA32_CPUID_SSSE3 = 0x00000200; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-deps/libFLAC/cpu.c:99:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE3' defined but not used [-Wunused-const-variable=] static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/libretro-deps/libFLAC/float.c... Compiling src/libretro-deps/libFLAC/format.c... Compiling src/libretro-deps/libFLAC/lpc.c... Compiling src/libretro-deps/libFLAC/md5.c... Compiling src/libretro-deps/libFLAC/memory.c... Compiling src/libretro-deps/libFLAC/stream_decoder.c... Compiling src/libretro-deps/libFLAC/window.c... Compiling src/libretro-common/compat/compat_snprintf.c... Compiling src/libretro-common/compat/compat_posix_string.c... Compiling src/libretro-common/compat/compat_strcasestr.c... Compiling src/libretro-common/compat/compat_strl.c... Compiling src/libretro-common/compat/fopen_utf8.c... Compiling src/libretro-common/encodings/encoding_crc32.c... Compiling src/libretro-common/encodings/encoding_utf.c... Compiling src/libretro-common/file/file_path.c... Compiling src/libretro-common/file/file_path_io.c... Compiling src/libretro-common/streams/file_stream.c... Compiling src/libretro-common/streams/interface_stream.c... Compiling src/libretro-common/streams/file_stream_transforms.c... Compiling src/libretro-common/streams/memory_stream.c... Compiling src/libretro-common/streams/rzip_stream.c... Compiling src/libretro-common/streams/trans_stream.c... Compiling src/libretro-common/streams/trans_stream_zlib.c... Compiling src/libretro-common/string/stdstring.c... Compiling src/libretro-common/streams/stdin_stream.c... Compiling src/libretro-common/streams/trans_stream_pipe.c... Compiling src/libretro-common/utils/md5.c... Compiling src/libretro-common/vfs/vfs_implementation.c... Compiling src/libretro-common/time/rtime.c... Compiling src/lib/zlib/crc32.c... Compiling src/lib/zlib/adler32.c... Compiling src/lib/zlib/deflate.c... Compiling src/lib/zlib/inftrees.c... Compiling src/lib/zlib/inffast.c... Compiling src/lib/zlib/ioapi.c... Compiling src/lib/zlib/inflate.c... Compiling src/lib/zlib/trees.c... Compiling src/lib/zlib/unzip.c... Compiling src/lib/zlib/zutil.c... Compiling src/lib/zlib/uncompr.c... src/sound/k054539.c: In function 'K054539_update': src/sound/k054539.c:184:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/sound/k054539.c:187:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' gain = K054539_gain[chip][ch]; ^~~~ src/lib/zlib/zutil.c:14:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "need dictionary", /* Z_NEED_DICT 2 */ ^~~~~~~~~~~~~~~~~ src/lib/zlib/zutil.c:15:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "stream end", /* Z_STREAM_END 1 */ ^~~~~~~~~~~~ src/lib/zlib/zutil.c:16:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "", /* Z_OK 0 */ ^~ src/lib/zlib/zutil.c:17:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "file error", /* Z_ERRNO (-1) */ ^~~~~~~~~~~~ src/lib/zlib/zutil.c:18:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "stream error", /* Z_STREAM_ERROR (-2) */ ^~~~~~~~~~~~~~ src/lib/zlib/zutil.c:19:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "data error", /* Z_DATA_ERROR (-3) */ ^~~~~~~~~~~~ src/lib/zlib/zutil.c:20:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "insufficient memory", /* Z_MEM_ERROR (-4) */ ^~~~~~~~~~~~~~~~~~~~~ src/lib/zlib/zutil.c:21:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "buffer error", /* Z_BUF_ERROR (-5) */ ^~~~~~~~~~~~~~ src/lib/zlib/zutil.c:22:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "incompatible version",/* Z_VERSION_ERROR (-6) */ ^~~~~~~~~~~~~~~~~~~~~~ src/lib/zlib/zutil.c:23:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ""}; ^~ src/cpu/i8085/i8085.c:180:13: warning: 'illegal' defined but not used [-Wunused-function] static void illegal(void) ^~~~~~~ src/sound/scsp.c: In function 'SCSP_Init': src/sound/scsp.c:385:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(SCSP,0,sizeof(SCSP)); ^ src/sound/scsp.c: In function 'SCSP_Update0000': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:809:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0001': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:809:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0002': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:809:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0003': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:809:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0010': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:810:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0011': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:810:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0012': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:810:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0013': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:810:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0100': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:811:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0101': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:811:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0102': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:811:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0103': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:811:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0110': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:812:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0111': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:812:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0112': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:812:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0113': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:812:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1000': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:813:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1001': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:813:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1002': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:813:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1003': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:813:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1010': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:814:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1011': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:814:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1012': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:814:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1013': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:814:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1100': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:815:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1101': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:815:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1102': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:815:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1103': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:815:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1110': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:816:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1111': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:816:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1112': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:816:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1113': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:816:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_0_w': src/sound/scsp.c:912:10: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds] tmp_dma[2] = scsp_regs[0x416/2]; ~~~~~~~^~~ src/sound/scsp.c:939:31: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds] scsp_regs[0x416/2] = tmp_dma[2]; ~~~~~~~^~~ In file included from src/cpu/m6502/m6502.c:151: src/cpu/m6502/t65c02.c: In function 'm65c02_1a': src/cpu/m6502/opsc02.h:187:4: warning: operation on 'm6502.a' may be undefined [-Wsequence-point] A = (UINT8)++A; \ src/cpu/m6502/t65c02.c:223:34: note: in expansion of macro 'INA' OP(1a) { m6502_ICount -= 2; INA; } /* 2 INA */ ^~~ src/cpu/m6502/t65c02.c: In function 'm65c02_3a': src/cpu/m6502/opsc02.h:180:4: warning: operation on 'm6502.a' may be undefined [-Wsequence-point] A = (UINT8)--A; \ src/cpu/m6502/t65c02.c:224:34: note: in expansion of macro 'DEA' OP(3a) { m6502_ICount -= 2; DEA; } /* 2 DEA */ ^~~ In file included from src/cpu/m6502/m6502.c:162: src/cpu/m6502/tdeco16.c: In function 'deco16_67': src/cpu/m6502/tdeco16.c:191:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] int tmp; m6502_ICount -= 2; RD_IMM; ^~~ In file included from src/cpu/z180/z180.c:769: src/cpu/z180/z180op.c: In function 'take_interrupt': src/cpu/z180/z180op.c:517:25: warning: array subscript 78 is above array bounds of 'UINT8[64]' {aka 'unsigned char[64]'} [-Warray-bounds] irq_vector = (Z180.io[Z180_IL] & Z180_IL_IL) + irq * 2; ~~~~~~~^~~~~~~~~ Linking mame2003_libretro.so... platform unix gmake[2]: Leaving directory '/construction/games/libretro-mame2003/mame2003-libretro-3eb27d5' SUCCEEDED 00:00:36 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for libretro-mame2003-0.20220206 ===> Generating temporary packing list /bin/mkdir -p /construction/games/libretro-mame2003/stage//usr/local/lib/libretro; install -s -m 0644 /construction/games/libretro-mame2003/mame2003-libretro-3eb27d5/mame2003_libretro.so /construction/games/libretro-mame2003/stage//usr/local/lib/libretro; ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for libretro-mame2003-0.20220206 file sizes/checksums [1]: 0% file sizes/checksums [1]: 100% Service unavailablepacking files [1]: 0% packing files [1]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:04 TOTAL TIME 00:00:47