------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.2.txz Installing /packages/All/gmake-4.3.txz SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> libretro-mame2003_plus-0.20200313 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> libretro-mame2003_plus-0.20200313 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libretro-mame2003_plus-0.20200313 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> libretro-mame2003_plus-0.20200313 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libretro-mame2003_plus-0.20200313 for building => SHA256 Checksum OK for libretro-mame2003-plus-libretro-0.20200313-0134c42_GH0.tar.gz. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> libretro-mame2003_plus-0.20200313 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libretro-mame2003_plus-0.20200313 for building ===> Extracting for libretro-mame2003_plus-0.20200313 => SHA256 Checksum OK for libretro-mame2003-plus-libretro-0.20200313-0134c42_GH0.tar.gz. Extracted Memory Use: 107.70M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for libretro-mame2003_plus-0.20200313 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> libretro-mame2003_plus-0.20200313 depends on package: gmake>=4.3 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> libretro-mame2003_plus-0.20200313 depends on package: gmake>=4.3 - found ===> Configuring for libretro-mame2003_plus-0.20200313 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for libretro-mame2003_plus-0.20200313 gmake[1]: Entering directory '/construction/games/libretro-mame2003_plus/mame2003-plus-libretro-0134c42' /bin/sh: git: not found Compiling src/artwork.c... Compiling src/mame2003/mame2003.c... Compiling src/mame2003/video.c... Compiling src/bootstrap.c... Compiling src/config.c... Compiling src/controls.c... Compiling src/cpuexec.c... Compiling src/cpuint.c... Compiling src/common.c... Compiling src/cheat.c... In file included from src/mame2003/video.c:7: src/common.h:447:55: warning: 'struct GameDriver' declared inside parameter list will not be visible outside of this definition or declaration const struct RomModule *rom_first_region(const struct GameDriver *drv); ^~~~~~~~~~ src/config.c: In function 'config_read_ports': src/config.c:332:15: warning: variable 'total' set but not used [-Wunused-but-set-variable] unsigned int total; ^~~~~ src/config.c: In function 'config_read_coin_and_ticket_counters': src/config.c:441:6: warning: variable 'coin_counters' set but not used [-Wunused-but-set-variable] int coin_counters; ^~~~~~~~~~~~~ src/cheat.c: In function 'UIPressedRepeatThrottle': src/cheat.c:1454:8: warning: variable 'pressed' set but not used [-Wunused-but-set-variable] int pressed = 0; ^~~~~~~ src/cheat.c: In function 'RebuildStringTables': src/cheat.c:2009:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)menuStrings.mainList, ^ src/cheat.c:2010:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)menuStrings.subList, ^ src/cheat.c:2011:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)menuStrings.flagList, ^ src/cheat.c:2012:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)menuStrings.mainStrings, ^ src/cheat.c:2013:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)menuStrings.subStrings, ^ src/cheat.c:2014:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)menuStrings.buf); ^ src/cheat.c: In function 'DoSearchMenu': src/cheat.c:4880:15: warning: variable 'submenuChoice' set but not used [-Wunused-but-set-variable] static INT32 submenuChoice = 0; ^~~~~~~~~~~~~ src/common.c: In function 'read_wav_sample': src/common.c:421:25: warning: assignment to 'INT16 *' {aka 'short int *'} from incompatible pointer type 'signed char *' [-Wincompatible-pointer-types] flac_file.write_data = result->data; ^ src/common.c: In function 'readsample': src/common.c:454:21: warning: unused variable 'SampleFile' [-Wunused-variable] struct GameSample *SampleFile; ^~~~~~~~~~ src/common.c: In function 'readsamples': src/common.c:488:8: warning: variable 'missing_sample' set but not used [-Wunused-but-set-variable] bool missing_sample = false; ^~~~~~~~~~~~~~ src/common.c: In function 'determine_bios_rom': src/common.c:1136:27: warning: unused variable 'firstbios' [-Wunused-variable] const struct SystemBios *firstbios = bios; ^~~~~~~~~ In file included from src/driver.h:68, from src/common.c:6: src/common.c: In function 'region_post_process': src/common.h:230:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^ src/common.c:1394:13: note: in expansion of macro 'ROMREGION_GETTYPE' int type = ROMREGION_GETTYPE(regiondata); ^~~~~~~~~~~~~~~~~ src/common.c: In function 'read_rom_data': src/common.c:1542:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] log_cb(RETRO_LOG_DEBUG, LOGPRE " Copying to %08X\n", (int)base); ^ src/common.c: In function 'fill_rom_data': src/common.c:1627:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] memset(base, (UINT32)ROM_GETHASHDATA(romp) & 0xff, numbytes); ^ src/common.c: In function 'copy_rom_data': src/common.c:1641:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] UINT32 srcoffs = (UINT32)ROM_GETHASHDATA(romp); /* srcoffset in place of hashdata */ ^ In file included from src/driver.h:68, from src/common.c:6: src/common.c: In function 'rom_load': src/common.h:230:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^ src/common.c:1938:20: note: in expansion of macro 'ROMREGION_GETTYPE' int regiontype = ROMREGION_GETTYPE(region); ^~~~~~~~~~~~~~~~~ src/common.c:1963:87: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] log_cb(RETRO_LOG_DEBUG, LOGPRE "Allocated %X bytes @ %08X\n", romdata.regionlength, (int)romdata.regionbase); ^ src/cheat.c: In function 'DefaultEnableRegion': src/artwork.c: In function 'render_ui_overlay': src/artwork.c:1968:6: warning: variable 'width' set but not used [-Wunused-but-set-variable] int width, height; ^~~~~ src/cheat.c:7699:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] UINT32 handlerAddress = (UINT32)handler; ^ src/mame2003/mame2003.c: In function 'convert_analog_scale': src/mame2003/mame2003.c:2043:13: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] input = (int)round(scaled); ^ src/cheat.c:7754:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if( (handlerAddress >= ((UINT32)MWA_BANK1)) && ^ src/cheat.c:7755:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (handlerAddress <= ((UINT32)MWA_BANK24))) ^ src/cheat.c: In function 'SetSearchRegionDefaultName': src/cheat.c:7796:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] UINT32 handlerAddress = (UINT32)handler; ^ src/cheat.c:7798:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if( (handlerAddress >= ((UINT32)MWA_BANK1)) && ^ src/cheat.c:7799:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (handlerAddress <= ((UINT32)MWA_BANK24))) ^ src/cheat.c:7801:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sprintf(desc, "BANK%.2d", (handlerAddress - ((UINT32)MWA_BANK1)) + 1); ^ src/cheat.c:7807:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (UINT32)MWA_NOP: strcpy(desc, "NOP "); break; ^ src/cheat.c:7808:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (UINT32)MWA_RAM: strcpy(desc, "RAM "); break; ^ src/cheat.c:7809:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (UINT32)MWA_ROM: strcpy(desc, "ROM "); break; ^ src/cheat.c:7810:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (UINT32)MWA_RAMROM: strcpy(desc, "RAMROM"); break; ^ Compiling src/cpuintrf.c... In file included from src/driver.h:68, from src/cheat.c:374: src/cheat.c: In function 'BuildCPUInfoList': src/common.h:230:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^ src/cheat.c:10088:24: note: in expansion of macro 'ROMREGION_GETTYPE' UINT8 regionType = ROMREGION_GETTYPE(traverse); ^~~~~~~~~~~~~~~~~ Compiling src/datafile.c... src/datafile.c:369:12: warning: 'ci_strcmp' defined but not used [-Wunused-function] static int ci_strcmp (const char *s1, const char *s2) ^~~~~~~~~ Compiling src/drawgfx.c... Compiling src/driver.c... Compiling src/fileio.c... Compiling src/harddisk.c... Compiling src/hash.c... Compiling src/hiscore.c... src/fileio.c: In function 'osd_get_path': src/fileio.c:223:47: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer,path_default_slash_c(), "ctrlr"); ^~ ~~~~~~~ src/fileio.c:223:10: note: 'snprintf' output between 7 and 4102 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer,path_default_slash_c(), "ctrlr"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:220:47: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer,path_default_slash_c(), "memcard"); ^~ ~~~~~~~~~ src/fileio.c:220:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer,path_default_slash_c(), "memcard"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:217:47: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer,path_default_slash_c(), "cfg"); ^~ ~~~~~ src/fileio.c:217:10: note: 'snprintf' output between 5 and 4100 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer,path_default_slash_c(), "cfg"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:214:48: warning: '%s' directive output may be truncated writing 2 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer,path_default_slash_c(), "hi"); ^~ ~~~~ src/fileio.c:214:11: note: 'snprintf' output between 4 and 4099 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer,path_default_slash_c(), "hi"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:211:47: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer,path_default_slash_c(), "nvram"); ^~ ~~~~~~~ src/fileio.c:211:10: note: 'snprintf' output between 7 and 4102 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer,path_default_slash_c(), "nvram"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:231:47: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", sys_path_buffer,path_default_slash_c(), "artwork"); ^~ ~~~~~~~~~ src/fileio.c:231:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", sys_path_buffer,path_default_slash_c(), "artwork"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:234:47: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", sys_path_buffer,path_default_slash_c(), "samples"); ^~ ~~~~~~~~~ src/fileio.c:234:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", sys_path_buffer,path_default_slash_c(), "samples"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c:208:47: warning: '%s' directive output may be truncated writing 4 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer,path_default_slash_c(), "diff"); ^~ ~~~~~~ src/fileio.c:208:10: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 snprintf(path, PATH_MAX_LENGTH, "%s%c%s", save_path_buffer,path_default_slash_c(), "diff"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/info.c... src/fileio.c: In function 'osd_get_path_info': src/fileio.c:252:45: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buffer, PATH_MAX_LENGTH, "%s%c%s", currDir,path_default_slash_c(), filename); ^ src/fileio.c:252:4: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 snprintf(buffer, PATH_MAX_LENGTH, "%s%c%s", currDir,path_default_slash_c(), filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fileio.c: In function 'osd_fopen': src/fileio.c:277:45: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buffer, PATH_MAX_LENGTH, "%s%c%s", currDir,path_default_slash_c(), filename); ^ src/fileio.c:277:4: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 snprintf(buffer, PATH_MAX_LENGTH, "%s%c%s", currDir,path_default_slash_c(), filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:68, from src/info.c:3: src/info.c: In function 'print_game_rom': src/common.h:230:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^ src/info.c:361:12: note: in expansion of macro 'ROMREGION_GETTYPE' switch (ROMREGION_GETTYPE(region)) ^~~~~~~~~~~~~~~~~ src/common.h:230:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ROMREGION_GETTYPE(r) ((UINT32)(r)->_hashdata) ^ src/info.c:397:58: note: in expansion of macro 'ROMREGION_GETTYPE' default: fprintf(out, " region=\"0x%x\"", ROMREGION_GETTYPE(region)); ^~~~~~~~~~~~~~~~~ At top level: src/info.c:681:13: warning: 'print_game_history' defined but not used [-Wunused-function] static void print_game_history(FILE* out, const struct GameDriver* game) ^~~~~~~~~~~~~~~~~~ Compiling src/inptport.c... Compiling src/input.c... Compiling src/mame-memory.c... src/drawgfx.c: In function 'draw_crosshair': src/drawgfx.c:3521:17: warning: variable 'black' set but not used [-Wunused-but-set-variable] unsigned short black,white; ^~~~~ src/inptport.c:2064:13: warning: 'writeint' defined but not used [-Wunused-function] static void writeint(mame_file *f,UINT32 num) ^~~~~~~~ src/inptport.c:2045:12: warning: 'readint' defined but not used [-Wunused-function] static int readint(mame_file *f,UINT32 *num) ^~~~~~~ src/mame-memory.c: In function 'assign_dynamic_bank': src/mame-memory.c:73:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define BANK_TO_HANDLER(b) ((void *)(b)) ^ src/mame-memory.c:995:11: note: in expansion of macro 'BANK_TO_HANDLER' return BANK_TO_HANDLER(bank); ^~~~~~~~~~~~~~~ src/mame-memory.c: In function 'verify_memory': src/mame-memory.c:1247:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (; !IS_MEMPORT_END(mwa); mwa++) ^~~ src/mame-memory.c:1254:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' mwa++; ^~~ Compiling src/mame.c... Compiling src/mamedbg.c... Compiling src/mame_unzip.c... Compiling src/palette.c... Compiling src/png.c... Compiling src/profiler.c... Compiling src/sndintrf.c... Compiling src/state.c... src/state.c: In function 'ss_register_func': src/state.c:302:97: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] log_cb(RETRO_LOG_DEBUG, LOGPRE "Duplicate save state function (%d, 0x%x)\n", ss_current_tag, (int)func); ^ Compiling src/tilemap.c... Compiling src/timer.c... src/timer.c: In function 'timer_adjust_global_time': src/timer.c:325:71: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] log_cb(RETRO_LOG_DEBUG, LOGPRE "Timer %08X fired (expire=%.9f)\n", (UINT32)timer, timer->expire); ^ src/timer.c: In function 'timer_adjust': src/timer.c:417:74: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] log_cb(RETRO_LOG_DEBUG, LOGPRE "timer_adjust %08X to expire @ %.9f\n", (UINT32)which, which->expire); ^ Compiling src/ui_text.c... Compiling src/usrintrf.c... Compiling src/window.c... Compiling src/x86drc.c... Compiling src/machine/6522via.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] do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^ src/x86drc.h:199:59: note: in definition of macro 'OP4' #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.c:217:3: note: in expansion of macro '_jmp' _jmp(drc->dispatch); ^~~~ src/x86drc.h:977:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^ src/x86drc.h:199:59: note: in definition of macro 'OP4' #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.c:217:3: note: in expansion of macro '_jmp' _jmp(drc->dispatch); ^~~~ src/x86drc.c: In function 'drc_end_sequence': src/x86drc.h:977:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^ src/x86drc.h:199:59: note: in definition of macro 'OP4' #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.c:241:5: note: in expansion of macro '_jmp' _jmp(drc->sequence_list[j].target); ^~~~ src/x86drc.h:977:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^ src/x86drc.h:199:59: note: in definition of macro 'OP4' #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.c:241:5: note: in expansion of macro '_jmp' _jmp(drc->sequence_list[j].target); ^~~~ src/x86drc.c: In function 'drc_append_verify_code': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:639:14: note: in expansion of macro 'MODRM_MABS' OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ ^~~~~~~~~~ src/x86drc.h:669:6: note: in expansion of macro '_arith_m32abs_imm_common' do { _arith_m32abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:285:3: note: in expansion of macro '_cmp_m32abs_imm' _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:643:14: note: in expansion of macro 'MODRM_MABS' OP1(0x81); MODRM_MABS(reg, addr); OP4(imm); \ ^~~~~~~~~~ src/x86drc.h:669:6: note: in expansion of macro '_arith_m32abs_imm_common' do { _arith_m32abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:285:3: note: in expansion of macro '_cmp_m32abs_imm' _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:746:14: note: in expansion of macro 'MODRM_MABS' OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \ ^~~~~~~~~~ src/x86drc.h:773:6: note: in expansion of macro '_arith_m16abs_imm_common' do { _arith_m16abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:290:3: note: in expansion of macro '_cmp_m16abs_imm' _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:750:14: note: in expansion of macro 'MODRM_MABS' OP1(0x81); MODRM_MABS(reg, addr); OP2(imm); \ ^~~~~~~~~~ src/x86drc.h:773:6: note: in expansion of macro '_arith_m16abs_imm_common' do { _arith_m16abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:290:3: note: in expansion of macro '_cmp_m16abs_imm' _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:781:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x80); MODRM_MABS(reg, addr); OP1(imm); } while (0) ^~~~~~~~~~ src/x86drc.h:802:6: note: in expansion of macro '_arith_m8abs_imm_common' do { _arith_m8abs_imm_common(7, addr, imm); } while (0) ^~~~~~~~~~~~~~~~~~~~~~~ src/x86drc.c:295:3: note: in expansion of macro '_cmp_m8abs_imm' _cmp_m8abs_imm(code, *(UINT8 *)code); /* cmp [pc],opcode*/ ^~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_save_volatiles': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:324:3: note: in expansion of macro '_mov_m32abs_r32' _mov_m32abs_r32(drc->icountptr, REG_EBP); ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:326:3: note: in expansion of macro '_mov_m32abs_r32' _mov_m32abs_r32(drc->pcptr, REG_EDI); ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:328:3: note: in expansion of macro '_mov_m32abs_r32' _mov_m32abs_r32(drc->esiptr, REG_ESI); ^~~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_restore_volatiles': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:339:3: note: in expansion of macro '_mov_r32_m32abs' _mov_r32_m32abs(REG_EBP, drc->icountptr); ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:341:3: note: in expansion of macro '_mov_r32_m32abs' _mov_r32_m32abs(REG_EDI, drc->pcptr); ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:343:3: note: in expansion of macro '_mov_r32_m32abs' _mov_r32_m32abs(REG_ESI, drc->esiptr); ^~~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_save_call_restore': src/x86drc.h:982:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] do { if (drc->uses_fp) OP1(0xe8); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^ src/x86drc.h:199:59: note: in definition of macro 'OP4' #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.c:354:2: note: in expansion of macro '_call' _call(target); /* call target*/ ^~~~~ src/x86drc.h:982:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] do { if (drc->uses_fp) OP1(0xe8); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0) ^ src/x86drc.h:199:59: note: in definition of macro 'OP4' #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.c:354:2: note: in expansion of macro '_call' _call(target); /* call target*/ ^~~~~ src/x86drc.c: In function 'drc_append_dispatcher': src/x86drc.h:218:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((UINT32)(disp) == 0 && (base) != REG_ESP && (base) != REG_EBP) \ ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:222:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:222:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:228:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] OP1((INT32)disp); \ ^ src/x86drc.h:197:50: note: in definition of macro 'OP1' #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:233:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] OP1((INT32)disp); \ ^ src/x86drc.h:197:50: note: in definition of macro 'OP1' #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:242:4: note: in expansion of macro 'OP4' OP4(disp); \ ^~~ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:247:4: note: in expansion of macro 'OP4' OP4(disp); \ ^~~ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:257:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((UINT32)(disp) == 0 || (base) == NO_BASE) \ ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:261:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((UINT32)(disp) != 0) OP4(disp); \ ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:261:28: note: in expansion of macro 'OP4' if ((UINT32)(disp) != 0) OP4(disp); \ ^~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:263:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:263:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:267:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] OP1((INT32)disp); \ ^ src/x86drc.h:197:50: note: in definition of macro 'OP1' #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) ^ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:273:3: note: in expansion of macro 'OP4' OP4(disp); \ ^~~ src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0) ^~~~~~~~~~~ src/x86drc.c:389:2: note: in expansion of macro '_mov_r32_m32isd' _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_fixed_dispatcher': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:404:3: note: in expansion of macro '_mov_r32_m32abs' _mov_r32_m32abs(REG_EAX, &drc->lookup_l1[newpc >> drc->l1shift]);/* mov eax,[(newpc >> l1shift)*4 + l1lookup]*/ ^~~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:987:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xff); MODRM_MABS(4, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:408:3: note: in expansion of macro '_jmp_m32abs' _jmp_m32abs((UINT8 *)base + (newpc & drc->l2mask) * drc->l2scale); /* jmp [eax+(newpc & l2mask)*l2scale]*/ ^~~~~~~~~~~ src/x86drc.c: In function 'drc_append_set_fp_rounding': src/x86drc.h:218:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((UINT32)(disp) == 0 && (base) != REG_ESP && (base) != REG_EBP) \ ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ Compiling src/machine/6532riot.c... src/x86drc.h:222:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:222:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:228:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] OP1((INT32)disp); \ ^ src/x86drc.h:197:50: note: in definition of macro 'OP1' #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:233:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] OP1((INT32)disp); \ ^ src/x86drc.h:197:50: note: in definition of macro 'OP1' #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) ^ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:242:4: note: in expansion of macro 'OP4' OP4(disp); \ ^~~ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:247:4: note: in expansion of macro 'OP4' OP4(disp); \ ^~~ src/x86drc.h:256:3: note: in expansion of macro 'MODRM_MBD' MODRM_MBD(reg,indx,disp); \ ^~~~~~~~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:257:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((UINT32)(disp) == 0 || (base) == NO_BASE) \ ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:261:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((UINT32)(disp) != 0) OP4(disp); \ ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:261:28: note: in expansion of macro 'OP4' if ((UINT32)(disp) != 0) OP4(disp); \ ^~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:263:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:263:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] else if ((INT8)(INT32)(disp) == (INT32)(disp)) \ ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:267:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] OP1((INT32)disp); \ ^ src/x86drc.h:197:50: note: in definition of macro 'OP1' #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0) ^ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:273:3: note: in expansion of macro 'OP4' OP4(disp); \ ^~~ src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD' do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0) ^~~~~~~~~~~ src/x86drc.c:436:2: note: in expansion of macro '_fldcw_m16isd' _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/ ^~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:870:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:437:2: note: in expansion of macro '_fnstcw_m16abs' _fnstcw_m16abs(&drc->fpcw_curr); /* fnstcw [fpcw_curr]*/ ^~~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_set_temp_fp_rounding': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:448:2: note: in expansion of macro '_fldcw_m16abs' _fldcw_m16abs(&fp_control[rounding]); /* fldcw [fp_control]*/ ^~~~~~~~~~~~~ src/x86drc.c: In function 'drc_append_restore_fp_rounding': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:459:2: note: in expansion of macro '_fldcw_m16abs' _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ ^~~~~~~~~~~~~ src/x86drc.c: In function 'append_entry_point': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:870:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xd9); MODRM_MABS(7, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:537:3: note: in expansion of macro '_fnstcw_m16abs' _fnstcw_m16abs(&drc->fpcw_save); /* fstcw [fpcw_save]*/ ^~~~~~~~~~~~~~ src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:538:3: note: in expansion of macro '_fldcw_m16abs' _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/ ^~~~~~~~~~~~~ src/x86drc.c: In function 'append_recompile': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:290:17: note: in expansion of macro 'OP4' do { OP1(0x68); OP4(imm); } while (0) ^~~ src/x86drc.c:565:2: note: in expansion of macro '_push_imm' _push_imm(drc); /* push drc*/ ^~~~~~~~~ src/x86drc.c: In function 'append_out_of_cycles': src/x86drc.h:199:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0) ^ src/x86drc.h:213:38: note: in expansion of macro 'OP4' do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0) ^~~ src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS' do { OP1(0xd9); MODRM_MABS(5, addr); } while (0) ^~~~~~~~~~ src/x86drc.c:581:3: note: in expansion of macro '_fldcw_m16abs' _fldcw_m16abs(&drc->fpcw_save); /* fldcw [fpcw_save]*/ ^~~~~~~~~~~~~ Compiling src/machine/6821pia.c... Compiling src/machine/74123.c... Compiling src/machine/74148.c... src/machine/74148.c: In function 'TTL74148_update': src/machine/74148.c:84:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] bit0 = !((!chips[which].input_lines[1] & ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:88:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] (!chips[which].input_lines[3] & ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:91:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] (!chips[which].input_lines[5] & ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:95:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] bit1 = !((!chips[which].input_lines[2] & ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/machine/74148.c:98:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] (!chips[which].input_lines[3] & ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/machine/74153.c... Compiling src/machine/7474.c... Compiling src/machine/8255ppi.c... Compiling src/machine/eeprom.c... Compiling src/machine/idectrl.c... Compiling src/machine/mathbox.c... Compiling src/machine/mb87078.c... 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... src/vidhrdw/tlc34076.c: In function 'tlc34076_w': src/vidhrdw/tlc34076.c:138:8: warning: variable 'oldval' set but not used [-Wunused-but-set-variable] UINT8 oldval; ^~~~~~ Compiling src/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... Compiling src/drivers/jrpacman.c... 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... 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... Compiling src/sndhrdw/gomoku_sndhrdw.c... 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... src/vidhrdw/tubep_vidhrdw.c: In function 'palette_init_tubep': src/vidhrdw/tubep_vidhrdw.c:235:9: warning: variable 'output_scaler' set but not used [-Wunused-but-set-variable] double output_scaler; ^~~~~~~~~~~~~ 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... Compiling src/drivers/hyhoo.c... 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... Compiling src/drivers/galaxian.c... Compiling src/sndhrdw/galaxian_sndhrdw.c... Compiling src/vidhrdw/rallyx_vidhrdw.c... Compiling src/drivers/rallyx.c... src/sndhrdw/galaxian_sndhrdw.c: In function 'galaxian_sh_start': src/sndhrdw/galaxian_sndhrdw.c:198:19: warning: variable 'charge' set but not used [-Wunused-but-set-variable] int i, j, sweep, charge, countdown, generator, bit1, bit2; ^~~~~~ src/sndhrdw/galaxian_sndhrdw.c:198:12: warning: variable 'sweep' set but not used [-Wunused-but-set-variable] int i, j, sweep, charge, countdown, generator, bit1, bit2; ^~~~~ src/sndhrdw/galaxian_sndhrdw.c:198:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] int i, j, sweep, charge, countdown, generator, bit1, bit2; ^ Compiling src/drivers/locomotn.c... Compiling src/vidhrdw/bosco_vidhrdw.c... Compiling src/vidhrdw/galaga_vidhrdw.c... Compiling src/drivers/galaga.c... Compiling src/vidhrdw/digdug_vidhrdw.c... Compiling src/vidhrdw/xevious_vidhrdw.c... Compiling src/machine/xevious_machine.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/rallyx.c:56: src/inptport.h:187:36: warning: 'input_ports_nrallyv' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/rallyx.c:237:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( nrallyv ) ^~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/mappy_vidhrdw.c... Compiling src/drivers/mappy.c... Compiling src/machine/gaplus_machine.c... Compiling src/vidhrdw/gaplus_vidhrdw.c... Compiling src/drivers/gaplus.c... Compiling src/vidhrdw/toypop_vidhrdw.c... Compiling src/drivers/toypop.c... Compiling src/drivers/polepos.c... Compiling src/vidhrdw/polepos_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/toypop.c:32: src/drivers/toypop.c:228:23: warning: 'toypop_68k_irq_trigger_w' defined but not used [-Wunused-function] static WRITE_HANDLER( toypop_68k_irq_trigger_w ) ^~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:127:39: note: in definition of macro 'WRITE_HANDLER' #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data) ^~~~ Compiling src/sndhrdw/polepos_sndhrdw.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... src/vidhrdw/tceptor_vidhrdw.c: In function 'palette_init_tceptor': src/vidhrdw/tceptor_vidhrdw.c:47:17: warning: variable 'totlookup' set but not used [-Wunused-but-set-variable] int totcolors, totlookup; ^~~~~~~~~ Compiling src/drivers/namcos1.c... src/vidhrdw/namcos1_vidhrdw.c: In function 'video_start_namcos1': src/vidhrdw/namcos1_vidhrdw.c:628:16: warning: "/*" within comment [-Wcomment] case 0x0588: /* Berabohm*/ Compiling src/machine/namcos2_machine.c... Compiling src/vidhrdw/namcos2_vidhrdw.c... Compiling src/drivers/namcos2.c... 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... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/namconb1.c:290: src/inptport.h:187:36: warning: 'input_ports_machbrkr' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/namconb1.c:1141:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( machbrkr ) ^~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/psx_vidhrdw.c... Compiling src/machine/psx_machine.c... Compiling src/drivers/namcos10.c... Compiling src/drivers/namcos11.c... src/vidhrdw/psx_vidhrdw.c: In function 'MonochromeLine': src/vidhrdw/psx_vidhrdw.c:2106:8: warning: variable 'n_db' set but not used [-Wunused-but-set-variable] INT32 n_db; ^~~~ src/vidhrdw/psx_vidhrdw.c:2105:8: warning: variable 'n_dg' set but not used [-Wunused-but-set-variable] INT32 n_dg; ^~~~ src/vidhrdw/psx_vidhrdw.c:2104:8: warning: variable 'n_dr' set but not used [-Wunused-but-set-variable] INT32 n_dr; ^~~~ In file included from src/drivers/namcos11.c:144: src/driver.h:98:7: warning: 'construct_coh110' defined but not used [-Wunused-function] void construct_##game(struct InternalMachineDriver *machine) \ ^~~~~~~~~~ src/drivers/namcos11.c:797:8: note: in expansion of macro 'MACHINE_DRIVER_START' static MACHINE_DRIVER_START( coh110 ) ^~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/namcos12.c... Compiling src/vidhrdw/namcos3d.c... Compiling src/vidhrdw/namcos21_vidhrdw.c... Compiling src/drivers/namcos21.c... Compiling src/vidhrdw/namcos22_vidhrdw.c... Compiling src/drivers/namcos22.c... Compiling src/vidhrdw/cosmic_vidhrdw.c... Compiling src/drivers/cosmic.c... Compiling src/vidhrdw/redclash_vidhrdw.c... src/vidhrdw/cosmic_vidhrdw.c: In function 'cosmica_draw_starfield': src/vidhrdw/cosmic_vidhrdw.c:378:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if ((!(hc & va) & (vb ^ hb_)) && /* right network */ ^~~~~~~~~~ src/vidhrdw/cosmic_vidhrdw.c: In function 'nomnlnd_draw_background': src/vidhrdw/cosmic_vidhrdw.c:536:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if ((!vb_ & vc_ & !vd_) ^ (vb_ & !vc_ & vd_)) ^~~~ src/vidhrdw/cosmic_vidhrdw.c:539:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (!hd_ & hc_ & !hb_) ^~~~ src/vidhrdw/cosmic_vidhrdw.c:570:15: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] (!plane1 & hd) << 2; /* B - see above*/ ^~~~~~~ src/drivers/cosmic.c: In function 'panic_sound_output_w': src/drivers/cosmic.c:69:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/drivers/cosmic.c:71:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ src/drivers/cosmic.c: In function 'cosmica_sound_output_w': src/drivers/cosmic.c:223:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/drivers/cosmic.c:224:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' sample_start(2, 3, 0); break; ^~~~~ src/drivers/cosmic.c:234:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/drivers/cosmic.c:235:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' sample_start(3, 4, 0); break; ^~~~~ src/drivers/cosmic.c:244:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/drivers/cosmic.c:245:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' sample_start(4, 5, 0); break; ^~~~~ src/drivers/cosmic.c:254:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/drivers/cosmic.c:255:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' sample_start(5, 6, 0); break; ^~~~~ src/drivers/cosmic.c:264:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/drivers/cosmic.c:265:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' sample_start(6, 7, 0); break; ^~~~~ src/drivers/cosmic.c:274:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/drivers/cosmic.c:275:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' sample_start(7, 8, 0); break; ^~~~~ src/drivers/cosmic.c:321:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (data) sample_start(11,12, 0); break; /*Insert Coin*/ ^~ src/drivers/cosmic.c:321:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (data) sample_start(11,12, 0); break; /*Insert Coin*/ ^~~~~ src/drivers/cosmic.c: In function 'panic_interrupt': src/drivers/cosmic.c:342:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((input_port_3_r(0) & 0xc0) != 0xc0) ^~ src/drivers/cosmic.c:345:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' cpu_set_irq_line_and_vector(0, 0, HOLD_LINE, 0xcf); /* RST 08h */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/redclash.c... Compiling src/vidhrdw/ladybug_vidhrdw.c... Compiling src/drivers/ladybug.c... In file included from src/driver.h:64, from src/includes/namcos22.h:1, from src/drivers/namcos22.c:552: src/drivers/namcos22.c:602:25: warning: 'namcos22_C139_SCI_w' defined but not used [-Wunused-function] static WRITE32_HANDLER( namcos22_C139_SCI_w ) ^~~~~~~~~~~~~~~~~~~ src/memory.h:131:40: note: in definition of macro 'WRITE32_HANDLER' #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask) ^~~~ Compiling src/vidhrdw/cheekyms_vidhrdw.c... Compiling src/drivers/cheekyms.c... 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... src/vidhrdw/dkong_vidhrdw.c: In function 'radarscp_grid_color_w': src/vidhrdw/dkong_vidhrdw.c:220:10: warning: variable 'b' set but not used [-Wunused-but-set-variable] int r,g,b; ^ src/vidhrdw/dkong_vidhrdw.c:220:8: warning: variable 'g' set but not used [-Wunused-but-set-variable] int r,g,b; ^ src/vidhrdw/dkong_vidhrdw.c:220:6: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r,g,b; ^ Compiling src/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/vidhrdw/punchout_vidhrdw.c... Compiling src/drivers/punchout.c... Compiling src/drivers/popeye.c... Compiling src/machine/rp5h01.c... 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... src/machine/snes_machine.c:1051:12: warning: 'snes_validate_infoblock' defined but not used [-Wunused-function] static int snes_validate_infoblock( UINT8 *infoblock, UINT16 offset ) ^~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/snes_vidhrdw.c: In function 'snes_update_line_8': src/vidhrdw/snes_vidhrdw.c:1131:27: warning: variable 'pal' set but not used [-Wunused-but-set-variable] UINT16 ii, vflip, hflip, pal; ^~~ Compiling src/machine/8080bw.c... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/vsnes.c:128: src/inptport.h:187:36: warning: 'input_ports_vsnes' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/vsnes.c:524:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( vsnes ) ^~~~~~~~~~~~~~~~~ src/sndhrdw/snes_sndhrdw.c: In function 'fakespc_port_r': src/sndhrdw/snes_sndhrdw.c:586:21: warning: array subscript 4 is above array bounds of 'UINT8[4]' {aka 'unsigned char[4]'} [-Warray-bounds] return fakeapu_port[offset]; ~~~~~~~~~~~~^~~~~~~~ Compiling src/vidhrdw/8080bw_vidhrdw.c... Compiling src/sndhrdw/8080bw_sndhrdw.c... Compiling src/drivers/8080bw_drivers.c... Compiling src/vidhrdw/sspeedr_vidhrdw.c... Compiling src/drivers/sspeedr.c... Compiling src/vidhrdw/m79amb_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/8080bw_drivers.c:64: src/drivers/8080bw_drivers.c:108:26: warning: 'writeport_2_3' defined but not used [-Wunused-const-variable=] static PORT_WRITE_START( writeport_2_3 ) ^~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/8080bw_drivers.c:108:8: note: in expansion of macro 'PORT_WRITE_START' static PORT_WRITE_START( writeport_2_3 ) ^~~~~~~~~~~~~~~~ Compiling src/drivers/m79amb.c... Compiling src/drivers/rotaryf.c... Compiling src/drivers/lazercmd.c... Compiling src/vidhrdw/lazercmd_vidhrdw.c... Compiling src/drivers/meadows.c... Compiling src/sndhrdw/meadows_sndhrdw.c... Compiling src/vidhrdw/meadows_vidhrdw.c... Compiling src/drivers/cvs.c... Compiling src/vidhrdw/cvs_vidhrdw.c... Compiling src/vidhrdw/s2636_vidhrdw.c... Compiling src/machine/astrocde_machine.c... Compiling src/drivers/astrocde.c... Compiling src/vidhrdw/astrocde_vidhrdw.c... Compiling src/sndhrdw/astrocde_sndhrdw.c... Compiling src/sndhrdw/gorf.c... Compiling src/machine/mcr.c... Compiling src/sndhrdw/mcr_sndhrdw.c... Compiling src/vidhrdw/mcr12_vidhrdw.c... Compiling src/vidhrdw/mcr3_vidhrdw.c... Compiling src/drivers/mcr1.c... Compiling src/drivers/mcr2.c... Compiling src/drivers/mcr3.c... Compiling src/vidhrdw/mcr68_vidhrdw.c... Compiling src/drivers/mcr68.c... Compiling src/vidhrdw/balsente_vidhrdw.c... Compiling src/machine/balsente_machine.c... Compiling src/drivers/balsente.c... Compiling src/vidhrdw/gridlee_vidhrdw.c... src/machine/balsente_machine.c: In function 'balsente_chip_select_w': src/machine/balsente_machine.c:1025:11: warning: variable 'temp' set but not used [-Wunused-but-set-variable] double temp = 0; ^~~~ 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/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo2_regs_w': src/vidhrdw/voodoo_vidhrdw.c:1729:96: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] log_cb(RETRO_LOG_DEBUG, LOGPRE "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:152: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] log_cb(RETRO_LOG_DEBUG, LOGPRE "%06X:voodoo %s(%d) write = %f\n", activecpu_get_pc(), (offset < 0x384/4) ? voodoo_reg_name[offset] : "oob", chips, *(float *)&data); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1898:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_va.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:1901:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_va.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:1904:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_vb.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:1907:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_vb.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:1910:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_vc.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:1913:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_vc.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:1918:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_startr = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1921:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_startg = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1924:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_startb = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1927:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_starta = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1930:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_startz = (INT32)(*(float *)&data * 4096.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1933:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_startw = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1934:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_startw0 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1935:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_startw1 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1938:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_starts0 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1939:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_starts1 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1942:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_startt0 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1943:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_startt1 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1948:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_drdx = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1951:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dgdx = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1954:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dbdx = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1957:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dadx = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1960:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dzdx = (INT32)(*(float *)&data * 4096.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1963:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dwdx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1964:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_dw0dx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1965:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_dw1dx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1968:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_ds0dx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1969:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_ds1dx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1972:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_dt0dx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1973:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_dt1dx = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1978:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_drdy = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1981:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dgdy = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ Compiling src/sndhrdw/dcs.c... src/vidhrdw/voodoo_vidhrdw.c:1984:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dbdy = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1987:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dady = (INT32)(*(float *)&data * 65536.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1990:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dzdy = (INT32)(*(float *)&data * 4096.0); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1993:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 1) tri_dwdy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1994:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_dw0dy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1995:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_dw1dy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1998:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_ds0dy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:1999:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_ds1dy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2002:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 2) tri_dt0dy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2003:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (chips & 4) tri_dt1dy = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2008:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:2011:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.); ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT' #define TRUNC_TO_INT(f) (float) (floor(f)) ^ src/vidhrdw/voodoo_vidhrdw.c:2020:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.wb = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2023:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.w0 = *(float *)&data; ^~~~~~~~~~~~~~ Compiling src/machine/midyunit_machine.c... src/vidhrdw/voodoo_vidhrdw.c:2026:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.s0 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2029:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.t0 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2032:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.w1 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2035:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.s1 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2038:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.t1 = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2041:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.a = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2044:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.r = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2047:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.g = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c:2050:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] setup_pending.b = *(float *)&data; ^~~~~~~~~~~~~~ src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo_textureram_w': src/vidhrdw/voodoo_vidhrdw.c:2969:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s == 0 && t == 0) ^~ src/vidhrdw/voodoo_vidhrdw.c:2971:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' while (lod != 0) ^~~~~ Compiling src/vidhrdw/midyunit_vidhrdw.c... Compiling src/drivers/midyunit.c... src/drivers/midyunit.c:102:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] mk_sample_names_yunit ^~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/midxunit.c... Compiling src/machine/midwunit_machine.c... Compiling src/drivers/midwunit.c... Compiling src/vidhrdw/midvunit_vidhrdw.c... Compiling src/drivers/midvunit.c... Compiling src/machine/midtunit_machine.c... Compiling src/vidhrdw/midtunit_vidhrdw.c... In file included from src/drivers/midvunit.c:21: src/driver.h:19:33: warning: 'init_crusnw13' defined but not used [-Wunused-function] #define DRIVER_INIT(name) void init_##name(void) ^~~~~ src/drivers/midvunit.c:1394:8: note: in expansion of macro 'DRIVER_INIT' static DRIVER_INIT( crusnw13 ) { init_crusnwld_common(0); } ^~~~~~~~~~~ src/driver.h:19:33: warning: 'init_crusnw20' defined but not used [-Wunused-function] #define DRIVER_INIT(name) void init_##name(void) ^~~~~ src/drivers/midvunit.c:1393:8: note: in expansion of macro 'DRIVER_INIT' static DRIVER_INIT( crusnw20 ) { init_crusnwld_common(0xd49c); } ^~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/midvunit.c:21: src/drivers/midvunit.c:322:25: warning: 'crusnwld_serial_data_w' defined but not used [-Wunused-function] static WRITE32_HANDLER( crusnwld_serial_data_w ) ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:131:40: note: in definition of macro 'WRITE32_HANDLER' #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask) ^~~~ src/drivers/midvunit.c:316:24: warning: 'crusnwld_serial_data_r' defined but not used [-Wunused-function] static READ32_HANDLER( crusnwld_serial_data_r ) ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: in definition of macro 'READ32_HANDLER' #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) ^~~~ src/drivers/midvunit.c:309:24: warning: 'crusnwld_serial_status_r' defined but not used [-Wunused-function] static READ32_HANDLER( crusnwld_serial_status_r ) ^~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: in definition of macro 'READ32_HANDLER' #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) ^~~~ src/vidhrdw/midvunit_vidhrdw.c: In function 'midvunit_dma_queue_w': src/vidhrdw/midvunit_vidhrdw.c:1027:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (LOG_DMA && keyboard_pressed(KEYCODE_L)) ^~ src/vidhrdw/midvunit_vidhrdw.c:1029:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dma_data_index < 16) ^~ Compiling src/drivers/midtunit.c... Compiling src/vidhrdw/skychut_vidhrdw.c... Compiling src/drivers/skychut.c... src/drivers/midtunit.c:99:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] mk_sample_names_tunit ^~~~~~~~~~~~~~~~~~~~~ src/drivers/midtunit.c:126:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] nba_jam_sample_names_tunit ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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... Compiling src/drivers/yard.c... Compiling src/vidhrdw/travrusa_vidhrdw.c... Compiling src/drivers/travrusa.c... Compiling src/drivers/wilytowr.c... Compiling src/vidhrdw/m62_vidhrdw.c... Compiling src/drivers/m62.c... Compiling src/vidhrdw/vigilant_vidhrdw.c... Compiling src/drivers/vigilant.c... 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... src/drivers/m72.c:136:12: warning: 'find_sample' defined but not used [-Wunused-function] static int find_sample(int num) ^~~~~~~~~~~ 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... 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/m90.c:27: src/inptport.h:187:36: warning: 'input_ports_m97' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/m90.c:431:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( m97 ) ^~~~~~~~~~~~~~~~~ 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... src/sndhrdw/gottlieb_sndhrdw.c: In function 'gottlieb_speech_w': src/sndhrdw/gottlieb_sndhrdw.c:120:13: warning: variable 'queue' set but not used [-Wunused-but-set-variable] static int queue[100],pos; ^~~~~ Compiling src/machine/qix_machine.c... Compiling src/vidhrdw/qix_vidhrdw.c... Compiling src/drivers/qix.c... Compiling src/machine/taitosj_machine.c... Compiling src/vidhrdw/taitosj_vidhrdw.c... Compiling src/drivers/taitosj.c... 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... In file included from src/driver.h:64, from src/drivers/msisaac.c:10: src/drivers/msisaac.c:352:28: warning: 'mcu_writemem' defined but not used [-Wunused-const-variable=] static MEMORY_WRITE_START( mcu_writemem ) ^~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/msisaac.c:352:8: note: in expansion of macro 'MEMORY_WRITE_START' static MEMORY_WRITE_START( mcu_writemem ) ^~~~~~~~~~~~~~~~~~ src/drivers/msisaac.c:344:27: warning: 'mcu_readmem' defined but not used [-Wunused-const-variable=] static MEMORY_READ_START( mcu_readmem ) ^~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/msisaac.c:344:8: note: in expansion of macro 'MEMORY_READ_START' static MEMORY_READ_START( mcu_readmem ) ^~~~~~~~~~~~~~~~~ Compiling src/drivers/rollrace.c... Compiling src/vidhrdw/40love_vidhrdw.c... Compiling src/drivers/40love.c... Compiling src/vidhrdw/ssrj_vidhrdw.c... Compiling src/machine/bigevglf_machine.c... Compiling src/drivers/ssrj.c... Compiling src/vidhrdw/bigevglf_vidhrdw.c... Compiling src/drivers/bigevglf.c... Compiling src/vidhrdw/tsamurai_vidhrdw.c... Compiling src/drivers/tsamurai.c... Compiling src/machine/flstory_machine.c... Compiling src/vidhrdw/flstory_vidhrdw.c... Compiling src/drivers/flstory.c... Compiling src/vidhrdw/gladiatr_vidhrdw.c... Compiling src/machine/nycaptor_machine.c... Compiling src/drivers/gladiatr.c... Compiling src/vidhrdw/nycaptor_vidhrdw.c... Compiling src/drivers/nycaptor.c... Compiling src/machine/lsasquad_machine.c... Compiling src/drivers/halleys.c... Compiling src/vidhrdw/lsasquad_vidhrdw.c... Compiling src/drivers/lsasquad.c... Compiling src/machine/bublbobl_machine.c... src/drivers/halleys.c: In function 'blit': src/drivers/halleys.c:863:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x01) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:863:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x01) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c:864:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x02) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:864:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x02) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c:865:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x04) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:865:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x04) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c:866:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x08) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:866:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x08) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c:867:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x10) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:867:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x10) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c:868:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x20) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:868:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x20) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c:869:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (al & 0x40) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~ src/drivers/halleys.c:869:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (al & 0x40) dst_ptr[ecx] = ax; ecx++; ecx &= WARPMASK; ^~~ src/drivers/halleys.c: In function 'copy_fixed_xp': src/drivers/halleys.c:1337:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ax) edi[ecx ] = ax; ax = esi[ecx+2]; ^~ src/drivers/halleys.c:1337:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ax) edi[ecx ] = ax; ax = esi[ecx+2]; ^~ src/drivers/halleys.c:1338:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (bx) edi[ecx+1] = bx; bx = esi[ecx+3]; ^~ src/drivers/halleys.c:1338:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (bx) edi[ecx+1] = bx; bx = esi[ecx+3]; ^~ src/drivers/halleys.c:1339:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ax) edi[ecx+2] = ax; ax = esi[ecx+4]; ^~ src/drivers/halleys.c:1339:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ax) edi[ecx+2] = ax; ax = esi[ecx+4]; ^~ src/drivers/halleys.c:1340:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (bx) edi[ecx+3] = bx; bx = esi[ecx+5]; ^~ src/drivers/halleys.c:1340:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (bx) edi[ecx+3] = bx; bx = esi[ecx+5]; ^~ src/drivers/halleys.c:1341:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ax) edi[ecx+4] = ax; ax = esi[ecx+6]; ^~ src/drivers/halleys.c:1341:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ax) edi[ecx+4] = ax; ax = esi[ecx+6]; ^~ src/drivers/halleys.c:1342:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (bx) edi[ecx+5] = bx; bx = esi[ecx+7]; ^~ src/drivers/halleys.c:1342:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (bx) edi[ecx+5] = bx; bx = esi[ecx+7]; ^~ Compiling src/vidhrdw/bublbobl_vidhrdw.c... src/drivers/halleys.c: In function 'copy_fixed_2b': src/drivers/halleys.c:1420:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(ax)) goto SKIP0; if (!(ax&SP_2BACK)) goto DRAW0; if (edi[ecx ]) goto SKIP0; ^~ src/drivers/halleys.c:1420:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(ax)) goto SKIP0; if (!(ax&SP_2BACK)) goto DRAW0; if (edi[ecx ]) goto SKIP0; ^~ src/drivers/halleys.c:1422:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(bx)) goto SKIP1; if (!(bx&SP_2BACK)) goto DRAW1; if (edi[ecx+1]) goto SKIP1; ^~ src/drivers/halleys.c:1422:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(bx)) goto SKIP1; if (!(bx&SP_2BACK)) goto DRAW1; if (edi[ecx+1]) goto SKIP1; ^~ src/drivers/halleys.c:1425:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(ax)) goto SKIP2; if (!(ax&SP_2BACK)) goto DRAW2; if (edi[ecx+2]) goto SKIP2; ^~ src/drivers/halleys.c:1425:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(ax)) goto SKIP2; if (!(ax&SP_2BACK)) goto DRAW2; if (edi[ecx+2]) goto SKIP2; ^~ src/drivers/halleys.c:1427:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(bx)) goto SKIP3; if (!(bx&SP_2BACK)) goto DRAW3; if (edi[ecx+3]) goto SKIP3; ^~ src/drivers/halleys.c:1427:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(bx)) goto SKIP3; if (!(bx&SP_2BACK)) goto DRAW3; if (edi[ecx+3]) goto SKIP3; ^~ src/drivers/halleys.c:1430:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(ax)) goto SKIP4; if (!(ax&SP_2BACK)) goto DRAW4; if (edi[ecx+4]) goto SKIP4; ^~ src/drivers/halleys.c:1430:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(ax)) goto SKIP4; if (!(ax&SP_2BACK)) goto DRAW4; if (edi[ecx+4]) goto SKIP4; ^~ src/drivers/halleys.c:1432:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(bx)) goto SKIP5; if (!(bx&SP_2BACK)) goto DRAW5; if (edi[ecx+5]) goto SKIP5; ^~ src/drivers/halleys.c:1432:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(bx)) goto SKIP5; if (!(bx&SP_2BACK)) goto DRAW5; if (edi[ecx+5]) goto SKIP5; ^~ src/drivers/halleys.c:1435:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(ax)) goto SKIP6; if (!(ax&SP_2BACK)) goto DRAW6; if (edi[ecx+6]) goto SKIP6; ^~ src/drivers/halleys.c:1435:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(ax)) goto SKIP6; if (!(ax&SP_2BACK)) goto DRAW6; if (edi[ecx+6]) goto SKIP6; ^~ src/drivers/halleys.c:1437:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!(bx)) continue; if (!(bx&SP_2BACK)) goto DRAW7; if (edi[ecx+7]) continue; ^~ src/drivers/halleys.c:1437:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(bx)) continue; if (!(bx&SP_2BACK)) goto DRAW7; if (edi[ecx+7]) continue; ^~ At top level: src/drivers/halleys.c:1356:13: warning: 'copy_fixed_ab' defined but not used [-Wunused-function] static void copy_fixed_ab(struct mame_bitmap *bitmap, WORD *source) ^~~~~~~~~~~~~ src/drivers/halleys.c:1307:13: warning: 'copy_fixed_op' defined but not used [-Wunused-function] static void copy_fixed_op(struct mame_bitmap *bitmap, WORD *source) ^~~~~~~~~~~~~ Compiling src/drivers/bublbobl.c... Compiling src/drivers/missb2.c... Compiling src/machine/mexico86_machine.c... Compiling src/vidhrdw/mexico86_vidhrdw.c... src/drivers/missb2.c: In function 'video_update_missb2': src/drivers/missb2.c:106:20: warning: variable 'color' set but not used [-Wunused-but-set-variable] int goffs,code,color,flipx,flipy,x,y; ^~~~~ Compiling src/drivers/mexico86.c... src/vidhrdw/mexico86_vidhrdw.c: In function 'video_update_kikikai': src/vidhrdw/mexico86_vidhrdw.c:186:14: warning: variable 'gfx_attr' set but not used [-Wunused-but-set-variable] int gfx_num,gfx_attr,gfx_offs; ^~~~~~~~ Compiling src/vidhrdw/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/machine/opwolf_machine.c... Compiling src/drivers/opwolf.c... Compiling src/vidhrdw/othunder_vidhrdw.c... Compiling src/drivers/othunder.c... In file included from src/driver.h:64, from src/drivers/opwolf.c:47: src/drivers/opwolf.c:178:30: warning: 'opwolfb_writemem' defined but not used [-Wunused-const-variable=] static MEMORY_WRITE16_START( opwolfb_writemem ) ^~~~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/opwolf.c:178:8: note: in expansion of macro 'MEMORY_WRITE16_START' static MEMORY_WRITE16_START( opwolfb_writemem ) ^~~~~~~~~~~~~~~~~~~~ src/drivers/opwolf.c:162:29: warning: 'opwolfb_readmem' defined but not used [-Wunused-const-variable=] static MEMORY_READ16_START( opwolfb_readmem ) ^~~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/opwolf.c:162:8: note: in expansion of macro 'MEMORY_READ16_START' static MEMORY_READ16_START( opwolfb_readmem ) ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/topspeed_vidhrdw.c... Compiling src/drivers/topspeed.c... Compiling src/machine/arkanoid_machine.c... Compiling src/vidhrdw/arkanoid_vidhrdw.c... Compiling src/drivers/arkanoid.c... Compiling src/vidhrdw/superqix_vidhrdw.c... 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... Compiling src/vidhrdw/ashnojoe_vidhrdw.c... 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... src/vidhrdw/wgp_vidhrdw.c: In function 'wgp_draw_sprites': src/vidhrdw/wgp_vidhrdw.c:385:9: warning: variable 'rotate' set but not used [-Wunused-but-set-variable] UINT16 rotate=0; ^~~~~~ src/vidhrdw/wgp_vidhrdw.c: In function 'wgp_piv_layer_draw': src/vidhrdw/wgp_vidhrdw.c:590:24: warning: variable 'x_max' set but not used [-Wunused-but-set-variable] int sx,x_index,x_step,x_max; ^~~~~ Compiling src/vidhrdw/ninjaw_vidhrdw.c... Compiling src/drivers/ninjaw.c... In file included from src/driver.h:64, from src/drivers/slapshot.c:134: src/drivers/slapshot.c:212:24: warning: 'opwolf3_service_input_r' defined but not used [-Wunused-function] static READ16_HANDLER( opwolf3_service_input_r ) ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ src/vidhrdw/ninjaw_vidhrdw.c: In function 'ninjaw_draw_sprites': src/vidhrdw/ninjaw_vidhrdw.c:71:22: warning: variable 'invis' set but not used [-Wunused-but-set-variable] int x, y, priority, invis, curx, cury; ^~~~~ Compiling src/vidhrdw/warriorb_vidhrdw.c... Compiling src/drivers/warriorb.c... Compiling src/machine/tnzs_machine.c... src/drivers/asuka.c: In function 'init_earthjkr': src/drivers/asuka.c:1461:18: warning: initialization of 'data16_t *' {aka 'short unsigned int *'} from incompatible pointer type 'UINT8 *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] data16_t *rom = memory_region(REGION_CPU1); ^~~~~~~~~~~~~ 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... Compiling src/machine/lkage_machine.c... Compiling src/vidhrdw/lkage_vidhrdw.c... Compiling src/drivers/lkage.c... Compiling src/vidhrdw/taitoic.c... Compiling src/sndhrdw/taitosnd.c... Compiling src/vidhrdw/taito_l_vidhrdw.c... Compiling src/drivers/taito_l.c... Compiling src/vidhrdw/taito_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... src/sndhrdw/taito_f3_sndhrdw.c: In function 'f3_volume_w': src/sndhrdw/taito_f3_sndhrdw.c:62:36: warning: variable 'last_r' set but not used [-Wunused-but-set-variable] static data16_t channel[8],last_l,last_r; ^~~~~~ src/sndhrdw/taito_f3_sndhrdw.c:62:29: warning: variable 'last_l' set but not used [-Wunused-but-set-variable] static data16_t channel[8],last_l,last_r; ^~~~~~ src/sndhrdw/taito_f3_sndhrdw.c: In function 'ridingf_dsp_w': src/sndhrdw/taito_f3_sndhrdw.c:282:65: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] es5510_dil_latch = es5510_dram[es5510_dadr_latch&(1<<16)-2]; ^ src/sndhrdw/taito_f3_sndhrdw.c:284:46: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] es5510_dram[es5510_dadr_latch&(1<<16)-2] = es5510_dol_latch; ^ Compiling src/drivers/taito_f3.c... src/vidhrdw/taito_f3_vidhrdw.c: In function 'get_sprite_info': src/vidhrdw/taito_f3_vidhrdw.c:2897:40: warning: variable 'old_y' set but not used [-Wunused-but-set-variable] int offs,spritecont,flipx,flipy,old_x,old_y,color,x,y; ^~~~~ Compiling src/vidhrdw/taitoair_vidhrdw.c... Compiling src/drivers/taitoair.c... Compiling src/machine/slapfght_machine.c... Compiling src/vidhrdw/slapfght_vidhrdw.c... Compiling src/drivers/slapfght.c... Compiling src/machine/twincobr_machine.c... src/machine/twincobr_machine.c: In function 'twincobr_dsp_w': src/machine/twincobr_machine.c:158:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dsp_addr_w < 2) && (data == 0)) dsp_execute = 1; break; ^~ src/machine/twincobr_machine.c:158:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((dsp_addr_w < 2) && (data == 0)) dsp_execute = 1; break; ^~~~~ src/machine/twincobr_machine.c:163:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dsp_addr_w < 2) && (data == 0)) dsp_execute = 1; break; ^~ src/machine/twincobr_machine.c:163:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((dsp_addr_w < 2) && (data == 0)) dsp_execute = 1; break; ^~~~~ Compiling src/vidhrdw/twincobr_vidhrdw.c... Compiling src/drivers/twincobr.c... Compiling src/drivers/wardner.c... Compiling src/drivers/mjsister.c... Compiling src/vidhrdw/mjsister_vidhrdw.c... Compiling src/machine/toaplan1_machine.c... Compiling src/vidhrdw/toaplan1_vidhrdw.c... Compiling src/drivers/toaplan1.c... src/machine/toaplan1_machine.c: In function 'demonwld_dsp_w': src/machine/toaplan1_machine.c:82:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((dsp_addr_w < 3) && (data == 0)) dsp_execute = 1; break; ^~ src/machine/toaplan1_machine.c:82:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((dsp_addr_w < 3) && (data == 0)) dsp_execute = 1; break; ^~~~~ At top level: src/machine/toaplan1_machine.c:20:12: warning: 'vimana_latch' defined but not used [-Wunused-variable] static int vimana_latch; ^~~~~~~~~~~~ src/machine/toaplan1_machine.c:19:12: warning: 'vimana_credits' defined but not used [-Wunused-variable] static int vimana_credits; ^~~~~~~~~~~~~~ Compiling src/vidhrdw/snowbros_vidhrdw.c... Compiling src/drivers/snowbros.c... src/vidhrdw/toaplan1_vidhrdw.c: In function 'zerowing_render': src/vidhrdw/toaplan1_vidhrdw.c:1173:7: warning: variable 'layer' set but not used [-Wunused-but-set-variable] int layer; ^~~~~ src/vidhrdw/toaplan1_vidhrdw.c: In function 'demonwld_render': src/vidhrdw/toaplan1_vidhrdw.c:1274:7: warning: variable 'layer' set but not used [-Wunused-but-set-variable] int layer; ^~~~~ 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... In file included from src/driver.h:64, from src/drivers/toaplan2.c:232: src/drivers/toaplan2.c:674:25: warning: 'toaplan2_hd647180_cpu_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( toaplan2_hd647180_cpu_w ) ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ Compiling src/machine/kyugo_machine.c... 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... In file included from src/drivers/lwings.c:48: src/drivers/lwings.c:102:23: warning: 'avengers_interrupt' defined but not used [-Wunused-function] static INTERRUPT_GEN( avengers_interrupt ) ^~~~~~~~~~~~~~~~~~ src/driver.h:21:35: note: in definition of macro 'INTERRUPT_GEN' #define INTERRUPT_GEN(func) void func(void) ^~~~ Compiling src/drivers/bionicc.c... Compiling src/vidhrdw/1943_vidhrdw.c... Compiling src/drivers/1943.c... Compiling src/vidhrdw/blktiger_vidhrdw.c... Compiling src/drivers/blktiger.c... Compiling src/vidhrdw/tigeroad_vidhrdw.c... Compiling src/drivers/tigeroad.c... Compiling src/vidhrdw/lastduel_vidhrdw.c... Compiling src/drivers/lastduel.c... Compiling src/vidhrdw/sf1_vidhrdw.c... Compiling src/drivers/sf1.c... Compiling src/machine/kabuki.c... Compiling src/vidhrdw/mitchell_vidhrdw.c... Compiling src/drivers/mitchell.c... Compiling src/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... src/drivers/mitchell.c: In function 'pang_port5_r': src/drivers/mitchell.c:140:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Machine->gamedrv == &driver_mgakuen2) /* hack... music doesn't work otherwise */ ^~ src/drivers/mitchell.c:143:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return (input_port_0_r(0) & 0x76) | bit; ^~~~~~ Compiling src/drivers/zn.c... src/drivers/cps1.c:92:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ffight_sample_names ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/tms34061_vidhrdw.c... Compiling src/machine/capbowl_machine.c... Compiling src/vidhrdw/capbowl_vidhrdw.c... Compiling src/drivers/capbowl.c... Compiling src/vidhrdw/itech8_vidhrdw.c... Compiling src/drivers/itech8.c... Compiling src/vidhrdw/itech32_vidhrdw.c... Compiling src/drivers/itech32.c... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/cps1.c:15: src/inptport.h:187:36: warning: 'input_ports_rockmanj' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/cps1.c:3843:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( rockmanj ) ^~~~~~~~~~~~~~~~~ Compiling src/machine/slikshot.c... Compiling src/vidhrdw/blockade_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/itech32.c:34: src/drivers/itech32.c:545:24: warning: 'input_port_5_msw_r' defined but not used [-Wunused-function] static READ32_HANDLER( input_port_5_msw_r ) ^~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: in definition of macro 'READ32_HANDLER' #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) ^~~~ src/drivers/itech32.c:285:24: warning: 'trackball32_4bit_combined_r' defined but not used [-Wunused-function] static READ32_HANDLER( trackball32_4bit_combined_r ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: in definition of macro 'READ32_HANDLER' #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) ^~~~ src/drivers/itech32.c:199:24: warning: 'trackball32_8bit_r' defined but not used [-Wunused-function] static READ32_HANDLER( trackball32_8bit_r ) ^~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: in definition of macro 'READ32_HANDLER' #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) ^~~~ Compiling src/drivers/blockade.c... src/machine/slikshot.c: In function 'slikshot_extra_draw': src/machine/slikshot.c:382:18: warning: 'word1' may be used uninitialized in this function [-Wmaybe-uninitialized] *sens2 = word2 + word1, *sens3 = word2; ~~~~~~^~~~~~~ src/machine/slikshot.c:396:9: note: 'word1' was declared here UINT16 word1, word2, word3; ^~~~~ src/machine/slikshot.c:382:18: warning: 'word2' may be used uninitialized in this function [-Wmaybe-uninitialized] *sens2 = word2 + word1, *sens3 = word2; ~~~~~~^~~~~~~ src/machine/slikshot.c:396:16: note: 'word2' was declared here UINT16 word1, word2, word3; ^~~~~ Compiling src/vidhrdw/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... src/sndhrdw/invinco.c: In function 'invinco_sh_port2_w': src/sndhrdw/invinco.c:54:6: warning: variable 'bitsGoneHigh' set but not used [-Wunused-but-set-variable] int bitsGoneHigh; ^~~~~~~~~~~~ src/sndhrdw/pulsar.c: In function 'pulsar_sh_port1_w': src/sndhrdw/pulsar.c:75:6: warning: variable 'bitsGoneHigh' set but not used [-Wunused-but-set-variable] int bitsGoneHigh; ^~~~~~~~~~~~ Compiling src/sndhrdw/sega_sndhrdw.c... Compiling src/machine/sega_machine.c... Compiling src/drivers/sega.c... Compiling src/vidhrdw/segar_vidhrdw.c... Compiling src/sndhrdw/segar_sndhrdw.c... In file included from src/driver.h:64, from src/drivers/sega.c:135: src/drivers/sega.c:192:28: warning: 'speech_writemem' defined but not used [-Wunused-const-variable=] static MEMORY_WRITE_START( speech_writemem ) ^~~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/sega.c:192:8: note: in expansion of macro 'MEMORY_WRITE_START' static MEMORY_WRITE_START( speech_writemem ) ^~~~~~~~~~~~~~~~~~ src/drivers/sega.c:187:27: warning: 'speech_readmem' defined but not used [-Wunused-const-variable=] static MEMORY_READ_START( speech_readmem ) ^~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/sega.c:187:8: note: in expansion of macro 'MEMORY_READ_START' static MEMORY_READ_START( speech_readmem ) ^~~~~~~~~~~~~~~~~ Compiling src/machine/segar_machine.c... src/vidhrdw/segar_vidhrdw.c: In function 'video_update_spaceod': src/vidhrdw/segar_vidhrdw.c:412:6: warning: variable 'sprite_transparency' set but not used [-Wunused-but-set-variable] int sprite_transparency; ^~~~~~~~~~~~~~~~~~~ Compiling src/drivers/segar.c... Compiling src/vidhrdw/tms9928a.c... Compiling src/drivers/sg1000a.c... Compiling src/vidhrdw/zaxxon_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/segar.c:49: src/drivers/segar.c:243:28: warning: 'speech_writemem' defined but not used [-Wunused-const-variable=] static MEMORY_WRITE_START( speech_writemem ) ^~~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/segar.c:243:8: note: in expansion of macro 'MEMORY_WRITE_START' static MEMORY_WRITE_START( speech_writemem ) ^~~~~~~~~~~~~~~~~~ src/drivers/segar.c:238:27: warning: 'speech_readmem' defined but not used [-Wunused-const-variable=] static MEMORY_READ_START( speech_readmem ) ^~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/segar.c:238:8: note: in expansion of macro 'MEMORY_READ_START' static MEMORY_READ_START( speech_readmem ) ^~~~~~~~~~~~~~~~~ Compiling src/sndhrdw/zaxxon_sndhrdw.c... Compiling src/drivers/zaxxon.c... Compiling src/machine/turbo_machine.c... Compiling src/vidhrdw/turbo_vidhrdw.c... Compiling src/drivers/turbo.c... Compiling src/drivers/kopunch.c... Compiling src/vidhrdw/kopunch_vidhrdw.c... Compiling src/vidhrdw/suprloco_vidhrdw.c... Compiling src/drivers/suprloco.c... In file included from src/driver.h:64, from src/drivers/kopunch.c:1: src/drivers/kopunch.c:77:22: warning: 'pip_r' defined but not used [-Wunused-function] static READ_HANDLER( pip_r ) ^~~~~ src/memory.h:126:39: note: in definition of macro 'READ_HANDLER' #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) ^~~~ Compiling src/vidhrdw/dotrikun_vidhrdw.c... Compiling src/drivers/dotrikun.c... Compiling src/vidhrdw/angelkds_vidhrdw.c... Compiling src/drivers/angelkds.c... Compiling src/vidhrdw/system1_vidhrdw.c... Compiling src/drivers/system1.c... Compiling src/vidhrdw/segasyse_vidhrdw.c... Compiling src/drivers/segasyse.c... Compiling src/machine/system16_machine.c... Compiling src/vidhrdw/system16_vidhrdw.c... src/vidhrdw/system16_vidhrdw.c: In function 'sys16_paletteram_w': src/vidhrdw/system16_vidhrdw.c:523:36: warning: variable 'bh' set but not used [-Wunused-but-set-variable] int r, g, b, rs, gs, bs, rh, gh, bh; ^~ src/vidhrdw/system16_vidhrdw.c:523:32: warning: variable 'gh' set but not used [-Wunused-but-set-variable] int r, g, b, rs, gs, bs, rh, gh, bh; ^~ src/vidhrdw/system16_vidhrdw.c:523:28: warning: variable 'rh' set but not used [-Wunused-but-set-variable] int r, g, b, rs, gs, bs, rh, gh, bh; ^~ Compiling src/vidhrdw/sys16spr.c... Compiling src/sndhrdw/system16_sndhrdw.c... In file included from src/mame2003/mame2003.h:9, from src/fileio.h:13, from src/mame.h:20, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/system1.c:19: src/inptport.h:187:36: warning: 'input_ports_shtngmst' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/system1.c:1386:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( shtngmst ) ^~~~~~~~~~~~~~~~~ Compiling src/drivers/system16.c... Compiling src/drivers/aburner.c... Compiling src/drivers/outrun.c... Compiling src/drivers/sharrier.c... Compiling src/drivers/system18.c... src/drivers/outrun.c:60:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] outrun_samples_set_names ^~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/system18.c:97:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] moonwalker_samples_set_names ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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... src/drivers/system32.c: In function 'f1lap_fd1149_vblank': src/drivers/system32.c:3095:10: warning: declaration of 'val' shadows a global declaration [-Wshadow] data8_t val = cpu_readmem24lew(0x20EE81); ^~~ src/drivers/system32.c:3091:5: note: shadowed declaration is here int val; ^~~ 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: At top level: src/inptport.h:187:36: warning: 'input_ports_sys32_4p' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/system32.c:1260:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( sys32_4p ) ^~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/system32.c:352: src/drivers/system32.c:872:25: warning: 'jp_v60_write_cab' defined but not used [-Wunused-function] static WRITE16_HANDLER( jp_v60_write_cab ) ^~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/system32.c:628:23: warning: 'sys32_read_ff' defined but not used [-Wunused-function] static READ16_HANDLER(sys32_read_ff) ^~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/system32.c:495:24: warning: 'system32_eeprom_w' defined but not used [-Wunused-function] static WRITE16_HANDLER(system32_eeprom_w) ^~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/system32.c:490:23: warning: 'system32_eeprom_r' defined but not used [-Wunused-function] static READ16_HANDLER(system32_eeprom_r) ^~~~~~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ In file included from src/driver.h:64, from src/drivers/multi32.c:18: src/drivers/multi32.c:127:23: warning: 'sys32_read_ff' defined but not used [-Wunused-function] static READ16_HANDLER(sys32_read_ff) ^~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/multi32.c:117:24: warning: 'system32_eeprom_w' defined but not used [-Wunused-function] static WRITE16_HANDLER(system32_eeprom_w) ^~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/multi32.c:112:23: warning: 'system32_eeprom_r' defined but not used [-Wunused-function] static READ16_HANDLER(system32_eeprom_r) ^~~~~~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ Compiling src/vidhrdw/system32_vidhrdw.c... Compiling src/vidhrdw/segac2_vidhrdw.c... src/vidhrdw/segac2_vidhrdw.c: In function 'video_start_segac2': src/vidhrdw/segac2_vidhrdw.c:244:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = 0; i < 24; i++) ^~~ src/vidhrdw/segac2_vidhrdw.c:246:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' vdp_cmdpart = 0; ^~~~~~~~~~~ Compiling src/drivers/segac2.c... Compiling src/drivers/stv.c... Compiling src/drivers/stvhacks.c... In file included from src/drivers/segac2.c:138: src/driver.h:98:7: warning: 'construct_genesis' defined but not used [-Wunused-function] void construct_##game(struct InternalMachineDriver *machine) \ ^~~~~~~~~~ src/drivers/segac2.c:3569:8: note: in expansion of macro 'MACHINE_DRIVER_START' static MACHINE_DRIVER_START( genesis ) ^~~~~~~~~~~~~~~~~~~~ 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:138: src/inptport.h:187:36: warning: 'input_ports_genesis' defined but not used [-Wunused-const-variable=] static const struct InputPortTiny input_ports_##name[] = { ^~~~~~~~~~~~ src/drivers/segac2.c:3010:1: note: in expansion of macro 'INPUT_PORTS_START' INPUT_PORTS_START( genesis ) /* Genesis Input Ports */ ^~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/segac2.c:138: src/drivers/segac2.c:1718:23: warning: 'megatech_instr_w' defined but not used [-Wunused-function] static WRITE_HANDLER( megatech_instr_w ) ^~~~~~~~~~~~~~~~ src/memory.h:127:39: note: in definition of macro 'WRITE_HANDLER' #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data) ^~~~ src/drivers/segac2.c:1666:26: warning: 'genesis_z80_ram_w' defined but not used [-Wunused-function] static WRITE16_HANDLER ( genesis_z80_ram_w ) ^~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/segac2.c:1124:26: warning: 'genesis_68k_to_z80_w' defined but not used [-Wunused-function] static WRITE16_HANDLER ( genesis_68k_to_z80_w ) ^~~~~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ Compiling src/machine/stvcd.c... Compiling src/machine/scudsp.c... In file included from src/driver.h:64, from src/drivers/stvhacks.c:7: src/drivers/stvhacks.c:311:24: warning: 'dnmtdeka_speedup_r' defined but not used [-Wunused-function] static READ32_HANDLER( dnmtdeka_speedup_r ) ^~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: in definition of macro 'READ32_HANDLER' #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) ^~~~ Compiling src/vidhrdw/stvvdp1_vidhrdw.c... Compiling src/vidhrdw/stvvdp2_vidhrdw.c... src/machine/scudsp.c:62:77: warning: "/*" within comment [-Wcomment] UINT64 mul; /*Multiplier register* //*48-bits/*/ src/machine/stvcd.c: In function 'iso_build_disc_iso': src/machine/stvcd.c:496:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 2 [-Wrestrict] sprintf(t, t, i); ^ ~ At top level: src/machine/stvcd.c:456:13: warning: 'iso_build_disc_bin' defined but not used [-Wunused-function] static void iso_build_disc_bin(void){ ^~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/deniam_vidhrdw.c... src/vidhrdw/stvvdp2_vidhrdw.c: In function 'stv_vdp2_draw_basic_tilemap': src/vidhrdw/stvvdp2_vidhrdw.c:1768:20: warning: variable 'mpsize_dwords' set but not used [-Wunused-but-set-variable] int mpsize_bytes, mpsize_dwords; ^~~~~~~~~~~~~ src/vidhrdw/stvvdp2_vidhrdw.c:1763:20: warning: variable 'plsize_dwords' set but not used [-Wunused-but-set-variable] int plsize_bytes, plsize_dwords; ^~~~~~~~~~~~~ src/drivers/stv.c: In function 'do_cd_command': src/drivers/stv.c:1455:32: warning: pointer targets in passing argument 2 of 'cdb_inject_file_info' differ in signedness [-Wpointer-sign] cdb_inject_file_info(fid, cdb_sat_file_info); ^~~~~~~~~~~~~~~~~ In file included from src/drivers/stv.c:97: src/machine/stvcd.h:7:6: note: expected 'UINT8 *' {aka 'unsigned char *'} but argument is of type 'char *' void cdb_inject_file_info(UINT32 fid, UINT8 * dst); ^~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/deniam.c... Compiling src/machine/btime_machine.c... Compiling src/vidhrdw/btime_vidhrdw.c... Compiling src/drivers/btime.c... Compiling src/machine/decocass_machine.c... Compiling src/vidhrdw/decocass_vidhrdw.c... Compiling src/drivers/decocass.c... Compiling src/vidhrdw/astrof_vidhrdw.c... Compiling src/sndhrdw/astrof_sndhrdw.c... Compiling src/drivers/astrof.c... Compiling src/vidhrdw/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... src/vidhrdw/liberate_vidhrdw.c: In function 'video_update_prosport': src/vidhrdw/liberate_vidhrdw.c:385:17: warning: variable 'color' set but not used [-Wunused-but-set-variable] int mx,my,tile,color,offs; ^~~~~ Compiling src/drivers/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... 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... src/machine/dec0_machine.c:461:13: warning: 'i8751_callback' defined but not used [-Wunused-function] static void i8751_callback(int param) ^~~~~~~~~~~~~~ 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... 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... In file included from src/driver.h:79, from src/vidhrdw/tumblep_vidhrdw.c:16: src/vidhrdw/tumblep_vidhrdw.c:308:21: warning: 'bcstory_tilebank' is static but used in inline function 'get_bg_tile_info' which is not static (data & 0x0fff)|(bcstory_tilebank>>2), ^~~~~~~~~~~~~~~~ src/tilemap.h:62:15: note: in definition of macro 'SET_TILE_INFO' int _code = (CODE) % gfx->total_elements; \ ^~~~ src/drivers/tumblep.c:1162:29: warning: 'jumppop_gfxdecodeinfo' defined but not used [-Wunused-variable] static struct GfxDecodeInfo jumppop_gfxdecodeinfo[] = ^~~~~~~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/tumblep.c:121: src/drivers/tumblep.c:181:25: warning: 'jumppop_sound_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( jumppop_sound_w ) ^~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ Compiling src/drivers/lemmings.c... Compiling src/vidhrdw/funkyjet_vidhrdw.c... src/vidhrdw/lemmings_vidhrdw.c: In function 'lemmings_pixel_1_w': src/vidhrdw/lemmings_vidhrdw.c:157:16: warning: variable 'old' set but not used [-Wunused-but-set-variable] int sx,sy,src,old,tile; ^~~ Compiling src/drivers/funkyjet.c... Compiling src/vidhrdw/deco32_vidhrdw.c... src/vidhrdw/deco32_vidhrdw.c: In function 'tilemap_raster_draw': src/vidhrdw/deco32_vidhrdw.c:1235:16: warning: variable 'sy0' set but not used [-Wunused-but-set-variable] int ptr=0,sx0,sy0,sx1,sy1,start,end=0; ^~~ src/vidhrdw/deco32_vidhrdw.c:1235:12: warning: variable 'sx0' set but not used [-Wunused-but-set-variable] int ptr=0,sx0,sy0,sx1,sy1,start,end=0; ^~~ Compiling src/drivers/deco32.c... Compiling src/vidhrdw/deco_mlc_vidhrdw.c... Compiling src/drivers/deco_mlc.c... Compiling src/vidhrdw/sshangha_vidhrdw.c... src/vidhrdw/deco_mlc_vidhrdw.c: In function 'mlc_drawgfxzoom': src/vidhrdw/deco_mlc_vidhrdw.c:55:86: warning: declaration of 'gfx' shadows a global declaration [-Wshadow] struct mame_bitmap *dest_bmp,const struct rectangle *clip,const struct GfxElement *gfx, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/vidhrdw/deco_mlc_vidhrdw.c:18:15: note: shadowed declaration is here static UINT8 *gfx; ^~~ src/vidhrdw/deco_mlc_vidhrdw.c: In function 'draw_sprites': src/vidhrdw/deco_mlc_vidhrdw.c:349:12: warning: variable 'ymult' set but not used [-Wunused-but-set-variable] int xmult,ymult,xoffs,yoffs; ^~~~~ src/vidhrdw/deco_mlc_vidhrdw.c:349:6: warning: variable 'xmult' set but not used [-Wunused-but-set-variable] int xmult,ymult,xoffs,yoffs; ^~~~~ Compiling src/drivers/sshangha.c... Compiling src/sndhrdw/senjyo_sndhrdw.c... 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/vidhrdw/gaiden_vidhrdw.c... Compiling src/drivers/gaiden.c... Compiling src/drivers/tbowl.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... src/machine/scramble_machine.c: In function 'init_billiard': src/machine/scramble_machine.c:1385:18: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (bits[3] ^ (!bits[0] & bits[2])) xormask ^= 0x08; ^~~~~~~~ src/machine/scramble_machine.c:1386:18: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (bits[5] ^ (!bits[4] & bits[1])) xormask ^= 0x10; ^~~~~~~~ src/machine/scramble_machine.c:1389:18: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (bits[7] ^ (!bits[1] & bits[0])) xormask ^= 0x80; ^~~~~~~~ Compiling src/drivers/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... src/vidhrdw/tutankhm_vidhrdw.c: In function 'junofrst_blitter_w': src/vidhrdw/tutankhm_vidhrdw.c:143:17: warning: variable 'destflag' set but not used [-Wunused-but-set-variable] unsigned char destflag; ^~~~~~~~ Compiling src/vidhrdw/timeplt_vidhrdw.c... Compiling src/drivers/timeplt.c... Compiling src/sndhrdw/timeplt_sndhrdw.c... Compiling src/vidhrdw/megazone_vidhrdw.c... Compiling src/drivers/megazone.c... Compiling src/vidhrdw/pandoras_vidhrdw.c... 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... src/vidhrdw/konamiic.c: In function 'K052109_r': src/vidhrdw/konamiic.c:2094:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/vidhrdw/konamiic.c:2097:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' addr = (code << 5) + (offset & 0x1f); ^~~~ Compiling src/drivers/flkatck.c... Compiling src/vidhrdw/fastlane_vidhrdw.c... Compiling src/drivers/fastlane.c... src/vidhrdw/konamiic.c: In function 'K056832_update_linemap': src/vidhrdw/konamiic.c:6862:26: warning: variable 'code_opaque' set but not used [-Wunused-but-set-variable] UINT8 code_transparent, code_opaque; ^~~~~~~~~~~ src/vidhrdw/konamiic.c:6859:24: warning: variable 'src_modulo' set but not used [-Wunused-but-set-variable] int count, src_pitch, src_modulo; ^~~~~~~~~~ src/vidhrdw/konamiic.c:6859:13: warning: variable 'src_pitch' set but not used [-Wunused-but-set-variable] int count, src_pitch, src_modulo; ^~~~~~~~~ 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... 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... Compiling src/vidhrdw/88games_vidhrdw.c... Compiling src/drivers/88games.c... Compiling src/vidhrdw/gbusters_vidhrdw.c... Compiling src/drivers/gbusters.c... Compiling src/vidhrdw/crimfght_vidhrdw.c... Compiling src/drivers/crimfght.c... Compiling src/vidhrdw/spy_vidhrdw.c... Compiling src/drivers/spy.c... Compiling src/vidhrdw/bottom9_vidhrdw.c... Compiling src/drivers/bottom9.c... Compiling src/vidhrdw/blockhl_vidhrdw.c... Compiling src/vidhrdw/aliens_vidhrdw.c... Compiling src/drivers/blockhl.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... src/vidhrdw/gijoe_vidhrdw.c: In function 'video_update_gijoe': src/vidhrdw/gijoe_vidhrdw.c:82:40: warning: variable 'primode' set but not used [-Wunused-but-set-variable] int vrc_mode, vrc_new, colorbase_new, primode, dirty, i; ^~~~~~~ Compiling src/drivers/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... src/drivers/wecleman.c: In function 'hotchase_sound_control_w': src/drivers/wecleman.c:780:6: warning: variable 'reg' set but not used [-Wunused-but-set-variable] int reg[8]; ^~~ Compiling src/drivers/ultraman.c... Compiling src/vidhrdw/hexion_vidhrdw.c... src/vidhrdw/wecleman_vidhrdw.c: In function 'do_blit_zoom16': src/vidhrdw/wecleman_vidhrdw.c:321:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ebx += (int)src_base; ^ src/vidhrdw/wecleman_vidhrdw.c:328:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] eax = *((char *)ebx + eax); ^ src/vidhrdw/wecleman_vidhrdw.c:352:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ebx += (int)src_base; ^ src/vidhrdw/wecleman_vidhrdw.c:359:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] eax = *((char *)ebx + eax); ^ src/vidhrdw/wecleman_vidhrdw.c:389:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ebx += (int)src_base; ^ src/vidhrdw/wecleman_vidhrdw.c:396:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] eax = *((char *)ebx + eax); ^ src/vidhrdw/wecleman_vidhrdw.c: In function 'wecleman_draw_cloud': src/vidhrdw/wecleman_vidhrdw.c:810:35: warning: variable 'pal_advance' set but not used [-Wunused-but-set-variable] int src_advance, src_advance_l2, pal_advance, pal_advance_l2; ^~~~~~~~~~~ src/vidhrdw/wecleman_vidhrdw.c:810:6: warning: variable 'src_advance' set but not used [-Wunused-but-set-variable] int src_advance, src_advance_l2, pal_advance, pal_advance_l2; ^~~~~~~~~~~ Compiling src/drivers/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... Compiling src/drivers/xmen.c... 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... src/vidhrdw/moo_vidhrdw.c: In function 'video_update_moo': src/vidhrdw/moo_vidhrdw.c:106:6: warning: variable 'bg_colorbase' set but not used [-Wunused-but-set-variable] int bg_colorbase, new_colorbase, plane, dirty, alpha; ^~~~~~~~~~~~ In file included from src/drivers/mystwarr.c:25: src/drivers/mystwarr.c:821:22: warning: 'audio_interrupt' defined but not used [-Wunused-function] static INTERRUPT_GEN(audio_interrupt) ^~~~~~~~~~~~~~~ src/driver.h:21:35: note: in definition of macro 'INTERRUPT_GEN' #define INTERRUPT_GEN(func) void func(void) ^~~~ 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/vidhrdw/lethal_vidhrdw.c... Compiling src/drivers/lethal.c... Compiling src/machine/konamigx_machine.c... Compiling src/vidhrdw/konamigx_vidhrdw.c... Compiling src/drivers/konamigx.c... Compiling src/vidhrdw/djmain_vidhrdw.c... Compiling src/drivers/djmain.c... src/machine/konamigx_machine.c: In function 'zdrawgfxzoom32GP': src/machine/konamigx_machine.c:515:22: warning: variable 'db1' set but not used [-Wunused-but-set-variable] UINT8 z8, db0, p8, db1; ^~~ src/machine/konamigx_machine.c:515:13: warning: variable 'db0' set but not used [-Wunused-but-set-variable] UINT8 z8, db0, p8, db1; ^~~ Compiling src/vidhrdw/plygonet_vidhrdw.c... src/machine/konamigx_machine.c: In function 'konamigx_mixer': src/machine/konamigx_machine.c:1279:49: warning: variable 'prflp' set but not used [-Wunused-but-set-variable] int wrapsize, xwraplim, ywraplim, cltc_shdpri, prflp, disp; ^~~~~ Compiling src/drivers/plygonet.c... src/machine/konamigx_machine.c: In function 'K053990_martchmp_word_w': src/machine/konamigx_machine.c:2002:16: warning: variable 'dst_count' set but not used [-Wunused-but-set-variable] int dst_addr, dst_count, dst_skip; ^~~~~~~~~ src/machine/konamigx_machine.c: In function 'konamigx_esc_alert': src/machine/konamigx_machine.c:2110:75: warning: variable 'hmask' set but not used [-Wunused-but-set-variable] INT32 data1, data2, i, j, vpos, hpos, voffs, hoffs, vcorr, hcorr, vmask, hmask, magicid; ^~~~~ In file included from src/drivers/konamigx.c:100: src/drivers/konamigx.c:1378:22: warning: 'gxaudio_interrupt' defined but not used [-Wunused-function] static INTERRUPT_GEN(gxaudio_interrupt) ^~~~~~~~~~~~~~~~~ src/driver.h:21:35: note: in definition of macro 'INTERRUPT_GEN' #define INTERRUPT_GEN(func) void func(void) ^~~~ Compiling src/drivers/mogura.c... Compiling src/drivers/konamigq.c... Compiling src/machine/am53cf96.c... Compiling src/machine/carpolo_machine.c... src/machine/am53cf96.c: In function 'am53cf96_w': src/machine/am53cf96.c:88:16: warning: variable 'dma' set but not used [-Wunused-but-set-variable] int reg, val, dma; ^~~ Compiling src/vidhrdw/carpolo_vidhrdw.c... Compiling src/drivers/carpolo.c... src/vidhrdw/carpolo_vidhrdw.c: In function 'palette_init_carpolo': src/vidhrdw/carpolo_vidhrdw.c:103:17: warning: variable 'bit2' set but not used [-Wunused-but-set-variable] int bit0,bit1,bit2; ^~~~ src/vidhrdw/carpolo_vidhrdw.c:103:12: warning: variable 'bit1' set but not used [-Wunused-but-set-variable] int bit0,bit1,bit2; ^~~~ src/vidhrdw/carpolo_vidhrdw.c:103:7: warning: variable 'bit0' set but not used [-Wunused-but-set-variable] int bit0,bit1,bit2; ^~~~ Compiling src/vidhrdw/exidy_vidhrdw.c... Compiling src/sndhrdw/exidy_sndhrdw.c... src/vidhrdw/exidy_vidhrdw.c: In function 'video_start_exidy': src/vidhrdw/exidy_vidhrdw.c:156:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (video_start_generic()) ^~ src/vidhrdw/exidy_vidhrdw.c:159:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' motion_object_1_vid = auto_bitmap_alloc(16, 16); ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/exidy_vidhrdw.c:160:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!motion_object_1_vid) ^~ src/vidhrdw/exidy_vidhrdw.c:163:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' motion_object_2_vid = auto_bitmap_alloc(16, 16); ^~~~~~~~~~~~~~~~~~~ src/vidhrdw/exidy_vidhrdw.c:164:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!motion_object_2_vid) ^~ src/vidhrdw/exidy_vidhrdw.c:167:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' motion_object_2_clip = auto_bitmap_alloc(16, 16); ^~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/exidy.c... Compiling src/sndhrdw/targ.c... Compiling src/vidhrdw/circus_vidhrdw.c... Compiling src/drivers/circus.c... Compiling src/vidhrdw/starfire_vidhrdw.c... src/vidhrdw/circus_vidhrdw.c: In function 'ripcord_draw_skydiver': src/vidhrdw/circus_vidhrdw.c:274:26: warning: variable 'clip' set but not used [-Wunused-but-set-variable] const struct rectangle *clip; ^~~~ Compiling src/drivers/starfire.c... Compiling src/vidhrdw/victory_vidhrdw.c... Compiling src/drivers/victory.c... Compiling src/sndhrdw/exidy440_sndhrdw.c... Compiling src/vidhrdw/exidy440_vidhrdw.c... Compiling src/drivers/exidy440.c... Compiling src/machine/atari_vg.c... src/sndhrdw/exidy440_sndhrdw.c: In function 'mix_to_16': src/sndhrdw/exidy440_sndhrdw.c:289:9: warning: unused variable 'clippers' [-Wunused-variable] int i, clippers = 0; ^~~~~~~~ Compiling src/vidhrdw/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... 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/machine/copsnrob_machine.c... Compiling src/vidhrdw/copsnrob_vidhrdw.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... src/vidhrdw/nitedrvr_vidhrdw.c:82:13: warning: 'nitedrvr_draw_hacks' defined but not used [-Wunused-function] static void nitedrvr_draw_hacks( struct mame_bitmap *bitmap ) ^~~~~~~~~~~~~~~~~~~ Compiling src/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... 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/sndhrdw/ataridis_sndhrdw.c... Compiling src/vidhrdw/skydiver_vidhrdw.c... Compiling src/drivers/skydiver.c... Compiling src/machine/sbrkout_machine.c... Compiling src/drivers/sbrkout.c... Compiling src/vidhrdw/sbrkout_vidhrdw.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... src/vidhrdw/liberatr_vidhrdw.c: In function 'video_start_liberatr': src/vidhrdw/liberatr_vidhrdw.c:311:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((tmpbitmap = auto_bitmap_alloc(Machine->drv->screen_width, Machine->drv->screen_height)) == 0) ^~ src/vidhrdw/liberatr_vidhrdw.c:314:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((liberatr_videoram = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height)) == 0) ^~ Compiling src/vidhrdw/cloud9_vidhrdw.c... Compiling src/drivers/cloud9.c... Compiling src/vidhrdw/jedi_vidhrdw.c... Compiling src/drivers/jedi.c... src/vidhrdw/cloud9_vidhrdw.c: In function 'video_update_cloud9': src/vidhrdw/cloud9_vidhrdw.c:262:26: warning: variable 'lblank' set but not used [-Wunused-but-set-variable] int xflip,yflip,rblank,lblank; ^~~~~~ src/vidhrdw/cloud9_vidhrdw.c:262:19: warning: variable 'rblank' set but not used [-Wunused-but-set-variable] int xflip,yflip,rblank,lblank; ^~~~~~ Compiling src/machine/atarigen.c... Compiling src/sndhrdw/atarijsa.c... Compiling src/vidhrdw/atarimo_vidhrdw.c... Compiling src/vidhrdw/atarirle_vidhrdw.c... Compiling src/machine/slapstic.c... src/sndhrdw/atarijsa.c: In function 'atarijsa3_init_adpcm': src/sndhrdw/atarijsa.c:132:9: warning: passing argument 1 to restrict-qualified parameter aliases with argument 2 [-Wrestrict] memcpy(&base[0xc0000], &base[0xc0000], 0x20000); ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ src/sndhrdw/atarijsa.c:137:9: warning: passing argument 1 to restrict-qualified parameter aliases with argument 2 [-Wrestrict] memcpy(&base[0xe0000], &base[0xe0000], 0x20000); ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ Compiling src/vidhrdw/atarisy1_vidhrdw.c... src/vidhrdw/atarirle_vidhrdw.c: In function 'prescan_rle': src/vidhrdw/atarirle_vidhrdw.c:678:15: warning: variable 'value' set but not used [-Wunused-but-set-variable] int count, value; ^~~~~ src/vidhrdw/atarirle_vidhrdw.c: In function 'sort_and_render': src/vidhrdw/atarirle_vidhrdw.c:848:12: warning: variable 'dy' set but not used [-Wunused-but-set-variable] int dx, dy, ex, ey, sx = x, sy = y, tx, ty; ^~ src/vidhrdw/atarirle_vidhrdw.c:848:8: warning: variable 'dx' set but not used [-Wunused-but-set-variable] int dx, dy, ex, ey, sx = x, sy = y, tx, ty; ^~ src/vidhrdw/atarirle_vidhrdw.c:804:19: warning: variable 'which' set but not used [-Wunused-but-set-variable] int scale, code, which; ^~~~~ Compiling src/drivers/atarisy1.c... Compiling src/vidhrdw/atarisy2_vidhrdw.c... Compiling src/drivers/atarisy2.c... Compiling src/machine/irobot_machine.c... Compiling src/vidhrdw/irobot_vidhrdw.c... Compiling src/drivers/irobot.c... Compiling src/machine/harddriv_machine.c... Compiling src/vidhrdw/harddriv_vidhrdw.c... Compiling src/sndhrdw/harddriv_sndhrdw.c... Compiling src/drivers/harddriv.c... Compiling src/vidhrdw/gauntlet_vidhrdw.c... src/vidhrdw/atarimo_vidhrdw.c: In function 'atarimo_render': src/vidhrdw/atarimo_vidhrdw.c:547:9: warning: array subscript -1 is below array bounds of 'struct rectangle[1024]' [-Warray-bounds] rect = &mo->rectlist[-1]; ^~~~~~~~~~~~~~~~~ src/machine/harddriv_machine.c: In function 'stmsp_sync2_w': src/machine/harddriv_machine.c:789:31: warning: array subscript 2 is above array bounds of 'data16_t *[2]' {aka 'short unsigned int *[2]'} [-Warray-bounds] data16_t newdata = stmsp_sync[which][offset]; ~~~~~~~~~~^~~~~~~ Compiling src/drivers/gauntlet.c... In file included from src/driver.h:64, from src/drivers/harddriv.c:170: src/drivers/harddriv.c:508:30: warning: 'ds3snd_writemem' defined but not used [-Wunused-const-variable=] static MEMORY_WRITE16_START( ds3snd_writemem ) ^~~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/harddriv.c:508:8: note: in expansion of macro 'MEMORY_WRITE16_START' static MEMORY_WRITE16_START( ds3snd_writemem ) ^~~~~~~~~~~~~~~~~~~~ src/drivers/harddriv.c:478:29: warning: 'ds3snd_readmem' defined but not used [-Wunused-const-variable=] static MEMORY_READ16_START( ds3snd_readmem ) ^~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/harddriv.c:478:8: note: in expansion of macro 'MEMORY_READ16_START' static MEMORY_READ16_START( ds3snd_readmem ) ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/atetris_vidhrdw.c... src/machine/harddriv_machine.c: In function 'stmsp_speedup_r': src/machine/harddriv_machine.c:1900:13: warning: array subscript 2 is above array bounds of 'data16_t *[2]' {aka 'short unsigned int *[2]'} [-Warray-bounds] stmsp_sync[2][0] == 0xffff && /* 99d30 */ ~~~~~~~~~~^~~ 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... src/drivers/harddriv.c: In function 'steeltal_init_common': src/drivers/harddriv.c:3922:12: warning: array subscript 2 is above array bounds of 'data16_t *[2]' {aka 'short unsigned int *[2]'} [-Warray-bounds] stmsp_sync[2] = &hdmsp_ram[TOWORD(0x99d30)]; ~~~~~~~~~~^~~ 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... 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... src/drivers/relief.c: In function 'init_common': src/drivers/relief.c:466:9: warning: passing argument 1 to restrict-qualified parameter aliases with argument 2 [-Wrestrict] memcpy(&sound_base[0x120000], &sound_base[0x120000], 0x20000); ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ Compiling src/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... In file included from src/driver.h:64, from src/drivers/hal21.c:55: src/drivers/hal21.c:123:22: warning: 'hal21_videoram_r' defined but not used [-Wunused-function] static READ_HANDLER( hal21_videoram_r ){ return videoram[offset]; } ^~~~~~~~~~~~~~~~ src/memory.h:126:39: note: in definition of macro 'READ_HANDLER' #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) ^~~~ Compiling src/vidhrdw/snk_vidhrdw.c... src/drivers/mainsnk.c:31:13: warning: 'init_sound' defined but not used [-Wunused-function] static void init_sound( int busy_bit ) ^~~~~~~~~~ Compiling src/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... Compiling src/drivers/prehisle.c... Compiling src/vidhrdw/bbusters_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:55: warning: 'scroll' is used uninitialized in this function [-Wuninitialized] #define COMBINE_DATA(varptr) (*(varptr) = (*(varptr) & mem_mask) | (data & ~mem_mask)) ^ src/drivers/snk.c: In function 'snk_rot8_ikarijpb': src/drivers/snk.c:304:6: warning: unused variable 'joypos16' [-Wunused-variable] int joypos16 = value>>4; ^~~~~~~~ src/drivers/snk.c: In function 'snk_rotx': src/drivers/snk.c:363:6: warning: unused variable 'joypos16' [-Wunused-variable] int joypos16 = value>>4; ^~~~~~~~ src/drivers/snk.c:352:12: warning: unused variable 'dial_12' [-Wunused-variable] const int dial_12[13] = { ^~~~~~~ src/vidhrdw/snk_vidhrdw.c:36:13: warning: 'print' defined but not used [-Wunused-function] static void print( struct mame_bitmap *bitmap, int num, int row ) ^~~~~ Compiling src/drivers/bbusters.c... Compiling src/drivers/shougi.c... Compiling src/machine/equites_machine.c... At top level: src/drivers/snk.c:352:12: warning: 'dial_12' defined but not used [-Wunused-const-variable=] Compiling src/vidhrdw/equites_vidhrdw.c... Compiling src/drivers/equites.c... src/vidhrdw/equites_vidhrdw.c: In function 'video_init_common': src/vidhrdw/equites_vidhrdw.c:49:9: warning: variable 'colortable' set but not used [-Wunused-but-set-variable] pen_t *colortable; ^~~~~~~~~~ Compiling src/vidhrdw/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... Compiling src/vidhrdw/tagteam_vidhrdw.c... Compiling src/drivers/tagteam.c... Compiling src/vidhrdw/ssozumo_vidhrdw.c... Compiling src/drivers/ssozumo.c... Compiling src/vidhrdw/mystston_vidhrdw.c... Compiling src/drivers/mystston.c... Compiling src/vidhrdw/dogfgt_vidhrdw.c... Compiling src/drivers/dogfgt.c... Compiling src/vidhrdw/bogeyman_vidhrdw.c... Compiling src/drivers/bogeyman.c... Compiling src/vidhrdw/matmania_vidhrdw.c... Compiling src/drivers/matmania.c... Compiling src/machine/maniach.c... Compiling src/vidhrdw/renegade_vidhrdw.c... Compiling src/drivers/renegade.c... Compiling src/vidhrdw/xain_vidhrdw.c... Compiling src/drivers/xain.c... Compiling src/vidhrdw/battlane_vidhrdw.c... Compiling src/drivers/battlane.c... Compiling src/vidhrdw/ddragon_vidhrdw.c... Compiling src/drivers/ddragon.c... Compiling src/drivers/chinagat.c... Compiling src/vidhrdw/spdodgeb_vidhrdw.c... Compiling src/drivers/spdodgeb.c... Compiling src/vidhrdw/wwfsstar_vidhrdw.c... src/drivers/ddragon.c:131:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ddragon_samples_set_names ^~~~~~~~~~~~~~~~~~~~~~~~~ src/drivers/ddragon.c: In function 'ddragon_interrupt_w': src/drivers/ddragon.c:385:7: warning: statement with no effect [-Wunused-value] ddragon_do_nothing; ^~~~~~~~~~~~~~~~~~ Compiling src/drivers/wwfsstar.c... In file included from src/driver.h:64, from src/drivers/ddragon.c:63: At top level: src/drivers/ddragon.c:573:23: warning: 'cpu_sound_command_w' defined but not used [-Wunused-function] static WRITE_HANDLER( cpu_sound_command_w ) ^~~~~~~~~~~~~~~~~~~ src/memory.h:127:39: note: in definition of macro 'WRITE_HANDLER' #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data) ^~~~ Compiling src/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/supdrapo.c... Compiling src/drivers/toratora.c... Compiling src/vidhrdw/gameplan_vidhrdw.c... Compiling src/drivers/gameplan.c... Compiling src/vidhrdw/zac2650_vidhrdw.c... src/drivers/mazerbla.c: In function 'video_update_mazerbla': src/drivers/mazerbla.c:276:9: warning: variable 'color_base' set but not used [-Wunused-but-set-variable] UINT32 color_base=0; ^~~~~~~~~~ Compiling src/drivers/zac2650.c... Compiling src/vidhrdw/zaccaria_vidhrdw.c... Compiling src/drivers/zaccaria.c... Compiling src/vidhrdw/mouser_vidhrdw.c... Compiling src/drivers/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... src/vidhrdw/ninjakid_vidhrdw.c: In function 'ninjakun_io_8000_w': src/vidhrdw/ninjakid_vidhrdw.c:164:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/vidhrdw/ninjakid_vidhrdw.c:166:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' ninjakun_xscroll = data; ^~~~~~~~~~~~~~~~ Compiling src/drivers/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/machine/nmk004.c... Compiling src/drivers/nmk16.c... Compiling src/drivers/jalmah.c... Compiling src/drivers/quizpani.c... Compiling src/vidhrdw/quizpani_vidhrdw.c... src/machine/nmk004.c:102:5: warning: data definition has no type or storage class res = 0; ^~~ src/machine/nmk004.c:102:5: warning: type defaults to 'int' in declaration of 'res' [-Wimplicit-int] src/vidhrdw/nmk16_vidhrdw.c:81:13: warning: 'get_tile_info_0_8bit' defined but not used [-Wunused-function] static void get_tile_info_0_8bit(int tile_index) ^~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/macrossp_vidhrdw.c... Compiling src/drivers/macrossp.c... Compiling src/vidhrdw/quizdna_vidhrdw.c... src/drivers/nmk16.c:2933:31: warning: 'ym2151_interface' defined but not used [-Wunused-variable] static struct YM2151interface ym2151_interface = ^~~~~~~~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/nmk16.c:137: src/drivers/nmk16.c:429:28: warning: 'tharrier_sound_writemem' defined but not used [-Wunused-const-variable=] static MEMORY_WRITE_START( tharrier_sound_writemem ) ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/nmk16.c:429:8: note: in expansion of macro 'MEMORY_WRITE_START' static MEMORY_WRITE_START( tharrier_sound_writemem ) ^~~~~~~~~~~~~~~~~~ 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... src/sndhrdw/cchasm_sndhrdw.c: In function 'cchasm_io_w': src/sndhrdw/cchasm_sndhrdw.c:85:16: warning: variable 'led' set but not used [-Wunused-but-set-variable] static int led; ^~~ Compiling src/vidhrdw/thepit_vidhrdw.c... Compiling src/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... Compiling src/drivers/wiz.c... 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... 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/sndhrdw/t5182.c... Compiling src/vidhrdw/mustache_vidhrdw.c... Compiling src/drivers/mustache.c... In file included from src/sndhrdw/t5182.c:118: src/sndhrdw/t5182.c: In function 'construct_t5182_audio': src/driver.h:247:50: warning: passing argument 4 of 'machine_add_sound' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] machine_add_sound(machine, (tag), SOUND_##type, &(interface)); \ ^~~~~~~~~~~~ src/driver.h:250:2: note: in expansion of macro 'MDRV_SOUND_ADD_TAG' MDRV_SOUND_ADD_TAG(NULL, type, interface) \ ^~~~~~~~~~~~~~~~~~ src/sndhrdw/t5182.c:320:5: note: in expansion of macro 'MDRV_SOUND_ADD' MDRV_SOUND_ADD(YM2151, t5182_ym2151_interface) ^~~~~~~~~~~~~~ src/driver.h:270:22: note: expected 'void *' but argument is of type 'const struct YM2151interface *' struct MachineSound *machine_add_sound(struct InternalMachineDriver *machine, const char *tag, int type, void *sndintf); ^~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/darkmist_vidhrdw.c... Compiling src/drivers/darkmist.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... src/drivers/tetrisp2.c:46:14: warning: 'rockn_timer_sub_l4' defined but not used [-Wunused-variable] static void *rockn_timer_sub_l4; ^~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/bigstrkb_vidhrdw.c... src/drivers/ms32.c:372:60: warning: "/*" within comment [-Wcomment] /* { 0xfce00000, 0xfce0007f, MWA32_RAM, &ms32_fce00000 }, /* registers not ram? */ src/drivers/ms32.c:381:44: warning: "/*" within comment [-Wcomment] /* { 0xfd104000, 0xfd105fff, MWA32_RAM }, /* f1superb */ src/drivers/ms32.c:382:44: warning: "/*" within comment [-Wcomment] /* { 0xfd144000, 0xfd145fff, MWA32_RAM }, /* f1superb */ Compiling src/drivers/bigstrkb.c... Compiling src/vidhrdw/rpunch_vidhrdw.c... Compiling src/drivers/rpunch.c... Compiling src/vidhrdw/tail2nos_vidhrdw.c... Compiling src/drivers/tail2nos.c... Compiling src/vidhrdw/ojankohs_vidhrdw.c... Compiling src/drivers/ojankohs.c... Compiling src/vidhrdw/fromance_vidhrdw.c... Compiling src/drivers/fromance.c... Compiling src/drivers/pipedrm.c... Compiling src/vidhrdw/aerofgt_vidhrdw.c... Compiling src/drivers/aerofgt.c... Compiling src/vidhrdw/welltris_vidhrdw.c... Compiling src/drivers/welltris.c... Compiling src/vidhrdw/f1gp_vidhrdw.c... src/drivers/megasys1.c: In function 'jitsupro_gfx_unmangle': src/drivers/megasys1.c:3419:11: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] buffer = malloc(size); ^~~~~~~~~~~~ In file included from src/mame.h:14, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/megasys1.c:124: /usr/include/stdlib.h:105:7: note: in a call to allocation function 'malloc' declared here void *malloc(size_t) __malloclike __heedresult __alloc_size(1); ^~~~~~ Compiling src/drivers/f1gp.c... src/vidhrdw/f1gp_vidhrdw.c: In function 'f1gp_drawsprites': src/vidhrdw/f1gp_vidhrdw.c:205:59: warning: variable 'pri' set but not used [-Wunused-but-set-variable] int ox,oy,x,y,xsize,ysize,zoomx,zoomy,flipx,flipy,color,pri; ^~~ Compiling src/vidhrdw/taotaido_vidhrdw.c... Compiling src/drivers/taotaido.c... src/vidhrdw/taotaido_vidhrdw.c: In function 'taotaido_tileregs_w': src/vidhrdw/taotaido_vidhrdw.c:160:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ACCESSING_LSB) ^~ src/vidhrdw/taotaido_vidhrdw.c:162:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' tilemap_mark_all_tiles_dirty(bg_tilemap); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/crshrace_vidhrdw.c... src/drivers/megasys1.c: In function 'rodlandj_gfx_unmangle': src/drivers/megasys1.c:3389:11: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] buffer = malloc(size); ^~~~~~~~~~~~ In file included from src/mame.h:14, from src/mamedbg.h:4, from src/driver.h:65, from src/drivers/megasys1.c:124: /usr/include/stdlib.h:105:7: note: in a call to allocation function 'malloc' declared here void *malloc(size_t) __malloclike __heedresult __alloc_size(1); ^~~~~~ 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... Compiling src/vidhrdw/inufuku_vidhrdw.c... Compiling src/drivers/inufuku.c... Compiling src/vidhrdw/psikyo_vidhrdw.c... Compiling src/drivers/psikyo.c... Compiling src/vidhrdw/psikyosh_vidhrdw.c... Compiling src/drivers/psikyosh.c... Compiling src/vidhrdw/psikyo4_vidhrdw.c... Compiling src/drivers/psikyo4.c... Compiling src/machine/8254pit.c... Compiling src/drivers/leland.c... Compiling src/vidhrdw/leland_vidhrdw.c... Compiling src/machine/leland_machine.c... Compiling src/sndhrdw/leland_sndhrdw.c... src/sndhrdw/leland_sndhrdw.c: In function 'pit8254_r': src/sndhrdw/leland_sndhrdw.c:1561:24: warning: variable 'ctr' set but not used [-Wunused-but-set-variable] struct counter_state *ctr; ^~~ Compiling src/drivers/ataxx.c... Compiling src/vidhrdw/marineb_vidhrdw.c... Compiling src/drivers/marineb.c... Compiling src/vidhrdw/funkybee_vidhrdw.c... Compiling src/drivers/funkybee.c... Compiling src/vidhrdw/zodiack_vidhrdw.c... Compiling src/drivers/zodiack.c... Compiling src/vidhrdw/espial_vidhrdw.c... Compiling src/drivers/espial.c... In file included from src/drivers/zodiack.c:21: src/driver.h:98:7: warning: 'construct_moguchan' defined but not used [-Wunused-function] void construct_##game(struct InternalMachineDriver *machine) \ ^~~~~~~~~~ src/drivers/zodiack.c:542:8: note: in expansion of macro 'MACHINE_DRIVER_START' static MACHINE_DRIVER_START( moguchan ) ^~~~~~~~~~~~~~~~~~~~ Compiling src/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... Compiling src/vidhrdw/gaelco_vidhrdw.c... 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... src/drivers/gaelco2.c:670:45: warning: "/*" within comment [-Wcomment] /* { 0xfefffa, 0xfefffb, dallas_kludge_r }, /* DS5002FP related patch */ 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... src/drivers/suprnova.c: In function 'palette_set_rgb_brightness': src/drivers/suprnova.c:784:27: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] int use_bright, r, g, b, alpha; ^~~~~ src/drivers/suprnova.c: In function 'skns_palette_ram_w': src/drivers/suprnova.c:898:48: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] int brightness_r, brightness_g, brightness_b, alpha; ^~~~~ Compiling src/machine/neocrypt.c... Compiling src/machine/neogeo_machine.c... Compiling src/vidhrdw/neogeo_vidhrdw.c... Compiling src/drivers/neogeo.c... src/vidhrdw/suprnova_vidhrdw.c: In function 'skns_drawsprites': src/vidhrdw/suprnova_vidhrdw.c:290:40: warning: variable 'pri' set but not used [-Wunused-but-set-variable] int xsize,ysize, size, xpos=0,ypos=0, pri=0, romoffset, colour=0, xflip,yflip, joint; ^~~ src/machine/neogeo_machine.c: In function 'init_neogeo': src/machine/neogeo_machine.c:109:12: warning: variable 'mem16' set but not used [-Wunused-but-set-variable] data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1); ^~~~~ src/drivers/kaneko16.c: In function 'calc3_decompress_table': src/drivers/kaneko16.c:1270:14: warning: declaration of 'length' shadows a previous local [-Wshadow] UINT32 length;/*, size;*/ ^~~~~~ src/drivers/kaneko16.c:1184:9: note: shadowed declaration is here UINT16 length; ^~~~~~ src/drivers/kaneko16.c:1273:46: warning: pointer targets in passing argument 1 of 'EEPROM_get_data_pointer' differ in signedness [-Wpointer-sign] dat = (UINT8 *)EEPROM_get_data_pointer(&length); ^~~~~~~ In file included from src/drivers/kaneko16.c:65: src/machine/eeprom.h:30:9: note: expected 'int *' but argument is of type 'UINT32 *' {aka 'unsigned int *'} UINT8 * EEPROM_get_data_pointer(int * length); ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/kaneko16.c: In function 'calc3_scantables': src/drivers/kaneko16.c:1492:7: warning: variable 'length' set but not used [-Wunused-but-set-variable] int length; ^~~~~~ src/drivers/kaneko16.c: In function 'calc3_mcu_run': src/drivers/kaneko16.c:1542:44: warning: pointer targets in passing argument 1 of 'EEPROM_get_data_pointer' differ in signedness [-Wpointer-sign] dat = (UINT8 *)EEPROM_get_data_pointer(&length); ^~~~~~~ In file included from src/drivers/kaneko16.c:65: src/machine/eeprom.h:30:9: note: expected 'int *' but argument is of type 'UINT32 *' {aka 'unsigned int *'} UINT8 * EEPROM_get_data_pointer(int * length); ^~~~~~~~~~~~~~~~~~~~~~~ src/drivers/kaneko16.c:1556:8: warning: declaration of 'i' shadows a previous local [-Wshadow] int i; ^ src/drivers/kaneko16.c:1505:6: note: shadowed declaration is here int i; ^ src/drivers/kaneko16.c: In function 'toxboy_handle_04_subcommand': src/drivers/kaneko16.c:2008:59: warning: declaration of 'mcu_ram' shadows a global declaration [-Wshadow] void toxboy_handle_04_subcommand(UINT8 mcu_subcmd, UINT16*mcu_ram) ~~~~~~~^~~~~~~ src/drivers/kaneko16.c:72:18: note: shadowed declaration is here static data16_t *mcu_ram, gtmr_mcu_com[4], *kaneko16_mainram; ^~~~~~~ src/drivers/kaneko16.c: In function 'gtmr_wheel_r': src/drivers/kaneko16.c:3361:35: warning: bitwise comparison always evaluates to false [-Wtautological-compare] if ( (readinputport(4) & 0x1800) == 0x10) /* DSW setting*/ ^~ Compiling src/vidhrdw/hanaawas_vidhrdw.c... Compiling src/drivers/hanaawas.c... Compiling src/vidhrdw/speedatk_vidhrdw.c... Compiling src/drivers/speedatk.c... Compiling src/vidhrdw/srmp2_vidhrdw.c... Compiling src/drivers/srmp2.c... Compiling src/vidhrdw/seta_vidhrdw.c... Compiling src/drivers/seta.c... Compiling src/vidhrdw/seta2_vidhrdw.c... 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... src/vidhrdw/seta2_vidhrdw.c:81:1: warning: data definition has no type or storage class xpos = 0; ^~~~ src/vidhrdw/seta2_vidhrdw.c:81:1: warning: type defaults to 'int' in declaration of 'xpos' [-Wimplicit-int] 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... src/vidhrdw/route16_vidhrdw.c: In function 'route16_out0_w': src/vidhrdw/route16_vidhrdw.c:77:35: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] video_disable_1 = ((data & 0x02) << 6) && route16_hardware; ~~~~~~~~~~~~~~~^~~~~ src/vidhrdw/route16_vidhrdw.c: In function 'route16_out1_w': src/vidhrdw/route16_vidhrdw.c:96:35: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] video_disable_2 = ((data & 0x02) << 6 ) && route16_hardware; ~~~~~~~~~~~~~~~^~~~~~ Compiling src/drivers/ttmahjng.c... Compiling src/vidhrdw/kangaroo_vidhrdw.c... Compiling src/drivers/kangaroo.c... Compiling src/vidhrdw/arabian_vidhrdw.c... Compiling src/drivers/arabian.c... Compiling src/vidhrdw/markham_vidhrdw.c... In function 'kof98P1decode', inlined from 'init_kof98' at src/drivers/neogeo.c:6618:2: src/drivers/neogeo.c:6587:2: warning: 'memcpy' accessing 4194304 bytes at offsets 1048576 and 2097152 overlaps 3145728 bytes at offset 2097152 [-Wrestrict] memcpy( &src[0x100000], &src[0x200000], 0x400000 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/vidhrdw/arabian_vidhrdw.c: In function 'palette_init_arabian': src/vidhrdw/arabian_vidhrdw.c:96:24: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] int rlo = planea ? ((!arhf & az) ? 0 : ar) : enb ? br : 0; ^~~~~ src/vidhrdw/arabian_vidhrdw.c:127:24: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] int glo = planea ? ((!aghf & az) ? 0 : ag) : enb ? bg : 0; ^~~~~ src/vidhrdw/arabian_vidhrdw.c:148:16: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] int bbase = (!abhf & az) ? 0 : ab; ^~~~~ Compiling src/drivers/markham.c... Compiling src/vidhrdw/strnskil_vidhrdw.c... Compiling src/drivers/strnskil.c... Compiling src/vidhrdw/ikki_vidhrdw.c... Compiling src/drivers/ikki.c... Compiling src/drivers/shanghai.c... Compiling src/vidhrdw/shangha3_vidhrdw.c... Compiling src/drivers/shangha3.c... Compiling src/vidhrdw/goindol_vidhrdw.c... Compiling src/drivers/goindol.c... Compiling src/vidhrdw/suna8_vidhrdw.c... Compiling src/drivers/suna8.c... src/drivers/neogeo.c: In function 'mv0_bankswitch_r': src/drivers/neogeo.c:6821:32: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds] return mv0_bankswitch_offset[ offset ]; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/drivers/neogeo.c:6831:32: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds] return mv0_bankswitch_offset[ offset ]; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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... src/drivers/metro.c: In function 'init_karatour': src/drivers/metro.c:4616:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = 0;i < memory_region_length(REGION_USER1)/2;i++) ^~~ src/drivers/metro.c:4619:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' init_metro(); ^~~~~~~~~~ In file included from src/driver.h:64, from src/drivers/metro.c:79: At top level: src/drivers/metro.c:613:25: warning: 'mouja_m6295_data_msb_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( mouja_m6295_data_msb_w ) ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/metro.c:598:24: warning: 'mouja_m6295_status_lsb_r' defined but not used [-Wunused-function] static READ16_HANDLER( mouja_m6295_status_lsb_r ) ^~~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/metro.c:592:25: warning: 'mouja_sound_rombank_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( mouja_sound_rombank_w ) ^~~~~~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/metro.c:273:25: warning: 'mouja_irq_timer_ctrl_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( mouja_irq_timer_ctrl_w ) ^~~~~~~~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ Compiling src/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... In file included from src/driver.h:64, from src/drivers/fuukifg3.c:90: src/drivers/fuukifg3.c:168:24: warning: 'fuuki32_sound_command_r' defined but not used [-Wunused-function] static READ32_HANDLER( fuuki32_sound_command_r ) ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:130:39: note: in definition of macro 'READ32_HANDLER' #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask) ^~~~ src/drivers/fuukifg3.c:158:25: warning: 'fuuki32_sound_command_w' defined but not used [-Wunused-function] static WRITE32_HANDLER( fuuki32_sound_command_w ) ^~~~~~~~~~~~~~~~~~~~~~~ src/memory.h:131:40: note: in definition of macro 'WRITE32_HANDLER' #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask) ^~~~ Compiling src/drivers/silkroad.c... 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... Compiling src/vidhrdw/hnayayoi_vidhrdw.c... Compiling src/drivers/hnayayoi.c... src/vidhrdw/hnayayoi_vidhrdw.c: In function 'draw_layer_interleaved': src/vidhrdw/hnayayoi_vidhrdw.c:222:24: warning: variable 'offs' set but not used [-Wunused-but-set-variable] int county,countx,pen,offs; ^~~~ Compiling src/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... In file included from src/driver.h:64, from src/drivers/dynax.c:71: src/drivers/dynax.c:795:30: warning: 'roldfrog_writemem' defined but not used [-Wunused-const-variable=] static MEMORY_WRITE16_START( roldfrog_writemem ) ^~~~~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/dynax.c:795:8: note: in expansion of macro 'MEMORY_WRITE16_START' static MEMORY_WRITE16_START( roldfrog_writemem ) ^~~~~~~~~~~~~~~~~~~~ src/drivers/dynax.c:785:29: warning: 'roldfrog_readmem' defined but not used [-Wunused-const-variable=] static MEMORY_READ16_START( roldfrog_readmem ) ^~~~~~~~~~~~~~~~ src/memory.h:552:51: note: in definition of macro 'MEMPORT_ARRAY_START' #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) }, ^ src/drivers/dynax.c:785:8: note: in expansion of macro 'MEMORY_READ16_START' static MEMORY_READ16_START( roldfrog_readmem ) ^~~~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/nyny_vidhrdw.c... src/vidhrdw/dynax_vidhrdw.c: In function 'hanamai_copylayer': src/vidhrdw/dynax_vidhrdw.c:623:21: warning: variable 'offs' set but not used [-Wunused-but-set-variable] int dy,length,pen,offs; ^~~~ src/vidhrdw/dynax_vidhrdw.c: In function 'mjdialq2_copylayer': src/vidhrdw/dynax_vidhrdw.c:680:21: warning: variable 'offs' set but not used [-Wunused-but-set-variable] int dy,length,pen,offs; ^~~~ Compiling src/drivers/nyny.c... Compiling src/drivers/r2dtank.c... src/drivers/ddenlovr.c: In function 'video_update_ddenlovr': src/drivers/ddenlovr.c:699:56: warning: "/*" within comment [-Wcomment] static int base = 0x24bbed;/*0x294a82;*/ /*0x27c47a; ;/* = 0x279a4b;*/ //0x2a0e7c;/*0x2a88ae;*/ //0x24bbed;*/ In file included from src/drivers/ddenlovr.c:79: At top level: src/drivers/ddenlovr.c:2090:23: warning: 'rtc_irq' defined but not used [-Wunused-function] static INTERRUPT_GEN( rtc_irq ) ^~~~~~~ src/driver.h:21:35: note: in definition of macro 'INTERRUPT_GEN' #define INTERRUPT_GEN(func) void func(void) ^~~~ Compiling src/machine/spiders_machine.c... 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... Compiling src/drivers/grtwall.c... Compiling src/vidhrdw/pgm_vidhrdw.c... Compiling src/drivers/pgm.c... Compiling src/machine/pgmprot_machine.c... Compiling src/machine/pgmcrypt.c... Compiling src/machine/pgmy2ks.c... In file included from src/drivers/chindrag.c:4: src/driver.h:19:33: warning: 'init_chindrag' defined but not used [-Wunused-function] #define DRIVER_INIT(name) void init_##name(void) ^~~~~ src/drivers/chindrag.c:1702:8: note: in expansion of macro 'DRIVER_INIT' static DRIVER_INIT( chindrag ) ^~~~~~~~~~~ src/drivers/chindrag.c:1625:13: warning: 'sound_irq' defined but not used [-Wunused-function] static void sound_irq(int state) ^~~~~~~~~ In file included from src/driver.h:64, from src/drivers/chindrag.c:4: src/drivers/chindrag.c:1060:25: warning: 'vbowl_unk_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( vbowl_unk_w ) ^~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/chindrag.c:960:24: warning: 'xymg_magic_r' defined but not used [-Wunused-function] static READ16_HANDLER( xymg_magic_r ) ^~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/chindrag.c:932:25: warning: 'xymg_magic_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( xymg_magic_w ) ^~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/chindrag.c:847:24: warning: 'lhb_input2_r' defined but not used [-Wunused-function] static READ16_HANDLER( lhb_input2_r ) ^~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/chindrag.c:830:25: warning: 'lhb_input2_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( lhb_input2_w ) ^~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/chindrag.c:818:25: warning: 'lhb_okibank_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( lhb_okibank_w ) ^~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/chindrag.c:781:24: warning: 'grtwall_magic_r' defined but not used [-Wunused-function] static READ16_HANDLER( grtwall_magic_r ) ^~~~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/chindrag.c:754:25: warning: 'grtwall_magic_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( grtwall_magic_w ) ^~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/chindrag.c:641:24: warning: 'chmplst2_magic_r' defined but not used [-Wunused-function] static READ16_HANDLER( chmplst2_magic_r ) ^~~~~~~~~~~~~~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/chindrag.c:600:25: warning: 'chmplst2_magic_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( chmplst2_magic_w ) ^~~~~~~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/chindrag.c:278:24: warning: 'igs_5_input_r' defined but not used [-Wunused-function] static READ16_HANDLER( igs_##NUM##_input_r ) \ ^~~~ src/memory.h:128:39: note: in definition of macro 'READ16_HANDLER' #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/chindrag.c:293:1: note: in expansion of macro 'IGS_INPUT_RW' IGS_INPUT_RW( 5 ) ^~~~~~~~~~~~ src/drivers/chindrag.c:270:25: warning: 'igs_5_input_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( igs_##NUM##_input_w ) \ ^~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ src/drivers/chindrag.c:293:1: note: in expansion of macro 'IGS_INPUT_RW' IGS_INPUT_RW( 5 ) ^~~~~~~~~~~~ src/drivers/pgm.c: In function 'init_killbld': src/drivers/pgm.c:1568:2: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(kb_regs, 0, 0x10); ^~~~~~ Compiling src/vidhrdw/hitme_vidhrdw.c... 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/drivers/dday.c... Compiling src/vidhrdw/dday_vidhrdw.c... Compiling src/vidhrdw/hexa_vidhrdw.c... Compiling src/drivers/hexa.c... src/drivers/spacefb.c: In function 'spacefb_port_1_w': src/drivers/spacefb.c:166:13: warning: variable 'explosion_playing' set but not used [-Wunused-but-set-variable] static int explosion_playing = 0; ^~~~~~~~~~~~~~~~~ Compiling src/vidhrdw/redalert_vidhrdw.c... Compiling src/sndhrdw/redalert_sndhrdw.c... Compiling src/drivers/redalert.c... Compiling src/machine/stactics_machine.c... In file included from src/vidhrdw/vector.h:4, from src/drivers/omegrace.c:220: src/drivers/omegrace.c:333:16: warning: 'omegrace_overlay' defined but not used [-Wunused-const-variable=] OVERLAY_START( omegrace_overlay ) ^~~~~~~~~~~~~~~~ src/artwork.h:40:36: note: in definition of macro 'OVERLAY_START' static const struct overlay_piece name[] = { ^~~~ 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/vidhrdw/polyplay_vidhrdw.c... Compiling src/drivers/mrjong.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/vidhrdw/clayshoo_vidhrdw.c... Compiling src/machine/clayshoo_machine.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/vidhrdw/4enraya_vidhrdw.c... Compiling src/drivers/mcatadv.c... Compiling src/drivers/4enraya.c... Compiling src/vidhrdw/oneshot_vidhrdw.c... Compiling src/drivers/oneshot.c... Compiling src/drivers/tugboat.c... Compiling src/drivers/gotcha.c... Compiling src/vidhrdw/gotcha_vidhrdw.c... In file included from src/driver.h:64, from src/drivers/mcatadv.c:60: src/drivers/mcatadv.c:89:25: warning: 'mcat_coin_w' defined but not used [-Wunused-function] static WRITE16_HANDLER( mcat_coin_w ) ^~~~~~~~~~~ src/memory.h:129:40: note: in definition of macro 'WRITE16_HANDLER' #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask) ^~~~ Compiling src/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... 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... 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/vidhrdw/crospang_vidhrdw.c... Compiling src/drivers/funybubl.c... Compiling src/drivers/dreamwld.c... Compiling src/machine/seicop.c... In file included from src/drivers/malzak.c:26: src/drivers/malzak.c:335:23: warning: 'malzak_interrupt' defined but not used [-Wunused-function] static INTERRUPT_GEN( malzak_interrupt ) ^~~~~~~~~~~~~~~~ src/driver.h:21:35: note: in definition of macro 'INTERRUPT_GEN' #define INTERRUPT_GEN(func) void func(void) ^~~~ Compiling src/vidhrdw/denjinmk.c... Compiling src/drivers/driver_denjinmk.c... src/vidhrdw/crospang_vidhrdw.c: In function 'draw_sprites': src/vidhrdw/crospang_vidhrdw.c:87:34: warning: variable 'attr' set but not used [-Wunused-but-set-variable] int offs,fx,fy,x,y,color,sprite,attr,dy,ay,flag; ^~~~ Compiling src/drivers/simpl156.c... In file included from src/driver.h:64, from src/drivers/funybubl.c:20: src/drivers/funybubl.c:67:23: warning: 'unk_port_r' defined but not used [-Wunused-function] static READ_HANDLER ( unk_port_r ) ^~~~~~~~~~ src/memory.h:126:39: note: in definition of macro 'READ_HANDLER' #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset) ^~~~ Compiling src/drivers/boogwing.c... Compiling src/drivers/dietgo.c... Compiling src/drivers/pktgaldx.c... Compiling src/drivers/dblewing.c... src/drivers/simpl156.c: In function 'nvram_handler_prtytime': src/drivers/simpl156.c:731:21: warning: passing argument 1 of 'EEPROM_set_data' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] EEPROM_set_data(simpl156_default_eeprom,0x100); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/drivers/simpl156.c:93: src/machine/eeprom.h:29:29: note: expected 'UINT8 *' {aka 'unsigned char *'} but argument is of type 'const UINT8 *' {aka 'const unsigned char *'} void EEPROM_set_data(UINT8 *data, int length); ~~~~~~~^~~~ Compiling src/drivers/mwarr.c... At top level: src/drivers/simpl156.c:100:21: warning: 'prtytime_default_eeprom' defined but not used [-Wunused-variable] static const UINT8 *prtytime_default_eeprom = NULL; ^~~~~~~~~~~~~~~~~~~~~~~ Compiling src/drivers/backfire.c... src/vidhrdw/denjinmk.c:106:13: warning: 'get_fore_tile_info' defined but not used [-Wunused-function] static void get_fore_tile_info(int tile_index) /* this is giving bad tiles... */ ^~~~~~~~~~~~~~~~~~ src/vidhrdw/denjinmk.c:82:13: warning: 'get_mid_tile_info' defined but not used [-Wunused-function] static void get_mid_tile_info(int tile_index) ^~~~~~~~~~~~~~~~~ src/drivers/dietgo.c:166:49: warning: initialization of 'size_t *' {aka 'long unsigned int *'} from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types] { 0x280000, 0x2807ff, MWA16_RAM, &spriteram16, &spriteram_size }, ^ src/drivers/dietgo.c:166:49: note: (near initialization for 'dietgo_writemem[7].size') Compiling src/drivers/pturn.c... Compiling src/vidhrdw/suprridr_vidhrdw.c... Compiling src/drivers/suprridr.c... Compiling src/drivers/vmetal.c... Compiling src/drivers/deco156.c... Compiling src/drivers/1945kiii.c... Compiling src/drivers/madalien.c... Compiling src/drivers/n8080.c... Compiling src/machine/model1_machine.c... Compiling src/vidhrdw/model1_vidhrdw.c... Compiling src/drivers/model1.c... src/machine/model1_machine.c: In function 'groundbox_test': src/machine/model1_machine.c:1350:11: warning: variable 'y' set but not used [-Wunused-but-set-variable] float x, y, z; ^ src/vidhrdw/model1_vidhrdw.c: In function 'push_object': src/vidhrdw/model1_vidhrdw.c:737:6: warning: variable 'dump' set but not used [-Wunused-but-set-variable] int dump; ^~~~ src/vidhrdw/model1_vidhrdw.c: In function 'push_direct': src/vidhrdw/model1_vidhrdw.c:941:27: warning: variable 'v2' set but not used [-Wunused-but-set-variable] UINT32 tex_adr, lum, v1, v2; ^~ src/vidhrdw/model1_vidhrdw.c:941:23: warning: variable 'v1' set but not used [-Wunused-but-set-variable] UINT32 tex_adr, lum, v1, v2; ^~ At top level: src/vidhrdw/model1_vidhrdw.c:703:28: warning: 'times' defined but not used [-Wunused-const-variable=] static const unsigned char times[]={1,1,1,1,2,2,2,3}; ^~~~~ src/vidhrdw/model1_vidhrdw.c:482:15: warning: 'scale_color' defined but not used [-Wunused-function] static UINT16 scale_color(UINT16 color, float level) ^~~~~~~~~~~ src/vidhrdw/model1_vidhrdw.c:83:15: warning: 'f2u' defined but not used [-Wunused-function] static UINT32 f2u(float f) ^~~ Compiling src/machine/namcoio_machine.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... In file included from src/cpu/m6502/m6502.c:143: src/cpu/m6502/t65c02.c: In function 'm65c02_1a': src/cpu/m6502/opsc02.h:187:4: warning: operation on 'm6502.a' may be undefined [-Wsequence-point] A = (UINT8)++A; \ src/cpu/m6502/t65c02.c:223:34: note: in expansion of macro 'INA' OP(1a) { m6502_ICount -= 2; INA; } /* 2 INA */ ^~~ src/cpu/m6502/t65c02.c: In function 'm65c02_3a': src/cpu/m6502/opsc02.h:180:4: warning: operation on 'm6502.a' may be undefined [-Wsequence-point] A = (UINT8)--A; \ src/cpu/m6502/t65c02.c:224:34: note: in expansion of macro 'DEA' OP(3a) { m6502_ICount -= 2; DEA; } /* 2 DEA */ ^~~ In file included from src/cpu/m6502/m6502.c:154: src/cpu/m6502/tdeco16.c: In function 'deco16_67': src/cpu/m6502/tdeco16.c:185:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] int tmp; m6502_ICount -= 2; RD_IMM; ^~~ In file included from src/cpu/h6280/h6280.c:133: src/cpu/h6280/tblh6280.c: In function 'h6280_088': src/cpu/h6280/h6280ops.h:587:4: warning: operation on 'h6280.y' may be undefined [-Wsequence-point] Y = (UINT8)--Y; \ ^ src/cpu/h6280/tblh6280.c:171:38: note: in expansion of macro 'DEY' OP(_088) { h6280_ICount -= 2; DEY; } /* 2 DEY*/ ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_0c8': src/cpu/h6280/h6280ops.h:629:4: warning: operation on 'h6280.y' may be undefined [-Wsequence-point] Y = (UINT8)++Y; \ ^ src/cpu/h6280/tblh6280.c:173:38: note: in expansion of macro 'INY' OP(_0c8) { h6280_ICount -= 2; INY; } /* 2 INY*/ ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_0e8': src/cpu/h6280/h6280ops.h:622:4: warning: operation on 'h6280.x' may be undefined [-Wsequence-point] X = (UINT8)++X; \ ^ src/cpu/h6280/tblh6280.c:174:38: note: in expansion of macro 'INX' OP(_0e8) { h6280_ICount -= 2; INX; } /* 2 INX*/ ^~~ src/cpu/i8085/i8085.c:172:13: warning: 'illegal' defined but not used [-Wunused-function] static void illegal(void) ^~~~~~~ src/cpu/h6280/tblh6280.c: In function 'h6280_0ca': src/cpu/h6280/h6280ops.h:580:4: warning: operation on 'h6280.x' may be undefined [-Wsequence-point] X = (UINT8)--X; \ ^ src/cpu/h6280/tblh6280.c:209:38: note: in expansion of macro 'DEX' OP(_0ca) { h6280_ICount -= 2; DEX; } /* 2 DEX*/ ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_01a': src/cpu/h6280/h6280ops.h:608:4: warning: operation on 'h6280.a' may be undefined [-Wsequence-point] A = (UINT8)++A; \ ^ src/cpu/h6280/tblh6280.c:212:38: note: in expansion of macro 'INA' OP(_01a) { h6280_ICount -= 2; INA; } /* 2 INC A*/ ^~~ src/cpu/h6280/tblh6280.c: In function 'h6280_03a': src/cpu/h6280/h6280ops.h:566:4: warning: operation on 'h6280.a' may be undefined [-Wsequence-point] A = (UINT8)--A; \ ^ src/cpu/h6280/tblh6280.c:213:38: note: in expansion of macro 'DEA' OP(_03a) { h6280_ICount -= 2; DEA; } /* 2 DEC A*/ ^~~ src/cpu/z180/z180.c: In function 'z180_set_irq_callback': src/cpu/z180/z180.c:2439:90: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] log_cb(RETRO_LOG_DEBUG, LOGPRE "Z180 #%d set_irq_callback $%08x\n",cpu_getactivecpu() , (int)callback); ^ src/cpu/z80/z80.c: In function 'z80_set_irq_callback': src/cpu/z80/z80.c:4401:89: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] log_cb(RETRO_LOG_DEBUG, LOGPRE "Z80 #%d set_irq_callback $%08x\n",cpu_getactivecpu() , (int)callback); ^ In file included from src/cpu/i86/i86.c:98: src/cpu/i86/instr86.c: In function 'i86_aas': src/cpu/i86/instr86.c:1162:8: warning: variable 'ALcarry' set but not used [-Wunused-but-set-variable] UINT8 ALcarry=1; ^~~~~~~ In file included from src/cpu/i86/i86.c:16: src/cpu/i86/i86.c: In function 'i86_get_reg': src/cpu/i86/i86.h:102:25: warning: statement with no effect [-Wunused-value] #define CompressFlags() (WORD)(CF | (PF << 2) | (AF << 4) | (ZF << 6) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | (SF << 7) | (I.TF << 8) | (I.IF << 9) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | (DF << 10) | (OF << 11)) ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/i86/i86.c:203:20: note: in expansion of macro 'CompressFlags' case I86_FLAGS: CompressFlags(); return I.flags; ^~~~~~~~~~~~~ In file included from src/cpu/i86/i86.c:452: src/cpu/i86/instr186.c: In function 'i186_popa': src/cpu/i86/instr186.c:36:12: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned tmp; ^~~ Compiling src/cpu/nec/nec.c... src/cpu/nec/nec.c: In function 'i_popa': src/cpu/nec/nec.c:374:14: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned tmp; ^~~ Compiling src/cpu/v60/v60.c... src/cpu/nec/nec.c: In function 'i_aam': src/cpu/nec/nec.c:747:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable] OP( 0xd4, i_aam ) { UINT32 mult=FETCH; mult=0; I.regs.b[AH] = I.regs.b[AL] / 10; I.regs.b[AL] %= 10; SetSZPF_Word(I.regs.w[AW]); CLKS(15,15,12); } ^~~~ src/cpu/nec/nec.c: In function 'i_aad': src/cpu/nec/nec.c:748:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable] OP( 0xd5, i_aad ) { UINT32 mult=FETCH; mult=0; I.regs.b[AL] = I.regs.b[AH] * 10 + I.regs.b[AL]; I.regs.b[AH] = 0; SetSZPF_Byte(I.regs.b[AL]); CLKS(7,7,8); } ^~~~ src/cpu/nec/nec.c: In function 'v30_info': src/cpu/nec/nec.c:1205:15: warning: variable 'r' set but not used [-Wunused-but-set-variable] nec_Regs *r = context; ^ src/cpu/nec/nec.c:1203:17: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] static char buffer[32][63+1]; ^~~~~~ src/cpu/nec/nec.c: In function 'v33_info': src/cpu/nec/nec.c:1257:15: warning: variable 'r' set but not used [-Wunused-but-set-variable] nec_Regs *r = context; ^ src/cpu/nec/nec.c:1255:17: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] static char buffer[32][63+1]; ^~~~~~ 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/cpu/m6800/m6800.c:540: src/cpu/m6800/6800ops.c: In function 'brn': src/cpu/m6800/6800ops.c:251:8: warning: variable 't' set but not used [-Wunused-but-set-variable] UINT8 t; ^ src/cpu/m6800/m6800.c: In function 'm6800_set_irq_line': src/cpu/m6800/m6800.c:697:7: warning: variable 'eddge' set but not used [-Wunused-but-set-variable] int eddge; ^~~~~ Compiling src/cpu/m6805/m6805.c... In file included from src/cpu/m6805/m6805.c:531: src/cpu/m6805/6805ops.c: In function 'brn': src/cpu/m6805/6805ops.c:111:8: warning: variable 't' set but not used [-Wunused-but-set-variable] UINT8 t; ^ Compiling src/cpu/hd6309/hd6309.c... In file included from src/cpu/hd6309/hd6309.c:761: src/cpu/hd6309/6309ops.c: In function 'brn': src/cpu/hd6309/6309ops.c:500:8: warning: variable 't' set but not used [-Wunused-but-set-variable] UINT8 t; ^ Compiling src/cpu/m6809/m6809.c... In file included from src/cpu/m6809/m6809.c:666: src/cpu/m6809/6809ops.c: In function 'brn': src/cpu/m6809/6809ops.c:410:8: warning: variable 't' set but not used [-Wunused-but-set-variable] UINT8 t; ^ Compiling src/cpu/konami/konami.c... Compiling src/cpu/m68000/m68kops.c... In file included from src/cpu/konami/konami.c:660: src/cpu/konami/konamops.c: In function 'brn': src/cpu/konami/konamops.c:328:8: warning: variable 't' set but not used [-Wunused-but-set-variable] UINT8 t; ^ Compiling src/cpu/m68000/m68kopac.c... Compiling src/cpu/m68000/m68kopdm.c... In file included from src/cpu/z180/z180.c:763: src/cpu/z180/z180op.c: In function 'take_interrupt': src/cpu/z180/z180op.c:516:25: warning: array subscript 78 is above array bounds of 'UINT8[64]' {aka 'unsigned char[64]'} [-Warray-bounds] irq_vector = (Z180.io[Z180_IL] & Z180_IL_IL) + irq * 2; ~~~~~~~^~~~~~~~~ Compiling src/cpu/m68000/m68kopnz.c... Compiling src/cpu/m68000/m68kcpu.c... src/cpu/m68000/m68kcpu.c:56:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Invalid CPU", ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:57:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "M68000", ^~~~~~~~ src/cpu/m68000/m68kcpu.c:58:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "M68010", ^~~~~~~~ src/cpu/m68000/m68kcpu.c:59:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Invalid CPU", ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:60:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "M68EC020" ^~~~~~~~~~ src/cpu/m68000/m68kcpu.c:62:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Invalid CPU", ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:63:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Invalid CPU", ^~~~~~~~~~~~~ src/cpu/m68000/m68kcpu.c:64:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "M68020" ^~~~~~~~ Compiling src/cpu/m68000/m68kmame.c... Compiling src/cpu/t11/t11.c... Compiling src/cpu/s2650/s2650.c... Compiling src/cpu/tms34010/tms34010.c... Compiling src/cpu/tms34010/34010fld.c... Compiling src/cpu/tms9900/tms9980a.c... Compiling src/cpu/tms9900/tms9995.c... Compiling src/cpu/tms9900/tms9900.c... Compiling src/cpu/z8000/z8000.c... Compiling src/cpu/tms32010/tms32010.c... Compiling src/cpu/tms32025/tms32025.c... Compiling src/cpu/tms32031/tms32031.c... src/cpu/tms32031/tms32031.c: In function 'tms32031_get_reg': src/cpu/tms32031/tms32031.c:498:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R0F: temp = dsp_to_double(&tms32031.r[TMR_R0]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:499:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R1F: temp = dsp_to_double(&tms32031.r[TMR_R1]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:500:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R2F: temp = dsp_to_double(&tms32031.r[TMR_R2]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:501:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R3F: temp = dsp_to_double(&tms32031.r[TMR_R3]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:502:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R4F: temp = dsp_to_double(&tms32031.r[TMR_R4]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:503:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R5F: temp = dsp_to_double(&tms32031.r[TMR_R5]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:504:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R6F: temp = dsp_to_double(&tms32031.r[TMR_R6]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:505:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R7F: temp = dsp_to_double(&tms32031.r[TMR_R7]); return *(UINT32 *)&temp; ^~~~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c: In function 'tms32031_set_reg': src/cpu/tms32031/tms32031.c:559:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R0F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R0]); break; ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:560:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R1F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R1]); break; ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:561:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R2F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R2]); break; ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:562:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R3F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R3]); break; ^~~~~~~~~~~~~ Compiling src/cpu/ccpu/ccpu.c... src/cpu/tms32031/tms32031.c:563:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R4F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R4]); break; ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:564:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R5F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R5]); break; ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:565:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R6F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R6]); break; ^~~~~~~~~~~~~ src/cpu/tms32031/tms32031.c:566:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] case TMS32031_R7F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R7]); break; ^~~~~~~~~~~~~ src/cpu/ccpu/ccpu.c: In function 'opJEI_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1664:4: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1663:3: note: some parts of macro expansion are not guarded by this 'if' clause if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKY) - (CINESWORD)FromX) < 0x800) ^~ src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1669:4: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1668:3: note: some parts of macro expansion are not guarded by this 'if' clause if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJEI_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1682:4: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1681:3: note: some parts of macro expansion are not guarded by this 'if' clause if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKY) - (CINESWORD)FromX) < 0x800) ^~ src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1687:4: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1686:3: note: some parts of macro expansion are not guarded by this 'if' clause if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJEI_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1700:4: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1699:3: note: some parts of macro expansion are not guarded by this 'if' clause if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKY) - (CINESWORD)FromX) < 0x800) ^~ src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1705:4: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1704:3: note: some parts of macro expansion are not guarded by this 'if' clause if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1721:3: note: in expansion of macro 'JMP' JMP(); /* yes -- do jump */ ^~~ src/cpu/ccpu/ccpu.c:1720:2: note: some parts of macro expansion are not guarded by this 'if' clause if (register_A & 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_AA_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1730:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1729:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_old & 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_BB_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1738:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1737:2: note: some parts of macro expansion are not guarded by this 'if' clause if (register_B & 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1746:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1745:2: note: some parts of macro expansion are not guarded by this 'if' clause if (register_A & 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJLT_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1756:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1755:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_new < cmp_old) ^~ src/cpu/ccpu/ccpu.c: In function 'opJLT_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1764:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1763:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_new < cmp_old) ^~ src/cpu/ccpu/ccpu.c: In function 'opJEQ_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1774:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1773:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_new == cmp_old) ^~ src/cpu/ccpu/ccpu.c: In function 'opJEQ_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1782:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1781:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_new == cmp_old) ^~ src/cpu/ccpu/ccpu.c: In function 'opJA0_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1790:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1789:2: note: some parts of macro expansion are not guarded by this 'if' clause if (acc_a0 & 0x01) ^~ src/cpu/ccpu/ccpu.c: In function 'opJA0_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1798:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1797:2: note: some parts of macro expansion are not guarded by this 'if' clause if (acc_a0 & 0x01) ^~ src/cpu/ccpu/ccpu.c: In function 'opJNC_A_A': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1806:3: note: in expansion of macro 'JMP' JMP(); /* no carry, so jump */ ^~~ src/cpu/ccpu/ccpu.c:1805:2: note: some parts of macro expansion are not guarded by this 'if' clause if (!(GETFC() & 0xF0)) ^~ src/cpu/ccpu/ccpu.c: In function 'opJNC_B_BB': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1814:3: note: in expansion of macro 'JMP' JMP(); /* no carry, so jump */ ^~~ src/cpu/ccpu/ccpu.c:1813:2: note: some parts of macro expansion are not guarded by this 'if' clause if (!(GETFC() & 0xF0)) ^~ src/cpu/ccpu/ccpu.c: In function 'opJMI_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1921:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1920:2: note: some parts of macro expansion are not guarded by this 'if' clause if (register_A & 0x800) ^~ src/cpu/ccpu/ccpu.c: In function 'opJLT_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1941:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1940:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_new < cmp_old) ^~ src/cpu/ccpu/ccpu.c: In function 'opJEQ_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1949:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1948:2: note: some parts of macro expansion are not guarded by this 'if' clause if (cmp_new == cmp_old) ^~ src/cpu/ccpu/ccpu.c: In function 'opJA0_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1957:3: note: in expansion of macro 'JMP' JMP(); ^~~ src/cpu/ccpu/ccpu.c:1956:2: note: some parts of macro expansion are not guarded by this 'if' clause if (GETA0() & 0x01) ^~ src/cpu/ccpu/ccpu.c: In function 'opJNC_A_B': src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros] #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 2 ^~~~~~~~~~~ src/cpu/ccpu/ccpu.c:1965:3: note: in expansion of macro 'JMP' JMP(); /* if no carry, jump */ ^~~ src/cpu/ccpu/ccpu.c:1964:2: note: some parts of macro expansion are not guarded by this 'if' clause if (!(GETFC() & 0x0F0)) ^~ Compiling src/vidhrdw/cinemat_vidhrdw.c... src/vidhrdw/cinemat_vidhrdw.c: In function 'CinemaVectorData': src/vidhrdw/cinemat_vidhrdw.c:32:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ src/vidhrdw/cinemat_vidhrdw.c:35:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' lastx = tox; ^~~~~ Compiling src/cpu/mips/psx_cpu.c... Compiling src/cpu/asap/asap.c... Compiling src/cpu/upd7810/upd7810.c... Compiling src/cpu/arm/arm.c... Compiling src/cpu/jaguar/jaguar.c... Compiling src/cpu/mips/r3000.c... Compiling src/cpu/mips/mips3.c... src/cpu/mips/mips3.c: In function 'handle_cop1': src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:775:7: note: in expansion of macro 'FDVALS' FDVALS = FSVALS + FTVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:775:16: note: in expansion of macro 'FSVALS' FDVALS = FSVALS + FTVALS; ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:775:25: note: in expansion of macro 'FTVALS' FDVALS = FSVALS + FTVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:777:7: note: in expansion of macro 'FDVALD' FDVALD = FSVALD + FTVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:777:16: note: in expansion of macro 'FSVALD' FDVALD = FSVALD + FTVALD; ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:777:25: note: in expansion of macro 'FTVALD' FDVALD = FSVALD + FTVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:782:7: note: in expansion of macro 'FDVALS' FDVALS = FSVALS - FTVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:782:16: note: in expansion of macro 'FSVALS' FDVALS = FSVALS - FTVALS; ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:782:25: note: in expansion of macro 'FTVALS' FDVALS = FSVALS - FTVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:784:7: note: in expansion of macro 'FDVALD' FDVALD = FSVALD - FTVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:784:16: note: in expansion of macro 'FSVALD' FDVALD = FSVALD - FTVALD; ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:784:25: note: in expansion of macro 'FTVALD' FDVALD = FSVALD - FTVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:789:7: note: in expansion of macro 'FDVALS' FDVALS = FSVALS * FTVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:789:16: note: in expansion of macro 'FSVALS' FDVALS = FSVALS * FTVALS; ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:789:25: note: in expansion of macro 'FTVALS' FDVALS = FSVALS * FTVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:791:7: note: in expansion of macro 'FDVALD' FDVALD = FSVALD * FTVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:791:16: note: in expansion of macro 'FSVALD' FDVALD = FSVALD * FTVALD; ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:791:25: note: in expansion of macro 'FTVALD' FDVALD = FSVALD * FTVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:796:7: note: in expansion of macro 'FDVALS' FDVALS = FSVALS / FTVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:796:16: note: in expansion of macro 'FSVALS' FDVALS = FSVALS / FTVALS; ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:796:25: note: in expansion of macro 'FTVALS' FDVALS = FSVALS / FTVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:798:7: note: in expansion of macro 'FDVALD' FDVALD = FSVALD / FTVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:798:16: note: in expansion of macro 'FSVALD' FDVALD = FSVALD / FTVALD; ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:798:25: note: in expansion of macro 'FTVALD' FDVALD = FSVALD / FTVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:803:7: note: in expansion of macro 'FDVALS' FDVALS = sqrt(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:803:21: note: in expansion of macro 'FSVALS' FDVALS = sqrt(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:805:7: note: in expansion of macro 'FDVALD' FDVALD = sqrt(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:805:21: note: in expansion of macro 'FSVALD' FDVALD = sqrt(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:810:7: note: in expansion of macro 'FDVALS' FDVALS = fabs(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:810:21: note: in expansion of macro 'FSVALS' FDVALS = fabs(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:812:7: note: in expansion of macro 'FDVALD' FDVALD = fabs(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:812:21: note: in expansion of macro 'FSVALD' FDVALD = fabs(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:817:7: note: in expansion of macro 'FDVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:817:16: note: in expansion of macro 'FSVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:819:7: note: in expansion of macro 'FDVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:819:16: note: in expansion of macro 'FSVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:824:7: note: in expansion of macro 'FDVALS' FDVALS = -FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:824:17: note: in expansion of macro 'FSVALS' FDVALS = -FSVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:826:7: note: in expansion of macro 'FDVALD' FDVALD = -FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:826:17: note: in expansion of macro 'FSVALD' FDVALD = -FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:832:21: note: in expansion of macro 'FSVALS' double temp = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:841:21: note: in expansion of macro 'FSVALD' double temp = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:853:21: note: in expansion of macro 'FSVALS' double temp = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:862:21: note: in expansion of macro 'FSVALD' double temp = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:873:20: note: in expansion of macro 'FSVALS' dtemp = ceil(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:875:20: note: in expansion of macro 'FSVALD' dtemp = ceil(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:881:21: note: in expansion of macro 'FSVALS' dtemp = floor(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:883:21: note: in expansion of macro 'FSVALD' dtemp = floor(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:890:15: note: in expansion of macro 'FSVALS' dtemp = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:899:15: note: in expansion of macro 'FSVALD' dtemp = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:911:15: note: in expansion of macro 'FSVALS' dtemp = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:920:15: note: in expansion of macro 'FSVALD' dtemp = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:931:20: note: in expansion of macro 'FSVALS' dtemp = ceil(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:933:20: note: in expansion of macro 'FSVALD' dtemp = ceil(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:939:21: note: in expansion of macro 'FSVALS' dtemp = floor(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:941:21: note: in expansion of macro 'FSVALD' dtemp = floor(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:949:8: note: in expansion of macro 'FDVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:949:17: note: in expansion of macro 'FSVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:951:8: note: in expansion of macro 'FDVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:951:17: note: in expansion of macro 'FSVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:959:8: note: in expansion of macro 'FDVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:959:17: note: in expansion of macro 'FSVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:961:8: note: in expansion of macro 'FDVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:961:17: note: in expansion of macro 'FSVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:969:8: note: in expansion of macro 'FDVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:969:17: note: in expansion of macro 'FSVALS' FDVALS = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:971:8: note: in expansion of macro 'FDVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:971:17: note: in expansion of macro 'FSVALD' FDVALD = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:977:7: note: in expansion of macro 'FDVALS' FDVALS = 1.0 / FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:977:22: note: in expansion of macro 'FSVALS' FDVALS = 1.0 / FSVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:979:7: note: in expansion of macro 'FDVALD' FDVALD = 1.0 / FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:979:22: note: in expansion of macro 'FSVALD' FDVALD = 1.0 / FSVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:984:7: note: in expansion of macro 'FDVALS' FDVALS = 1.0 / sqrt(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:984:27: note: in expansion of macro 'FSVALS' FDVALS = 1.0 / sqrt(FSVALS); ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:986:7: note: in expansion of macro 'FDVALD' FDVALD = 1.0 / sqrt(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:986:27: note: in expansion of macro 'FSVALD' FDVALD = 1.0 / sqrt(FSVALD); ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:993:8: note: in expansion of macro 'FDVALS' FDVALS = (INT32)mips3.cpr[1][FSREG]; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:995:8: note: in expansion of macro 'FDVALS' FDVALS = (INT64)mips3.cpr[1][FSREG]; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:998:7: note: in expansion of macro 'FDVALS' FDVALS = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:998:16: note: in expansion of macro 'FSVALD' FDVALS = FSVALD; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1005:8: note: in expansion of macro 'FDVALD' FDVALD = (INT32)mips3.cpr[1][FSREG]; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1007:8: note: in expansion of macro 'FDVALD' FDVALD = (INT64)mips3.cpr[1][FSREG]; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1010:7: note: in expansion of macro 'FDVALD' FDVALD = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1010:16: note: in expansion of macro 'FSVALS' FDVALD = FSVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1015:36: note: in expansion of macro 'FSVALS' mips3.cpr[1][FDREG] = (INT32)FSVALS; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1017:36: note: in expansion of macro 'FSVALD' mips3.cpr[1][FDREG] = (INT32)FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1022:36: note: in expansion of macro 'FSVALS' mips3.cpr[1][FDREG] = (INT64)FSVALS; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1024:36: note: in expansion of macro 'FSVALD' mips3.cpr[1][FDREG] = (INT64)FSVALD; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1046:37: note: in expansion of macro 'FSVALS' mips3.cf[1][(op >> 8) & 7] = (FSVALS == FTVALS); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1046:47: note: in expansion of macro 'FTVALS' mips3.cf[1][(op >> 8) & 7] = (FSVALS == FTVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1048:37: note: in expansion of macro 'FSVALD' mips3.cf[1][(op >> 8) & 7] = (FSVALD == FTVALD); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1048:47: note: in expansion of macro 'FTVALD' mips3.cf[1][(op >> 8) & 7] = (FSVALD == FTVALD); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1054:37: note: in expansion of macro 'FSVALS' mips3.cf[1][(op >> 8) & 7] = (FSVALS == FTVALS); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1054:47: note: in expansion of macro 'FTVALS' mips3.cf[1][(op >> 8) & 7] = (FSVALS == FTVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1056:37: note: in expansion of macro 'FSVALD' mips3.cf[1][(op >> 8) & 7] = (FSVALD == FTVALD); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1056:47: note: in expansion of macro 'FTVALD' mips3.cf[1][(op >> 8) & 7] = (FSVALD == FTVALD); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1062:37: note: in expansion of macro 'FSVALS' mips3.cf[1][(op >> 8) & 7] = (FSVALS < FTVALS); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1062:46: note: in expansion of macro 'FTVALS' mips3.cf[1][(op >> 8) & 7] = (FSVALS < FTVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1064:37: note: in expansion of macro 'FSVALD' mips3.cf[1][(op >> 8) & 7] = (FSVALD < FTVALD); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1064:46: note: in expansion of macro 'FTVALD' mips3.cf[1][(op >> 8) & 7] = (FSVALD < FTVALD); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1070:37: note: in expansion of macro 'FSVALS' mips3.cf[1][(op >> 8) & 7] = (FSVALS < FTVALS); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1070:46: note: in expansion of macro 'FTVALS' mips3.cf[1][(op >> 8) & 7] = (FSVALS < FTVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1072:37: note: in expansion of macro 'FSVALD' mips3.cf[1][(op >> 8) & 7] = (FSVALD < FTVALD); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1072:46: note: in expansion of macro 'FTVALD' mips3.cf[1][(op >> 8) & 7] = (FSVALD < FTVALD); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1078:37: note: in expansion of macro 'FSVALS' mips3.cf[1][(op >> 8) & 7] = (FSVALS <= FTVALS); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1078:47: note: in expansion of macro 'FTVALS' mips3.cf[1][(op >> 8) & 7] = (FSVALS <= FTVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1080:37: note: in expansion of macro 'FSVALD' mips3.cf[1][(op >> 8) & 7] = (FSVALD <= FTVALD); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1080:47: note: in expansion of macro 'FTVALD' mips3.cf[1][(op >> 8) & 7] = (FSVALD <= FTVALD); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1086:37: note: in expansion of macro 'FSVALS' mips3.cf[1][(op >> 8) & 7] = (FSVALS <= FTVALS); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1086:47: note: in expansion of macro 'FTVALS' mips3.cf[1][(op >> 8) & 7] = (FSVALS <= FTVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1088:37: note: in expansion of macro 'FSVALD' mips3.cf[1][(op >> 8) & 7] = (FSVALD <= FTVALD); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1088:47: note: in expansion of macro 'FTVALD' mips3.cf[1][(op >> 8) & 7] = (FSVALD <= FTVALD); ^~~~~~ src/cpu/mips/mips3.c: In function 'handle_cop1x': src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1113:4: note: in expansion of macro 'FDVALS' FDVALS = RLONG(RSVAL32 + RTVAL32); ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1117:4: note: in expansion of macro 'FDVALD' FDVALD = RDOUBLE(RSVAL32 + RTVAL32); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:154:52: note: in definition of macro 'WDOUBLE' #define WDOUBLE(x,v) (*mips3.memory.writedouble)(x,v) ^ src/cpu/mips/mips3.c:1121:31: note: in expansion of macro 'FSVALS' WDOUBLE(RSVAL32 + RTVAL32, FSVALS); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:154:52: note: in definition of macro 'WDOUBLE' #define WDOUBLE(x,v) (*mips3.memory.writedouble)(x,v) ^ src/cpu/mips/mips3.c:1125:31: note: in expansion of macro 'FSVALD' WDOUBLE(RSVAL32 + RTVAL32, FSVALD); ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1132:4: note: in expansion of macro 'FDVALS' FDVALS = FSVALS * FTVALS + FRVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1132:13: note: in expansion of macro 'FSVALS' FDVALS = FSVALS * FTVALS + FRVALS; ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1132:22: note: in expansion of macro 'FTVALS' FDVALS = FSVALS * FTVALS + FRVALS; ^~~~~~ src/cpu/mips/mips3.c:120:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1132:31: note: in expansion of macro 'FRVALS' FDVALS = FSVALS * FTVALS + FRVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1136:4: note: in expansion of macro 'FDVALD' FDVALD = FSVALD * FTVALD + FRVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1136:13: note: in expansion of macro 'FSVALD' FDVALD = FSVALD * FTVALD + FRVALD; ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1136:22: note: in expansion of macro 'FTVALD' FDVALD = FSVALD * FTVALD + FRVALD; ^~~~~~ src/cpu/mips/mips3.c:125:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1136:31: note: in expansion of macro 'FRVALD' FDVALD = FSVALD * FTVALD + FRVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1140:4: note: in expansion of macro 'FDVALS' FDVALS = FSVALS * FTVALS - FRVALS; ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1140:13: note: in expansion of macro 'FSVALS' FDVALS = FSVALS * FTVALS - FRVALS; ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1140:22: note: in expansion of macro 'FTVALS' FDVALS = FSVALS * FTVALS - FRVALS; ^~~~~~ src/cpu/mips/mips3.c:120:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1140:31: note: in expansion of macro 'FRVALS' FDVALS = FSVALS * FTVALS - FRVALS; ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1144:4: note: in expansion of macro 'FDVALD' FDVALD = FSVALD * FTVALD - FRVALD; ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1144:13: note: in expansion of macro 'FSVALD' FDVALD = FSVALD * FTVALD - FRVALD; ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1144:22: note: in expansion of macro 'FTVALD' FDVALD = FSVALD * FTVALD - FRVALD; ^~~~~~ src/cpu/mips/mips3.c:125:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1144:31: note: in expansion of macro 'FRVALD' FDVALD = FSVALD * FTVALD - FRVALD; ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1148:4: note: in expansion of macro 'FDVALS' FDVALS = -(FSVALS * FTVALS + FRVALS); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1148:15: note: in expansion of macro 'FSVALS' FDVALS = -(FSVALS * FTVALS + FRVALS); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1148:24: note: in expansion of macro 'FTVALS' FDVALS = -(FSVALS * FTVALS + FRVALS); ^~~~~~ src/cpu/mips/mips3.c:120:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1148:33: note: in expansion of macro 'FRVALS' FDVALS = -(FSVALS * FTVALS + FRVALS); ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1152:4: note: in expansion of macro 'FDVALD' FDVALD = -(FSVALD * FTVALD + FRVALD); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1152:15: note: in expansion of macro 'FSVALD' FDVALD = -(FSVALD * FTVALD + FRVALD); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1152:24: note: in expansion of macro 'FTVALD' FDVALD = -(FSVALD * FTVALD + FRVALD); ^~~~~~ src/cpu/mips/mips3.c:125:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1152:33: note: in expansion of macro 'FRVALD' FDVALD = -(FSVALD * FTVALD + FRVALD); ^~~~~~ src/cpu/mips/mips3.c:123:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1156:4: note: in expansion of macro 'FDVALS' FDVALS = -(FSVALS * FTVALS - FRVALS); ^~~~~~ src/cpu/mips/mips3.c:122:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1156:15: note: in expansion of macro 'FSVALS' FDVALS = -(FSVALS * FTVALS - FRVALS); ^~~~~~ src/cpu/mips/mips3.c:121:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1156:24: note: in expansion of macro 'FTVALS' FDVALS = -(FSVALS * FTVALS - FRVALS); ^~~~~~ src/cpu/mips/mips3.c:120:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)]) ^ src/cpu/mips/mips3.c:1156:33: note: in expansion of macro 'FRVALS' FDVALS = -(FSVALS * FTVALS - FRVALS); ^~~~~~ src/cpu/mips/mips3.c:128:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FDVALD (*(double *)&mips3.cpr[1][FDREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1160:4: note: in expansion of macro 'FDVALD' FDVALD = -(FSVALD * FTVALD - FRVALD); ^~~~~~ src/cpu/mips/mips3.c:127:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FSVALD (*(double *)&mips3.cpr[1][FSREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1160:15: note: in expansion of macro 'FSVALD' FDVALD = -(FSVALD * FTVALD - FRVALD); ^~~~~~ src/cpu/mips/mips3.c:126:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FTVALD (*(double *)&mips3.cpr[1][FTREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1160:24: note: in expansion of macro 'FTVALD' FDVALD = -(FSVALD * FTVALD - FRVALD); ^~~~~~ src/cpu/mips/mips3.c:125:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define FRVALD (*(double *)&mips3.cpr[1][FRREG]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/cpu/mips/mips3.c:1160:33: note: in expansion of macro 'FRVALD' FDVALD = -(FSVALD * FTVALD - FRVALD); ^~~~~~ Compiling src/cpu/sh2/sh2.c... Compiling src/cpu/dsp32/dsp32.c... src/cpu/dsp32/dsp32.c: In function 'dsp32c_info': src/cpu/dsp32/dsp32.c:654:14: warning: variable 'r' set but not used [-Wunused-but-set-variable] dsp32_regs *r = context; ^ Compiling src/cpu/pic16c5x/pic16c5x.c... 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... src/sound/samples.c: In function 'sample_stop': src/sound/samples.c:137:19: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] leftSampleNum = NULL; ^ src/sound/samples.c:140:20: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] rightSampleNum = NULL; ^ Compiling src/sound/dac.c... Compiling src/sound/discrete.c... src/sound/discrete.c: In function 'discrete_sh_stop': src/sound/discrete.c:330:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (disclogfile) ^~ src/sound/discrete.c:332:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' disclogfile = NULL; ^~~~~~~~~~~ Compiling src/sound/2203intf.c... Compiling src/sound/2151intf.c... Compiling src/sound/ym2151.c... src/sound/ym2151.c: In function 'ym2151_state_save_register': src/sound/ym2151.c:1500:55: warning: pointer targets in passing argument 4 of 'state_save_register_UINT32' differ in signedness [-Wpointer-sign] state_save_register_UINT32 (buf1, i, "sndindex", &YMPSG[i].irqlinestate, 1); ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/sound/ym2151.c:15: src/state.h:19:6: note: expected 'UINT32 *' {aka 'unsigned int *'} but argument is of type 'int *' void state_save_register_UINT32(const char *module, int instance, ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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... Compiling src/sound/2413intf.c... Compiling src/sound/ym2413.c... Compiling src/sound/ymz280b.c... src/sound/ym2413.c: In function 'OPLLWriteReg': src/sound/ym2413.c:1664:28: warning: bitwise comparison always evaluates to false [-Wtautological-compare] if ((chip->rhythm&0x20)==1) ^~ 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... src/sound/tiaintf.c: In function 'tia_sh_start': src/sound/tiaintf.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Machine->sample_rate == 0) ^~ src/sound/tiaintf.c:15:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' channel = stream_init("TIA", intf->volume, Machine->sample_rate, 0, tia_process); ^~~~~~~ Compiling src/sound/nes_apu.c... Compiling src/sound/astrocde_snd.c... Compiling src/sound/namco.c... Compiling src/sound/namco52.c... src/sound/namco.c:39:39: warning: 'f_fracbits' is static but used in inline function 'namco_update_one' which is not static #define WAVEFORM_POSITION(n) (((n) >> f_fracbits) & 0x1f) ^~~~~~~~~~ src/sound/namco.c:158:17: note: in expansion of macro 'WAVEFORM_POSITION' data += wave[WAVEFORM_POSITION(counter)]; ^~~~~~~~~~~~~~~~~ Compiling src/sound/namco54.c... Compiling src/sound/namcona.c... Compiling src/sound/tms36xx.c... Compiling src/sound/tms5110.c... Compiling src/sound/5110intf.c... src/sound/tms5110.c: In function 'parse_frame': src/sound/tms5110.c:496:19: warning: variable 'old_count' set but not used [-Wunused-but-set-variable] int old_head, old_count; ^~~~~~~~~ src/sound/tms5110.c:496:9: warning: variable 'old_head' set but not used [-Wunused-but-set-variable] int old_head, old_count; ^~~~~~~~ Compiling src/sound/tms5220.c... Compiling src/sound/5220intf.c... 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... 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... src/sound/ymf262.c: In function 'OPL3WriteReg': src/sound/ymf262.c:2085:39: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0); ~~~~~~~~~~~~~~~~~~~~^~~~ src/sound/ymf262.c:2085:71: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ src/sound/ymf262.c:2137:43: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ src/sound/ymf262.c:2137:71: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0); ~~~~~~~~~~~~~~~~~~~~^~~~ Compiling src/sound/x1_010.c... Compiling src/sound/multipcm.c... Compiling src/sound/c6280.c... src/sound/multipcm.c: In function 'MultiPCM_reg_w': src/sound/multipcm.c:407:15: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] pt_abs = (double)abs(pitch); ^ Compiling src/sound/sp0250.c... Compiling src/sound/scsp.c... Compiling src/sound/psx.c... Compiling src/sound/ymf271.c... Compiling src/sound/ics2115.c... src/sound/scsp.c: In function 'SCSP_Init': src/sound/scsp.c:385:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(SCSP,0,sizeof(SCSP)); ^ src/sound/scsp.c: In function 'SCSP_Update0000': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:809:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0001': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:809:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0002': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:809:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0003': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:809:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0010': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:810:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0011': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:810:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0012': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:810:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0013': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:810:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0100': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:811:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0101': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:811:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0102': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:811:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0103': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:811:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0110': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:812:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0111': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:812:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update0112': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:812:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) ^~~~~~~~ Compiling src/lib/mame-chd/chd.c... src/sound/scsp.c: In function 'SCSP_Update0113': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:812:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1000': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:813:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1001': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:813:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1002': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:813:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1003': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:813:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1010': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:814:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1011': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:814:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1012': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:814:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1013': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:814:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1100': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:815:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1101': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:815:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1102': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:815:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1103': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:815:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1110': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:816:1: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1111': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:816:19: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1112': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:816:37: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) ^~~~~~~~ src/sound/scsp.c: In function 'SCSP_Update1113': src/sound/scsp.c:753:15: warning: variable 'fpart' set but not used [-Wunused-but-set-variable] signed int fpart;\ ^~~~~ src/sound/scsp.c:816:55: note: in expansion of macro 'SCSPTMPL' SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3) ^~~~~~~~ Compiling src/lib/mame-chd/mame_sha1.c... Compiling src/libretro-deps/libFLAC/bitmath.c... Compiling src/libretro-deps/libFLAC/bitreader.c... Compiling src/libretro-deps/libFLAC/bitwriter.c... Compiling src/libretro-deps/libFLAC/cpu.c... In file included from src/libretro-deps/libFLAC/cpu.c:83: /usr/include/sys/sysctl.h:831:25: error: unknown type name 'u_int'; did you mean 'int'? int sysctl(const int *, u_int, void *, size_t *, const void *, size_t); ^~~~~ int src/libretro-deps/libFLAC/cpu.c:102:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE42' defined but not used [-Wunused-const-variable=] static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE42 = 0x00100000; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-deps/libFLAC/cpu.c:101:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE41' defined but not used [-Wunused-const-variable=] static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE41 = 0x00080000; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-deps/libFLAC/cpu.c:100:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSSE3' defined but not used [-Wunused-const-variable=] static const unsigned FLAC__CPUINFO_IA32_CPUID_SSSE3 = 0x00000200; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libretro-deps/libFLAC/cpu.c:99:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE3' defined but not used [-Wunused-const-variable=] static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[1]: *** [Makefile:683: src/libretro-deps/libFLAC/cpu.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... src/sound/scsp.c: In function 'SCSP_0_w': src/sound/scsp.c:912:10: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds] tmp_dma[2] = scsp_regs[0x416/2]; ~~~~~~~^~~ src/sound/scsp.c:939:31: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds] scsp_regs[0x416/2] = tmp_dma[2]; ~~~~~~~^~~ gmake[1]: Leaving directory '/construction/games/libretro-mame2003_plus/mame2003-plus-libretro-0134c42' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/games/libretro-mame2003_plus FAILED 00:02:25