>>> libretro-mame2003: Building testing/libretro-mame2003 0_git20240904-r0 (using abuild 3.13.0-r5) started Sat, 28 Sep 2024 03:28:33 +0000 >>> libretro-mame2003: Checking sanity of /home/buildozer/aports/testing/libretro-mame2003/APKBUILD... >>> libretro-mame2003: Analyzing dependencies... >>> libretro-mame2003: Installing for build: build-base (1/1) Installing .makedepends-libretro-mame2003 (20240928.032834) OK: 251 MiB in 106 packages >>> libretro-mame2003: Cleaning up srcdir >>> libretro-mame2003: Cleaning up pkgdir >>> libretro-mame2003: Cleaning up tmpdir >>> libretro-mame2003: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-mame2003-1a268a709d611f6a84d473754ee2dbcaf1c37a2e.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 8 13.5M 8 1247k 0 0 5546k 0 0:00:02 --:--:-- 0:00:02 5546k 100 13.5M 100 13.5M 0 0 24.0M 0 --:--:-- --:--:-- --:--:-- 24.0M >>> libretro-mame2003: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-mame2003-1a268a709d611f6a84d473754ee2dbcaf1c37a2e.tar.gz >>> libretro-mame2003: Checking sha512sums... libretro-mame2003-1a268a709d611f6a84d473754ee2dbcaf1c37a2e.tar.gz: OK gcc14.patch: OK >>> libretro-mame2003: Unpacking /var/cache/distfiles/libretro-mame2003-1a268a709d611f6a84d473754ee2dbcaf1c37a2e.tar.gz... >>> libretro-mame2003: gcc14.patch patching file src/common.c fatal: not a git repository (or any of the parent directories): .git Compiling src/mame2003/mame2003.c... Compiling src/mame2003/core_options.c... Compiling src/mame2003/video.c... Compiling src/artwork.c... Compiling src/bootstrap.c... Compiling src/cheat.c... Compiling src/common.c... Compiling src/config.c... Compiling src/controls.c... Compiling src/cpuexec.c... Compiling src/cpuint.c... Compiling src/cpuintrf.c... Compiling src/datafile.c... Compiling src/drawgfx.c... Compiling src/driver.c... Compiling src/fileio.c... Compiling src/harddisk.c... Compiling src/hash.c... Compiling src/hiscore.c... Compiling src/info.c... Compiling src/inptport.c... Compiling src/input.c... Compiling src/mame-memory.c... Compiling src/mame.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 447 | const struct RomModule *rom_first_region(const struct GameDriver *drv); | ^~~~~~~~~~ Compiling src/mamedbg.c... Compiling src/mame_unzip.c... src/config.c: In function 'config_read_ports': src/config.c:325:22: warning: variable 'total' set but not used [-Wunused-but-set-variable] 325 | unsigned int total; | ^~~~~ Compiling src/palette.c... src/config.c: In function 'config_read_coin_and_ticket_counters': src/config.c:434:13: warning: variable 'coin_counters' set but not used [-Wunused-but-set-variable] 434 | int coin_counters; | ^~~~~~~~~~~~~ Compiling src/png.c... Compiling src/profiler.c... Compiling src/sndintrf.c... Compiling src/state.c... Compiling src/tilemap.c... src/datafile.c:369:12: warning: 'ci_strcmp' defined but not used [-Wunused-function] 369 | static int ci_strcmp (const char *s1, const char *s2) | ^~~~~~~~~ src/cheat.c: In function 'UIPressedRepeatThrottle': src/cheat.c:1453:33: warning: variable 'pressed' set but not used [-Wunused-but-set-variable] 1453 | int pressed = 0; | ^~~~~~~ src/mame2003/mame2003.c: In function 'retro_load_game': src/mame2003/mame2003.c:280:20: warning: unused variable 'port_index' [-Wunused-variable] 280 | int port_index; | ^~~~~~~~~~ src/cheat.c: In function 'RebuildStringTables': src/cheat.c:2005:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2005 | (int)menuStrings.mainList, | ^ src/cheat.c:2006:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2006 | (int)menuStrings.subList, | ^ src/cheat.c:2007:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2007 | (int)menuStrings.flagList, | ^ src/cheat.c:2008:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2008 | (int)menuStrings.mainStrings, | ^ src/cheat.c:2009:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2009 | (int)menuStrings.subStrings, | ^ src/cheat.c:2010:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2010 | (int)menuStrings.buf); | ^ src/mame2003/core_options.c: In function 'update_variables': src/mame2003/core_options.c:1171:39: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] 1171 | options.cpu_clock_scale = (double) atoi(var.value) / 100; | ^ src/artwork.c: In function 'render_ui_overlay': src/mame2003/mame2003.c: In function 'convert_analog_scale': src/artwork.c:1968:13: warning: variable 'width' set but not used [-Wunused-but-set-variable] 1968 | int width, height; | ^~~~~ src/mame2003/mame2003.c:888:13: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 888 | input = (int)round(scaled); | ^ Compiling src/timer.c... src/mame-memory.c: In function 'assign_dynamic_bank': src/mame-memory.c:73:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define BANK_TO_HANDLER(b) ((void *)(b)) | ^ src/mame-memory.c:995:32: note: in expansion of macro 'BANK_TO_HANDLER' 995 | return BANK_TO_HANDLER(bank); | ^~~~~~~~~~~~~~~ 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:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 230 | #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) | ^ src/info.c:359:33: note: in expansion of macro 'ROMREGION_GETTYPE' 359 | switch (ROMREGION_GETTYPE(region)) | ^~~~~~~~~~~~~~~~~ src/common.h:230:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 230 | #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) | ^ src/info.c:395:86: note: in expansion of macro 'ROMREGION_GETTYPE' 395 | default: fprintf(out, " region=\"0x%x\"", ROMREGION_GETTYPE(region)); | ^~~~~~~~~~~~~~~~~ src/mame-memory.c: In function 'verify_memory': src/mame-memory.c:1247:25: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1247 | for (; !IS_MEMPORT_END(mwa); mwa++) | ^~~ src/mame-memory.c:1254:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1254 | mwa++; | ^~~ src/common.c:21:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21 | "CHDERR_NONE", | ^~~~~~~~~~~~~ src/mame2003/mame2003.c: At top level: src/mame2003/mame2003.c:56:38: warning: 'empty' defined but not used [-Wunused-variable] 56 | static struct retro_input_descriptor empty[] = { { 0 } }; | ^~~~~ src/common.c:22:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22 | "CHDERR_NO_INTERFACE", | ^~~~~~~~~~~~~~~~~~~~~ src/common.c:23:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 23 | "CHDERR_OUT_OF_MEMORY", | ^~~~~~~~~~~~~~~~~~~~~~ src/common.c:24:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 24 | "CHDERR_INVALID_FILE", | ^~~~~~~~~~~~~~~~~~~~~ src/common.c:25:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 25 | "CHDERR_INVALID_PARAMETER", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:26:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 26 | "CHDERR_INVALID_DATA", | ^~~~~~~~~~~~~~~~~~~~~ src/common.c:27:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 27 | "CHDERR_FILE_NOT_FOUND", | ^~~~~~~~~~~~~~~~~~~~~~~ src/common.c:28:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 28 | "CHDERR_REQUIRES_PARENT", | ^~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:29:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 29 | "CHDERR_FILE_NOT_WRITEABLE", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:30:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 30 | "CHDERR_READ_ERROR", | ^~~~~~~~~~~~~~~~~~~ src/common.c:31:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31 | "CHDERR_WRITE_ERROR", | ^~~~~~~~~~~~~~~~~~~~ src/common.c:32:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | "CHDERR_CODEC_ERROR", | ^~~~~~~~~~~~~~~~~~~~ src/common.c:33:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 33 | "CHDERR_INVALID_PARENT", | ^~~~~~~~~~~~~~~~~~~~~~~ src/common.c:34:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 34 | "CHDERR_HUNK_OUT_OF_RANGE", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:35:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 35 | "CHDERR_DECOMPRESSION_ERROR", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:36:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 36 | "CHDERR_COMPRESSION_ERROR", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:37:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 37 | "CHDERR_CANT_CREATE_FILE", | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:38:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | "CHDERR_CANT_VERIFY", | ^~~~~~~~~~~~~~~~~~~~ src/common.c:39:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 39 | "CHDERR_NOT_SUPPORTED", | ^~~~~~~~~~~~~~~~~~~~~~ src/common.c:40:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 40 | "CHDERR_METADATA_NOT_FOUND", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:41:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | "CHDERR_INVALID_METADATA_SIZE", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.c:42:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | "CHDERR_UNSUPPORTED_VERSION" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mame2003/core_options.c: At top level: src/mame2003/core_options.c:716:47: warning: 'option_def_cyclone_mode' defined but not used [-Wunused-variable] 716 | static struct retro_core_option_v2_definition option_def_cyclone_mode = { | ^~~~~~~~~~~~~~~~~~~~~~~ src/common.c: In function 'readsample': src/common.c:473:28: warning: unused variable 'SampleFile' [-Wunused-variable] 473 | struct GameSample *SampleFile; | ^~~~~~~~~~ src/common.c: In function 'readsamples': src/common.c:507:8: warning: variable 'missing_sample' set but not used [-Wunused-but-set-variable] 507 | bool missing_sample = false; | ^~~~~~~~~~~~~~ src/info.c: At top level: src/info.c:646:13: warning: 'print_game_history' defined but not used [-Wunused-function] 646 | static void print_game_history(FILE* out, const struct GameDriver* game) | ^~~~~~~~~~~~~~~~~~ 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:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 230 | #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) | ^ src/common.c:1394:20: note: in expansion of macro 'ROMREGION_GETTYPE' 1394 | int type = ROMREGION_GETTYPE(regiondata); | ^~~~~~~~~~~~~~~~~ src/cheat.c: In function 'DoSearchMenu': src/cheat.c:4876:25: warning: variable 'submenuChoice' set but not used [-Wunused-but-set-variable] 4876 | static INT32 submenuChoice = 0; | ^~~~~~~~~~~~~ src/common.c: In function 'read_rom_data': src/common.c:1542:71: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1542 | log_cb(RETRO_LOG_DEBUG, LOGPRE " Copying to %08X\n", (int)base); | ^ src/common.c: In function 'fill_rom_data': src/common.c:1627:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1627 | memset(base, (UINT32)ROM_GETHASHDATA(romp) & 0xff, numbytes); | ^ src/common.c: In function 'copy_rom_data': src/common.c:1641:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1641 | UINT32 srcoffs = (UINT32)ROM_GETHASHDATA(romp); /* srcoffset in place of hashdata */ | ^ src/common.c: In function 'rom_load': src/common.h:230:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 230 | #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) | ^ src/common.c:1948:34: note: in expansion of macro 'ROMREGION_GETTYPE' 1948 | int regiontype = ROMREGION_GETTYPE(region); | ^~~~~~~~~~~~~~~~~ src/common.c:1973:101: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1973 | log_cb(RETRO_LOG_DEBUG, LOGPRE "Allocated %X bytes @ %08X\n", romdata.regionlength, (int)romdata.regionbase); | ^ src/inptport.c:1609:13: warning: 'writeint' defined but not used [-Wunused-function] 1609 | static void writeint(mame_file *f,UINT32 num) | ^~~~~~~~ src/inptport.c:1590:12: warning: 'readint' defined but not used [-Wunused-function] 1590 | static int readint(mame_file *f,UINT32 *num) | ^~~~~~~ src/cheat.c: In function 'DefaultEnableRegion': src/cheat.c:7695:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 7695 | UINT32 handlerAddress = (UINT32)handler; | ^ src/cheat.c:7750:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 7750 | if( (handlerAddress >= ((UINT32)MWA_BANK1)) && | ^ Compiling src/ui_text.c... src/cheat.c:7751:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 7751 | (handlerAddress <= ((UINT32)MWA_BANK24))) | ^ src/cheat.c: In function 'SetSearchRegionDefaultName': src/cheat.c:7792:82: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 7792 | UINT32 handlerAddress = (UINT32)handler; | ^ src/cheat.c:7794:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 7794 | if( (handlerAddress >= ((UINT32)MWA_BANK1)) && | ^ src/cheat.c:7795:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 7795 | (handlerAddress <= ((UINT32)MWA_BANK24))) | ^ src/cheat.c:7797:86: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 7797 | sprintf(desc, "BANK%.2d", (handlerAddress - ((UINT32)MWA_BANK1)) + 1); | ^ src/cheat.c:7803:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 7803 | case (UINT32)MWA_NOP: strcpy(desc, "NOP "); break; | ^ src/cheat.c:7804:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 7804 | case (UINT32)MWA_RAM: strcpy(desc, "RAM "); break; | ^ src/cheat.c:7805:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 7805 | case (UINT32)MWA_ROM: strcpy(desc, "ROM "); break; | ^ src/state.c: In function 'ss_register_func': src/state.c:302:118: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 302 | log_cb(RETRO_LOG_DEBUG, LOGPRE "Duplicate save state function (%d, 0x%x)\n", ss_current_tag, (int)func); | ^ src/cheat.c:7806:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 7806 | case (UINT32)MWA_RAMROM: strcpy(desc, "RAMROM"); break; | ^ Compiling src/usrintrf.c... Compiling src/window.c... src/timer.c: In function 'timer_adjust_global_time': src/timer.c:325:92: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 325 | 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] 417 | log_cb(RETRO_LOG_DEBUG, LOGPRE "timer_adjust %08X to expire @ %.9f\n", (UINT32)which, which->expire); | ^ Compiling src/x86drc.c... In file included from src/driver.h:68, from src/cheat.c:374: src/cheat.c: In function 'BuildCPUInfoList': src/common.h:230:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 230 | #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) | ^ src/cheat.c:10098:54: note: in expansion of macro 'ROMREGION_GETTYPE' 10098 | UINT8 regionType = ROMREGION_GETTYPE(traverse); | ^~~~~~~~~~~~~~~~~ Compiling src/machine/6522via.c... Compiling src/machine/6532riot.c... Compiling src/machine/6821pia.c... Compiling src/machine/74123.c... src/usrintrf.c: In function 'ui_drawchar': src/usrintrf.c:491:56: warning: declaration of 'color' shadows a global declaration [-Wshadow] 491 | void ui_drawchar(struct mame_bitmap *dest, int ch, int color, int sx, int sy) | ~~~~^~~~~ src/usrintrf.c:81:22: note: shadowed declaration is here 81 | static int mode,bank,color,firstdrawn; | ^~~~~ src/usrintrf.c: In function 'ui_text_ex': src/usrintrf.c:515:114: warning: declaration of 'color' shadows a global declaration [-Wshadow] 515 | static void ui_text_ex(struct mame_bitmap *bitmap, const char *buf_begin, const char *buf_end, int x, int y, int color) | ~~~~^~~~~ src/usrintrf.c:81:22: note: shadowed declaration is here 81 | static int mode,bank,color,firstdrawn; | ^~~~~ src/usrintrf.c: In function 'ui_multitext_ex': src/usrintrf.c:668:130: warning: declaration of 'color' shadows a global declaration [-Wshadow] 668 | static void ui_multitext_ex(struct mame_bitmap *bitmap, const char *begin, const char *end, unsigned maxchars, int x, int y, int color) | ~~~~^~~~~ src/usrintrf.c:81:22: note: shadowed declaration is here 81 | static int mode,bank,color,firstdrawn; | ^~~~~ src/usrintrf.c: In function 'ui_multitextbox_ex': src/usrintrf.c:687:149: warning: declaration of 'color' shadows a global declaration [-Wshadow] 687 | static void ui_multitextbox_ex(struct mame_bitmap *bitmap, const char *begin, const char *end, unsigned maxchars, int x, int y, int dx, int dy, int color) | ~~~~^~~~~ src/usrintrf.c:81:22: note: shadowed declaration is here 81 | static int mode,bank,color,firstdrawn; | ^~~~~ Compiling src/machine/74148.c... Compiling src/machine/74153.c... 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] 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^ src/x86drc.h:199:67: note: in definition of macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.c:217:17: note: in expansion of macro '_jmp' 217 | _jmp(drc->dispatch); | ^~~~ src/x86drc.h:977:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^ src/x86drc.h:199:67: note: in definition of macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.c:217:17: note: in expansion of macro '_jmp' 217 | _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] 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^ src/x86drc.h:199:67: note: in definition of macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.c:241:33: note: in expansion of macro '_jmp' 241 | _jmp(drc->sequence_list[j].target); | ^~~~ src/x86drc.h:977:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^ src/x86drc.h:199:67: note: in definition of macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.c:241:33: note: in expansion of macro '_jmp' 241 | _jmp(drc->sequence_list[j].target); | ^~~~ src/x86drc.c: In function 'drc_append_verify_code': src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:639:28: note: in expansion of macro 'MODRM_MABS' 639 | OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ | ^~~~~~~~~~ src/x86drc.h:669:6: note: in expansion of macro '_arith_m32abs_imm_common' 669 | do { _arith_m32abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:285:17: note: in expansion of macro '_cmp_m32abs_imm' 285 | _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:643:28: note: in expansion of macro 'MODRM_MABS' 643 | OP1(0x81); MODRM_MABS(reg, addr); OP4(imm); \ | ^~~~~~~~~~ src/x86drc.h:669:6: note: in expansion of macro '_arith_m32abs_imm_common' 669 | do { _arith_m32abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:285:17: note: in expansion of macro '_cmp_m32abs_imm' 285 | _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:746:28: note: in expansion of macro 'MODRM_MABS' 746 | OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ | ^~~~~~~~~~ src/x86drc.h:773:6: note: in expansion of macro '_arith_m16abs_imm_common' 773 | do { _arith_m16abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:290:17: note: in expansion of macro '_cmp_m16abs_imm' 290 | _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:750:28: note: in expansion of macro 'MODRM_MABS' 750 | OP1(0x81); MODRM_MABS(reg, addr); OP2(imm); \ | ^~~~~~~~~~ src/x86drc.h:773:6: note: in expansion of macro '_arith_m16abs_imm_common' 773 | do { _arith_m16abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:290:17: note: in expansion of macro '_cmp_m16abs_imm' 290 | _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:781:17: note: in expansion of macro 'MODRM_MABS' 781 | 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' 802 | do { _arith_m8abs_imm_common(7, addr, imm); } while (0) | ^~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:295:17: note: in expansion of macro '_cmp_m8abs_imm' 295 | _cmp_m8abs_imm(code, *(UINT8 *)code); /* cmp [pc],opcode*/ | ^~~~~~~~~~~~~~ src/drawgfx.c: In function 'draw_crosshair': src/x86drc.c: In function 'drc_append_save_volatiles': src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS' 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:324:17: note: in expansion of macro '_mov_m32abs_r32' 324 | _mov_m32abs_r32(drc->icountptr, REG_EBP); | ^~~~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS' 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:326:17: note: in expansion of macro '_mov_m32abs_r32' 326 | _mov_m32abs_r32(drc->pcptr, REG_EDI); | ^~~~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS' 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:328:17: note: in expansion of macro '_mov_m32abs_r32' 328 | _mov_m32abs_r32(drc->esiptr, REG_ESI); | ^~~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_restore_volatiles': src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:339:17: note: in expansion of macro '_mov_r32_m32abs' 339 | _mov_r32_m32abs(REG_EBP, drc->icountptr); | ^~~~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:341:17: note: in expansion of macro '_mov_r32_m32abs' 341 | _mov_r32_m32abs(REG_EDI, drc->pcptr); | ^~~~~~~~~~~~~~~ src/drawgfx.c:3521:23: warning: variable 'black' set but not used [-Wunused-but-set-variable] 3521 | unsigned long black,white; | ^~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:343:17: note: in expansion of macro '_mov_r32_m32abs' 343 | _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] 982 | do { if (drc->uses_fp) OP1(0xe8); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^ src/x86drc.h:199:67: note: in definition of macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.c:354:9: note: in expansion of macro '_call' 354 | _call(target); /* call target*/ | ^~~~~ Compiling src/machine/7474.c... src/x86drc.h:982:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 982 | do { if (drc->uses_fp) OP1(0xe8); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) | ^ src/x86drc.h:199:67: note: in definition of macro 'OP4' 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.c:354:9: note: in expansion of macro '_call' 354 | _call(target); /* call target*/ | ^~~~~ src/x86drc.c: In function 'drc_append_dispatcher': src/x86drc.h:218:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 218 | if ((UINT32)(disp) == 0 && (base) != REG_ESP && (base) != REG_EBP) \ | ^ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:222:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 222 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:222:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 222 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:228:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 228 | OP1((INT32)disp); \ | ^ src/x86drc.h:197:58: note: in definition of macro 'OP1' 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) | ^ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:233:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 233 | OP1((INT32)disp); \ | ^ src/x86drc.h:197:58: note: in definition of macro 'OP1' 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) | ^ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:242:25: note: in expansion of macro 'OP4' 242 | OP4(disp); \ | ^~~ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:247:25: note: in expansion of macro 'OP4' 247 | OP4(disp); \ | ^~~ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:257:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 257 | else if ((UINT32)(disp) == 0 || (base) == NO_BASE) \ | ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:261:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:261:42: note: in expansion of macro 'OP4' 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:263:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 263 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:263:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 263 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:267:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 267 | OP1((INT32)disp); \ | ^ src/x86drc.h:197:58: note: in definition of macro 'OP1' 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) | ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:273:17: note: in expansion of macro 'OP4' 273 | OP4(disp); \ | ^~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) | ^~~~~~~~~~~ src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd' 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_fixed_dispatcher': src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:404:17: note: in expansion of macro '_mov_r32_m32abs' 404 | _mov_r32_m32abs(REG_EAX, &drc->lookup_l1[newpc >> drc->l1shift]);/* mov eax,[(newpc >> l1shift)*4 + l1lookup]*/ | ^~~~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:987:17: note: in expansion of macro 'MODRM_MABS' 987 | do { OP1(0xff); MODRM_MABS(4, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:408:17: note: in expansion of macro '_jmp_m32abs' 408 | _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:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 218 | if ((UINT32)(disp) == 0 && (base) != REG_ESP && (base) != REG_EBP) \ | ^ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:222:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 222 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:222:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 222 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:228:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 228 | OP1((INT32)disp); \ | ^ src/x86drc.h:197:58: note: in definition of macro 'OP1' 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) | ^ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:233:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 233 | OP1((INT32)disp); \ | ^ src/x86drc.h:197:58: note: in definition of macro 'OP1' 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) | ^ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:242:25: note: in expansion of macro 'OP4' 242 | OP4(disp); \ | ^~~ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:247:25: note: in expansion of macro 'OP4' 247 | OP4(disp); \ | ^~~ src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD' 256 | MODRM_MBD(reg,indx,disp); \ | ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:257:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 257 | else if ((UINT32)(disp) == 0 || (base) == NO_BASE) \ | ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:261:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:261:42: note: in expansion of macro 'OP4' 261 | if ((UINT32)(disp) != 0) OP4(disp); \ | ^~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:263:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 263 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:263:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 263 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ | ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:267:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 267 | OP1((INT32)disp); \ | ^ src/x86drc.h:197:58: note: in definition of macro 'OP1' 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) | ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) | ^ src/x86drc.h:273:17: note: in expansion of macro 'OP4' 273 | OP4(disp); \ | ^~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) | ^~~~~~~~~~~ src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd' 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ | ^~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:870:17: note: in expansion of macro 'MODRM_MABS' 870 | do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:437:9: note: in expansion of macro '_fnstcw_m16abs' 437 | _fnstcw_m16abs(&drc->fpcw_curr); /* fnstcw [fpcw_curr]*/ | ^~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_set_temp_fp_rounding': src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:448:9: note: in expansion of macro '_fldcw_m16abs' 448 | _fldcw_m16abs(&fp_control[rounding]); /* fldcw [fp_control]*/ | ^~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_restore_fp_rounding': src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:459:9: note: in expansion of macro '_fldcw_m16abs' 459 | _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ | ^~~~~~~~~~~~~ src/x86drc.c: In function 'append_entry_point': src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:870:17: note: in expansion of macro 'MODRM_MABS' 870 | do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:537:17: note: in expansion of macro '_fnstcw_m16abs' 537 | _fnstcw_m16abs(&drc->fpcw_save); /* fstcw [fpcw_save]*/ | ^~~~~~~~~~~~~~ src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:538:17: note: in expansion of macro '_fldcw_m16abs' 538 | _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ | ^~~~~~~~~~~~~ src/x86drc.c: In function 'append_recompile': src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 290 | do { OP1(0x68); OP4(imm); } while (0) | ^~~ src/x86drc.c:565:9: note: in expansion of macro '_push_imm' 565 | _push_imm(drc); /* push drc*/ | ^~~~~~~~~ src/x86drc.c: In function 'append_out_of_cycles': src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 | #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' 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) | ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) | ^~~~~~~~~~ src/x86drc.c:581:17: note: in expansion of macro '_fldcw_m16abs' 581 | _fldcw_m16abs(&drc->fpcw_save); /* fldcw [fpcw_save]*/ | ^~~~~~~~~~~~~ Compiling src/machine/8255ppi.c... Compiling src/machine/eeprom.c... Compiling src/machine/idectrl.c... src/machine/74148.c: In function 'TTL74148_update': src/machine/74148.c:84:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 84 | bit0 = !((!chips[which].input_lines[1] & | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:88:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 88 | (!chips[which].input_lines[3] & | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:91:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 91 | (!chips[which].input_lines[5] & | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:95:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 95 | bit1 = !((!chips[which].input_lines[2] & | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:98:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 98 | (!chips[which].input_lines[3] & | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/mathbox.c... Compiling src/machine/mb87078.c... src/machine/eeprom.c: In function 'EEPROM_reset': src/machine/eeprom.c:251:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 251 | if (serial_count) | ^~ src/machine/eeprom.c:254:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 254 | serial_count = 0; | ^~~~~~~~~~~~ Compiling src/machine/random.c... Compiling src/machine/ticket.c... Compiling src/machine/tmp68301.c... Compiling src/machine/z80fmly.c... Compiling src/sound/filter.c... Compiling src/sound/mixer.c... Compiling src/sound/streams.c... Compiling src/sound/votrax.c... Compiling src/sound/wavwrite.c... Compiling src/vidhrdw/avgdvg_vidhrdw.c... Compiling src/vidhrdw/generic.c... Compiling src/vidhrdw/matrix3d.c... Compiling src/vidhrdw/poly.c... Compiling src/vidhrdw/tlc34076.c... Compiling src/vidhrdw/vector.c... Compiling src/drivers/pacman.c... Compiling src/machine/mspacman.c... Compiling src/machine/pacplus.c... Compiling src/machine/jumpshot.c... Compiling src/machine/theglobp.c... Compiling src/machine/acitya.c... In function 'ResizeWatchListNoDispose', inlined from 'DeleteWatchAt' at src/cheat.c:7361:2: Compiling src/drivers/jrpacman.c... src/cheat.c:7324:66: warning: iteration 4294967294 invokes undefined behavior [-Waggressive-loop-optimizations] 7324 | for(i = watchListLength; i < newLength; i++) | ~^~ src/cheat.c:7324:52: note: within this loop 7324 | for(i = watchListLength; i < newLength; i++) | ~~^~~~~~~~~~~ Compiling src/vidhrdw/jrpacman_vidhrdw.c... Compiling src/vidhrdw/pengo_vidhrdw.c... Compiling src/drivers/pengo.c... Compiling src/drivers/epos.c... Compiling src/vidhrdw/epos_vidhrdw.c... src/vidhrdw/tlc34076.c: In function 'tlc34076_w': src/vidhrdw/tlc34076.c:138:15: warning: variable 'oldval' set but not used [-Wunused-but-set-variable] 138 | UINT8 oldval; | ^~~~~~ Compiling src/vidhrdw/cclimber_vidhrdw.c... Compiling src/sndhrdw/cclimber_sndhrdw.c... Compiling src/drivers/cclimber.c... Compiling src/drivers/yamato.c... Compiling src/vidhrdw/gomoku_vidhrdw.c... In function 'ResizeCheatListNoDispose', inlined from 'DeleteCheatAt.part.0' at src/cheat.c:7130:2: src/cheat.c:7092:66: warning: iteration 4294967294 invokes undefined behavior [-Waggressive-loop-optimizations] 7092 | for(i = cheatListLength; i < newLength; i++) | ~^~ Compiling src/sndhrdw/gomoku_sndhrdw.c... src/cheat.c:7092:52: note: within this loop 7092 | for(i = cheatListLength; i < newLength; i++) | ~~^~~~~~~~~~~ Compiling src/drivers/gomoku.c... Compiling src/vidhrdw/wiping_vidhrdw.c... Compiling src/sndhrdw/wiping_sndhrdw.c... Compiling src/drivers/wiping.c... Compiling src/vidhrdw/seicross_vidhrdw.c... Compiling src/drivers/seicross.c... Compiling src/vidhrdw/clshroad_vidhrdw.c... Compiling src/drivers/clshroad.c... Compiling src/vidhrdw/tubep_vidhrdw.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/drivers/terracre.c... Compiling src/vidhrdw/galivan_vidhrdw.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/hyhoo_vidhrdw.c... src/vidhrdw/tubep_vidhrdw.c: In function 'palette_init_tubep': src/vidhrdw/tubep_vidhrdw.c:235:16: warning: variable 'output_scaler' set but not used [-Wunused-but-set-variable] 235 | double output_scaler; | ^~~~~~~~~~~~~ Compiling src/drivers/hyhoo.c... In file included from src/vidhrdw/tubep_vidhrdw.c:22: src/vidhrdw/res_net.h: At top level: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] 263 | static double compute_resistor_net_outputs( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/pastelgl_vidhrdw.c... Compiling src/drivers/pastelgl.c... Compiling src/vidhrdw/nbmj8688_vidhrdw.c... Compiling src/drivers/nbmj8688.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/vidhrdw/nbmj9195_vidhrdw.c... Compiling src/drivers/nbmj9195.c... Compiling src/vidhrdw/niyanpai_vidhrdw.c... Compiling src/drivers/niyanpai.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/sndhrdw/pleiads.c... Compiling src/vidhrdw/naughtyb_vidhrdw.c... Compiling src/drivers/naughtyb.c... Compiling src/machine/geebee_machine.c... Compiling src/vidhrdw/geebee_vidhrdw.c... Compiling src/sndhrdw/geebee_sndhrdw.c... Compiling src/drivers/geebee.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... 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] 263 | static double compute_resistor_net_outputs( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/galaxian_sndhrdw.c... Compiling src/drivers/galaxian.c... Compiling src/vidhrdw/rallyx_vidhrdw.c... Compiling src/drivers/rallyx.c... Compiling src/drivers/locomotn.c... src/sndhrdw/galaxian_sndhrdw.c: In function 'galaxian_sh_start': src/sndhrdw/galaxian_sndhrdw.c:206:26: warning: variable 'charge' set but not used [-Wunused-but-set-variable] 206 | int i, j, sweep, charge, countdown, generator, bit1, bit2; | ^~~~~~ src/sndhrdw/galaxian_sndhrdw.c:206:19: warning: variable 'sweep' set but not used [-Wunused-but-set-variable] 206 | int i, j, sweep, charge, countdown, generator, bit1, bit2; | ^~~~~ src/sndhrdw/galaxian_sndhrdw.c:206:16: warning: variable 'j' set but not used [-Wunused-but-set-variable] 206 | int i, j, sweep, charge, countdown, generator, bit1, bit2; | ^ Compiling src/machine/bosco_machine.c... Compiling src/sndhrdw/bosco_sndhrdw.c... Compiling src/vidhrdw/bosco_vidhrdw.c... Compiling src/drivers/bosco.c... Compiling src/machine/galaga_machine.c... Compiling src/vidhrdw/galaga_vidhrdw.c... Compiling src/drivers/galaga.c... Compiling src/machine/digdug_machine.c... Compiling src/vidhrdw/digdug_vidhrdw.c... Compiling src/drivers/digdug.c... Compiling src/vidhrdw/xevious_vidhrdw.c... Compiling src/machine/xevious_machine.c... Compiling src/drivers/xevious.c... Compiling src/machine/superpac_machine.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] 326 | if (flipscreen) sx += 32; | ^~ src/vidhrdw/bosco_vidhrdw.c:327:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 327 | sy = 225 - spriteram_2[offs] - displacement; | ^~ 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/drivers/grobda.c... Compiling src/machine/gaplus_machine.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/sndhrdw/polepos_sndhrdw.c... Compiling src/drivers/polepos.c... Compiling src/vidhrdw/pacland_vidhrdw.c... Compiling src/drivers/pacland.c... Compiling src/vidhrdw/skykid_vidhrdw.c... Compiling src/drivers/skykid.c... Compiling src/vidhrdw/baraduke_vidhrdw.c... Compiling src/drivers/baraduke.c... Compiling src/vidhrdw/namcos86_vidhrdw.c... Compiling src/drivers/namcos86.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/drivers/namcos1.c... Compiling src/machine/namcos2_machine.c... Compiling src/vidhrdw/namcos2_vidhrdw.c... Compiling src/drivers/namcos2.c... src/vidhrdw/tceptor_vidhrdw.c: In function 'palette_init_tceptor': src/vidhrdw/tceptor_vidhrdw.c:47:24: warning: variable 'totlookup' set but not used [-Wunused-but-set-variable] 47 | int totcolors, totlookup; | ^~~~~~~~~ Compiling src/drivers/namcoic.c... Compiling src/vidhrdw/namcona1_vidhrdw.c... Compiling src/drivers/namcona1.c... Compiling src/vidhrdw/namconb1_vidhrdw.c... Compiling src/drivers/namconb1.c... Compiling src/machine/namcond1_machine.c... Compiling src/vidhrdw/ygv608.c... Compiling src/drivers/namcond1.c... Compiling src/vidhrdw/psx_vidhrdw.c... Compiling src/machine/psx_machine.c... Compiling src/drivers/namcos10.c... Compiling src/drivers/namcos11.c... Compiling src/drivers/namcos12.c... Compiling src/vidhrdw/namcos3d.c... Compiling src/vidhrdw/namcos21_vidhrdw.c... Compiling src/drivers/namcos21.c... Compiling src/vidhrdw/namcos22_vidhrdw.c... src/vidhrdw/psx_vidhrdw.c: In function 'MonochromeLine': src/vidhrdw/psx_vidhrdw.c:2106:15: warning: variable 'n_db' set but not used [-Wunused-but-set-variable] 2106 | INT32 n_db; | ^~~~ src/vidhrdw/psx_vidhrdw.c:2105:15: warning: variable 'n_dg' set but not used [-Wunused-but-set-variable] 2105 | INT32 n_dg; | ^~~~ src/vidhrdw/psx_vidhrdw.c:2104:15: warning: variable 'n_dr' set but not used [-Wunused-but-set-variable] 2104 | INT32 n_dr; | ^~~~ Compiling src/drivers/namcos22.c... Compiling src/vidhrdw/cosmic_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/namconb1.c:290: src/inptport.h:189:43: warning: 'input_ports_machbrkr' defined but not used [-Wunused-const-variable=] 189 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/namconb1.c:1141:1: note: in expansion of macro 'INPUT_PORTS_START' 1141 | INPUT_PORTS_START( machbrkr ) | ^~~~~~~~~~~~~~~~~ Compiling src/drivers/cosmic.c... Compiling src/vidhrdw/redclash_vidhrdw.c... Compiling src/drivers/redclash.c... Compiling src/vidhrdw/ladybug_vidhrdw.c... Compiling src/drivers/ladybug.c... In file included from src/drivers/namcos11.c:144: src/driver.h:98:14: warning: 'construct_coh110' defined but not used [-Wunused-function] 98 | void construct_##game(struct InternalMachineDriver *machine) \ | ^~~~~~~~~~ src/drivers/namcos11.c:797:8: note: in expansion of macro 'MACHINE_DRIVER_START' 797 | static MACHINE_DRIVER_START( coh110 ) | ^~~~~~~~~~~~~~~~~~~~ src/vidhrdw/cosmic_vidhrdw.c: In function 'cosmica_draw_starfield': src/vidhrdw/cosmic_vidhrdw.c:378:30: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 378 | if ((!(hc & va) & (vb ^ hb_)) && /* right network */ | ^~~~~~~~~~ src/vidhrdw/cosmic_vidhrdw.c: In function 'nomnlnd_draw_background': src/vidhrdw/cosmic_vidhrdw.c:536:30: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 536 | if ((!vb_ & vc_ & !vd_) ^ (vb_ & !vc_ & vd_)) | ^~~~ src/vidhrdw/cosmic_vidhrdw.c:539:37: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 539 | if (!hd_ & hc_ & !hb_) | ^~~~ src/vidhrdw/cosmic_vidhrdw.c:570:50: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 570 | (!plane1 & hd) << 2; // B - see above | ^~~~~~~ Compiling src/vidhrdw/cheekyms_vidhrdw.c... src/drivers/cosmic.c: In function 'panic_sound_output_w': src/drivers/cosmic.c:69:34: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 69 | else | ^~~~ src/drivers/cosmic.c:71:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 71 | break; | ^~~~~ src/drivers/cosmic.c: In function 'panic_interrupt': src/drivers/cosmic.c:190:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 190 | if ((input_port_3_r(0) & 0xc0) != 0xc0) | ^~ src/drivers/cosmic.c:193:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 193 | cpu_set_irq_line_and_vector(0, 0, HOLD_LINE, 0xcf); /* RST 08h */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/cheekyms.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] 602 | static WRITE32_HANDLER( namcos22_C139_SCI_w ) | ^~~~~~~~~~~~~~~~~~~ src/memory.h:131:42: note: in definition of macro 'WRITE32_HANDLER' 131 | #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask) | ^~~~ Compiling src/vidhrdw/mrdo_vidhrdw.c... Compiling src/drivers/mrdo.c... Compiling src/machine/docastle_machine.c... Compiling src/vidhrdw/docastle_vidhrdw.c... Compiling src/drivers/docastle.c... Compiling src/vidhrdw/dkong_vidhrdw.c... Compiling src/sndhrdw/dkong_sndhrdw.c... Compiling src/drivers/dkong.c... Compiling src/machine/strtheat.c... Compiling src/vidhrdw/mario_vidhrdw.c... Compiling src/sndhrdw/mario_sndhrdw.c... Compiling src/drivers/mario.c... Compiling src/vidhrdw/popeye_vidhrdw.c... Compiling src/drivers/popeye.c... Compiling src/vidhrdw/punchout_vidhrdw.c... Compiling src/drivers/punchout.c... Compiling src/machine/rp5h01.c... src/vidhrdw/dkong_vidhrdw.c: In function 'radarscp_grid_color_w': src/vidhrdw/dkong_vidhrdw.c:246:17: warning: variable 'b' set but not used [-Wunused-but-set-variable] 246 | int r,g,b; | ^ src/vidhrdw/dkong_vidhrdw.c:246:15: warning: variable 'g' set but not used [-Wunused-but-set-variable] 246 | int r,g,b; | ^ src/vidhrdw/dkong_vidhrdw.c:246:13: warning: variable 'r' set but not used [-Wunused-but-set-variable] 246 | int r,g,b; | ^ Compiling src/vidhrdw/ppu2c03b.c... Compiling src/machine/playch10_machine.c... Compiling src/vidhrdw/playch10_vidhrdw.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... Compiling src/sndhrdw/snes_sndhrdw.c... Compiling src/drivers/nss.c... Compiling src/machine/8080bw.c... Compiling src/vidhrdw/8080bw_vidhrdw.c... Compiling src/sndhrdw/8080bw_sndhrdw.c... Compiling src/drivers/8080bw_drivers.c... src/machine/snes_machine.c:1129:12: warning: 'snes_validate_infoblock' defined but not used [-Wunused-function] 1129 | static int snes_validate_infoblock( UINT8 *infoblock, UINT16 offset ) | ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/sspeedr_vidhrdw.c... Compiling src/drivers/sspeedr.c... src/vidhrdw/snes_vidhrdw.c: In function 'snes_update_line_8': src/vidhrdw/snes_vidhrdw.c:1131:34: warning: variable 'pal' set but not used [-Wunused-but-set-variable] 1131 | UINT16 ii, vflip, hflip, pal; | ^~~ 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... src/sndhrdw/snes_sndhrdw.c: In function 'fakespc_port_r': src/sndhrdw/snes_sndhrdw.c:586:28: warning: array subscript 4 is above array bounds of 'UINT8[4]' {aka 'unsigned char[4]'} [-Warray-bounds=] 586 | return fakeapu_port[offset]; | ~~~~~~~~~~~~^~~~~~~~ src/sndhrdw/snes_sndhrdw.c:66:7: note: while referencing 'fakeapu_port' 66 | UINT8 fakeapu_port[4] = { 0xaa, 0xbb, 0x00, 0x00 }; | ^~~~~~~~~~~~ Compiling src/vidhrdw/s2636_vidhrdw.c... Compiling src/machine/astrocde_machine.c... Compiling src/vidhrdw/astrocde_vidhrdw.c... Compiling src/drivers/astrocde.c... Compiling src/sndhrdw/astrocde_sndhrdw.c... Compiling src/sndhrdw/gorf.c... 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... 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:189:43: warning: 'input_ports_vsnes' defined but not used [-Wunused-const-variable=] 189 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/vsnes.c:524:1: note: in expansion of macro 'INPUT_PORTS_START' 524 | INPUT_PORTS_START( vsnes ) | ^~~~~~~~~~~~~~~~~ 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/sndhrdw/astrocde_sndhrdw.c: In function 'wow_speech_r': src/sndhrdw/astrocde_sndhrdw.c:128:21: warning: variable 'Intonation' set but not used [-Wunused-but-set-variable] 128 | int Phoneme,Intonation; | ^~~~~~~~~~ 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... Compiling src/vidhrdw/exterm_vidhrdw.c... Compiling src/drivers/exterm.c... Compiling src/machine/midwayic.c... src/machine/balsente_machine.c: In function 'balsente_chip_select_w': src/machine/balsente_machine.c:1024:32: warning: variable 'temp' set but not used [-Wunused-but-set-variable] 1024 | double temp = 0; | ^~~~ Compiling src/sndhrdw/dcs.c... Compiling src/machine/midyunit_machine.c... Compiling src/vidhrdw/midyunit_vidhrdw.c... Compiling src/drivers/midyunit.c... src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo2_regs_w': src/vidhrdw/voodoo_vidhrdw.c:1729:102: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1729 | 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:151: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1781 | logerror("%06X:voodoo %s(%d) write = %f\n", activecpu_get_pc(), (offset < 0x384/4) ? voodoo_reg_name[offset] : "oob", chips, *(float *)&data); | ^~~~~~~~~~~~~~ Compiling src/drivers/midxunit.c... src/vidhrdw/voodoo_vidhrdw.c:1898:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1898 | 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' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:1901:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1901 | 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' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:1904:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1904 | 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' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:1907:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1907 | 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' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:1910:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1910 | 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' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:1913:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1913 | 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' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:1918:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1918 | if (chips & 1) tri_startr = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1921:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1921 | if (chips & 1) tri_startg = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1924:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1924 | if (chips & 1) tri_startb = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1927:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1927 | if (chips & 1) tri_starta = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ Compiling src/machine/midwunit_machine.c... src/vidhrdw/voodoo_vidhrdw.c:1930:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1930 | if (chips & 1) tri_startz = (INT32)(*(float *)&data * 4096.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1933:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1933 | if (chips & 1) tri_startw = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1934:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1934 | if (chips & 2) tri_startw0 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1935:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1935 | if (chips & 4) tri_startw1 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1938:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1938 | if (chips & 2) tri_starts0 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1939:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1939 | if (chips & 4) tri_starts1 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1942:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1942 | if (chips & 2) tri_startt0 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1943:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1943 | if (chips & 4) tri_startt1 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1948:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1948 | if (chips & 1) tri_drdx = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1951:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1951 | if (chips & 1) tri_dgdx = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ Compiling src/drivers/midwunit.c... src/vidhrdw/voodoo_vidhrdw.c:1954:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1954 | if (chips & 1) tri_dbdx = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1957:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1957 | if (chips & 1) tri_dadx = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1960:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1960 | if (chips & 1) tri_dzdx = (INT32)(*(float *)&data * 4096.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1963:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1963 | if (chips & 1) tri_dwdx = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1964:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1964 | if (chips & 2) tri_dw0dx = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1965:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1965 | if (chips & 4) tri_dw1dx = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1968:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1968 | if (chips & 2) tri_ds0dx = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1969:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1969 | if (chips & 4) tri_ds1dx = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1972:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1972 | if (chips & 2) tri_dt0dx = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1973:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1973 | if (chips & 4) tri_dt1dx = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1978:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1978 | if (chips & 1) tri_drdy = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1981:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1981 | if (chips & 1) tri_dgdy = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1984:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1984 | if (chips & 1) tri_dbdy = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1987:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1987 | if (chips & 1) tri_dady = (INT32)(*(float *)&data * 65536.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1990:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1990 | if (chips & 1) tri_dzdy = (INT32)(*(float *)&data * 4096.0); | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1993:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1993 | if (chips & 1) tri_dwdy = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1994:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1994 | if (chips & 2) tri_dw0dy = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1995:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1995 | if (chips & 4) tri_dw1dy = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1998:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1998 | if (chips & 2) tri_ds0dy = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1999:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1999 | if (chips & 4) tri_ds1dy = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2002:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2002 | if (chips & 2) tri_dt0dy = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2003:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2003 | if (chips & 4) tri_dt1dy = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2008:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2008 | 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' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:2011:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2011 | 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' 19 | #define TRUNC_TO_INT(f) (float) (floor(f)) | ^ src/vidhrdw/voodoo_vidhrdw.c:2020:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2020 | setup_pending.wb = *(float *)&data; | ^~~~~~~~~~~~~~ Compiling src/vidhrdw/midvunit_vidhrdw.c... src/vidhrdw/voodoo_vidhrdw.c:2023:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023 | setup_pending.w0 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2026:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2026 | setup_pending.s0 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2029:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2029 | setup_pending.t0 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2032:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2032 | setup_pending.w1 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2035:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2035 | setup_pending.s1 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2038:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2038 | setup_pending.t1 = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2041:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2041 | setup_pending.a = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2044:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2044 | setup_pending.r = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2047:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2047 | setup_pending.g = *(float *)&data; | ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2050:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2050 | setup_pending.b = *(float *)&data; | ^~~~~~~~~~~~~~ Compiling src/drivers/midvunit.c... Compiling src/machine/midtunit_machine.c... Compiling src/vidhrdw/midtunit_vidhrdw.c... 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] 2969 | if (s == 0 && t == 0) | ^~ src/vidhrdw/voodoo_vidhrdw.c:2971:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2971 | while (lod != 0) | ^~~~~ Compiling src/drivers/midtunit.c... Compiling src/vidhrdw/skychut_vidhrdw.c... Compiling src/drivers/skychut.c... Compiling src/drivers/olibochu.c... Compiling src/sndhrdw/irem.c... Compiling src/vidhrdw/mpatrol_vidhrdw.c... Compiling src/drivers/mpatrol.c... Compiling src/vidhrdw/troangel_vidhrdw.c... Compiling src/drivers/troangel.c... Compiling src/vidhrdw/yard_vidhrdw.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] 1026 | if (keyboard_pressed(KEYCODE_L)) | ^~ src/vidhrdw/midvunit_vidhrdw.c:1028:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1028 | if (dma_data_index < 16) | ^~ 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... In file included from src/drivers/midvunit.c:21: src/driver.h:19:46: warning: 'init_crusnw13' defined but not used [-Wunused-function] 19 | #define DRIVER_INIT(name) void init_##name(void) | ^~~~~ src/drivers/midvunit.c:1396:8: note: in expansion of macro 'DRIVER_INIT' 1396 | static DRIVER_INIT( crusnw13 ) { init_crusnwld_common(0); } | ^~~~~~~~~~~ src/driver.h:19:46: warning: 'init_crusnw20' defined but not used [-Wunused-function] 19 | #define DRIVER_INIT(name) void init_##name(void) | ^~~~~ src/drivers/midvunit.c:1395:8: note: in expansion of macro 'DRIVER_INIT' 1395 | static DRIVER_INIT( crusnw20 ) { init_crusnwld_common(0xd49c); } | ^~~~~~~~~~~ In file included from src/driver.h:64: src/drivers/midvunit.c:324:25: warning: 'crusnwld_serial_data_w' defined but not used [-Wunused-function] 324 | static WRITE32_HANDLER( crusnwld_serial_data_w ) | ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:131:42: note: in definition of macro 'WRITE32_HANDLER' 131 | #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] 318 | static READ32_HANDLER( crusnwld_serial_data_r ) | ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:42: note: in definition of macro 'READ32_HANDLER' 130 | #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] 311 | static READ32_HANDLER( crusnwld_serial_status_r ) | ^~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:42: note: in definition of macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ Compiling src/drivers/vigilant.c... Compiling src/vidhrdw/m72_vidhrdw.c... Compiling src/sndhrdw/m72_sndhrdw.c... Compiling src/drivers/m72.c... Compiling src/vidhrdw/shisen_vidhrdw.c... Compiling src/drivers/shisen.c... Compiling src/machine/irem_cpu.c... Compiling src/vidhrdw/m90_vidhrdw.c... Compiling src/drivers/m90.c... Compiling src/vidhrdw/m92_vidhrdw.c... Compiling src/drivers/m92.c... Compiling src/vidhrdw/m107_vidhrdw.c... Compiling src/drivers/m107.c... Compiling src/vidhrdw/gottlieb_vidhrdw.c... Compiling src/sndhrdw/gottlieb_sndhrdw.c... Compiling src/drivers/gottlieb.c... Compiling src/drivers/sbowling.c... Compiling src/machine/chaknpop_machine.c... Compiling src/vidhrdw/chaknpop_vidhrdw.c... Compiling src/drivers/chaknpop.c... Compiling src/machine/qix_machine.c... Compiling src/vidhrdw/qix_vidhrdw.c... src/sndhrdw/gottlieb_sndhrdw.c: In function 'gottlieb_speech_w': src/sndhrdw/gottlieb_sndhrdw.c:120:20: warning: variable 'queue' set but not used [-Wunused-but-set-variable] 120 | static int queue[100],pos; | ^~~~~ Compiling src/drivers/qix.c... Compiling src/machine/taitosj_machine.c... src/drivers/m72.c:136:12: warning: 'find_sample' defined but not used [-Wunused-function] 136 | static int find_sample(int num) | ^~~~~~~~~~~ Compiling src/vidhrdw/taitosj_vidhrdw.c... Compiling src/drivers/taitosj.c... In 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] 76 | static double compute_resistor_weights( | ^~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/grchamp_machine.c... Compiling src/vidhrdw/grchamp_vidhrdw.c... Compiling src/drivers/grchamp.c... Compiling src/machine/pitnrun_machine.c... Compiling src/vidhrdw/pitnrun_vidhrdw.c... Compiling src/drivers/pitnrun.c... Compiling src/drivers/marinedt.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... Compiling src/vidhrdw/retofinv_vidhrdw.c... Compiling src/drivers/retofinv.c... Compiling src/vidhrdw/rollrace_vidhrdw.c... Compiling src/drivers/rollrace.c... Compiling src/vidhrdw/40love_vidhrdw.c... Compiling src/drivers/40love.c... Compiling src/vidhrdw/ssrj_vidhrdw.c... Compiling src/drivers/ssrj.c... Compiling src/machine/bigevglf_machine.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... 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=] 352 | static MEMORY_WRITE_START( mcu_writemem ) | ^~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #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' 352 | static MEMORY_WRITE_START( mcu_writemem ) | ^~~~~~~~~~~~~~~~~~ src/drivers/msisaac.c:344:27: warning: 'mcu_readmem' defined but not used [-Wunused-const-variable=] 344 | static MEMORY_READ_START( mcu_readmem ) | ^~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #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' 344 | static MEMORY_READ_START( mcu_readmem ) | ^~~~~~~~~~~~~~~~~ Compiling src/drivers/flstory.c... Compiling src/vidhrdw/gladiatr_vidhrdw.c... Compiling src/drivers/gladiatr.c... Compiling src/machine/nycaptor_machine.c... Compiling src/vidhrdw/nycaptor_vidhrdw.c... Compiling src/drivers/nycaptor.c... Compiling src/drivers/halleys.c... Compiling src/machine/lsasquad_machine.c... Compiling src/vidhrdw/lsasquad_vidhrdw.c... Compiling src/drivers/lsasquad.c... 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/vidhrdw/darius_vidhrdw.c... Compiling src/drivers/darius.c... Compiling src/vidhrdw/rastan_vidhrdw.c... Compiling src/sndhrdw/rastan_sndhrdw.c... Compiling src/drivers/rastan.c... Compiling src/machine/rainbow_machine.c... Compiling src/drivers/rainbow.c... Compiling src/drivers/opwolf.c... Compiling src/vidhrdw/othunder_vidhrdw.c... Compiling src/drivers/othunder.c... src/drivers/halleys.c: In function 'blit': src/drivers/halleys.c:863:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 863 | if (al & 0x01) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ src/drivers/halleys.c:863:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 863 | if (al & 0x01) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ src/drivers/halleys.c:864:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 864 | if (al & 0x02) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ Compiling src/vidhrdw/topspeed_vidhrdw.c... src/drivers/halleys.c:864:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 864 | if (al & 0x02) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ src/drivers/halleys.c:865:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 865 | if (al & 0x04) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ src/drivers/halleys.c:865:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 865 | if (al & 0x04) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ src/drivers/halleys.c:866:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 866 | if (al & 0x08) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ src/drivers/halleys.c:866:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 866 | if (al & 0x08) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ src/drivers/halleys.c:867:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 867 | if (al & 0x10) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ src/drivers/halleys.c:867:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 867 | if (al & 0x10) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ src/drivers/halleys.c:868:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 868 | if (al & 0x20) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ src/drivers/halleys.c:868:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 868 | if (al & 0x20) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ src/vidhrdw/mexico86_vidhrdw.c: In function 'video_update_kikikai': src/vidhrdw/mexico86_vidhrdw.c:186:21: warning: variable 'gfx_attr' set but not used [-Wunused-but-set-variable] 186 | int gfx_num,gfx_attr,gfx_offs; | ^~~~~~~~ src/drivers/halleys.c:869:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 869 | if (al & 0x40) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~ Compiling src/drivers/topspeed.c... src/drivers/halleys.c:869:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 869 | if (al & 0x40) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; | ^~~ Compiling src/machine/arkanoid_machine.c... Compiling src/vidhrdw/arkanoid_vidhrdw.c... src/drivers/halleys.c: In function 'copy_fixed_xp': src/drivers/halleys.c:1337:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1337 | if (ax) edi[ecx ] = ax; ax = esi[ecx+2]; | ^~ src/drivers/halleys.c:1337:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1337 | if (ax) edi[ecx ] = ax; ax = esi[ecx+2]; | ^~ src/drivers/halleys.c:1338:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1338 | if (bx) edi[ecx+1] = bx; bx = esi[ecx+3]; | ^~ Compiling src/drivers/arkanoid.c... src/drivers/halleys.c:1338:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1338 | if (bx) edi[ecx+1] = bx; bx = esi[ecx+3]; | ^~ src/drivers/halleys.c:1339:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1339 | if (ax) edi[ecx+2] = ax; ax = esi[ecx+4]; | ^~ src/drivers/halleys.c:1339:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1339 | if (ax) edi[ecx+2] = ax; ax = esi[ecx+4]; | ^~ src/drivers/halleys.c:1340:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1340 | if (bx) edi[ecx+3] = bx; bx = esi[ecx+5]; | ^~ src/drivers/halleys.c:1340:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1340 | if (bx) edi[ecx+3] = bx; bx = esi[ecx+5]; | ^~ src/drivers/halleys.c:1341:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1341 | if (ax) edi[ecx+4] = ax; ax = esi[ecx+6]; | ^~ src/drivers/halleys.c:1341:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1341 | if (ax) edi[ecx+4] = ax; ax = esi[ecx+6]; | ^~ src/drivers/halleys.c:1342:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1342 | if (bx) edi[ecx+5] = bx; bx = esi[ecx+7]; | ^~ src/drivers/halleys.c:1342:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1342 | if (bx) edi[ecx+5] = bx; bx = esi[ecx+7]; | ^~ src/drivers/halleys.c: In function 'copy_fixed_2b': src/drivers/missb2.c: In function 'video_update_missb2': src/drivers/missb2.c:106:48: warning: variable 'color' set but not used [-Wunused-but-set-variable] 106 | int goffs,code,color,flipx,flipy,x,y; | ^~~~~ Compiling src/vidhrdw/superqix_vidhrdw.c... src/drivers/halleys.c:1420:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1420 | if (!(ax)) goto SKIP0; if (!(ax&SP_2BACK)) goto DRAW0; if (edi[ecx ]) goto SKIP0; | ^~ src/drivers/halleys.c:1420:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1420 | if (!(ax)) goto SKIP0; if (!(ax&SP_2BACK)) goto DRAW0; if (edi[ecx ]) goto SKIP0; | ^~ src/drivers/halleys.c:1422:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1422 | if (!(bx)) goto SKIP1; if (!(bx&SP_2BACK)) goto DRAW1; if (edi[ecx+1]) goto SKIP1; | ^~ src/drivers/halleys.c:1422:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1422 | if (!(bx)) goto SKIP1; if (!(bx&SP_2BACK)) goto DRAW1; if (edi[ecx+1]) goto SKIP1; | ^~ src/drivers/halleys.c:1425:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1425 | if (!(ax)) goto SKIP2; if (!(ax&SP_2BACK)) goto DRAW2; if (edi[ecx+2]) goto SKIP2; | ^~ src/drivers/halleys.c:1425:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1425 | if (!(ax)) goto SKIP2; if (!(ax&SP_2BACK)) goto DRAW2; if (edi[ecx+2]) goto SKIP2; | ^~ src/drivers/halleys.c:1427:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1427 | if (!(bx)) goto SKIP3; if (!(bx&SP_2BACK)) goto DRAW3; if (edi[ecx+3]) goto SKIP3; | ^~ src/drivers/halleys.c:1427:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1427 | if (!(bx)) goto SKIP3; if (!(bx&SP_2BACK)) goto DRAW3; if (edi[ecx+3]) goto SKIP3; | ^~ src/drivers/halleys.c:1430:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1430 | if (!(ax)) goto SKIP4; if (!(ax&SP_2BACK)) goto DRAW4; if (edi[ecx+4]) goto SKIP4; | ^~ src/drivers/halleys.c:1430:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1430 | if (!(ax)) goto SKIP4; if (!(ax&SP_2BACK)) goto DRAW4; if (edi[ecx+4]) goto SKIP4; | ^~ src/drivers/halleys.c:1432:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1432 | if (!(bx)) goto SKIP5; if (!(bx&SP_2BACK)) goto DRAW5; if (edi[ecx+5]) goto SKIP5; | ^~ src/drivers/halleys.c:1432:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1432 | if (!(bx)) goto SKIP5; if (!(bx&SP_2BACK)) goto DRAW5; if (edi[ecx+5]) goto SKIP5; | ^~ src/drivers/halleys.c:1435:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1435 | if (!(ax)) goto SKIP6; if (!(ax&SP_2BACK)) goto DRAW6; if (edi[ecx+6]) goto SKIP6; | ^~ src/drivers/halleys.c:1435:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1435 | if (!(ax)) goto SKIP6; if (!(ax&SP_2BACK)) goto DRAW6; if (edi[ecx+6]) goto SKIP6; | ^~ src/drivers/halleys.c:1437:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1437 | if (!(bx)) continue; if (!(bx&SP_2BACK)) goto DRAW7; if (edi[ecx+7]) continue; | ^~ src/drivers/halleys.c:1437:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1437 | if (!(bx)) continue; if (!(bx&SP_2BACK)) goto DRAW7; if (edi[ecx+7]) continue; | ^~ Compiling src/drivers/superqix.c... Compiling src/vidhrdw/pbillian_vidhrdw.c... Compiling src/drivers/pbillian.c... Compiling src/sndhrdw/pbillian_sndhrdw.c... Compiling src/vidhrdw/exzisus_vidhrdw.c... Compiling src/drivers/exzisus.c... Compiling src/drivers/taito_x.c... Compiling src/machine/cchip.c... Compiling src/vidhrdw/minivadr_vidhrdw.c... Compiling src/drivers/minivadr.c... Compiling src/drivers/ashnojoe.c... src/drivers/halleys.c: At top level: Compiling src/vidhrdw/ashnojoe_vidhrdw.c... src/drivers/halleys.c:1356:13: warning: 'copy_fixed_ab' defined but not used [-Wunused-function] 1356 | 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] 1307 | static void copy_fixed_op(struct mame_bitmap *bitmap, WORD *source) | ^~~~~~~~~~~~~ Compiling src/machine/volfied_machine.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... Compiling src/drivers/slapshot.c... Compiling src/vidhrdw/ninjaw_vidhrdw.c... Compiling src/drivers/ninjaw.c... 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/machine/buggychl_machine.c... Compiling src/vidhrdw/buggychl_vidhrdw.c... Compiling src/drivers/buggychl.c... src/vidhrdw/ninjaw_vidhrdw.c: In function 'ninjaw_draw_sprites': src/vidhrdw/ninjaw_vidhrdw.c:71:29: warning: variable 'invis' set but not used [-Wunused-but-set-variable] 71 | int x, y, priority, invis, curx, cury; | ^~~~~ Compiling src/machine/lkage_machine.c... Compiling src/vidhrdw/lkage_vidhrdw.c... Compiling src/drivers/lkage.c... src/vidhrdw/wgp_vidhrdw.c: In function 'wgp_draw_sprites': src/vidhrdw/wgp_vidhrdw.c:385:16: warning: variable 'rotate' set but not used [-Wunused-but-set-variable] 385 | UINT16 rotate=0; | ^~~~~~ Compiling src/vidhrdw/taitoic.c... src/vidhrdw/wgp_vidhrdw.c: In function 'wgp_piv_layer_draw': src/vidhrdw/wgp_vidhrdw.c:590:31: warning: variable 'x_max' set but not used [-Wunused-but-set-variable] 590 | int sx,x_index,x_step,x_max; | ^~~~~ Compiling src/sndhrdw/taitosnd.c... Compiling src/vidhrdw/taito_l_vidhrdw.c... Compiling src/drivers/taito_l.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] 212 | static READ16_HANDLER( opwolf3_service_input_r ) | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:128:42: note: in definition of macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ Compiling src/vidhrdw/taito_h_vidhrdw.c... Compiling src/drivers/taito_h.c... Compiling src/vidhrdw/taito_b_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/vidhrdw/groundfx_vidhrdw.c... Compiling src/drivers/groundfx.c... Compiling src/vidhrdw/taito_f2_vidhrdw.c... Compiling src/drivers/taito_f2.c... Compiling src/vidhrdw/taito_f3_vidhrdw.c... Compiling src/sndhrdw/taito_f3_sndhrdw.c... Compiling src/drivers/taito_f3.c... Compiling src/vidhrdw/taitoair_vidhrdw.c... Compiling src/drivers/taitoair.c... Compiling src/machine/slapfght_machine.c... Compiling src/vidhrdw/slapfght_vidhrdw.c... Compiling src/drivers/slapfght.c... Compiling src/machine/twincobr_machine.c... Compiling src/vidhrdw/twincobr_vidhrdw.c... src/vidhrdw/taito_f3_vidhrdw.c: In function 'get_sprite_info': src/vidhrdw/taito_f3_vidhrdw.c:2888:47: warning: variable 'old_y' set but not used [-Wunused-but-set-variable] 2888 | int offs,spritecont,flipx,flipy,old_x,old_y,color,x,y; | ^~~~~ Compiling src/drivers/twincobr.c... Compiling src/drivers/wardner.c... Compiling src/drivers/mjsister.c... Compiling src/vidhrdw/mjsister_vidhrdw.c... src/sndhrdw/taito_f3_sndhrdw.c: In function 'f3_volume_w': src/sndhrdw/taito_f3_sndhrdw.c:57:43: warning: variable 'last_r' set but not used [-Wunused-but-set-variable] 57 | static data16_t channel[8],last_l,last_r; | ^~~~~~ src/sndhrdw/taito_f3_sndhrdw.c:57:36: warning: variable 'last_l' set but not used [-Wunused-but-set-variable] 57 | static data16_t channel[8],last_l,last_r; | ^~~~~~ Compiling src/machine/toaplan1_machine.c... Compiling src/vidhrdw/toaplan1_vidhrdw.c... Compiling src/drivers/toaplan1.c... src/machine/twincobr_machine.c: In function 'twincobr_dsp_w': src/machine/twincobr_machine.c:158:57: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 158 | if ((dsp_addr_w < 2) && (data == 0)) dsp_execute = 1; break; | ^~ src/machine/twincobr_machine.c:158:111: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 158 | if ((dsp_addr_w < 2) && (data == 0)) dsp_execute = 1; break; | ^~~~~ src/machine/twincobr_machine.c:163:57: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 163 | if ((dsp_addr_w < 2) && (data == 0)) dsp_execute = 1; break; | ^~ src/machine/twincobr_machine.c:163:111: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 163 | if ((dsp_addr_w < 2) && (data == 0)) dsp_execute = 1; break; | ^~~~~ Compiling src/vidhrdw/snowbros_vidhrdw.c... Compiling src/drivers/snowbros.c... Compiling src/vidhrdw/toaplan2_vidhrdw.c... Compiling src/drivers/toaplan2.c... Compiling src/vidhrdw/cave_vidhrdw.c... Compiling src/drivers/cave.c... Compiling src/vidhrdw/kyugo_vidhrdw.c... Compiling src/machine/kyugo_machine.c... src/machine/toaplan1_machine.c: In function 'demonwld_dsp_w': src/machine/toaplan1_machine.c:81:57: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 81 | if ((dsp_addr_w < 3) && (data == 0)) dsp_execute = 1; break; | ^~ src/machine/toaplan1_machine.c:81:111: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 81 | if ((dsp_addr_w < 3) && (data == 0)) dsp_execute = 1; break; | ^~~~~ Compiling src/drivers/kyugo.c... Compiling src/machine/williams_machine.c... Compiling src/vidhrdw/williams_vidhrdw.c... Compiling src/sndhrdw/williams_sndhrdw.c... Compiling src/drivers/williams.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/drivers/gunsmoke.c... Compiling src/vidhrdw/srumbler_vidhrdw.c... Compiling src/drivers/srumbler.c... Compiling src/vidhrdw/lwings_vidhrdw.c... Compiling src/drivers/lwings.c... Compiling src/vidhrdw/sidearms_vidhrdw.c... Compiling src/drivers/sidearms.c... 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... In file included from src/drivers/lwings.c:48: src/drivers/lwings.c:102:23: warning: 'avengers_interrupt' defined but not used [-Wunused-function] 102 | static INTERRUPT_GEN( avengers_interrupt ) | ^~~~~~~~~~~~~~~~~~ src/driver.h:21:46: note: in definition of macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ 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/vidhrdw/cbasebal_vidhrdw.c... Compiling src/drivers/cbasebal.c... Compiling src/vidhrdw/cps1_vidhrdw.c... Compiling src/drivers/cps1.c... Compiling src/drivers/cps2.c... Compiling src/drivers/zn.c... Compiling src/vidhrdw/tms34061_vidhrdw.c... Compiling src/machine/capbowl_machine.c... Compiling src/vidhrdw/capbowl_vidhrdw.c... Compiling src/drivers/capbowl.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] 140 | if (Machine->gamedrv == &driver_mgakuen2) /* hack... music doesn't work otherwise */ | ^~ src/drivers/mitchell.c:143:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 143 | return (input_port_0_r(0) & 0x76) | bit; | ^~~~~~ Compiling src/vidhrdw/itech8_vidhrdw.c... Compiling src/drivers/itech8.c... Compiling src/vidhrdw/itech32_vidhrdw.c... Compiling src/drivers/itech32.c... 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/carnival.c... Compiling src/sndhrdw/depthch.c... Compiling src/sndhrdw/invinco.c... Compiling src/sndhrdw/pulsar.c... Compiling src/machine/segacrpt.c... Compiling src/sndhrdw/segasnd.c... Compiling src/vidhrdw/sega_vidhrdw.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] 542 | static READ32_HANDLER( input_port_5_msw_r ) | ^~~~~~~~~~~~~~~~~~ src/memory.h:130:42: note: in definition of macro 'READ32_HANDLER' 130 | #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] 199 | static READ32_HANDLER( trackball32_8bit_r ) | ^~~~~~~~~~~~~~~~~~ src/memory.h:130:42: note: in definition of macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ Compiling src/sndhrdw/sega_sndhrdw.c... In function 'words_to_sensors', inlined from 'compute_sensors' at src/machine/slikshot.c:406:2, inlined from 'slikshot_extra_draw' at src/machine/slikshot.c:564:3: src/machine/slikshot.c:382:32: warning: 'word1' may be used uninitialized [-Wmaybe-uninitialized] 382 | *sens2 = word2 + word1, *sens3 = word2; | ~~~~~~^~~~~~~ src/machine/slikshot.c: In function 'slikshot_extra_draw': src/machine/slikshot.c:396:16: note: 'word1' was declared here 396 | UINT16 word1, word2, word3; | ^~~~~ In function 'words_to_sensors', inlined from 'compute_sensors' at src/machine/slikshot.c:406:2, inlined from 'slikshot_extra_draw' at src/machine/slikshot.c:564:3: src/machine/slikshot.c:382:48: warning: 'word2' may be used uninitialized [-Wmaybe-uninitialized] 382 | *sens2 = word2 + word1, *sens3 = word2; | ~~~~~~~^~~~~~~ src/machine/slikshot.c: In function 'slikshot_extra_draw': src/machine/slikshot.c:396:23: note: 'word2' was declared here 396 | UINT16 word1, word2, word3; | ^~~~~ 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:189:43: warning: 'input_ports_cps2' defined but not used [-Wunused-const-variable=] 189 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/cps2.c:774:1: note: in expansion of macro 'INPUT_PORTS_START' 774 | INPUT_PORTS_START( cps2 ) | ^~~~~~~~~~~~~~~~~ src/sndhrdw/invinco.c: In function 'invinco_sh_port2_w': src/sndhrdw/invinco.c:54:13: warning: variable 'bitsGoneHigh' set but not used [-Wunused-but-set-variable] 54 | int bitsGoneHigh; | ^~~~~~~~~~~~ Compiling src/machine/sega_machine.c... src/sndhrdw/pulsar.c: In function 'pulsar_sh_port1_w': src/sndhrdw/pulsar.c:75:13: warning: variable 'bitsGoneHigh' set but not used [-Wunused-but-set-variable] 75 | int bitsGoneHigh; | ^~~~~~~~~~~~ Compiling src/drivers/sega.c... Compiling src/vidhrdw/segar_vidhrdw.c... Compiling src/sndhrdw/segar_sndhrdw.c... Compiling src/machine/segar_machine.c... Compiling src/drivers/segar.c... 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... src/vidhrdw/segar_vidhrdw.c: In function 'video_update_spaceod': src/vidhrdw/segar_vidhrdw.c:412:13: warning: variable 'sprite_transparency' set but not used [-Wunused-but-set-variable] 412 | int sprite_transparency; | ^~~~~~~~~~~~~~~~~~~ Compiling src/machine/turbo_machine.c... Compiling src/vidhrdw/turbo_vidhrdw.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=] 192 | static MEMORY_WRITE_START( speech_writemem ) | ^~~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #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' 192 | static MEMORY_WRITE_START( speech_writemem ) | ^~~~~~~~~~~~~~~~~~ src/drivers/sega.c:187:27: warning: 'speech_readmem' defined but not used [-Wunused-const-variable=] 187 | static MEMORY_READ_START( speech_readmem ) | ^~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #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' 187 | static MEMORY_READ_START( speech_readmem ) | ^~~~~~~~~~~~~~~~~ Compiling src/drivers/turbo.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:189:43: warning: 'input_ports_rockmanj' defined but not used [-Wunused-const-variable=] 189 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/cps1.c:3486:1: note: in expansion of macro 'INPUT_PORTS_START' 3486 | INPUT_PORTS_START( rockmanj ) | ^~~~~~~~~~~~~~~~~ Compiling src/drivers/kopunch.c... 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... 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=] 243 | static MEMORY_WRITE_START( speech_writemem ) | ^~~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #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' 243 | static MEMORY_WRITE_START( speech_writemem ) | ^~~~~~~~~~~~~~~~~~ src/drivers/segar.c:238:27: warning: 'speech_readmem' defined but not used [-Wunused-const-variable=] 238 | static MEMORY_READ_START( speech_readmem ) | ^~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #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' 238 | static MEMORY_READ_START( speech_readmem ) | ^~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/angelkds_vidhrdw.c... Compiling src/drivers/angelkds.c... Compiling src/vidhrdw/system1_vidhrdw.c... Compiling src/drivers/system1.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] 77 | static READ_HANDLER( pip_r ) | ^~~~~ src/memory.h:126:50: note: in definition of macro 'READ_HANDLER' 126 | #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) | ^~~~ 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... Compiling src/sndhrdw/system16_sndhrdw.c... Compiling src/drivers/system16.c... Compiling src/drivers/aburner.c... Compiling src/drivers/outrun.c... Compiling src/drivers/sharrier.c... Compiling src/drivers/system18.c... src/vidhrdw/segasyse_vidhrdw.c: In function 'segae_drawtilesline': src/vidhrdw/segasyse_vidhrdw.c:457:50: warning: variable 'flipy' set but not used [-Wunused-but-set-variable] 457 | UINT8 palette, priority, flipx, flipy; | ^~~~~ Compiling src/drivers/system24.c... Compiling src/machine/system24_machine.c... Compiling src/vidhrdw/system24_vidhrdw.c... Compiling src/vidhrdw/segaic24.c... Compiling src/drivers/system32.c... Compiling src/drivers/multi32.c... Compiling src/vidhrdw/system32_vidhrdw.c... Compiling src/vidhrdw/segac2_vidhrdw.c... Compiling src/drivers/segac2.c... Compiling src/drivers/stv.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:189:43: warning: 'input_ports_shtngmst' defined but not used [-Wunused-const-variable=] 189 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/system1.c:1380:1: note: in expansion of macro 'INPUT_PORTS_START' 1380 | INPUT_PORTS_START( shtngmst ) | ^~~~~~~~~~~~~~~~~ Compiling src/drivers/stvhacks.c... Compiling src/machine/stvcd.c... Compiling src/machine/scudsp.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:189:43: warning: 'input_ports_sys32_4p' defined but not used [-Wunused-const-variable=] 189 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/system32.c:1254:1: note: in expansion of macro 'INPUT_PORTS_START' 1254 | INPUT_PORTS_START( sys32_4p ) | ^~~~~~~~~~~~~~~~~ In file included from src/driver.h:64: src/drivers/system32.c:869:25: warning: 'jp_v60_write_cab' defined but not used [-Wunused-function] 869 | static WRITE16_HANDLER( jp_v60_write_cab ) | ^~~~~~~~~~~~~~~~ src/memory.h:129:42: note: in definition of macro 'WRITE16_HANDLER' 129 | #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] 625 | static READ16_HANDLER(sys32_read_ff) | ^~~~~~~~~~~~~ src/memory.h:128:42: note: in definition of macro 'READ16_HANDLER' 128 | #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] 492 | static WRITE16_HANDLER(system32_eeprom_w) | ^~~~~~~~~~~~~~~~~ src/memory.h:129:42: note: in definition of macro 'WRITE16_HANDLER' 129 | #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] 487 | static READ16_HANDLER(system32_eeprom_r) | ^~~~~~~~~~~~~~~~~ src/memory.h:128:42: note: in definition of macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ Compiling src/vidhrdw/stvvdp1_vidhrdw.c... src/drivers/stv.c: In function 'do_cd_command': src/drivers/stv.c:1455:67: warning: pointer targets in passing argument 2 of 'cdb_inject_file_info' differ in signedness [-Wpointer-sign] 1455 | cdb_inject_file_info(fid, cdb_sat_file_info); | ^~~~~~~~~~~~~~~~~ | | | char * In file included from src/drivers/stv.c:97: src/machine/stvcd.h:7:47: note: expected 'UINT8 *' {aka 'unsigned char *'} but argument is of type 'char *' 7 | void cdb_inject_file_info(UINT32 fid, UINT8 * dst); | ~~~~~~~~^~~ 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] 243 | for (i = 0; i < 24; i++) | ^~~ src/vidhrdw/segac2_vidhrdw.c:245:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 245 | vdp_cmdpart = 0; | ^~~~~~~~~~~ Compiling src/vidhrdw/stvvdp2_vidhrdw.c... Compiling src/vidhrdw/deniam_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] 126 | static READ16_HANDLER(sys32_read_ff) | ^~~~~~~~~~~~~ src/memory.h:128:42: note: in definition of macro 'READ16_HANDLER' 128 | #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] 116 | static WRITE16_HANDLER(system32_eeprom_w) | ^~~~~~~~~~~~~~~~~ src/memory.h:129:42: note: in definition of macro 'WRITE16_HANDLER' 129 | #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] 111 | static READ16_HANDLER(system32_eeprom_r) | ^~~~~~~~~~~~~~~~~ src/memory.h:128:42: note: in definition of macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ Compiling src/drivers/deniam.c... Compiling src/machine/btime_machine.c... Compiling src/vidhrdw/btime_vidhrdw.c... Compiling src/drivers/btime.c... src/vidhrdw/stvvdp2_vidhrdw.c: In function 'stv_vdp2_draw_basic_tilemap': src/vidhrdw/stvvdp2_vidhrdw.c:1768:27: warning: variable 'mpsize_dwords' set but not used [-Wunused-but-set-variable] 1768 | int mpsize_bytes, mpsize_dwords; | ^~~~~~~~~~~~~ src/vidhrdw/stvvdp2_vidhrdw.c:1763:27: warning: variable 'plsize_dwords' set but not used [-Wunused-but-set-variable] 1763 | int plsize_bytes, plsize_dwords; | ^~~~~~~~~~~~~ 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] 311 | static READ32_HANDLER( dnmtdeka_speedup_r ) | ^~~~~~~~~~~~~~~~~~ src/memory.h:130:42: note: in definition of macro 'READ32_HANDLER' 130 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) | ^~~~ Compiling src/machine/decocass_machine.c... src/machine/stvcd.c:456:13: warning: 'iso_build_disc_bin' defined but not used [-Wunused-function] 456 | static void iso_build_disc_bin(void){ | ^~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/decocass_vidhrdw.c... Compiling src/drivers/decocass.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:189:43: warning: 'input_ports_genesis' defined but not used [-Wunused-const-variable=] 189 | static const struct InputPortTiny input_ports_##name[] = { | ^~~~~~~~~~~~ src/drivers/segac2.c:2747:1: note: in expansion of macro 'INPUT_PORTS_START' 2747 | INPUT_PORTS_START( genesis ) /* Genesis Input Ports */ | ^~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/astrof_vidhrdw.c... In file included from src/driver.h:64: src/drivers/segac2.c:1500:26: warning: 'genesis_z80_ram_w' defined but not used [-Wunused-function] 1500 | static WRITE16_HANDLER ( genesis_z80_ram_w ) | ^~~~~~~~~~~~~~~~~ src/memory.h:129:42: note: in definition of macro 'WRITE16_HANDLER' 129 | #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] 1340 | static READ16_HANDLER( megaplay_instr_r ) | ^~~~~~~~~~~~~~~~ src/memory.h:128:42: note: in definition of macro 'READ16_HANDLER' 128 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) | ^~~~ Compiling src/sndhrdw/astrof_sndhrdw.c... Compiling src/drivers/astrof.c... Compiling src/vidhrdw/liberate_vidhrdw.c... Compiling src/drivers/liberate.c... Compiling src/vidhrdw/bwing_vidhrdw.c... Compiling src/drivers/bwing.c... Compiling src/vidhrdw/kchamp_vidhrdw.c... Compiling src/drivers/kchamp.c... Compiling src/vidhrdw/firetrap_vidhrdw.c... Compiling src/drivers/firetrap.c... Compiling src/vidhrdw/brkthru_vidhrdw.c... Compiling src/drivers/brkthru.c... Compiling src/vidhrdw/metlclsh_vidhrdw.c... src/vidhrdw/liberate_vidhrdw.c: In function 'video_update_prosport': src/vidhrdw/liberate_vidhrdw.c:385:24: warning: variable 'color' set but not used [-Wunused-but-set-variable] 385 | int mx,my,tile,color,offs; | ^~~~~ 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/decocrpt.c... Compiling src/machine/decoprot.c... Compiling src/vidhrdw/deco16ic.c... Compiling src/machine/dec0_machine.c... Compiling src/vidhrdw/dec0_vidhrdw.c... Compiling src/drivers/dec0.c... Compiling src/vidhrdw/stadhero_vidhrdw.c... Compiling src/drivers/stadhero.c... Compiling src/vidhrdw/madmotor_vidhrdw.c... Compiling src/drivers/madmotor.c... Compiling src/vidhrdw/vaportra_vidhrdw.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/drivers/darkseal.c... src/machine/dec0_machine.c:462:13: warning: 'i8751_callback' defined but not used [-Wunused-function] 462 | static void i8751_callback(int param) | ^~~~~~~~~~~~~~ Compiling src/vidhrdw/supbtime_vidhrdw.c... Compiling src/drivers/supbtime.c... Compiling src/vidhrdw/cninja_vidhrdw.c... Compiling src/drivers/cninja.c... Compiling src/vidhrdw/dassault_vidhrdw.c... Compiling src/drivers/dassault.c... Compiling src/vidhrdw/rohga_vidhrdw.c... Compiling src/drivers/rohga.c... Compiling src/vidhrdw/tumblep_vidhrdw.c... Compiling src/drivers/tumblep.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... Compiling src/drivers/deco32.c... Compiling src/vidhrdw/avengrgs_vidhrdw.c... src/vidhrdw/lemmings_vidhrdw.c: In function 'lemmings_pixel_1_w': src/vidhrdw/lemmings_vidhrdw.c:157:23: warning: variable 'old' set but not used [-Wunused-but-set-variable] 157 | int sx,sy,src,old,tile; | ^~~ Compiling src/drivers/avengrgs.c... Compiling src/vidhrdw/sshangha_vidhrdw.c... Compiling src/drivers/sshangha.c... Compiling src/sndhrdw/senjyo_sndhrdw.c... src/vidhrdw/deco32_vidhrdw.c: In function 'tilemap_raster_draw': src/vidhrdw/deco32_vidhrdw.c:1235:23: warning: variable 'sy0' set but not used [-Wunused-but-set-variable] 1235 | int ptr=0,sx0,sy0,sx1,sy1,start,end=0; | ^~~ src/vidhrdw/deco32_vidhrdw.c:1235:19: warning: variable 'sx0' set but not used [-Wunused-but-set-variable] 1235 | int ptr=0,sx0,sy0,sx1,sy1,start,end=0; | ^~~ Compiling src/vidhrdw/senjyo_vidhrdw.c... Compiling src/drivers/senjyo.c... Compiling src/vidhrdw/bombjack_vidhrdw.c... Compiling src/drivers/bombjack.c... Compiling src/vidhrdw/pbaction_vidhrdw.c... Compiling src/drivers/pbaction.c... Compiling src/vidhrdw/tehkanwc_vidhrdw.c... Compiling src/drivers/tehkanwc.c... Compiling src/vidhrdw/solomon_vidhrdw.c... Compiling src/drivers/solomon.c... Compiling src/vidhrdw/tecmo_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/wc90_vidhrdw.c... Compiling src/drivers/wc90.c... Compiling src/vidhrdw/wc90b_vidhrdw.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/tecmo16.c... Compiling src/drivers/tecmosys.c... Compiling src/machine/scramble_machine.c... Compiling src/sndhrdw/scramble_sndhrdw.c... Compiling src/drivers/scramble.c... 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... Compiling src/drivers/junofrst.c... Compiling src/vidhrdw/pooyan_vidhrdw.c... Compiling src/drivers/pooyan.c... Compiling src/vidhrdw/timeplt_vidhrdw.c... Compiling src/drivers/timeplt.c... Compiling src/sndhrdw/timeplt_sndhrdw.c... Compiling src/vidhrdw/megazone_vidhrdw.c... src/machine/scramble_machine.c: In function 'init_billiard': src/machine/scramble_machine.c:1385:32: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 1385 | if (bits[3] ^ (!bits[0] & bits[2])) xormask ^= 0x08; | ^~~~~~~~ Compiling src/drivers/megazone.c... src/machine/scramble_machine.c:1386:32: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 1386 | if (bits[5] ^ (!bits[4] & bits[1])) xormask ^= 0x10; | ^~~~~~~~ src/machine/scramble_machine.c:1389:32: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 1389 | if (bits[7] ^ (!bits[1] & bits[0])) xormask ^= 0x80; | ^~~~~~~~ Compiling src/vidhrdw/pandoras_vidhrdw.c... src/vidhrdw/tutankhm_vidhrdw.c: In function 'junofrst_blitter_w': src/vidhrdw/tutankhm_vidhrdw.c:143:31: warning: variable 'destflag' set but not used [-Wunused-but-set-variable] 143 | unsigned char destflag; | ^~~~~~~~ Compiling src/drivers/pandoras.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... Compiling src/vidhrdw/rocnrope_vidhrdw.c... Compiling src/drivers/rocnrope.c... Compiling src/vidhrdw/circusc_vidhrdw.c... Compiling src/drivers/circusc.c... Compiling src/vidhrdw/tp84_vidhrdw.c... Compiling src/drivers/tp84.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/mikie.c... Compiling src/vidhrdw/yiear_vidhrdw.c... Compiling src/drivers/yiear.c... Compiling src/vidhrdw/shaolins_vidhrdw.c... Compiling src/drivers/shaolins.c... Compiling src/vidhrdw/pingpong_vidhrdw.c... Compiling src/drivers/pingpong.c... Compiling src/vidhrdw/gberet_vidhrdw.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/vidhrdw/ddrible_vidhrdw.c... Compiling src/drivers/ddrible.c... Compiling src/vidhrdw/contra_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/drivers/labyrunr.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] 2077 | else | ^~~~ src/vidhrdw/konamiic.c:2080:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2080 | addr = (code << 5) + (offset & 0x1f); | ^~~~ Compiling src/drivers/bladestl.c... Compiling src/machine/ajax_machine.c... Compiling src/vidhrdw/ajax_vidhrdw.c... Compiling src/drivers/ajax.c... Compiling src/vidhrdw/thunderx_vidhrdw.c... Compiling src/drivers/thunderx.c... Compiling src/vidhrdw/mainevt_vidhrdw.c... Compiling src/drivers/mainevt.c... src/vidhrdw/konamiic.c: In function 'K056832_update_linemap': Compiling src/vidhrdw/88games_vidhrdw.c... src/vidhrdw/konamiic.c:6350:33: warning: variable 'code_opaque' set but not used [-Wunused-but-set-variable] 6350 | UINT8 code_transparent, code_opaque; | ^~~~~~~~~~~ src/vidhrdw/konamiic.c:6347:31: warning: variable 'src_modulo' set but not used [-Wunused-but-set-variable] 6347 | int count, src_pitch, src_modulo; | ^~~~~~~~~~ src/vidhrdw/konamiic.c:6347:20: warning: variable 'src_pitch' set but not used [-Wunused-but-set-variable] 6347 | int count, src_pitch, src_modulo; | ^~~~~~~~~ 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/vidhrdw/aliens_vidhrdw.c... Compiling src/drivers/aliens.c... Compiling src/vidhrdw/surpratk_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/drivers/rollerg.c... Compiling src/vidhrdw/xexex_vidhrdw.c... Compiling src/drivers/xexex.c... Compiling src/vidhrdw/asterix_vidhrdw.c... Compiling src/drivers/asterix.c... Compiling src/vidhrdw/gijoe_vidhrdw.c... Compiling src/drivers/gijoe.c... Compiling src/machine/simpsons_machine.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/drivers/wecleman.c... Compiling src/vidhrdw/chqflag_vidhrdw.c... Compiling src/drivers/chqflag.c... Compiling src/vidhrdw/ultraman_vidhrdw.c... Compiling src/drivers/ultraman.c... src/vidhrdw/gijoe_vidhrdw.c: In function 'video_update_gijoe': src/vidhrdw/gijoe_vidhrdw.c:82:47: warning: variable 'primode' set but not used [-Wunused-but-set-variable] 82 | int vrc_mode, vrc_new, colorbase_new, primode, dirty, i; | ^~~~~~~ Compiling src/vidhrdw/hexion_vidhrdw.c... Compiling src/drivers/hexion.c... Compiling src/vidhrdw/twin16_vidhrdw.c... Compiling src/drivers/twin16.c... Compiling src/vidhrdw/tmnt_vidhrdw.c... Compiling src/drivers/tmnt.c... Compiling src/vidhrdw/xmen_vidhrdw.c... src/vidhrdw/wecleman_vidhrdw.c: In function 'do_blit_zoom16': src/vidhrdw/wecleman_vidhrdw.c:321:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 321 | ebx += (int)src_base; | ^ src/vidhrdw/wecleman_vidhrdw.c:328:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 328 | eax = *((char *)ebx + eax); | ^ src/vidhrdw/wecleman_vidhrdw.c:352:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 352 | ebx += (int)src_base; | ^ src/vidhrdw/wecleman_vidhrdw.c:359:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 359 | eax = *((char *)ebx + eax); | ^ src/vidhrdw/wecleman_vidhrdw.c:389:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 389 | ebx += (int)src_base; | ^ src/vidhrdw/wecleman_vidhrdw.c:396:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 396 | eax = *((char *)ebx + eax); | ^ src/drivers/wecleman.c: In function 'hotchase_sound_control_w': src/drivers/wecleman.c:780:13: warning: variable 'reg' set but not used [-Wunused-but-set-variable] 780 | int reg[8]; | ^~~ Compiling src/drivers/xmen.c... src/vidhrdw/wecleman_vidhrdw.c: In function 'wecleman_draw_cloud': src/vidhrdw/wecleman_vidhrdw.c:810:42: warning: variable 'pal_advance' set but not used [-Wunused-but-set-variable] 810 | int src_advance, src_advance_l2, pal_advance, pal_advance_l2; | ^~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:810:13: warning: variable 'src_advance' set but not used [-Wunused-but-set-variable] 810 | int src_advance, src_advance_l2, pal_advance, pal_advance_l2; | ^~~~~~~~~~~ Compiling src/vidhrdw/overdriv_vidhrdw.c... Compiling src/drivers/overdriv.c... Compiling src/vidhrdw/gradius3_vidhrdw.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... Compiling src/vidhrdw/dbz2_vidhrdw.c... Compiling src/drivers/dbz2.c... Compiling src/vidhrdw/bishi_vidhrdw.c... Compiling src/drivers/bishi.c... Compiling src/machine/konamigx_machine.c... src/vidhrdw/moo_vidhrdw.c: In function 'video_update_moo': src/vidhrdw/moo_vidhrdw.c:106:13: warning: variable 'bg_colorbase' set but not used [-Wunused-but-set-variable] 106 | int bg_colorbase, new_colorbase, plane, dirty, alpha; | ^~~~~~~~~~~~ Compiling src/vidhrdw/konamigx_vidhrdw.c... Compiling src/drivers/konamigx.c... Compiling src/vidhrdw/djmain_vidhrdw.c... Compiling src/drivers/djmain.c... Compiling src/vidhrdw/plygonet_vidhrdw.c... Compiling src/drivers/plygonet.c... Compiling src/drivers/mogura.c... Compiling src/machine/am53cf96.c... Compiling src/drivers/konamigq.c... Compiling src/machine/carpolo_machine.c... Compiling src/vidhrdw/carpolo_vidhrdw.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] 823 | static INTERRUPT_GEN(audio_interrupt) | ^~~~~~~~~~~~~~~ src/driver.h:21:46: note: in definition of macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ Compiling src/drivers/carpolo.c... Compiling src/vidhrdw/exidy_vidhrdw.c... Compiling src/sndhrdw/exidy_sndhrdw.c... Compiling src/drivers/exidy.c... Compiling src/sndhrdw/targ.c... src/machine/konamigx_machine.c: In function 'zdrawgfxzoom32GP': src/machine/konamigx_machine.c:515:29: warning: variable 'db1' set but not used [-Wunused-but-set-variable] 515 | UINT8 z8, db0, p8, db1; | ^~~ src/machine/konamigx_machine.c:515:20: warning: variable 'db0' set but not used [-Wunused-but-set-variable] 515 | UINT8 z8, db0, p8, db1; | ^~~ Compiling src/vidhrdw/circus_vidhrdw.c... Compiling src/drivers/circus.c... src/machine/konamigx_machine.c: In function 'konamigx_mixer': src/machine/konamigx_machine.c:1279:56: warning: variable 'prflp' set but not used [-Wunused-but-set-variable] 1279 | int wrapsize, xwraplim, ywraplim, cltc_shdpri, prflp, disp; | ^~~~~ src/machine/konamigx_machine.c: In function 'K053990_martchmp_word_w': Compiling src/vidhrdw/starfire_vidhrdw.c... src/machine/konamigx_machine.c:2002:23: warning: variable 'dst_count' set but not used [-Wunused-but-set-variable] 2002 | int dst_addr, dst_count, dst_skip; | ^~~~~~~~~ src/machine/konamigx_machine.c: In function 'konamigx_esc_alert': src/machine/konamigx_machine.c:2110:82: warning: variable 'hmask' set but not used [-Wunused-but-set-variable] 2110 | INT32 data1, data2, i, j, vpos, hpos, voffs, hoffs, vcorr, hcorr, vmask, hmask, magicid; | ^~~~~ src/machine/am53cf96.c: In function 'am53cf96_w': src/machine/am53cf96.c:88:23: warning: variable 'dma' set but not used [-Wunused-but-set-variable] 88 | int reg, val, dma; | ^~~ Compiling src/drivers/starfire.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] 1399 | static INTERRUPT_GEN(gxaudio_interrupt) | ^~~~~~~~~~~~~~~~~ src/driver.h:21:46: note: in definition of macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ src/drivers/konamigx.c:652:12: warning: 'konamigx_irq_callback' defined but not used [-Wunused-function] 652 | static int konamigx_irq_callback(int irqline) | ^~~~~~~~~~~~~~~~~~~~~ src/drivers/konamigx.c:208:12: warning: 'pri_comp' defined but not used [-Wunused-function] 208 | static int pri_comp(const void *s1, const void *s2) | ^~~~~~~~ src/vidhrdw/carpolo_vidhrdw.c: In function 'palette_init_carpolo': src/vidhrdw/carpolo_vidhrdw.c:103:31: warning: variable 'bit2' set but not used [-Wunused-but-set-variable] 103 | int bit0,bit1,bit2; | ^~~~ src/vidhrdw/carpolo_vidhrdw.c:103:26: warning: variable 'bit1' set but not used [-Wunused-but-set-variable] 103 | int bit0,bit1,bit2; | ^~~~ src/vidhrdw/carpolo_vidhrdw.c:103:21: warning: variable 'bit0' set but not used [-Wunused-but-set-variable] 103 | int bit0,bit1,bit2; | ^~~~ Compiling src/vidhrdw/victory_vidhrdw.c... Compiling src/drivers/victory.c... Compiling src/sndhrdw/exidy440_sndhrdw.c... Compiling src/vidhrdw/exidy440_vidhrdw.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] 156 | if (video_start_generic()) | ^~ src/vidhrdw/exidy_vidhrdw.c:159:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 159 | 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] 160 | if (!motion_object_1_vid) | ^~ src/vidhrdw/exidy_vidhrdw.c:163:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 163 | 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] 164 | if (!motion_object_2_vid) | ^~ src/vidhrdw/exidy_vidhrdw.c:167:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 167 | motion_object_2_clip = auto_bitmap_alloc(16, 16); | ^~~~~~~~~~~~~~~~~~~~ src/vidhrdw/circus_vidhrdw.c: In function 'ripcord_draw_skydiver': src/vidhrdw/circus_vidhrdw.c:274:33: warning: variable 'clip' set but not used [-Wunused-but-set-variable] 274 | const struct rectangle *clip; | ^~~~ Compiling src/drivers/exidy440.c... Compiling src/machine/atari_vg.c... Compiling src/vidhrdw/tia.c... Compiling src/drivers/tourtabl.c... Compiling src/machine/asteroid_machine.c... Compiling src/sndhrdw/asteroid_sndhrdw.c... Compiling src/drivers/asteroid.c... Compiling src/sndhrdw/llander.c... Compiling src/drivers/bwidow.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... src/sndhrdw/exidy440_sndhrdw.c: In function 'mix_to_16': src/sndhrdw/exidy440_sndhrdw.c:289:16: warning: unused variable 'clippers' [-Wunused-variable] 289 | int i, clippers = 0; | ^~~~~~~~ Compiling src/drivers/starwars.c... Compiling src/sndhrdw/starwars_sndhrdw.c... Compiling src/machine/mhavoc_machine.c... 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/drivers/sprint4.c... Compiling src/vidhrdw/sprint8_vidhrdw.c... Compiling src/drivers/sprint8.c... Compiling src/vidhrdw/nitedrvr_vidhrdw.c... 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... Compiling src/drivers/dragrace.c... Compiling src/vidhrdw/poolshrk_vidhrdw.c... Compiling src/drivers/poolshrk.c... src/vidhrdw/nitedrvr_vidhrdw.c:82:13: warning: 'nitedrvr_draw_hacks' defined but not used [-Wunused-function] 82 | static void nitedrvr_draw_hacks( struct mame_bitmap *bitmap ) | ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/starshp1_vidhrdw.c... Compiling src/drivers/starshp1.c... Compiling src/vidhrdw/canyon_vidhrdw.c... Compiling src/drivers/canyon.c... Compiling src/vidhrdw/destroyr_vidhrdw.c... Compiling src/drivers/destroyr.c... Compiling src/drivers/ultratnk.c... Compiling src/vidhrdw/wolfpack_vidhrdw.c... Compiling src/drivers/wolfpack.c... Compiling src/vidhrdw/boxer_vidhrdw.c... Compiling src/drivers/boxer.c... Compiling src/vidhrdw/skyraid_vidhrdw.c... Compiling src/drivers/skyraid.c... Compiling src/machine/avalnche_machine.c... Compiling src/vidhrdw/avalnche_vidhrdw.c... Compiling src/drivers/avalnche.c... Compiling src/drivers/firetrk.c... Compiling src/vidhrdw/firetrk_vidhrdw.c... Compiling src/vidhrdw/skydiver_vidhrdw.c... Compiling src/drivers/skydiver.c... Compiling src/machine/sbrkout_machine.c... Compiling src/vidhrdw/sbrkout_vidhrdw.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... 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... Compiling src/vidhrdw/jedi_vidhrdw.c... Compiling src/drivers/jedi.c... Compiling src/machine/atarigen.c... Compiling src/sndhrdw/atarijsa.c... Compiling src/vidhrdw/atarimo_vidhrdw.c... Compiling src/vidhrdw/atarirle_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] 311 | if ((tmpbitmap = auto_bitmap_alloc(Machine->drv->screen_width, Machine->drv->screen_height)) == 0) | ^~ src/vidhrdw/liberatr_vidhrdw.c:314:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 314 | if ((liberatr_videoram = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height)) == 0) | ^~ Compiling src/machine/slapstic.c... Compiling src/vidhrdw/atarisy1_vidhrdw.c... Compiling src/drivers/atarisy1.c... src/vidhrdw/cloud9_vidhrdw.c: In function 'video_update_cloud9': src/vidhrdw/cloud9_vidhrdw.c:262:40: warning: variable 'lblank' set but not used [-Wunused-but-set-variable] 262 | int xflip,yflip,rblank,lblank; | ^~~~~~ src/vidhrdw/cloud9_vidhrdw.c:262:33: warning: variable 'rblank' set but not used [-Wunused-but-set-variable] 262 | int xflip,yflip,rblank,lblank; | ^~~~~~ 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... src/vidhrdw/atarirle_vidhrdw.c: In function 'prescan_rle': src/vidhrdw/atarirle_vidhrdw.c:678:36: warning: variable 'value' set but not used [-Wunused-but-set-variable] 678 | int count, value; | ^~~~~ src/vidhrdw/atarirle_vidhrdw.c: In function 'sort_and_render': src/vidhrdw/atarirle_vidhrdw.c:848:33: warning: variable 'dy' set but not used [-Wunused-but-set-variable] 848 | int dx, dy, ex, ey, sx = x, sy = y, tx, ty; | ^~ src/vidhrdw/atarirle_vidhrdw.c:848:29: warning: variable 'dx' set but not used [-Wunused-but-set-variable] 848 | int dx, dy, ex, ey, sx = x, sy = y, tx, ty; | ^~ src/vidhrdw/atarirle_vidhrdw.c:804:26: warning: variable 'which' set but not used [-Wunused-but-set-variable] 804 | int scale, code, which; | ^~~~~ Compiling src/drivers/harddriv.c... 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/vidhrdw/xybots_vidhrdw.c... Compiling src/drivers/xybots.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/drivers/cyberbal.c... Compiling src/vidhrdw/rampart_vidhrdw.c... Compiling src/drivers/rampart.c... Compiling src/vidhrdw/shuuz_vidhrdw.c... Compiling src/drivers/shuuz.c... Compiling src/vidhrdw/atarig1_vidhrdw.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=] 508 | static MEMORY_WRITE16_START( ds3snd_writemem ) | ^~~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #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' 508 | static MEMORY_WRITE16_START( ds3snd_writemem ) | ^~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:478:29: warning: 'ds3snd_readmem' defined but not used [-Wunused-const-variable=] 478 | static MEMORY_READ16_START( ds3snd_readmem ) | ^~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #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' 478 | static MEMORY_READ16_START( ds3snd_readmem ) | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/atarig1.c... Compiling src/vidhrdw/thunderj_vidhrdw.c... Compiling src/drivers/thunderj.c... Compiling src/vidhrdw/batman_vidhrdw.c... Compiling src/drivers/batman.c... Compiling src/vidhrdw/relief_vidhrdw.c... Compiling src/drivers/relief.c... Compiling src/vidhrdw/offtwall_vidhrdw.c... Compiling src/drivers/offtwall.c... 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/drivers/cojag.c... Compiling src/sndhrdw/cage_sndhrdw.c... Compiling src/vidhrdw/rockola_vidhrdw.c... Compiling src/sndhrdw/rockola_sndhrdw.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... Compiling src/vidhrdw/snk_vidhrdw.c... Compiling src/drivers/snk.c... Compiling src/drivers/sgladiat.c... Compiling src/vidhrdw/snk68_vidhrdw.c... Compiling src/drivers/snk68.c... Compiling src/vidhrdw/prehisle_vidhrdw.c... In function 'convert_dirty_grid_to_rects', inlined from 'atarimo_render' at src/vidhrdw/atarimo_vidhrdw.c:683:2: src/vidhrdw/atarimo_vidhrdw.c:547:16: warning: array subscript -1 is below array bounds of 'struct rectangle[1024]' [-Warray-bounds=] 547 | rect = &mo->rectlist[-1]; | ^~~~~~~~~~~~~~~~~ src/vidhrdw/atarimo_vidhrdw.c: In function 'atarimo_render': src/vidhrdw/atarimo_vidhrdw.c:105:33: note: while referencing 'rectlist' 105 | struct rectangle rectlist[ATARIMO_MAXPERBANK]; /* list of bounding rectangles */ | ^~~~~~~~ Compiling src/drivers/prehisle.c... Compiling src/vidhrdw/bbusters_vidhrdw.c... src/drivers/mainsnk.c:31:13: warning: 'init_sound' defined but not used [-Wunused-function] 31 | static void init_sound( int busy_bit ) | ^~~~~~~~~~ Compiling src/drivers/bbusters.c... Compiling src/drivers/shougi.c... Compiling src/machine/equites_machine.c... src/vidhrdw/snk_vidhrdw.c:36:13: warning: 'print' defined but not used [-Wunused-function] 36 | static void print( struct mame_bitmap *bitmap, int num, int row ) | ^~~~~ Compiling src/vidhrdw/equites_vidhrdw.c... Compiling src/drivers/equites.c... Compiling src/vidhrdw/alpha68k_vidhrdw.c... Compiling src/drivers/alpha68k.c... Compiling src/vidhrdw/champbas_vidhrdw.c... Compiling src/drivers/champbas.c... Compiling src/machine/exctsccr_machine.c... Compiling src/vidhrdw/exctsccr_vidhrdw.c... Compiling src/drivers/exctsccr.c... Compiling src/drivers/scregg.c... src/vidhrdw/equites_vidhrdw.c: In function 'video_init_common': src/vidhrdw/equites_vidhrdw.c:49:16: warning: variable 'colortable' set but not used [-Wunused-but-set-variable] 49 | pen_t *colortable; | ^~~~~~~~~~ Compiling src/vidhrdw/tagteam_vidhrdw.c... Compiling src/drivers/tagteam.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] 123 | static READ_HANDLER( hal21_videoram_r ){ return videoram[offset]; } | ^~~~~~~~~~~~~~~~ src/memory.h:126:50: note: in definition of macro 'READ_HANDLER' 126 | #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) | ^~~~ Compiling src/vidhrdw/ssozumo_vidhrdw.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:65: warning: 'scroll' is used uninitialized [-Wuninitialized] 872 | #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) | ~~~~~~~~~~~^~~~~~~~~~~ src/vidhrdw/prehisle_vidhrdw.c:57:9: note: in expansion of macro 'COMBINE_DATA' 57 | COMBINE_DATA(&scroll); | ^~~~~~~~~~~~ src/vidhrdw/prehisle_vidhrdw.c:55:13: note: 'scroll' was declared here 55 | int scroll; | ^~~~~~ Compiling src/drivers/ssozumo.c... Compiling src/vidhrdw/mystston_vidhrdw.c... Compiling src/drivers/mystston.c... Compiling src/vidhrdw/dogfgt_vidhrdw.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] 263 | static double compute_resistor_net_outputs( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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... 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... 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/berzerk.c... Compiling src/drivers/mazerbla.c... Compiling src/drivers/toratora.c... Compiling src/drivers/supdrapo.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] 295 | static WRITE_HANDLER( cpu_sound_command_w ) | ^~~~~~~~~~~~~~~~~~~ src/memory.h:127:42: note: in definition of macro 'WRITE_HANDLER' 127 | #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data) | ^~~~ 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... src/drivers/mazerbla.c: In function 'video_update_mazerbla': src/drivers/mazerbla.c:276:16: warning: variable 'color_base' set but not used [-Wunused-but-set-variable] 276 | UINT32 color_base=0; | ^~~~~~~~~~ Compiling src/drivers/mouser.c... Compiling src/vidhrdw/nova2001_vidhrdw.c... Compiling src/drivers/nova2001.c... Compiling src/vidhrdw/ninjakid_vidhrdw.c... Compiling src/drivers/ninjakid.c... Compiling src/vidhrdw/raiders5_vidhrdw.c... In file included from src/drivers/mazerbla.c:64: src/vidhrdw/res_net.h: At top level: src/vidhrdw/res_net.h:263:15: warning: 'compute_resistor_net_outputs' defined but not used [-Wunused-function] 263 | static double compute_resistor_net_outputs( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/raiders5.c... Compiling src/vidhrdw/pkunwar_vidhrdw.c... Compiling src/drivers/pkunwar.c... Compiling src/vidhrdw/xxmissio_vidhrdw.c... Compiling src/drivers/xxmissio.c... Compiling src/vidhrdw/ninjakd2_vidhrdw.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... src/vidhrdw/ninjakid_vidhrdw.c: In function 'ninjakun_io_8000_w': src/vidhrdw/ninjakid_vidhrdw.c:164:25: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 164 | else | ^~~~ src/vidhrdw/ninjakid_vidhrdw.c:166:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 166 | ninjakun_xscroll = data; | ^~~~~~~~~~~~~~~~ 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/vidhrdw/cchasm_vidhrdw.c... Compiling src/sndhrdw/cchasm_sndhrdw.c... Compiling src/drivers/cchasm.c... Compiling src/vidhrdw/thepit_vidhrdw.c... Compiling src/drivers/thepit.c... Compiling src/vidhrdw/timelimt_vidhrdw.c... Compiling src/drivers/timelimt.c... Compiling src/machine/bagman_machine.c... Compiling src/vidhrdw/bagman_vidhrdw.c... Compiling src/drivers/bagman.c... Compiling src/vidhrdw/tankbust_vidhrdw.c... Compiling src/drivers/tankbust.c... Compiling src/vidhrdw/wiz_vidhrdw.c... src/sndhrdw/cchasm_sndhrdw.c: In function 'cchasm_io_w': Compiling src/drivers/wiz.c... src/sndhrdw/cchasm_sndhrdw.c:85:16: warning: variable 'led' set but not used [-Wunused-but-set-variable] 85 | static int led; | ^~~ Compiling src/vidhrdw/kncljoe_vidhrdw.c... Compiling src/drivers/kncljoe.c... Compiling src/machine/stfight_machine.c... Compiling src/vidhrdw/stfight_vidhrdw.c... Compiling src/drivers/stfight.c... Compiling src/drivers/cshooter.c... Compiling src/sndhrdw/seibu.c... Compiling src/vidhrdw/deadang_vidhrdw.c... Compiling src/drivers/deadang.c... Compiling src/vidhrdw/dynduke_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] 263 | static double compute_resistor_net_outputs( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/dynduke.c... Compiling src/vidhrdw/raiden_vidhrdw.c... Compiling src/drivers/raiden.c... Compiling src/drivers/raiden2.c... Compiling src/vidhrdw/dcon_vidhrdw.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/toki_vidhrdw.c... Compiling src/drivers/toki.c... Compiling src/vidhrdw/bloodbro_vidhrdw.c... Compiling src/drivers/bloodbro.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/vidhrdw/exerion_vidhrdw.c... Compiling src/drivers/exerion.c... Compiling src/drivers/fcombat.c... Compiling src/vidhrdw/aeroboto_vidhrdw.c... Compiling src/drivers/aeroboto.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/vidhrdw/argus_vidhrdw.c... Compiling src/drivers/argus.c... Compiling src/vidhrdw/psychic5_vidhrdw.c... Compiling src/drivers/psychic5.c... Compiling src/vidhrdw/ginganin_vidhrdw.c... Compiling src/drivers/ginganin.c... Compiling src/vidhrdw/skyfox_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/drivers/megasys1.c... Compiling src/vidhrdw/ms32_vidhrdw.c... 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... Compiling src/drivers/f1gp.c... Compiling src/vidhrdw/taotaido_vidhrdw.c... Compiling src/drivers/taotaido.c... Compiling src/vidhrdw/crshrace_vidhrdw.c... Compiling src/drivers/crshrace.c... Compiling src/vidhrdw/gstriker_vidhrdw.c... Compiling src/drivers/gstriker.c... Compiling src/vidhrdw/suprslam_vidhrdw.c... Compiling src/drivers/suprslam.c... Compiling src/vidhrdw/fromanc2_vidhrdw.c... Compiling src/drivers/fromanc2.c... src/vidhrdw/f1gp_vidhrdw.c: In function 'f1gp_drawsprites': src/vidhrdw/f1gp_vidhrdw.c:205:73: warning: variable 'pri' set but not used [-Wunused-but-set-variable] 205 | int ox,oy,x,y,xsize,ysize,zoomx,zoomy,flipx,flipy,color,pri; | ^~~ Compiling src/vidhrdw/inufuku_vidhrdw.c... src/vidhrdw/taotaido_vidhrdw.c: In function 'taotaido_tileregs_w': src/vidhrdw/taotaido_vidhrdw.c:160:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 160 | if(ACCESSING_LSB) | ^~ src/vidhrdw/taotaido_vidhrdw.c:162:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 162 | tilemap_mark_all_tiles_dirty(bg_tilemap); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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... 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/drivers/zodiack.c... Compiling src/vidhrdw/espial_vidhrdw.c... Compiling src/drivers/espial.c... Compiling src/vidhrdw/vastar_vidhrdw.c... Compiling src/drivers/vastar.c... Compiling src/vidhrdw/xorworld_vidhrdw.c... Compiling src/drivers/xorworld.c... Compiling src/vidhrdw/splash_vidhrdw.c... Compiling src/drivers/splash.c... Compiling src/vidhrdw/thoop2_vidhrdw.c... Compiling src/drivers/thoop2.c... In file included from src/drivers/zodiack.c:21: src/driver.h:98:14: warning: 'construct_moguchan' defined but not used [-Wunused-function] 98 | void construct_##game(struct InternalMachineDriver *machine) \ | ^~~~~~~~~~ src/drivers/zodiack.c:542:8: note: in expansion of macro 'MACHINE_DRIVER_START' 542 | static MACHINE_DRIVER_START( moguchan ) | ^~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/gaelco_vidhrdw.c... src/sndhrdw/leland_sndhrdw.c: In function 'pit8254_r': src/sndhrdw/leland_sndhrdw.c:1561:31: warning: variable 'ctr' set but not used [-Wunused-but-set-variable] 1561 | struct counter_state *ctr; | ^~~ Compiling src/drivers/gaelco.c... Compiling src/machine/wrally_machine.c... Compiling src/vidhrdw/wrally_vidhrdw.c... Compiling src/drivers/wrally.c... Compiling src/vidhrdw/targeth_vidhrdw.c... Compiling src/drivers/targeth.c... Compiling src/machine/gaelco2_machine.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/drivers/airbustr.c... Compiling src/vidhrdw/djboy_vidhrdw.c... Compiling src/drivers/djboy.c... Compiling src/vidhrdw/galpanic_vidhrdw.c... Compiling src/drivers/galpanic.c... Compiling src/vidhrdw/galpani2_vidhrdw.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... Compiling src/drivers/suprnova.c... Compiling src/machine/pd4990a.c... Compiling src/machine/neocrypt.c... Compiling src/machine/neogeo_machine.c... Compiling src/vidhrdw/neogeo_vidhrdw.c... Compiling src/drivers/neogeo.c... Compiling src/vidhrdw/hanaawas_vidhrdw.c... Compiling src/drivers/hanaawas.c... Compiling src/vidhrdw/speedatk_vidhrdw.c... Compiling src/drivers/speedatk.c... src/drivers/kaneko16.c: In function 'gtmr_wheel_r': src/drivers/kaneko16.c:1192:42: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 1192 | if ( (readinputport(4) & 0x1800) == 0x10) // DSW setting | ^~ Compiling src/vidhrdw/srmp2_vidhrdw.c... Compiling src/drivers/srmp2.c... src/vidhrdw/suprnova_vidhrdw.c: In function 'skns_drawsprites': src/vidhrdw/suprnova_vidhrdw.c:276:47: warning: variable 'pri' set but not used [-Wunused-but-set-variable] 276 | 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:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 703 | if (!(skns_v3_regs[0x0c/4] & 0x0100)); // if tilemap b is in 8bpp mode | ^~ src/vidhrdw/suprnova_vidhrdw.c:704:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 704 | { | ^ src/vidhrdw/suprnova_vidhrdw.c:729:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 729 | if (skns_v3_regs[0x0c/4] & 0x0100); // if tilemap b is in 4bpp mode | ^~ src/vidhrdw/suprnova_vidhrdw.c:730:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 730 | { | ^ Compiling src/vidhrdw/seta_vidhrdw.c... Compiling src/drivers/seta.c... src/drivers/suprnova.c: In function 'palette_set_rgb_brightness': src/drivers/suprnova.c:784:34: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] 784 | int use_bright, r, g, b, alpha; | ^~~~~ src/drivers/suprnova.c: In function 'skns_palette_ram_w': src/drivers/suprnova.c:892:55: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] 892 | int brightness_r, brightness_g, brightness_b, alpha; | ^~~~~ Compiling src/vidhrdw/seta2_vidhrdw.c... src/machine/neogeo_machine.c: In function 'init_neogeo': src/machine/neogeo_machine.c:109:19: warning: variable 'mem16' set but not used [-Wunused-but-set-variable] 109 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); | ^~~~~ Compiling src/drivers/seta2.c... Compiling src/vidhrdw/ssv_vidhrdw.c... Compiling src/drivers/ssv.c... Compiling src/vidhrdw/powerins_vidhrdw.c... Compiling src/drivers/powerins.c... Compiling src/vidhrdw/ohmygod_vidhrdw.c... Compiling src/drivers/ohmygod.c... Compiling src/vidhrdw/blmbycar_vidhrdw.c... Compiling src/drivers/blmbycar.c... Compiling src/vidhrdw/route16_vidhrdw.c... Compiling src/drivers/route16.c... Compiling src/vidhrdw/ttmahjng_vidhrdw.c... Compiling src/drivers/ttmahjng.c... Compiling src/vidhrdw/kangaroo_vidhrdw.c... Compiling src/drivers/kangaroo.c... Compiling src/vidhrdw/arabian_vidhrdw.c... src/vidhrdw/route16_vidhrdw.c: In function 'route16_out0_w': src/vidhrdw/route16_vidhrdw.c:77:42: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 77 | video_disable_1 = ((data & 0x02) << 6) && route16_hardware; | ~~~~~~~~~~~~~~~^~~~~ src/vidhrdw/route16_vidhrdw.c: In function 'route16_out1_w': src/vidhrdw/route16_vidhrdw.c:96:42: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 96 | video_disable_2 = ((data & 0x02) << 6 ) && route16_hardware; | ~~~~~~~~~~~~~~~^~~~~~ 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... src/vidhrdw/arabian_vidhrdw.c: In function 'palette_init_arabian': src/vidhrdw/arabian_vidhrdw.c:96:38: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 96 | int rlo = planea ? ((!arhf & az) ? 0 : ar) : enb ? br : 0; | ^~~~~ src/vidhrdw/arabian_vidhrdw.c:127:38: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 127 | int glo = planea ? ((!aghf & az) ? 0 : ag) : enb ? bg : 0; | ^~~~~ src/vidhrdw/arabian_vidhrdw.c:148:30: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 148 | int bbase = (!abhf & az) ? 0 : ab; | ^~~~~ 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/vidhrdw/suna8_vidhrdw.c... Compiling src/drivers/suna8.c... Compiling src/vidhrdw/suna16_vidhrdw.c... Compiling src/drivers/suna16.c... Compiling src/vidhrdw/gundealr_vidhrdw.c... Compiling src/drivers/gundealr.c... Compiling src/vidhrdw/dooyong_vidhrdw.c... Compiling src/drivers/dooyong.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/drivers/zerozone.c... Compiling src/vidhrdw/galspnbl_vidhrdw.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/drivers/playmark.c... Compiling src/vidhrdw/thief_vidhrdw.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... Compiling src/drivers/hyprduel.c... Compiling src/vidhrdw/spcforce_vidhrdw.c... Compiling src/drivers/spcforce.c... Compiling src/drivers/looping.c... Compiling src/vidhrdw/paradise_vidhrdw.c... Compiling src/drivers/paradise.c... Compiling src/vidhrdw/yunsung8_vidhrdw.c... Compiling src/drivers/yunsung8.c... Compiling src/vidhrdw/yunsun16_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... Compiling src/drivers/unico.c... Compiling src/vidhrdw/silkroad_vidhrdw.c... Compiling src/drivers/silkroad.c... src/drivers/metro.c: In function 'init_karatour': src/drivers/metro.c:4178:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4178 | for (i = 0;i < memory_region_length(REGION_USER1)/2;i++) | ^~~ src/drivers/metro.c:4180:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4180 | init_metro(); | ^~~~~~~~~~ Compiling src/vidhrdw/afega_vidhrdw.c... Compiling src/drivers/afega.c... Compiling src/vidhrdw/esd16_vidhrdw.c... Compiling src/drivers/esd16.c... Compiling src/drivers/royalmah.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] 168 | static READ32_HANDLER( fuuki32_sound_command_r ) | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:42: note: in definition of macro 'READ32_HANDLER' 130 | #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] 158 | static WRITE32_HANDLER( fuuki32_sound_command_w ) | ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:131:42: note: in definition of macro 'WRITE32_HANDLER' 131 | #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask) | ^~~~ Compiling src/vidhrdw/hnayayoi_vidhrdw.c... Compiling src/drivers/hnayayoi.c... Compiling src/vidhrdw/dynax_vidhrdw.c... Compiling src/drivers/dynax.c... Compiling src/drivers/ddenlovr.c... Compiling src/drivers/realbrk.c... Compiling src/vidhrdw/realbrk_vidhrdw.c... Compiling src/vidhrdw/crtc6845.c... Compiling src/vidhrdw/nyny_vidhrdw.c... Compiling src/drivers/nyny.c... Compiling src/drivers/r2dtank.c... Compiling src/machine/spiders_machine.c... src/vidhrdw/dynax_vidhrdw.c: In function 'hanamai_copylayer': src/vidhrdw/dynax_vidhrdw.c:654:35: warning: variable 'offs' set but not used [-Wunused-but-set-variable] 654 | int dy,length,pen,offs; | ^~~~ src/vidhrdw/dynax_vidhrdw.c: In function 'mjdialq2_copylayer': src/vidhrdw/dynax_vidhrdw.c:711:35: warning: variable 'offs' set but not used [-Wunused-but-set-variable] 711 | int dy,length,pen,offs; | ^~~~ Compiling src/vidhrdw/spiders_vidhrdw.c... Compiling src/drivers/spiders.c... Compiling src/vidhrdw/iqblock_vidhrdw.c... Compiling src/drivers/iqblock.c... Compiling src/drivers/chindrag.c... src/vidhrdw/hnayayoi_vidhrdw.c: In function 'draw_layer_interleaved': src/vidhrdw/hnayayoi_vidhrdw.c:222:31: warning: variable 'offs' set but not used [-Wunused-but-set-variable] 222 | int county,countx,pen,offs; | ^~~~ Compiling src/drivers/grtwall.c... Compiling src/vidhrdw/pgm_vidhrdw.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] 2090 | static INTERRUPT_GEN( rtc_irq ) | ^~~~~~~ src/driver.h:21:46: note: in definition of macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ Compiling src/drivers/pgm.c... Compiling src/machine/pgmprot_machine.c... Compiling src/machine/pgmcrypt.c... Compiling src/vidhrdw/hitme_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=] 795 | static MEMORY_WRITE16_START( roldfrog_writemem ) | ^~~~~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #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' 795 | static MEMORY_WRITE16_START( roldfrog_writemem ) | ^~~~~~~~~~~~~~~~~~~~ src/drivers/dynax.c:785:29: warning: 'roldfrog_readmem' defined but not used [-Wunused-const-variable=] 785 | static MEMORY_READ16_START( roldfrog_readmem ) | ^~~~~~~~~~~~~~~~ src/memory.h:552:56: note: in definition of macro 'MEMPORT_ARRAY_START' 552 | #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' 785 | static MEMORY_READ16_START( roldfrog_readmem ) | ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/hitme.c... Compiling src/vidhrdw/starcrus_vidhrdw.c... Compiling src/drivers/starcrus.c... Compiling src/vidhrdw/battlex_vidhrdw.c... Compiling src/drivers/battlex.c... Compiling src/vidhrdw/carjmbre_vidhrdw.c... Compiling src/drivers/carjmbre.c... Compiling src/vidhrdw/popper_vidhrdw.c... Compiling src/drivers/popper.c... Compiling src/vidhrdw/speedspn_vidhrdw.c... Compiling src/drivers/speedspn.c... Compiling src/vidhrdw/kickgoal_vidhrdw.c... Compiling src/drivers/kickgoal.c... Compiling src/vidhrdw/usgames_vidhrdw.c... Compiling src/drivers/usgames.c... Compiling src/vidhrdw/mermaid_vidhrdw.c... Compiling src/drivers/mermaid.c... Compiling src/vidhrdw/drmicro_vidhrdw.c... Compiling src/drivers/drmicro.c... Compiling src/vidhrdw/appoooh_vidhrdw.c... Compiling src/drivers/appoooh.c... Compiling src/vidhrdw/bankp_vidhrdw.c... Compiling src/drivers/bankp.c... Compiling src/vidhrdw/mjkjidai_vidhrdw.c... Compiling src/drivers/mjkjidai.c... Compiling src/vidhrdw/mayumi_vidhrdw.c... Compiling src/drivers/mayumi.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/drivers/omegrace.c... Compiling src/vidhrdw/dday_vidhrdw.c... Compiling src/drivers/dday.c... Compiling src/vidhrdw/hexa_vidhrdw.c... Compiling src/drivers/hexa.c... Compiling src/vidhrdw/redalert_vidhrdw.c... Compiling src/sndhrdw/redalert_sndhrdw.c... Compiling src/drivers/redalert.c... Compiling src/machine/stactics_machine.c... Compiling src/vidhrdw/stactics_vidhrdw.c... Compiling src/drivers/stactics.c... Compiling src/vidhrdw/kingobox_vidhrdw.c... Compiling src/drivers/kingobox.c... Compiling src/vidhrdw/ambush_vidhrdw.c... Compiling src/drivers/ambush.c... Compiling src/drivers/dlair.c... Compiling src/vidhrdw/aztarac_vidhrdw.c... Compiling src/sndhrdw/aztarac_sndhrdw.c... Compiling src/drivers/aztarac.c... Compiling src/vidhrdw/mole_vidhrdw.c... Compiling src/drivers/mole.c... Compiling src/vidhrdw/gotya_vidhrdw.c... Compiling src/sndhrdw/gotya_sndhrdw.c... Compiling src/drivers/gotya.c... Compiling src/vidhrdw/mrjong_vidhrdw.c... Compiling src/drivers/mrjong.c... Compiling src/vidhrdw/polyplay_vidhrdw.c... Compiling src/sndhrdw/polyplay_sndhrdw.c... Compiling src/drivers/polyplay.c... Compiling src/vidhrdw/amspdwy_vidhrdw.c... Compiling src/drivers/amspdwy.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/drivers/spdbuggy.c... Compiling src/vidhrdw/sprcros2_vidhrdw.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/vidhrdw/gcpinbal_vidhrdw.c... Compiling src/drivers/gcpinbal.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/xyonix.c... Compiling src/drivers/findout.c... Compiling src/vidhrdw/dribling_vidhrdw.c... Compiling src/drivers/dribling.c... Compiling src/drivers/ace.c... Compiling src/machine/clayshoo_machine.c... Compiling src/vidhrdw/clayshoo_vidhrdw.c... Compiling src/drivers/clayshoo.c... Compiling src/vidhrdw/pirates_vidhrdw.c... Compiling src/drivers/pirates.c... Compiling src/vidhrdw/fitfight_vidhrdw.c... Compiling src/drivers/fitfight.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/vidhrdw/mcatadv_vidhrdw.c... Compiling src/drivers/mcatadv.c... Compiling src/vidhrdw/4enraya_vidhrdw.c... Compiling src/drivers/4enraya.c... Compiling src/vidhrdw/oneshot_vidhrdw.c... Compiling src/drivers/oneshot.c... Compiling src/drivers/tugboat.c... Compiling src/vidhrdw/gotcha_vidhrdw.c... Compiling src/drivers/gotcha.c... Compiling src/drivers/coolpool.c... Compiling src/vidhrdw/gumbo_vidhrdw.c... Compiling src/drivers/gumbo.c... Compiling src/drivers/statriv2.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... 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] 89 | static WRITE16_HANDLER( mcat_coin_w ) | ^~~~~~~~~~~ src/memory.h:129:42: note: in definition of macro 'WRITE16_HANDLER' 129 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) | ^~~~ Compiling src/vidhrdw/thedeep_vidhrdw.c... Compiling src/drivers/thedeep.c... Compiling src/vidhrdw/fantland_vidhrdw.c... Compiling src/drivers/fantland.c... Compiling src/drivers/wallc.c... Compiling src/drivers/skyarmy.c... Compiling src/vidhrdw/lethalj_vidhrdw.c... Compiling src/drivers/lethalj.c... Compiling src/vidhrdw/sbugger_vidhrdw.c... Compiling src/drivers/sbugger.c... Compiling src/vidhrdw/portrait_vidhrdw.c... Compiling src/drivers/portrait.c... Compiling src/drivers/enigma2.c... Compiling src/drivers/ltcasino.c... Compiling src/drivers/vamphalf.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] 263 | static double compute_resistor_net_outputs( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/strvmstr.c... Compiling src/vidhrdw/dorachan_vidhrdw.c... Compiling src/drivers/dorachan.c... Compiling src/vidhrdw/ladyfrog_vidhrdw.c... Compiling src/drivers/ladyfrog.c... Compiling src/drivers/rabbit.c... Compiling src/drivers/malzak.c... Compiling src/vidhrdw/malzak_vidhrdw.c... Compiling src/drivers/supertnk.c... Compiling src/drivers/crospang.c... Compiling src/drivers/funybubl.c... Compiling src/cpu/z80/z80.c... Compiling src/cpu/adsp2100/adsp2100.c... Compiling src/cpu/z180/z180.c... Compiling src/cpu/i8085/i8085.c... Compiling src/cpu/m6502/m6502.c... Compiling src/cpu/h6280/h6280.c... Compiling src/cpu/i86/i86.c... Compiling src/cpu/nec/nec.c... Compiling src/cpu/v60/v60.c... Compiling src/cpu/v60/v60d.c... Compiling src/cpu/i8039/i8039.c... Compiling src/cpu/i8x41/i8x41.c... Compiling src/cpu/m6800/m6800.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] 335 | static INTERRUPT_GEN( malzak_interrupt ) | ^~~~~~~~~~~~~~~~ src/driver.h:21:46: note: in definition of macro 'INTERRUPT_GEN' 21 | #define INTERRUPT_GEN(func) void func(void) | ^~~~ Compiling src/cpu/m6805/m6805.c... Compiling src/cpu/hd6309/hd6309.c... src/drivers/crospang.c: In function 'draw_sprites': src/drivers/crospang.c:298:41: warning: variable 'attr' set but not used [-Wunused-but-set-variable] 298 | int offs,fx,fy,x,y,color,sprite,attr,dy,ay; | ^~~~ Compiling src/cpu/m6809/m6809.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] 64 | static READ_HANDLER ( unk_port_r ) | ^~~~~~~~~~ src/memory.h:126:50: note: in definition of macro 'READ_HANDLER' 126 | #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) | ^~~~ Compiling src/cpu/konami/konami.c... Compiling src/cpu/m68000/m68kops.c... Compiling src/cpu/m68000/m68kopac.c... Compiling src/cpu/m68000/m68kopdm.c... Compiling src/cpu/m68000/m68kopnz.c... Compiling src/cpu/m68000/m68kcpu.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:15: warning: variable 'ALcarry' set but not used [-Wunused-but-set-variable] 1162 | UINT8 ALcarry=1; | ^~~~~~~ Compiling src/cpu/m68000/m68kmame.c... 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:11: warning: operation on 'h6280.y' may be undefined [-Wsequence-point] 587 | Y = (UINT8)--Y; \ | ^ src/cpu/h6280/tblh6280.c:171:59: note: in expansion of macro 'DEY' 171 | OP(_088) { h6280_ICount -= 2; DEY; } // 2 DEY | ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_0c8': src/cpu/h6280/h6280ops.h:629:11: warning: operation on 'h6280.y' may be undefined [-Wsequence-point] 629 | Y = (UINT8)++Y; \ | ^ src/cpu/h6280/tblh6280.c:173:59: note: in expansion of macro 'INY' 173 | OP(_0c8) { h6280_ICount -= 2; INY; } // 2 INY | ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_0e8': src/cpu/h6280/h6280ops.h:622:11: warning: operation on 'h6280.x' may be undefined [-Wsequence-point] 622 | X = (UINT8)++X; \ | ^ src/cpu/h6280/tblh6280.c:174:59: note: in expansion of macro 'INX' 174 | OP(_0e8) { h6280_ICount -= 2; INX; } // 2 INX | ^~~ Compiling src/cpu/t11/t11.c... src/cpu/h6280/tblh6280.c: In function 'h6280_0ca': src/cpu/h6280/h6280ops.h:580:11: warning: operation on 'h6280.x' may be undefined [-Wsequence-point] 580 | X = (UINT8)--X; \ | ^ src/cpu/h6280/tblh6280.c:209:59: note: in expansion of macro 'DEX' 209 | OP(_0ca) { h6280_ICount -= 2; DEX; } // 2 DEX | ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_01a': src/cpu/h6280/h6280ops.h:608:11: warning: operation on 'h6280.a' may be undefined [-Wsequence-point] 608 | A = (UINT8)++A; \ | ^ src/cpu/h6280/tblh6280.c:212:59: note: in expansion of macro 'INA' 212 | OP(_01a) { h6280_ICount -= 2; INA; } // 2 INC A | ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_03a': src/cpu/h6280/h6280ops.h:566:11: warning: operation on 'h6280.a' may be undefined [-Wsequence-point] 566 | A = (UINT8)--A; \ | ^ src/cpu/h6280/tblh6280.c:213:59: note: in expansion of macro 'DEA' 213 | OP(_03a) { h6280_ICount -= 2; DEA; } // 2 DEC A | ^~~ Compiling src/cpu/s2650/s2650.c... Compiling src/cpu/tms34010/tms34010.c... In file included from src/cpu/konami/konami.c:669: src/cpu/konami/konamops.c: In function 'brn': src/cpu/konami/konamops.c:328:15: warning: variable 't' set but not used [-Wunused-but-set-variable] 328 | UINT8 t; | ^ 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] 102 | #define CompressFlags() (WORD)(CF | (PF << 2) | (AF << 4) | (ZF << 6) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | | (SF << 7) | (I.TF << 8) | (I.IF << 9) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 104 | | (DF << 10) | (OF << 11)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/i86/i86.c:203:41: note: in expansion of macro 'CompressFlags' 203 | case I86_FLAGS: CompressFlags(); return I.flags; | ^~~~~~~~~~~~~ Compiling src/cpu/tms34010/34010fld.c... src/cpu/i8085/i8085.c:180:14: warning: 'illegal' defined but not used [-Wunused-function] 180 | static void illegal(void) | ^~~~~~~ In file included from src/cpu/m6800/m6800.c:548: src/cpu/m6800/6800ops.c: In function 'brn': src/cpu/m6800/6800ops.c:251:15: warning: variable 't' set but not used [-Wunused-but-set-variable] 251 | UINT8 t; | ^ 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:19: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 36 | unsigned tmp; | ^~~ Compiling src/cpu/tms9900/tms9980a.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:15: warning: variable 't' set but not used [-Wunused-but-set-variable] 503 | 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:15: warning: variable 't' set but not used [-Wunused-but-set-variable] 413 | UINT8 t; | ^ Compiling src/cpu/tms9900/tms9995.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:15: warning: variable 't' set but not used [-Wunused-but-set-variable] 111 | UINT8 t; | ^ src/cpu/m68000/m68kcpu.c:56:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | "Invalid CPU", | ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:57:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | "M68000", | ^~~~~~~~ src/cpu/m68000/m68kcpu.c:58:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | "M68010", | ^~~~~~~~ src/cpu/m68000/m68kcpu.c:59:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | "Invalid CPU", | ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:60:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | "M68EC020" | ^~~~~~~~~~ src/cpu/m68000/m68kcpu.c:62:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | "Invalid CPU", | ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:63:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | "Invalid CPU", | ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:64:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | "M68020" | ^~~~~~~~ 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:11: warning: operation on 'm6502.a' may be undefined [-Wsequence-point] 187 | A = (UINT8)++A; \ src/cpu/m6502/t65c02.c:223:58: note: in expansion of macro 'INA' 223 | OP(1a) { m6502_ICount -= 2; INA; } /* 2 INA */ | ^~~ src/cpu/m6502/t65c02.c: In function 'm65c02_3a': src/cpu/m6502/opsc02.h:180:11: warning: operation on 'm6502.a' may be undefined [-Wsequence-point] 180 | A = (UINT8)--A; \ src/cpu/m6502/t65c02.c:224:58: note: in expansion of macro 'DEA' 224 | OP(3a) { m6502_ICount -= 2; DEA; } /* 2 DEA */ | ^~~ 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] 374 | unsigned tmp; | ^~~ 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:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 191 | int tmp; m6502_ICount -= 2; RD_IMM; | ^~~ Compiling src/cpu/tms9900/tms9900.c... src/cpu/m6800/m6800.c: In function 'm6800_set_irq_line': src/cpu/m6800/m6800.c:705:21: warning: variable 'eddge' set but not used [-Wunused-but-set-variable] 705 | int eddge; | ^~~~~ Compiling src/cpu/z8000/z8000.c... 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] 746 | 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] 747 | 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); } | ^~~~ Compiling src/cpu/tms32010/tms32010.c... 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] 1204 | nec_Regs *r = context; | ^ src/cpu/nec/nec.c:1202:17: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] 1202 | 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] 1256 | nec_Regs *r = context; | ^ src/cpu/nec/nec.c:1254:17: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] 1254 | static char buffer[32][63+1]; | ^~~~~~ Compiling src/cpu/tms32025/tms32025.c... Compiling src/cpu/tms32031/tms32031.c... Compiling src/cpu/ccpu/ccpu.c... Compiling src/vidhrdw/cinemat_vidhrdw.c... Compiling src/cpu/mips/psx_cpu.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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1664:25: note: in expansion of macro 'JMP' 1664 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1663:17: note: some parts of macro expansion are not guarded by this 'if' clause 1663 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1669:25: note: in expansion of macro 'JMP' 1669 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1668:17: note: some parts of macro expansion are not guarded by this 'if' clause 1668 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1682:25: note: in expansion of macro 'JMP' 1682 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1681:17: note: some parts of macro expansion are not guarded by this 'if' clause 1681 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1687:25: note: in expansion of macro 'JMP' 1687 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1686:17: note: some parts of macro expansion are not guarded by this 'if' clause 1686 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1700:25: note: in expansion of macro 'JMP' 1700 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1699:17: note: some parts of macro expansion are not guarded by this 'if' clause 1699 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1705:25: note: in expansion of macro 'JMP' 1705 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1704:17: note: some parts of macro expansion are not guarded by this 'if' clause 1704 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1721:17: note: in expansion of macro 'JMP' 1721 | JMP(); /* yes -- do jump */ | ^~~ src/cpu/ccpu/ccpu.c:1720:9: note: some parts of macro expansion are not guarded by this 'if' clause 1720 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1730:17: note: in expansion of macro 'JMP' 1730 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1729:9: note: some parts of macro expansion are not guarded by this 'if' clause 1729 | 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 [-Wmultistatement-macros] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1738:17: note: in expansion of macro 'JMP' 1738 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1737:9: note: some parts of macro expansion are not guarded by this 'if' clause 1737 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1746:17: note: in expansion of macro 'JMP' 1746 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1745:9: note: some parts of macro expansion are not guarded by this 'if' clause 1745 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1756:17: note: in expansion of macro 'JMP' 1756 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1755:9: note: some parts of macro expansion are not guarded by this 'if' clause 1755 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1764:17: note: in expansion of macro 'JMP' 1764 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1763:9: note: some parts of macro expansion are not guarded by this 'if' clause 1763 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1774:17: note: in expansion of macro 'JMP' 1774 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1773:9: note: some parts of macro expansion are not guarded by this 'if' clause 1773 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1782:17: note: in expansion of macro 'JMP' 1782 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1781:9: note: some parts of macro expansion are not guarded by this 'if' clause 1781 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1790:17: note: in expansion of macro 'JMP' 1790 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1789:9: note: some parts of macro expansion are not guarded by this 'if' clause 1789 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1798:17: note: in expansion of macro 'JMP' 1798 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1797:9: note: some parts of macro expansion are not guarded by this 'if' clause 1797 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1806:17: note: in expansion of macro 'JMP' 1806 | JMP(); /* no carry, so jump */ | ^~~ src/cpu/ccpu/ccpu.c:1805:9: note: some parts of macro expansion are not guarded by this 'if' clause 1805 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1814:17: note: in expansion of macro 'JMP' 1814 | JMP(); /* no carry, so jump */ | ^~~ src/cpu/ccpu/ccpu.c:1813:9: note: some parts of macro expansion are not guarded by this 'if' clause 1813 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1921:17: note: in expansion of macro 'JMP' 1921 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1920:9: note: some parts of macro expansion are not guarded by this 'if' clause 1920 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1941:17: note: in expansion of macro 'JMP' 1941 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1940:9: note: some parts of macro expansion are not guarded by this 'if' clause 1940 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1949:17: note: in expansion of macro 'JMP' 1949 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1948:9: note: some parts of macro expansion are not guarded by this 'if' clause 1948 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1957:17: note: in expansion of macro 'JMP' 1957 | JMP(); | ^~~ src/cpu/ccpu/ccpu.c:1956:9: note: some parts of macro expansion are not guarded by this 'if' clause 1956 | 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] 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 | ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1965:17: note: in expansion of macro 'JMP' 1965 | JMP(); /* if no carry, jump */ | ^~~ src/cpu/ccpu/ccpu.c:1964:9: note: some parts of macro expansion are not guarded by this 'if' clause 1964 | if (!(GETFC() & 0x0F0)) | ^~ src/vidhrdw/cinemat_vidhrdw.c: In function 'CinemaVectorData': src/vidhrdw/cinemat_vidhrdw.c:32:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 32 | else | ^~~~ src/vidhrdw/cinemat_vidhrdw.c:35:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 35 | lastx = tox; | ^~~~~ Compiling src/cpu/asap/asap.c... Compiling src/cpu/upd7810/upd7810.c... Compiling src/cpu/arm/arm.c... src/cpu/tms32031/tms32031.c: In function 'tms32031_get_reg': src/cpu/tms32031/tms32031.c:498:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 498 | case TMS32031_R0F: temp = dsp_to_double(&tms32031.r[TMR_R0]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:499:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 499 | case TMS32031_R1F: temp = dsp_to_double(&tms32031.r[TMR_R1]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:500:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 500 | case TMS32031_R2F: temp = dsp_to_double(&tms32031.r[TMR_R2]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:501:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 501 | case TMS32031_R3F: temp = dsp_to_double(&tms32031.r[TMR_R3]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:502:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 502 | case TMS32031_R4F: temp = dsp_to_double(&tms32031.r[TMR_R4]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:503:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 503 | case TMS32031_R5F: temp = dsp_to_double(&tms32031.r[TMR_R5]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:504:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 504 | case TMS32031_R6F: temp = dsp_to_double(&tms32031.r[TMR_R6]); return *(UINT32 *)&temp; | ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:505:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 505 | 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:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 559 | case TMS32031_R0F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R0]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:560:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 560 | case TMS32031_R1F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R1]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:561:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 561 | case TMS32031_R2F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R2]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:562:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 562 | case TMS32031_R3F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R3]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:563:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 563 | case TMS32031_R4F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R4]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:564:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 564 | case TMS32031_R5F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R5]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:565:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 565 | case TMS32031_R6F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R6]); break; | ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:566:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 566 | case TMS32031_R7F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R7]); break; | ^~~~~~~~~~~~~ src/cpu/arm/arm.c:120:57: warning: 'arm' is static but used in inline function 'SetRegister' which is not static 120 | #define R15 arm.sArmRegister[eR15] | ^~~ src/cpu/arm/arm.c:121:50: note: in expansion of macro 'R15' 121 | #define MODE (R15&0x03) | ^~~ src/cpu/arm/arm.c:287:41: note: in expansion of macro 'MODE' 287 | arm.sArmRegister[sRegisterTable[MODE][rIndex]] = value; | ^~~~ src/cpu/arm/arm.c:287:26: warning: 'sRegisterTable' is static but used in inline function 'SetRegister' which is not static 287 | arm.sArmRegister[sRegisterTable[MODE][rIndex]] = value; | ^~~~~~~~~~~~~~ src/cpu/arm/arm.c:287:9: warning: 'arm' is static but used in inline function 'SetRegister' which is not static 287 | arm.sArmRegister[sRegisterTable[MODE][rIndex]] = value; | ^~~ src/cpu/arm/arm.c:120:57: warning: 'arm' is static but used in inline function 'GetRegister' which is not static 120 | #define R15 arm.sArmRegister[eR15] | ^~~ src/cpu/arm/arm.c:121:50: note: in expansion of macro 'R15' 121 | #define MODE (R15&0x03) | ^~~ src/cpu/arm/arm.c:282:48: note: in expansion of macro 'MODE' 282 | return arm.sArmRegister[sRegisterTable[MODE][rIndex]]; | ^~~~ src/cpu/arm/arm.c:282:33: warning: 'sRegisterTable' is static but used in inline function 'GetRegister' which is not static 282 | return arm.sArmRegister[sRegisterTable[MODE][rIndex]]; | ^~~~~~~~~~~~~~ src/cpu/arm/arm.c:282:16: warning: 'arm' is static but used in inline function 'GetRegister' which is not static 282 | return arm.sArmRegister[sRegisterTable[MODE][rIndex]]; | ^~~ src/cpu/arm/arm.c:120:57: warning: 'arm' is static but used in inline function 'cpu_read32' which is not static 120 | #define R15 arm.sArmRegister[eR15] | ^~~ src/cpu/arm/arm.c:262:69: note: in expansion of macro 'R15' 262 | logerror("%08x: Unaligned byte read %08x\n",R15,addr); | ^~~ src/cpu/arm/arm.c:262:25: warning: 'logerror' is static but used in inline function 'cpu_read32' which is not static 262 | logerror("%08x: Unaligned byte read %08x\n",R15,addr); | ^~~~~~~~ src/cpu/arm/arm.c:120:57: warning: 'arm' is static but used in inline function 'cpu_write32' which is not static 120 | #define R15 arm.sArmRegister[eR15] | ^~~ src/cpu/arm/arm.c:247:79: note: in expansion of macro 'R15' 247 | if (ARM_DEBUG_CORE && addr&3) logerror("%08x: Unaligned write %08x\n",R15,addr); | ^~~ src/cpu/arm/arm.c:247:39: warning: 'logerror' is static but used in inline function 'cpu_write32' which is not static 247 | if (ARM_DEBUG_CORE && addr&3) logerror("%08x: Unaligned write %08x\n",R15,addr); | ^~~~~~~~ Compiling src/cpu/jaguar/jaguar.c... Compiling src/cpu/mips/r3000.c... Compiling src/cpu/mips/mips3.c... Compiling src/cpu/sh2/sh2.c... Compiling src/cpu/dsp32/dsp32.c... src/cpu/mips/mips3.c: In function 'handle_cop1': src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:796:49: note: in expansion of macro 'FDVALS' 796 | FDVALS = FSVALS + FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:796:58: note: in expansion of macro 'FSVALS' 796 | FDVALS = FSVALS + FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:796:67: note: in expansion of macro 'FTVALS' 796 | FDVALS = FSVALS + FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:798:49: note: in expansion of macro 'FDVALD' 798 | FDVALD = FSVALD + FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:798:58: note: in expansion of macro 'FSVALD' 798 | FDVALD = FSVALD + FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:798:67: note: in expansion of macro 'FTVALD' 798 | FDVALD = FSVALD + FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:803:49: note: in expansion of macro 'FDVALS' 803 | FDVALS = FSVALS - FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:803:58: note: in expansion of macro 'FSVALS' 803 | FDVALS = FSVALS - FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:803:67: note: in expansion of macro 'FTVALS' 803 | FDVALS = FSVALS - FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:805:49: note: in expansion of macro 'FDVALD' 805 | FDVALD = FSVALD - FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:805:58: note: in expansion of macro 'FSVALD' 805 | FDVALD = FSVALD - FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:805:67: note: in expansion of macro 'FTVALD' 805 | FDVALD = FSVALD - FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:810:49: note: in expansion of macro 'FDVALS' 810 | FDVALS = FSVALS * FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:810:58: note: in expansion of macro 'FSVALS' 810 | FDVALS = FSVALS * FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:810:67: note: in expansion of macro 'FTVALS' 810 | FDVALS = FSVALS * FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:812:49: note: in expansion of macro 'FDVALD' 812 | FDVALD = FSVALD * FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:812:58: note: in expansion of macro 'FSVALD' 812 | FDVALD = FSVALD * FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:812:67: note: in expansion of macro 'FTVALD' 812 | FDVALD = FSVALD * FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:817:49: note: in expansion of macro 'FDVALS' 817 | FDVALS = FSVALS / FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:817:58: note: in expansion of macro 'FSVALS' 817 | FDVALS = FSVALS / FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:817:67: note: in expansion of macro 'FTVALS' 817 | FDVALS = FSVALS / FTVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:819:49: note: in expansion of macro 'FDVALD' 819 | FDVALD = FSVALD / FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:819:58: note: in expansion of macro 'FSVALD' 819 | FDVALD = FSVALD / FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:819:67: note: in expansion of macro 'FTVALD' 819 | FDVALD = FSVALD / FTVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:824:49: note: in expansion of macro 'FDVALS' 824 | FDVALS = sqrt(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:824:63: note: in expansion of macro 'FSVALS' 824 | FDVALS = sqrt(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:826:49: note: in expansion of macro 'FDVALD' 826 | FDVALD = sqrt(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:826:63: note: in expansion of macro 'FSVALD' 826 | FDVALD = sqrt(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:831:49: note: in expansion of macro 'FDVALS' 831 | FDVALS = fabs(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:831:63: note: in expansion of macro 'FSVALS' 831 | FDVALS = fabs(FSVALS); | ^~~~~~ Compiling src/cpu/pic16c5x/pic16c5x.c... src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:833:49: note: in expansion of macro 'FDVALD' 833 | FDVALD = fabs(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:833:63: note: in expansion of macro 'FSVALD' 833 | FDVALD = fabs(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:838:49: note: in expansion of macro 'FDVALS' 838 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:838:58: note: in expansion of macro 'FSVALS' 838 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:840:49: note: in expansion of macro 'FDVALD' 840 | FDVALD = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:840:58: note: in expansion of macro 'FSVALD' 840 | FDVALD = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:845:49: note: in expansion of macro 'FDVALS' 845 | FDVALS = -FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:845:59: note: in expansion of macro 'FSVALS' 845 | FDVALS = -FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:847:49: note: in expansion of macro 'FDVALD' 847 | FDVALD = -FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:847:59: note: in expansion of macro 'FSVALD' 847 | FDVALD = -FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:853:63: note: in expansion of macro 'FSVALS' 853 | double temp = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:862:63: note: in expansion of macro 'FSVALD' 862 | double temp = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:874:63: note: in expansion of macro 'FSVALS' 874 | double temp = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:883:63: note: in expansion of macro 'FSVALD' 883 | double temp = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:894:62: note: in expansion of macro 'FSVALS' 894 | dtemp = ceil(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:896:62: note: in expansion of macro 'FSVALD' 896 | dtemp = ceil(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:902:63: note: in expansion of macro 'FSVALS' 902 | dtemp = floor(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:904:63: note: in expansion of macro 'FSVALD' 904 | dtemp = floor(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:911:57: note: in expansion of macro 'FSVALS' 911 | dtemp = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:920:57: note: in expansion of macro 'FSVALD' 920 | dtemp = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:932:57: note: in expansion of macro 'FSVALS' 932 | dtemp = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:941:57: note: in expansion of macro 'FSVALD' 941 | dtemp = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:952:62: note: in expansion of macro 'FSVALS' 952 | dtemp = ceil(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:954:62: note: in expansion of macro 'FSVALD' 954 | dtemp = ceil(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:960:63: note: in expansion of macro 'FSVALS' 960 | dtemp = floor(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:962:63: note: in expansion of macro 'FSVALD' 962 | dtemp = floor(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:970:57: note: in expansion of macro 'FDVALS' 970 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:970:66: note: in expansion of macro 'FSVALS' 970 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:972:57: note: in expansion of macro 'FDVALD' 972 | FDVALD = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:972:66: note: in expansion of macro 'FSVALD' 972 | FDVALD = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:980:57: note: in expansion of macro 'FDVALS' 980 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:980:66: note: in expansion of macro 'FSVALS' 980 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:982:57: note: in expansion of macro 'FDVALD' 982 | FDVALD = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:982:66: note: in expansion of macro 'FSVALD' 982 | FDVALD = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:990:57: note: in expansion of macro 'FDVALS' 990 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:990:66: note: in expansion of macro 'FSVALS' 990 | FDVALS = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:992:57: note: in expansion of macro 'FDVALD' 992 | FDVALD = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:992:66: note: in expansion of macro 'FSVALD' 992 | FDVALD = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:998:49: note: in expansion of macro 'FDVALS' 998 | FDVALS = 1.0 / FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:998:64: note: in expansion of macro 'FSVALS' 998 | FDVALS = 1.0 / FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1000:49: note: in expansion of macro 'FDVALD' 1000 | FDVALD = 1.0 / FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1000:64: note: in expansion of macro 'FSVALD' 1000 | FDVALD = 1.0 / FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1005:49: note: in expansion of macro 'FDVALS' 1005 | FDVALS = 1.0 / sqrt(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1005:69: note: in expansion of macro 'FSVALS' 1005 | FDVALS = 1.0 / sqrt(FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1007:49: note: in expansion of macro 'FDVALD' 1007 | FDVALD = 1.0 / sqrt(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1007:69: note: in expansion of macro 'FSVALD' 1007 | FDVALD = 1.0 / sqrt(FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1014:57: note: in expansion of macro 'FDVALS' 1014 | FDVALS = (INT32)mips3.cpr[1][FSREG]; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1016:57: note: in expansion of macro 'FDVALS' 1016 | FDVALS = (INT64)mips3.cpr[1][FSREG]; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1019:49: note: in expansion of macro 'FDVALS' 1019 | FDVALS = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1019:58: note: in expansion of macro 'FSVALD' 1019 | FDVALS = FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1026:57: note: in expansion of macro 'FDVALD' 1026 | FDVALD = (INT32)mips3.cpr[1][FSREG]; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1028:57: note: in expansion of macro 'FDVALD' 1028 | FDVALD = (INT64)mips3.cpr[1][FSREG]; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1031:49: note: in expansion of macro 'FDVALD' 1031 | FDVALD = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1031:58: note: in expansion of macro 'FSVALS' 1031 | FDVALD = FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1036:78: note: in expansion of macro 'FSVALS' 1036 | mips3.cpr[1][FDREG] = (INT32)FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1038:78: note: in expansion of macro 'FSVALD' 1038 | mips3.cpr[1][FDREG] = (INT32)FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1043:78: note: in expansion of macro 'FSVALS' 1043 | mips3.cpr[1][FDREG] = (INT64)FSVALS; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1045:78: note: in expansion of macro 'FSVALD' 1045 | mips3.cpr[1][FDREG] = (INT64)FSVALD; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #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' 164 | #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:73: note: in expansion of macro 'FSVALS' 1067 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #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' 164 | #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:83: note: in expansion of macro 'FTVALS' 1067 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #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:73: note: in expansion of macro 'FSVALD' 1069 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #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:83: note: in expansion of macro 'FTVALD' 1069 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #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' 164 | #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:73: note: in expansion of macro 'FSVALS' 1075 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #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' 164 | #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:83: note: in expansion of macro 'FTVALS' 1075 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #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:73: note: in expansion of macro 'FSVALD' 1077 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #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:83: note: in expansion of macro 'FTVALD' 1077 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #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' 164 | #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:73: note: in expansion of macro 'FSVALS' 1083 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #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' 164 | #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:82: note: in expansion of macro 'FTVALS' 1083 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #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:73: note: in expansion of macro 'FSVALD' 1085 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #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:82: note: in expansion of macro 'FTVALD' 1085 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #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' 164 | #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:73: note: in expansion of macro 'FSVALS' 1091 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #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' 164 | #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:82: note: in expansion of macro 'FTVALS' 1091 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #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:73: note: in expansion of macro 'FSVALD' 1093 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #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:82: note: in expansion of macro 'FTVALD' 1093 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #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' 164 | #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:73: note: in expansion of macro 'FSVALS' 1099 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #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' 164 | #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:83: note: in expansion of macro 'FTVALS' 1099 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #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:73: note: in expansion of macro 'FSVALD' 1101 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #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:83: note: in expansion of macro 'FTVALD' 1101 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #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' 164 | #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:73: note: in expansion of macro 'FSVALS' 1107 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #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' 164 | #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:83: note: in expansion of macro 'FTVALS' 1107 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS)); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #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:73: note: in expansion of macro 'FSVALD' 1109 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC' 164 | #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:83: note: in expansion of macro 'FTVALD' 1109 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD)); | ^~~~~~ src/cpu/mips/mips3.c: In function 'handle_cop1x': src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1134:25: note: in expansion of macro 'FDVALS' 1134 | FDVALS = RLONG(RSVAL32 + RTVAL32); | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1138:25: note: in expansion of macro 'FDVALD' 1138 | FDVALD = RDOUBLE(RSVAL32 + RTVAL32); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:154:52: note: in definition of macro 'WDOUBLE' 154 | #define WDOUBLE(x,v) (*mips3.memory.writedouble)(x,v) | ^ src/cpu/mips/mips3.c:1142:52: note: in expansion of macro 'FSVALS' 1142 | WDOUBLE(RSVAL32 + RTVAL32, FSVALS); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:154:52: note: in definition of macro 'WDOUBLE' 154 | #define WDOUBLE(x,v) (*mips3.memory.writedouble)(x,v) | ^ src/cpu/mips/mips3.c:1146:52: note: in expansion of macro 'FSVALD' 1146 | WDOUBLE(RSVAL32 + RTVAL32, FSVALD); | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1153:25: note: in expansion of macro 'FDVALS' 1153 | FDVALS = FSVALS * FTVALS + FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1153:34: note: in expansion of macro 'FSVALS' 1153 | FDVALS = FSVALS * FTVALS + FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1153:43: note: in expansion of macro 'FTVALS' 1153 | FDVALS = FSVALS * FTVALS + FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1153:52: note: in expansion of macro 'FRVALS' 1153 | FDVALS = FSVALS * FTVALS + FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1157:25: note: in expansion of macro 'FDVALD' 1157 | FDVALD = FSVALD * FTVALD + FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1157:34: note: in expansion of macro 'FSVALD' 1157 | FDVALD = FSVALD * FTVALD + FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1157:43: note: in expansion of macro 'FTVALD' 1157 | FDVALD = FSVALD * FTVALD + FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1157:52: note: in expansion of macro 'FRVALD' 1157 | FDVALD = FSVALD * FTVALD + FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1161:25: note: in expansion of macro 'FDVALS' 1161 | FDVALS = FSVALS * FTVALS - FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1161:34: note: in expansion of macro 'FSVALS' 1161 | FDVALS = FSVALS * FTVALS - FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1161:43: note: in expansion of macro 'FTVALS' 1161 | FDVALS = FSVALS * FTVALS - FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1161:52: note: in expansion of macro 'FRVALS' 1161 | FDVALS = FSVALS * FTVALS - FRVALS; | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1165:25: note: in expansion of macro 'FDVALD' 1165 | FDVALD = FSVALD * FTVALD - FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1165:34: note: in expansion of macro 'FSVALD' 1165 | FDVALD = FSVALD * FTVALD - FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1165:43: note: in expansion of macro 'FTVALD' 1165 | FDVALD = FSVALD * FTVALD - FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1165:52: note: in expansion of macro 'FRVALD' 1165 | FDVALD = FSVALD * FTVALD - FRVALD; | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1169:25: note: in expansion of macro 'FDVALS' 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1169:36: note: in expansion of macro 'FSVALS' 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1169:45: note: in expansion of macro 'FTVALS' 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1169:54: note: in expansion of macro 'FRVALS' 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1173:25: note: in expansion of macro 'FDVALD' 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1173:36: note: in expansion of macro 'FSVALD' 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1173:45: note: in expansion of macro 'FTVALD' 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1173:54: note: in expansion of macro 'FRVALD' 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1177:25: note: in expansion of macro 'FDVALS' 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1177:36: note: in expansion of macro 'FSVALS' 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1177:45: note: in expansion of macro 'FTVALS' 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) | ^ src/cpu/mips/mips3.c:1177:54: note: in expansion of macro 'FRVALS' 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS); | ^~~~~~ src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1181:25: note: in expansion of macro 'FDVALD' 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1181:36: note: in expansion of macro 'FSVALD' 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1181:45: note: in expansion of macro 'FTVALD' 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD); | ^~~~~~ src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1181:54: note: in expansion of macro 'FRVALD' 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD); | ^~~~~~ src/cpu/dsp32/dsp32.c: In function 'dsp32c_info': src/cpu/dsp32/dsp32.c:654:21: warning: variable 'r' set but not used [-Wunused-but-set-variable] 654 | dsp32_regs *r = context; | ^ src/cpu/pic16c5x/pic16c5x.c: In function 'tris': src/cpu/pic16c5x/pic16c5x.c:593:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 593 | else R.TRISA = R.W; P_OUT(0,R.PORTA & (~R.TRISA) & 0xf); break; | ^~~~ In file included from src/cpu/pic16c5x/pic16c5x.c:66: src/cpu/pic16c5x/pic16c5x.h:91:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 91 | #define PIC16C5x_Out(Port,Value) (cpu_writeport16((Port),Value)) | ^ src/cpu/pic16c5x/pic16c5x.c:77:33: note: in expansion of macro 'PIC16C5x_Out' 77 | #define P_OUT(A,V) PIC16C5x_Out(A,V) | ^~~~~~~~~~~~ src/cpu/pic16c5x/pic16c5x.c:593:61: note: in expansion of macro 'P_OUT' 593 | else R.TRISA = R.W; P_OUT(0,R.PORTA & (~R.TRISA) & 0xf); break; | ^~~~~ src/cpu/pic16c5x/pic16c5x.c:595:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 595 | else R.TRISB = R.W; P_OUT(1,R.PORTB & (~R.TRISB)); break; | ^~~~ src/cpu/pic16c5x/pic16c5x.h:91:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 91 | #define PIC16C5x_Out(Port,Value) (cpu_writeport16((Port),Value)) | ^ src/cpu/pic16c5x/pic16c5x.c:77:33: note: in expansion of macro 'PIC16C5x_Out' 77 | #define P_OUT(A,V) PIC16C5x_Out(A,V) | ^~~~~~~~~~~~ src/cpu/pic16c5x/pic16c5x.c:595:61: note: in expansion of macro 'P_OUT' 595 | else R.TRISB = R.W; P_OUT(1,R.PORTB & (~R.TRISB)); break; | ^~~~~ src/cpu/pic16c5x/pic16c5x.c:597:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 597 | else R.TRISC = R.W; P_OUT(2,R.PORTC & (~R.TRISC)); break; | ^~~~ src/cpu/pic16c5x/pic16c5x.h:91:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 91 | #define PIC16C5x_Out(Port,Value) (cpu_writeport16((Port),Value)) | ^ src/cpu/pic16c5x/pic16c5x.c:77:33: note: in expansion of macro 'PIC16C5x_Out' 77 | #define P_OUT(A,V) PIC16C5x_Out(A,V) | ^~~~~~~~~~~~ src/cpu/pic16c5x/pic16c5x.c:597:61: note: in expansion of macro 'P_OUT' 597 | else R.TRISC = R.W; P_OUT(2,R.PORTC & (~R.TRISC)); break; | ^~~~~ Compiling src/cpu/g65816/g65816.c... Compiling src/cpu/g65816/g65816o0.c... Compiling src/cpu/g65816/g65816o1.c... Compiling src/cpu/g65816/g65816o2.c... Compiling src/cpu/g65816/g65816o3.c... Compiling src/cpu/g65816/g65816o4.c... Compiling src/cpu/g65816/g65816ds.c... Compiling src/cpu/spc700/spc700.c... Compiling src/cpu/spc700/spc700ds.c... Compiling src/cpu/e132xs/e132xs.c... Compiling src/sound/samples.c... Compiling src/sound/dac.c... Compiling src/sound/discrete.c... Compiling src/sound/2203intf.c... Compiling src/sound/2151intf.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:34: warning: variable 'context' set but not used [-Wunused-but-set-variable] 888 | 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:34: warning: variable 'context' set but not used [-Wunused-but-set-variable] 467 | struct dss_ramp_context *context; | ^~~~~~~ Compiling src/sound/ym2151.c... Compiling src/sound/2608intf.c... Compiling src/sound/2610intf.c... Compiling src/sound/2612intf.c... Compiling src/sound/ay8910.c... Compiling src/sound/fm.c... In file included from src/cpu/z180/z180.c:769: src/cpu/z180/z180op.c: In function 'take_interrupt.part.0': src/cpu/z180/z180op.c:517:46: warning: array subscript 78 is above array bounds of 'UINT8[64]' {aka 'unsigned char[64]'} [-Warray-bounds=] 517 | irq_vector = (Z180.io[Z180_IL] & Z180_IL_IL) + irq * 2; | ~~~~~~~^~~~~~~~~ src/cpu/z180/z180.c:79:25: note: while referencing 'io' 79 | /* 40 */ UINT8 io[64]; /* 64 internal 8 bit registers */ | ^~ Compiling src/sound/2413intf.c... Compiling src/sound/ym2413.c... src/sound/ym2413.c: In function 'OPLLWriteReg': src/sound/ym2413.c:1666:56: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 1666 | if ((chip->rhythm&0x20)==1) | ^~ Compiling src/sound/ymz280b.c... Compiling src/sound/3812intf.c... Compiling src/sound/fmopl.c... Compiling src/sound/ymdeltat.c... Compiling src/sound/sn76477.c... Compiling src/sound/sn76496.c... Compiling src/sound/pokey.c... Compiling src/sound/tiasound.c... Compiling src/sound/tiaintf.c... Compiling src/sound/nes_apu.c... Compiling src/sound/astrocde_snd.c... Compiling src/sound/namco.c... Compiling src/sound/namcona.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] 12 | if (Machine->sample_rate == 0) | ^~ src/sound/tiaintf.c:15:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 15 | channel = stream_init("TIA", intf->volume, Machine->sample_rate, 0, tia_process); | ^~~~~~~ Compiling src/sound/tms36xx.c... Compiling src/sound/tms5110.c... Compiling src/sound/5110intf.c... Compiling src/sound/tms5220.c... Compiling src/sound/5220intf.c... src/sound/tms36xx.c: In function 'mm6221aa_tune_w': src/sound/tms36xx.c:413:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 413 | if( tune == tms->tune_num ) | ^~ src/sound/tms36xx.c:6:16: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 6 | #define LOG(x) logerror x | ^~~~~~~~ src/sound/tms36xx.c:416:9: note: in expansion of macro 'LOG' 416 | LOG(("%s tune:%X\n", tms->subtype, tune)); | ^~~ 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] 496 | int old_head, old_count; | ^~~~~~~~~ src/sound/tms5110.c:496:9: warning: variable 'old_head' set but not used [-Wunused-but-set-variable] 496 | int old_head, old_count; | ^~~~~~~~ Compiling src/sound/vlm5030.c... Compiling src/sound/adpcm.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... src/sound/k054539.c: In function 'K054539_update': src/sound/k054539.c:184:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 184 | else | ^~~~ src/sound/k054539.c:187:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 187 | gain = K054539_gain[chip][ch]; | ^~~~ Compiling src/sound/qsound.c... Compiling src/sound/saa1099.c... Compiling src/sound/iremga20.c... Compiling src/sound/es5506.c... Compiling src/sound/bsmt2000.c... Compiling src/sound/ymf262.c... Compiling src/sound/262intf.c... Compiling src/sound/ymf278b.c... Compiling src/sound/gaelco_snd.c... Compiling src/sound/x1_010.c... Compiling src/sound/multipcm.c... Compiling src/sound/c6280.c... src/sound/ymf262.c: In function 'OPL3WriteReg': Compiling src/sound/sp0250.c... src/sound/ymf262.c:2089:74: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 2089 | UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0); | ~~~~~~~~~~~~~~~~~~~~^~~~ src/sound/ymf262.c:2089:106: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 2089 | UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ src/sound/ymf262.c:2141:78: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 2141 | UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ src/sound/ymf262.c:2141:106: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 2141 | UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0); | ~~~~~~~~~~~~~~~~~~~~^~~~ 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... src/sound/multipcm.c: In function 'MultiPCM_reg_w': src/sound/multipcm.c:407:50: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] 407 | pt_abs = (double)abs(pitch); | ^ Compiling src/libretro-deps/libFLAC/cpu.c... Compiling src/libretro-deps/libFLAC/crc.c... src/sound/scsp.c: In function 'SCSP_Init': src/sound/scsp.c:385:37: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 385 | memset(SCSP,0,sizeof(SCSP)); | ^ src/sound/scsp.c: In function 'SCSP_Update0000': src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:809:1: note: in expansion of macro 'SCSPTMPL' 809 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:809:19: note: in expansion of macro 'SCSPTMPL' 809 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:809:37: note: in expansion of macro 'SCSPTMPL' 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) | ^~~~~~~~ Compiling src/libretro-deps/libFLAC/fixed.c... src/sound/scsp.c: In function 'SCSP_Update0003': src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:809:55: note: in expansion of macro 'SCSPTMPL' 809 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:810:1: note: in expansion of macro 'SCSPTMPL' 810 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:810:19: note: in expansion of macro 'SCSPTMPL' 810 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:810:37: note: in expansion of macro 'SCSPTMPL' 810 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:810:55: note: in expansion of macro 'SCSPTMPL' 810 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:811:1: note: in expansion of macro 'SCSPTMPL' 811 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:811:19: note: in expansion of macro 'SCSPTMPL' 811 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:811:37: note: in expansion of macro 'SCSPTMPL' 811 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:811:55: note: in expansion of macro 'SCSPTMPL' 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) | ^~~~~~~~ src/libretro-deps/libFLAC/cpu.c:102:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE42' defined but not used [-Wunused-const-variable=] 102 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE42 = 0x00100000; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0110': src/libretro-deps/libFLAC/cpu.c:101:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE41' defined but not used [-Wunused-const-variable=] 101 | 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=] 100 | 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=] 99 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:812:1: note: in expansion of macro 'SCSPTMPL' 812 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:812:19: note: in expansion of macro 'SCSPTMPL' 812 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:812:37: note: in expansion of macro 'SCSPTMPL' 812 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:812:55: note: in expansion of macro 'SCSPTMPL' 812 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:813:1: note: in expansion of macro 'SCSPTMPL' 813 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:813:19: note: in expansion of macro 'SCSPTMPL' 813 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:813:37: note: in expansion of macro 'SCSPTMPL' 813 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:813:55: note: in expansion of macro 'SCSPTMPL' 813 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:814:1: note: in expansion of macro 'SCSPTMPL' 814 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:814:19: note: in expansion of macro 'SCSPTMPL' 814 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:814:37: note: in expansion of macro 'SCSPTMPL' 814 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:814:55: note: in expansion of macro 'SCSPTMPL' 814 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:815:1: note: in expansion of macro 'SCSPTMPL' 815 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:815:19: note: in expansion of macro 'SCSPTMPL' 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) | ^~~~~~~~ Compiling src/libretro-deps/libFLAC/float.c... src/sound/scsp.c: In function 'SCSP_Update1102': src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:815:37: note: in expansion of macro 'SCSPTMPL' 815 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:815:55: note: in expansion of macro 'SCSPTMPL' 815 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:816:1: note: in expansion of macro 'SCSPTMPL' 816 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:816:19: note: in expansion of macro 'SCSPTMPL' 816 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:816:37: note: in expansion of macro 'SCSPTMPL' 816 | 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:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] 753 | signed int fpart;\ | ^~~~~ src/sound/scsp.c:816:55: note: in expansion of macro 'SCSPTMPL' 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) | ^~~~~~~~ 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_posix_string.c... Compiling src/libretro-common/compat/compat_snprintf.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/file_stream_transforms.c... Compiling src/libretro-common/streams/interface_stream.c... Compiling src/libretro-common/streams/memory_stream.c... Compiling src/libretro-common/streams/rzip_stream.c... Compiling src/libretro-common/streams/stdin_stream.c... Compiling src/libretro-common/streams/trans_stream.c... Compiling src/libretro-common/streams/trans_stream_pipe.c... Compiling src/libretro-common/streams/trans_stream_zlib.c... Compiling src/libretro-common/string/stdstring.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/adler32.c... Compiling src/lib/zlib/crc32.c... Compiling src/lib/zlib/deflate.c... Compiling src/lib/zlib/inffast.c... Compiling src/lib/zlib/inflate.c... Compiling src/lib/zlib/inftrees.c... Compiling src/lib/zlib/ioapi.c... Compiling src/lib/zlib/trees.c... Compiling src/lib/zlib/uncompr.c... Compiling src/lib/zlib/unzip.c... Compiling src/lib/zlib/zutil.c... src/lib/zlib/zutil.c:14:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14 | "need dictionary", /* Z_NEED_DICT 2 */ | ^~~~~~~~~~~~~~~~~ src/lib/zlib/zutil.c:15:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15 | "stream end", /* Z_STREAM_END 1 */ | ^~~~~~~~~~~~ src/lib/zlib/zutil.c:16:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16 | "", /* Z_OK 0 */ | ^~ src/lib/zlib/zutil.c:17:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17 | "file error", /* Z_ERRNO (-1) */ | ^~~~~~~~~~~~ src/lib/zlib/zutil.c:18:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18 | "stream error", /* Z_STREAM_ERROR (-2) */ | ^~~~~~~~~~~~~~ src/lib/zlib/zutil.c:19:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19 | "data error", /* Z_DATA_ERROR (-3) */ | ^~~~~~~~~~~~ src/lib/zlib/zutil.c:20:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 20 | "insufficient memory", /* Z_MEM_ERROR (-4) */ | ^~~~~~~~~~~~~~~~~~~~~ src/lib/zlib/zutil.c:21:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21 | "buffer error", /* Z_BUF_ERROR (-5) */ | ^~~~~~~~~~~~~~ src/lib/zlib/zutil.c:22:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22 | "incompatible version",/* Z_VERSION_ERROR (-6) */ | ^~~~~~~~~~~~~~~~~~~~~~ src/lib/zlib/zutil.c:23:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 23 | ""}; | ^~ In function 'dma_scsp', inlined from 'SCSP_0_w' at src/sound/scsp.c:1047:4: src/sound/scsp.c:912:24: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds=] 912 | tmp_dma[2] = scsp_regs[0x416/2]; | ~~~~~~~^~~ src/sound/scsp.c: In function 'SCSP_0_w': src/sound/scsp.c:898:23: note: while referencing 'tmp_dma' 898 | static UINT16 tmp_dma[2], *scsp_regs; | ^~~~~~~ In function 'dma_scsp', inlined from 'SCSP_0_w' at src/sound/scsp.c:1047:4: src/sound/scsp.c:939:45: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds=] 939 | scsp_regs[0x416/2] = tmp_dma[2]; | ~~~~~~~^~~ src/sound/scsp.c: In function 'SCSP_0_w': src/sound/scsp.c:898:23: note: while referencing 'tmp_dma' 898 | static UINT16 tmp_dma[2], *scsp_regs; | ^~~~~~~ Linking mame2003_libretro.so... platform unix >>> libretro-mame2003: Entering fakeroot... >>> libretro-mame2003*: Running postcheck for libretro-mame2003 >>> libretro-mame2003*: Preparing package libretro-mame2003... >>> libretro-mame2003*: Stripping binaries >>> libretro-mame2003*: Scanning shared objects >>> libretro-mame2003*: Tracing dependencies... so:libc.musl-loongarch64.so.1 >>> libretro-mame2003*: Package size: 36.3 MB >>> libretro-mame2003*: Compressing data... >>> libretro-mame2003*: Create checksum... >>> libretro-mame2003*: Create libretro-mame2003-0_git20240904-r0.apk >>> libretro-mame2003: Build complete at Sat, 28 Sep 2024 03:29:22 +0000 elapsed time 0h 0m 49s >>> libretro-mame2003: Cleaning up srcdir >>> libretro-mame2003: Cleaning up pkgdir >>> libretro-mame2003: Uninstalling dependencies... (1/1) Purging .makedepends-libretro-mame2003 (20240928.032834) OK: 251 MiB in 105 packages >>> libretro-mame2003: Updating the testing/loongarch64 repository index... >>> libretro-mame2003: Signing the index...