nixbot

builds

succeeded libretro-mame2003-plus-0-unstable-2026-10-15 checks.aarch64-linux.nixos-rg28xx · build #55 · raw

unpackPhase
1unpacking source archive /nix/store/y39drxah9xmkw5mqqzhmvr96gnhncaby-source2source root is source
configurePhase
3no configure script, doing nothing
buildPhase
4build flags: -j4 SHELL=/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash platform=unix ARCH=arm645/nix/store/czx7cscpnqqmc9nwmbpnv2zcvck64mmf-bash-5.3p20/bin/bash: line 1: git: command not found6Compiling src/mame2003/mame2003.c...7Compiling src/mame2003/core_options.c...8Compiling src/mame2003/video.c...9Compiling src/artwork.c...10In file included from src/mame2003/video.c:7:11src/common.h:464:55: warning: 'struct GameDriver' declared inside parameter list will not be visible outside of this definition or declaration12 464 | const struct RomModule *rom_first_region(const struct GameDriver *drv);13 | ^~~~~~~~~~14src/mame2003/core_options.c: In function 'update_variables':15src/mame2003/core_options.c:1222:39: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast]16 1222 | options.cpu_clock_scale = (double) atoi(var.value) / 100;17 | ^18src/mame2003/core_options.c: At top level:19src/mame2003/core_options.c:754:47: warning: 'option_def_cyclone_mode' defined but not used [-Wunused-variable]20 754 | static struct retro_core_option_v2_definition option_def_cyclone_mode = {21 | ^~~~~~~~~~~~~~~~~~~~~~~22src/artwork.c: In function 'render_ui_overlay':23src/artwork.c:2171:13: warning: variable 'width' set but not used [-Wunused-but-set-variable=]24 2171 | int width, height;25 | ^~~~~26src/artwork.c: In function 'artwork_load':27src/artwork.c:2306:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]28 2306 | for (tmp = list; tmp->type != OVERLAY_TYPE_END; count++)29 | ^30Compiling src/bootstrap.c...31Compiling src/cheat.c...32Compiling src/common.c...33src/cheat.c: In function 'UIPressedRepeatThrottle':34src/cheat.c:1453:33: warning: variable 'pressed' set but not used [-Wunused-but-set-variable=]35 1453 | int pressed = 0;36 | ^~~~~~~37src/cheat.c: In function 'DoSearchMenu':38src/cheat.c:4876:25: warning: variable 'submenuChoice' set but not used [-Wunused-but-set-variable=]39 4876 | static INT32 submenuChoice = 0;40 | ^~~~~~~~~~~~~41src/common.c: In function 'readsample':42src/common.c:473:28: warning: unused variable 'SampleFile' [-Wunused-variable]43 473 | struct GameSample *SampleFile;44 | ^~~~~~~~~~45src/common.c: In function 'readsamples':46src/common.c:507:8: warning: variable 'missing_sample' set but not used [-Wunused-but-set-variable=]47 507 | bool missing_sample = false;48 | ^~~~~~~~~~~~~~49Compiling src/config.c...50src/config.c: In function 'config_read_ports':51src/config.c:332:22: warning: variable 'total' set but not used [-Wunused-but-set-variable=]52 332 | unsigned int total;53 | ^~~~~54src/config.c: In function 'config_read_coin_and_ticket_counters':55src/config.c:441:13: warning: variable 'coin_counters' set but not used [-Wunused-but-set-variable=]56 441 | int coin_counters;57 | ^~~~~~~~~~~~~58Compiling src/controls.c...59Compiling src/cpuexec.c...60Compiling src/cpuint.c...61Compiling src/cpuintrf.c...62Compiling src/datafile.c...63src/datafile.c: In function 'GetNextToken':64src/datafile.c:128:16: warning: variable 'dwLength' set but not used [-Wunused-but-set-variable=]65 128 | UINT32 dwLength; /* Length of symbol */66 | ^~~~~~~~67src/datafile.c: At top level:68src/datafile.c:369:12: warning: 'ci_strcmp' defined but not used [-Wunused-function]69 369 | static int ci_strcmp (const char *s1, const char *s2)70 | ^~~~~~~~~71Compiling src/drawgfx.c...72Compiling src/driver.c...73src/drawgfx.c: In function 'draw_crosshair':74src/drawgfx.c:3521:29: warning: variable 'black' set but not used [-Wunused-but-set-variable=]75 3521 | unsigned long color,black,white;76 | ^~~~~77Compiling src/fileio.c...78src/fileio.c: In function 'osd_get_path_info':79src/fileio.c:273:45: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]80 273 | snprintf(buffer, PATH_MAX_LENGTH, "%s%c%s", currDir, PATH_DEFAULT_SLASH_C(), filename);81 | ^82In file included from /nix/store/2gh2kjj22acjw1354if79dgr6l73y3sl-glibc-2.44-57-dev/include/stdio.h:974,83 from src/libretro-common/include/streams/file_stream.h:26,84 from src/fileio.c:11:85In function 'snprintf',86 inlined from 'osd_get_path_info' at src/fileio.c:273:4:87/nix/store/2gh2kjj22acjw1354if79dgr6l73y3sl-glibc-2.44-57-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 409688 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,89 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~90 69 | __glibc_objsize (__s), __fmt,91 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~92 70 | __va_arg_pack ());93 | ~~~~~~~~~~~~~~~~~94Compiling src/harddisk.c...95Compiling src/hash.c...96src/hash.c: In function 'hash_data_has_info':97src/hash.c:457:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]98 457 | char* res = strstr(data, info_strings[info]);99 | ^~~~~~100Compiling src/hiscore.c...101Compiling src/info.c...102Compiling src/inptport.c...103src/inptport.c:576:13: warning: 'writeint' defined but not used [-Wunused-function]104 576 | static void writeint(mame_file *f,UINT32 num)105 | ^~~~~~~~106src/inptport.c:557:12: warning: 'readint' defined but not used [-Wunused-function]107 557 | static int readint(mame_file *f,UINT32 *num)108 | ^~~~~~~109src/info.c: In function 'print_game_rom':110src/info.c:395:80: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]111 395 | default: fprintf(out, " region=\"0x%x\"", ROMREGION_GETTYPE(region));112 | ~^113 | |114 | unsigned int115 | %lx116src/info.c: At top level:117src/info.c:646:13: warning: 'print_game_history' defined but not used [-Wunused-function]118 646 | static void print_game_history(FILE* out, const struct GameDriver* game)119 | ^~~~~~~~~~~~~~~~~~120Compiling src/input.c...121Compiling src/mame-memory.c...122Compiling src/mame.c...123Compiling src/mamedbg.c...124Compiling src/mame_unzip.c...125Compiling src/ost_samples.c...126src/ost_samples.c:502:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]127 502 | contra_sample_set_names128 | ^~~~~~~~~~~~~~~~~~~~~~~129src/ost_samples.c:509:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]130 509 | ddragon_sample_set_names131 | ^~~~~~~~~~~~~~~~~~~~~~~~132src/ost_samples.c:516:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]133 516 | ffight_sample_set_names134 | ^~~~~~~~~~~~~~~~~~~~~~~135src/ost_samples.c:523:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]136 523 | ikari_sample_set_names137 | ^~~~~~~~~~~~~~~~~~~~~~138src/ost_samples.c:530:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]139 530 | mk_sample_set_names140 | ^~~~~~~~~~~~~~~~~~~141src/ost_samples.c:537:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]142 537 | moonwalker_sample_set_names143 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~144src/ost_samples.c:544:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]145 544 | nba_jam_sample_set_names146 | ^~~~~~~~~~~~~~~~~~~~~~~~147src/ost_samples.c:551:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]148 551 | outrun_sample_set_names149 | ^~~~~~~~~~~~~~~~~~~~~~~150src/ost_samples.c:558:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]151 558 | robocop_sample_set_names152 | ^~~~~~~~~~~~~~~~~~~~~~~~153src/ost_samples.c:565:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]154 565 | sf1_sample_set_names155 | ^~~~~~~~~~~~~~~~~~~~156src/ost_samples.c:572:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]157 572 | sf2_sample_set_names158 | ^~~~~~~~~~~~~~~~~~~~159src/ost_samples.c:579:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]160 579 | shinobi_sample_set_names161 | ^~~~~~~~~~~~~~~~~~~~~~~~162Compiling src/palette.c...163Compiling src/png.c...164Compiling src/profiler.c...165Compiling src/sndintrf.c...166Compiling src/state.c...167Compiling src/tilemap.c...168src/state.c: In function 'ss_register_func':169src/state.c:302:118: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]170 302 | log_cb(RETRO_LOG_DEBUG, LOGPRE "Duplicate save state function (%d, 0x%x)\n", ss_current_tag, (int)func);171 | ^172Compiling src/timer.c...173Compiling src/ui_text.c...174Compiling src/usrintrf.c...175Compiling src/window.c...176src/usrintrf.c: In function 'ui_drawchar':177src/usrintrf.c:491:56: warning: declaration of 'color' shadows a global declaration [-Wshadow]178 491 | void ui_drawchar(struct mame_bitmap *dest, int ch, int color, int sx, int sy)179 | ~~~~^~~~~180src/usrintrf.c:81:22: note: shadowed declaration is here181 81 | static int mode,bank,color,firstdrawn;182 | ^~~~~183src/usrintrf.c: In function 'ui_text_ex':184src/usrintrf.c:515:114: warning: declaration of 'color' shadows a global declaration [-Wshadow]185 515 | static void ui_text_ex(struct mame_bitmap *bitmap, const char *buf_begin, const char *buf_end, int x, int y, int color)186 | ~~~~^~~~~187src/usrintrf.c:81:22: note: shadowed declaration is here188 81 | static int mode,bank,color,firstdrawn;189 | ^~~~~190src/usrintrf.c: In function 'ui_multitext_ex':191src/usrintrf.c:668:130: warning: declaration of 'color' shadows a global declaration [-Wshadow]192 668 | static void ui_multitext_ex(struct mame_bitmap *bitmap, const char *begin, const char *end, unsigned maxchars, int x, int y, int color)193 | ~~~~^~~~~194src/usrintrf.c:81:22: note: shadowed declaration is here195 81 | static int mode,bank,color,firstdrawn;196 | ^~~~~197src/usrintrf.c: In function 'ui_multitextbox_ex':198src/usrintrf.c:687:149: warning: declaration of 'color' shadows a global declaration [-Wshadow]199 687 | static void ui_multitextbox_ex(struct mame_bitmap *bitmap, const char *begin, const char *end, unsigned maxchars, int x, int y, int dx, int dy, int color)200 | ~~~~^~~~~201src/usrintrf.c:81:22: note: shadowed declaration is here202 81 | static int mode,bank,color,firstdrawn;203 | ^~~~~204Compiling src/x86drc.c...205In file included from src/x86drc.c:12:206src/x86drc.c: In function 'drc_begin_sequence':207src/x86drc.h:977:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]208 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0)209 | ^210src/x86drc.h:199:67: note: in definition of macro 'OP4'211 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)212 | ^213src/x86drc.c:217:17: note: in expansion of macro '_jmp'214 217 | _jmp(drc->dispatch);215 | ^~~~216src/x86drc.h:977:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]217 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0)218 | ^219src/x86drc.h:199:67: note: in definition of macro 'OP4'220 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)221 | ^222src/x86drc.c:217:17: note: in expansion of macro '_jmp'223 217 | _jmp(drc->dispatch);224 | ^~~~225src/x86drc.c: In function 'drc_end_sequence':226src/x86drc.h:977:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]227 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0)228 | ^229src/x86drc.h:199:67: note: in definition of macro 'OP4'230 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)231 | ^232src/x86drc.c:241:33: note: in expansion of macro '_jmp'233 241 | _jmp(drc->sequence_list[j].target);234 | ^~~~235src/x86drc.h:977:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]236 977 | do { OP1(0xe9); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0)237 | ^238src/x86drc.h:199:67: note: in definition of macro 'OP4'239 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)240 | ^241src/x86drc.c:241:33: note: in expansion of macro '_jmp'242 241 | _jmp(drc->sequence_list[j].target);243 | ^~~~244src/x86drc.c: In function 'drc_append_verify_code':245src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]246 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)247 | ^248src/x86drc.h:213:38: note: in expansion of macro 'OP4'249 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)250 | ^~~251src/x86drc.h:639:28: note: in expansion of macro 'MODRM_MABS'252 639 | OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \253 | ^~~~~~~~~~254src/x86drc.h:669:6: note: in expansion of macro '_arith_m32abs_imm_common'255 669 | do { _arith_m32abs_imm_common(7, addr, imm); } while (0)256 | ^~~~~~~~~~~~~~~~~~~~~~~~257src/x86drc.c:285:17: note: in expansion of macro '_cmp_m32abs_imm'258 285 | _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/259 | ^~~~~~~~~~~~~~~260src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]261 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)262 | ^263src/x86drc.h:213:38: note: in expansion of macro 'OP4'264 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)265 | ^~~266src/x86drc.h:643:28: note: in expansion of macro 'MODRM_MABS'267 643 | OP1(0x81); MODRM_MABS(reg, addr); OP4(imm); \268 | ^~~~~~~~~~269src/x86drc.h:669:6: note: in expansion of macro '_arith_m32abs_imm_common'270 669 | do { _arith_m32abs_imm_common(7, addr, imm); } while (0)271 | ^~~~~~~~~~~~~~~~~~~~~~~~272src/x86drc.c:285:17: note: in expansion of macro '_cmp_m32abs_imm'273 285 | _cmp_m32abs_imm(code, *(UINT32 *)code); /* cmp [pc],opcode*/274 | ^~~~~~~~~~~~~~~275src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]276 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)277 | ^278src/x86drc.h:213:38: note: in expansion of macro 'OP4'279 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)280 | ^~~281src/x86drc.h:746:28: note: in expansion of macro 'MODRM_MABS'282 746 | OP1(0x83); MODRM_MABS(reg, addr); OP1(imm); \283 | ^~~~~~~~~~284src/x86drc.h:773:6: note: in expansion of macro '_arith_m16abs_imm_common'285 773 | do { _arith_m16abs_imm_common(7, addr, imm); } while (0)286 | ^~~~~~~~~~~~~~~~~~~~~~~~287src/x86drc.c:290:17: note: in expansion of macro '_cmp_m16abs_imm'288 290 | _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/289 | ^~~~~~~~~~~~~~~290src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]291 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)292 | ^293src/x86drc.h:213:38: note: in expansion of macro 'OP4'294 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)295 | ^~~296src/x86drc.h:750:28: note: in expansion of macro 'MODRM_MABS'297 750 | OP1(0x81); MODRM_MABS(reg, addr); OP2(imm); \298 | ^~~~~~~~~~299src/x86drc.h:773:6: note: in expansion of macro '_arith_m16abs_imm_common'300 773 | do { _arith_m16abs_imm_common(7, addr, imm); } while (0)301 | ^~~~~~~~~~~~~~~~~~~~~~~~302src/x86drc.c:290:17: note: in expansion of macro '_cmp_m16abs_imm'303 290 | _cmp_m16abs_imm(code, *(UINT16 *)code); /* cmp [pc],opcode*/304 | ^~~~~~~~~~~~~~~305src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]306 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)307 | ^308src/x86drc.h:213:38: note: in expansion of macro 'OP4'309 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)310 | ^~~311src/x86drc.h:781:17: note: in expansion of macro 'MODRM_MABS'312 781 | do { OP1(0x80); MODRM_MABS(reg, addr); OP1(imm); } while (0)313 | ^~~~~~~~~~314src/x86drc.h:802:6: note: in expansion of macro '_arith_m8abs_imm_common'315 802 | do { _arith_m8abs_imm_common(7, addr, imm); } while (0)316 | ^~~~~~~~~~~~~~~~~~~~~~~317src/x86drc.c:295:17: note: in expansion of macro '_cmp_m8abs_imm'318 295 | _cmp_m8abs_imm(code, *(UINT8 *)code); /* cmp [pc],opcode*/319 | ^~~~~~~~~~~~~~320src/x86drc.c: In function 'drc_append_save_volatiles':321src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]322 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)323 | ^324src/x86drc.h:213:38: note: in expansion of macro 'OP4'325 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)326 | ^~~327src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS'328 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0)329 | ^~~~~~~~~~330src/x86drc.c:324:17: note: in expansion of macro '_mov_m32abs_r32'331 324 | _mov_m32abs_r32(drc->icountptr, REG_EBP);332 | ^~~~~~~~~~~~~~~333src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]334 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)335 | ^336src/x86drc.h:213:38: note: in expansion of macro 'OP4'337 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)338 | ^~~339src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS'340 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0)341 | ^~~~~~~~~~342src/x86drc.c:326:17: note: in expansion of macro '_mov_m32abs_r32'343 326 | _mov_m32abs_r32(drc->pcptr, REG_EDI);344 | ^~~~~~~~~~~~~~~345src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]346 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)347 | ^348src/x86drc.h:213:38: note: in expansion of macro 'OP4'349 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)350 | ^~~351src/x86drc.h:423:17: note: in expansion of macro 'MODRM_MABS'352 423 | do { OP1(0x89); MODRM_MABS(sreg, addr); } while (0)353 | ^~~~~~~~~~354src/x86drc.c:328:17: note: in expansion of macro '_mov_m32abs_r32'355 328 | _mov_m32abs_r32(drc->esiptr, REG_ESI);356 | ^~~~~~~~~~~~~~~357src/x86drc.c: In function 'drc_append_restore_volatiles':358src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]359 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)360 | ^361src/x86drc.h:213:38: note: in expansion of macro 'OP4'362 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)363 | ^~~364src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS'365 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0)366 | ^~~~~~~~~~367src/x86drc.c:339:17: note: in expansion of macro '_mov_r32_m32abs'368 339 | _mov_r32_m32abs(REG_EBP, drc->icountptr);369 | ^~~~~~~~~~~~~~~370src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]371 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)372 | ^373src/x86drc.h:213:38: note: in expansion of macro 'OP4'374 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)375 | ^~~376src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS'377 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0)378 | ^~~~~~~~~~379src/x86drc.c:341:17: note: in expansion of macro '_mov_r32_m32abs'380 341 | _mov_r32_m32abs(REG_EDI, drc->pcptr);381 | ^~~~~~~~~~~~~~~382src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]383 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)384 | ^385src/x86drc.h:213:38: note: in expansion of macro 'OP4'386 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)387 | ^~~388src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS'389 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0)390 | ^~~~~~~~~~391src/x86drc.c:343:17: note: in expansion of macro '_mov_r32_m32abs'392 343 | _mov_r32_m32abs(REG_ESI, drc->esiptr);393 | ^~~~~~~~~~~~~~~394src/x86drc.c: In function 'drc_append_save_call_restore':395src/x86drc.h:982:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]396 982 | do { if (drc->uses_fp) OP1(0xe8); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0)397 | ^398src/x86drc.h:199:67: note: in definition of macro 'OP4'399 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)400 | ^401src/x86drc.c:354:9: note: in expansion of macro '_call'402 354 | _call(target); /* call target*/403 | ^~~~~404src/x86drc.h:982:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]405 982 | do { if (drc->uses_fp) OP1(0xe8); OP4((UINT32)(target) - ((UINT32)drc->cache_top + 4)); } while (0)406 | ^407src/x86drc.h:199:67: note: in definition of macro 'OP4'408 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)409 | ^410src/x86drc.c:354:9: note: in expansion of macro '_call'411 354 | _call(target); /* call target*/412 | ^~~~~413src/x86drc.c: In function 'drc_append_dispatcher':414src/x86drc.h:218:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]415 218 | if ((UINT32)(disp) == 0 && (base) != REG_ESP && (base) != REG_EBP) \416 | ^417src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'418 256 | MODRM_MBD(reg,indx,disp); \419 | ^~~~~~~~~420src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'421 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)422 | ^~~~~~~~~~~423src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'424 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/425 | ^~~~~~~~~~~~~~~426src/x86drc.h:222:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]427 222 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \428 | ^429src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'430 256 | MODRM_MBD(reg,indx,disp); \431 | ^~~~~~~~~432src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'433 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)434 | ^~~~~~~~~~~435src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'436 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/437 | ^~~~~~~~~~~~~~~438src/x86drc.h:222:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]439 222 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \440 | ^441src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'442 256 | MODRM_MBD(reg,indx,disp); \443 | ^~~~~~~~~444src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'445 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)446 | ^~~~~~~~~~~447src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'448 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/449 | ^~~~~~~~~~~~~~~450src/x86drc.h:228:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]451 228 | OP1((INT32)disp); \452 | ^453src/x86drc.h:197:58: note: in definition of macro 'OP1'454 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0)455 | ^456src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'457 256 | MODRM_MBD(reg,indx,disp); \458 | ^~~~~~~~~459src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'460 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)461 | ^~~~~~~~~~~462src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'463 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/464 | ^~~~~~~~~~~~~~~465src/x86drc.h:233:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]466 233 | OP1((INT32)disp); \467 | ^468src/x86drc.h:197:58: note: in definition of macro 'OP1'469 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0)470 | ^471src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'472 256 | MODRM_MBD(reg,indx,disp); \473 | ^~~~~~~~~474src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'475 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)476 | ^~~~~~~~~~~477src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'478 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/479 | ^~~~~~~~~~~~~~~480src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]481 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)482 | ^483src/x86drc.h:242:25: note: in expansion of macro 'OP4'484 242 | OP4(disp); \485 | ^~~486src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'487 256 | MODRM_MBD(reg,indx,disp); \488 | ^~~~~~~~~489src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'490 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)491 | ^~~~~~~~~~~492src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'493 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/494 | ^~~~~~~~~~~~~~~495src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]496 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)497 | ^498src/x86drc.h:247:25: note: in expansion of macro 'OP4'499 247 | OP4(disp); \500 | ^~~501src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'502 256 | MODRM_MBD(reg,indx,disp); \503 | ^~~~~~~~~504src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'505 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)506 | ^~~~~~~~~~~507src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'508 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/509 | ^~~~~~~~~~~~~~~510src/x86drc.h:257:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]511 257 | else if ((UINT32)(disp) == 0 || (base) == NO_BASE) \512 | ^513src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'514 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)515 | ^~~~~~~~~~~516src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'517 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/518 | ^~~~~~~~~~~~~~~519src/x86drc.h:261:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]520 261 | if ((UINT32)(disp) != 0) OP4(disp); \521 | ^522src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'523 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)524 | ^~~~~~~~~~~525src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'526 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/527 | ^~~~~~~~~~~~~~~528src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]529 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)530 | ^531src/x86drc.h:261:42: note: in expansion of macro 'OP4'532 261 | if ((UINT32)(disp) != 0) OP4(disp); \533 | ^~~534src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'535 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)536 | ^~~~~~~~~~~537src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'538 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/539 | ^~~~~~~~~~~~~~~540src/x86drc.h:263:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]541 263 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \542 | ^543src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'544 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)545 | ^~~~~~~~~~~546src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'547 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/548 | ^~~~~~~~~~~~~~~549src/x86drc.h:263:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]550 263 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \551 | ^552src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'553 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)554 | ^~~~~~~~~~~555src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'556 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/557 | ^~~~~~~~~~~~~~~558src/x86drc.h:267:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]559 267 | OP1((INT32)disp); \560 | ^561src/x86drc.h:197:58: note: in definition of macro 'OP1'562 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0)563 | ^564src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'565 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)566 | ^~~~~~~~~~~567src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'568 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/569 | ^~~~~~~~~~~~~~~570src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]571 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)572 | ^573src/x86drc.h:273:17: note: in expansion of macro 'OP4'574 273 | OP4(disp); \575 | ^~~576src/x86drc.h:375:17: note: in expansion of macro 'MODRM_MBISD'577 375 | do { OP1(0x8b); MODRM_MBISD(dreg, NO_BASE, indx, scale, disp); } while (0)578 | ^~~~~~~~~~~579src/x86drc.c:389:9: note: in expansion of macro '_mov_r32_m32isd'580 389 | _mov_r32_m32isd(REG_EAX, REG_EAX, 4, drc->lookup_l1); /* mov eax,[eax*4 + l1lookup]*/581 | ^~~~~~~~~~~~~~~582src/x86drc.c: In function 'drc_append_fixed_dispatcher':583src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]584 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)585 | ^586src/x86drc.h:213:38: note: in expansion of macro 'OP4'587 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)588 | ^~~589src/x86drc.h:369:17: note: in expansion of macro 'MODRM_MABS'590 369 | do { OP1(0x8b); MODRM_MABS(dreg, addr); } while (0)591 | ^~~~~~~~~~592src/x86drc.c:404:17: note: in expansion of macro '_mov_r32_m32abs'593 404 | _mov_r32_m32abs(REG_EAX, &drc->lookup_l1[newpc >> drc->l1shift]);/* mov eax,[(newpc >> l1shift)*4 + l1lookup]*/594 | ^~~~~~~~~~~~~~~595src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]596 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)597 | ^598src/x86drc.h:213:38: note: in expansion of macro 'OP4'599 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)600 | ^~~601src/x86drc.h:987:17: note: in expansion of macro 'MODRM_MABS'602 987 | do { OP1(0xff); MODRM_MABS(4, addr); } while (0)603 | ^~~~~~~~~~604src/x86drc.c:408:17: note: in expansion of macro '_jmp_m32abs'605 408 | _jmp_m32abs((UINT8 *)base + (newpc & drc->l2mask) * drc->l2scale); /* jmp [eax+(newpc & l2mask)*l2scale]*/606 | ^~~~~~~~~~~607src/x86drc.c: In function 'drc_append_set_fp_rounding':608src/x86drc.h:218:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]609 218 | if ((UINT32)(disp) == 0 && (base) != REG_ESP && (base) != REG_EBP) \610 | ^611src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'612 256 | MODRM_MBD(reg,indx,disp); \613 | ^~~~~~~~~614src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'615 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)616 | ^~~~~~~~~~~617src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'618 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/619 | ^~~~~~~~~~~~~620src/x86drc.h:222:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]621 222 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \622 | ^623src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'624 256 | MODRM_MBD(reg,indx,disp); \625 | ^~~~~~~~~626src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'627 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)628 | ^~~~~~~~~~~629src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'630 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/631 | ^~~~~~~~~~~~~632src/x86drc.h:222:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]633 222 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \634 | ^635src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'636 256 | MODRM_MBD(reg,indx,disp); \637 | ^~~~~~~~~638src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'639 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)640 | ^~~~~~~~~~~641src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'642 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/643 | ^~~~~~~~~~~~~644src/x86drc.h:228:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]645 228 | OP1((INT32)disp); \646 | ^647src/x86drc.h:197:58: note: in definition of macro 'OP1'648 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0)649 | ^650src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'651 256 | MODRM_MBD(reg,indx,disp); \652 | ^~~~~~~~~653src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'654 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)655 | ^~~~~~~~~~~656src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'657 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/658 | ^~~~~~~~~~~~~659src/x86drc.h:233:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]660 233 | OP1((INT32)disp); \661 | ^662src/x86drc.h:197:58: note: in definition of macro 'OP1'663 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0)664 | ^665src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'666 256 | MODRM_MBD(reg,indx,disp); \667 | ^~~~~~~~~668src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'669 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)670 | ^~~~~~~~~~~671src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'672 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/673 | ^~~~~~~~~~~~~674src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]675 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)676 | ^677src/x86drc.h:242:25: note: in expansion of macro 'OP4'678 242 | OP4(disp); \679 | ^~~680src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'681 256 | MODRM_MBD(reg,indx,disp); \682 | ^~~~~~~~~683src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'684 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)685 | ^~~~~~~~~~~686src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'687 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/688 | ^~~~~~~~~~~~~689src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]690 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)691 | ^692src/x86drc.h:247:25: note: in expansion of macro 'OP4'693 247 | OP4(disp); \694 | ^~~695src/x86drc.h:256:17: note: in expansion of macro 'MODRM_MBD'696 256 | MODRM_MBD(reg,indx,disp); \697 | ^~~~~~~~~698src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'699 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)700 | ^~~~~~~~~~~701src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'702 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/703 | ^~~~~~~~~~~~~704src/x86drc.h:257:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]705 257 | else if ((UINT32)(disp) == 0 || (base) == NO_BASE) \706 | ^707src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'708 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)709 | ^~~~~~~~~~~710src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'711 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/712 | ^~~~~~~~~~~~~713src/x86drc.h:261:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]714 261 | if ((UINT32)(disp) != 0) OP4(disp); \715 | ^716src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'717 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)718 | ^~~~~~~~~~~719src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'720 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/721 | ^~~~~~~~~~~~~722src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]723 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)724 | ^725src/x86drc.h:261:42: note: in expansion of macro 'OP4'726 261 | if ((UINT32)(disp) != 0) OP4(disp); \727 | ^~~728src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'729 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)730 | ^~~~~~~~~~~731src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'732 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/733 | ^~~~~~~~~~~~~734src/x86drc.h:263:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]735 263 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \736 | ^737src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'738 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)739 | ^~~~~~~~~~~740src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'741 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/742 | ^~~~~~~~~~~~~743src/x86drc.h:263:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]744 263 | else if ((INT8)(INT32)(disp) == (INT32)(disp)) \745 | ^746src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'747 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)748 | ^~~~~~~~~~~749src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'750 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/751 | ^~~~~~~~~~~~~752src/x86drc.h:267:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]753 267 | OP1((INT32)disp); \754 | ^755src/x86drc.h:197:58: note: in definition of macro 'OP1'756 197 | #define OP1(x) do { *drc->cache_top++ = (UINT8)(x); } while (0)757 | ^758src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'759 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)760 | ^~~~~~~~~~~761src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'762 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/763 | ^~~~~~~~~~~~~764src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]765 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)766 | ^767src/x86drc.h:273:17: note: in expansion of macro 'OP4'768 273 | OP4(disp); \769 | ^~~770src/x86drc.h:867:17: note: in expansion of macro 'MODRM_MBISD'771 867 | do { OP1(0xd9); MODRM_MBISD(5, NO_BASE, indx, scale, addr); } while (0)772 | ^~~~~~~~~~~773src/x86drc.c:436:9: note: in expansion of macro '_fldcw_m16isd'774 436 | _fldcw_m16isd(regindex, 2, &fp_control[0]); /* fldcw [fp_control + reg*2]*/775 | ^~~~~~~~~~~~~776src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]777 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)778 | ^779src/x86drc.h:213:38: note: in expansion of macro 'OP4'780 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)781 | ^~~782src/x86drc.h:870:17: note: in expansion of macro 'MODRM_MABS'783 870 | do { OP1(0xd9); MODRM_MABS(7, addr); } while (0)784 | ^~~~~~~~~~785src/x86drc.c:437:9: note: in expansion of macro '_fnstcw_m16abs'786 437 | _fnstcw_m16abs(&drc->fpcw_curr); /* fnstcw [fpcw_curr]*/787 | ^~~~~~~~~~~~~~788src/x86drc.c: In function 'drc_append_set_temp_fp_rounding':789src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]790 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)791 | ^792src/x86drc.h:213:38: note: in expansion of macro 'OP4'793 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)794 | ^~~795src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS'796 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0)797 | ^~~~~~~~~~798src/x86drc.c:448:9: note: in expansion of macro '_fldcw_m16abs'799 448 | _fldcw_m16abs(&fp_control[rounding]); /* fldcw [fp_control]*/800 | ^~~~~~~~~~~~~801src/x86drc.c: In function 'drc_append_restore_fp_rounding':802src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]803 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)804 | ^805src/x86drc.h:213:38: note: in expansion of macro 'OP4'806 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)807 | ^~~808src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS'809 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0)810 | ^~~~~~~~~~811src/x86drc.c:459:9: note: in expansion of macro '_fldcw_m16abs'812 459 | _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/813 | ^~~~~~~~~~~~~814src/x86drc.c: In function 'append_entry_point':815src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]816 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)817 | ^818src/x86drc.h:213:38: note: in expansion of macro 'OP4'819 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)820 | ^~~821src/x86drc.h:870:17: note: in expansion of macro 'MODRM_MABS'822 870 | do { OP1(0xd9); MODRM_MABS(7, addr); } while (0)823 | ^~~~~~~~~~824src/x86drc.c:537:17: note: in expansion of macro '_fnstcw_m16abs'825 537 | _fnstcw_m16abs(&drc->fpcw_save); /* fstcw [fpcw_save]*/826 | ^~~~~~~~~~~~~~827src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]828 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)829 | ^830src/x86drc.h:213:38: note: in expansion of macro 'OP4'831 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)832 | ^~~833src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS'834 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0)835 | ^~~~~~~~~~836src/x86drc.c:538:17: note: in expansion of macro '_fldcw_m16abs'837 538 | _fldcw_m16abs(&drc->fpcw_curr); /* fldcw [fpcw_curr]*/838 | ^~~~~~~~~~~~~839src/x86drc.c: In function 'append_recompile':840src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]841 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)842 | ^843src/x86drc.h:290:17: note: in expansion of macro 'OP4'844 290 | do { OP1(0x68); OP4(imm); } while (0)845 | ^~~846src/x86drc.c:565:9: note: in expansion of macro '_push_imm'847 565 | _push_imm(drc); /* push drc*/848 | ^~~~~~~~~849src/x86drc.c: In function 'append_out_of_cycles':850src/x86drc.h:199:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]851 199 | #define OP4(x) do { *(UINT32 *)drc->cache_top = (UINT32)(x); drc->cache_top += 4; } while (0)852 | ^853src/x86drc.h:213:38: note: in expansion of macro 'OP4'854 213 | do { OP1(0x05 | (((reg) & 7) << 3)); OP4(addr); } while (0)855 | ^~~856src/x86drc.h:864:17: note: in expansion of macro 'MODRM_MABS'857 864 | do { OP1(0xd9); MODRM_MABS(5, addr); } while (0)858 | ^~~~~~~~~~859src/x86drc.c:581:17: note: in expansion of macro '_fldcw_m16abs'860 581 | _fldcw_m16abs(&drc->fpcw_save); /* fldcw [fpcw_save]*/861 | ^~~~~~~~~~~~~862Compiling src/machine/fd1089.c...863Compiling src/machine/6522via.c...864Compiling src/machine/6532riot.c...865Compiling src/machine/6821pia.c...866Compiling src/machine/74123.c...867Compiling src/machine/74148.c...868src/machine/74148.c: In function 'TTL74148_update':869src/machine/74148.c:84:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]870 84 | bit0 = !((!chips[which].input_lines[1] &871 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~872src/machine/74148.c:88:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]873 88 | (!chips[which].input_lines[3] &874 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~875src/machine/74148.c:91:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]876 91 | (!chips[which].input_lines[5] &877 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~878src/machine/74148.c:95:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]879 95 | bit1 = !((!chips[which].input_lines[2] &880 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~881src/machine/74148.c:98:27: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]882 98 | (!chips[which].input_lines[3] &883 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~884Compiling src/machine/74153.c...885Compiling src/machine/7474.c...886Compiling src/machine/8255ppi.c...887Compiling src/machine/eeprom.c...888Compiling src/machine/idectrl.c...889Compiling src/machine/mathbox.c...890Compiling src/machine/mb87078.c...891Compiling src/machine/random.c...892Compiling src/machine/ticket.c...893Compiling src/machine/tmp68301.c...894Compiling src/machine/z80fmly.c...895Compiling src/sound/filter.c...896src/sound/filter.c: In function 'filter2_setup':897src/sound/filter.c:139:65: warning: declaration of 'filter' shadows a global declaration [-Wshadow]898 139 | struct filter2_context *filter)899 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~900In file included from src/sound/filter.c:1:901src/sound/filter.h:22:3: note: shadowed declaration is here902 22 | } filter;903 | ^~~~~~904src/sound/filter.c: In function 'filter2_reset':905src/sound/filter.c:184:44: warning: declaration of 'filter' shadows a global declaration [-Wshadow]906 184 | void filter2_reset(struct filter2_context *filter)907 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~908src/sound/filter.h:22:3: note: shadowed declaration is here909 22 | } filter;910 | ^~~~~~911src/sound/filter.c: In function 'filter2_step':912src/sound/filter.c:196:43: warning: declaration of 'filter' shadows a global declaration [-Wshadow]913 196 | void filter2_step(struct filter2_context *filter)914 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~915src/sound/filter.h:22:3: note: shadowed declaration is here916 22 | } filter;917 | ^~~~~~918src/sound/filter.c: In function 'filter_opamp_m_bandpass_setup':919src/sound/filter.c:209:65: warning: declaration of 'filter' shadows a global declaration [-Wshadow]920 209 | struct filter2_context *filter)921 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~922src/sound/filter.h:22:3: note: shadowed declaration is here923 22 | } filter;924 | ^~~~~~925Compiling src/sound/mixer.c...926Compiling src/sound/streams.c...927Compiling src/sound/votrax.c...928Compiling src/sound/wavwrite.c...929Compiling src/vidhrdw/avgdvg_vidhrdw.c...930Compiling src/vidhrdw/generic.c...931Compiling src/vidhrdw/matrix3d.c...932Compiling src/vidhrdw/poly.c...933Compiling src/vidhrdw/tlc34076.c...934src/vidhrdw/tlc34076.c: In function 'tlc34076_w':935src/vidhrdw/tlc34076.c:137:15: warning: variable 'oldval' set but not used [-Wunused-but-set-variable=]936 137 | UINT8 oldval;937 | ^~~~~~938Compiling src/vidhrdw/vector.c...939Compiling src/vidhrdw/resnet.c...940Compiling src/drivers/pacman.c...941Compiling src/machine/mspacman.c...942Compiling src/machine/pacplus.c...943Compiling src/machine/jumpshot.c...944Compiling src/machine/theglobp.c...945Compiling src/machine/acitya.c...946Compiling src/drivers/jrpacman.c...947Compiling src/vidhrdw/pacman_vidhrdw.c...948Compiling src/drivers/pengo.c...949Compiling src/drivers/epos.c...950Compiling src/vidhrdw/epos_vidhrdw.c...951Compiling src/vidhrdw/cclimber_vidhrdw.c...952Compiling src/sndhrdw/cclimber_sndhrdw.c...953Compiling src/drivers/cclimber.c...954Compiling src/drivers/yamato.c...955Compiling src/vidhrdw/gomoku_vidhrdw.c...956Compiling src/sndhrdw/gomoku_sndhrdw.c...957Compiling src/drivers/gomoku.c...958Compiling src/vidhrdw/wiping_vidhrdw.c...959Compiling src/sndhrdw/wiping_sndhrdw.c...960Compiling src/drivers/wiping.c...961Compiling src/vidhrdw/seicross_vidhrdw.c...962Compiling src/drivers/seicross.c...963Compiling src/vidhrdw/clshroad_vidhrdw.c...964Compiling src/drivers/clshroad.c...965Compiling src/vidhrdw/tubep_vidhrdw.c...966Compiling src/drivers/tubep.c...967src/vidhrdw/tubep_vidhrdw.c: In function 'palette_init_tubep':968src/vidhrdw/tubep_vidhrdw.c:339:29: warning: variable 'active_b' set but not used [-Wunused-but-set-variable=]969 339 | int active_b = 2*6;970 | ^~~~~~~~971src/vidhrdw/tubep_vidhrdw.c:338:29: warning: variable 'active_g' set but not used [-Wunused-but-set-variable=]972 338 | int active_g = 3*6;973 | ^~~~~~~~974src/vidhrdw/tubep_vidhrdw.c:337:29: warning: variable 'active_r' set but not used [-Wunused-but-set-variable=]975 337 | int active_r = 3*6;976 | ^~~~~~~~977src/vidhrdw/tubep_vidhrdw.c:235:16: warning: variable 'output_scaler' set but not used [-Wunused-but-set-variable=]978 235 | double output_scaler;979 | ^~~~~~~~~~~~~980Compiling src/vidhrdw/magmax_vidhrdw.c...981Compiling src/drivers/magmax.c...982Compiling src/vidhrdw/cop01_vidhrdw.c...983Compiling src/drivers/cop01.c...984Compiling src/vidhrdw/terracre_vidhrdw.c...985Compiling src/drivers/terracre.c...986Compiling src/vidhrdw/galivan_vidhrdw.c...987Compiling src/drivers/galivan.c...988Compiling src/vidhrdw/armedf_vidhrdw.c...989Compiling src/drivers/armedf.c...990Compiling src/machine/nb1413m3.c...991In file included from src/driver.h:64,992 from src/drivers/armedf.c:146:993src/drivers/armedf.c:228:25: warning: 'legion_command_c' defined but not used [-Wunused-function]994 228 | static WRITE16_HANDLER( legion_command_c )995 | ^~~~~~~~~~~~~~~~996src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'997 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)998 | ^~~~999Compiling src/vidhrdw/hyhoo_vidhrdw.c...1000Compiling src/drivers/hyhoo.c...1001Compiling src/vidhrdw/pastelgl_vidhrdw.c...1002Compiling src/drivers/pastelgl.c...1003Compiling src/vidhrdw/nbmj8688_vidhrdw.c...1004Compiling src/drivers/nbmj8688.c...1005Compiling src/vidhrdw/nbmj8891_vidhrdw.c...1006Compiling src/drivers/nbmj8891.c...1007Compiling src/vidhrdw/nbmj8991_vidhrdw.c...1008Compiling src/drivers/nbmj8991.c...1009Compiling src/vidhrdw/nbmj9195_vidhrdw.c...1010Compiling src/drivers/nbmj9195.c...1011Compiling src/vidhrdw/niyanpai_vidhrdw.c...1012Compiling src/drivers/niyanpai.c...1013Compiling src/machine/m68kfmly.c...1014Compiling src/drivers/safarir.c...1015Compiling src/vidhrdw/phoenix_vidhrdw.c...1016Compiling src/sndhrdw/phoenix_sndhrdw.c...1017Compiling src/drivers/phoenix.c...1018Compiling src/sndhrdw/pleiads.c...1019Compiling src/drivers/naughtyb.c...1020Compiling src/vidhrdw/naughtyb_vidhrdw.c...1021Compiling src/machine/geebee_machine.c...1022Compiling src/vidhrdw/geebee_vidhrdw.c...1023Compiling src/sndhrdw/geebee_sndhrdw.c...1024Compiling src/drivers/geebee.c...1025Compiling src/vidhrdw/warpwarp_vidhrdw.c...1026Compiling src/sndhrdw/warpwarp_sndhrdw.c...1027Compiling src/drivers/warpwarp.c...1028Compiling src/vidhrdw/tankbatt_vidhrdw.c...1029Compiling src/drivers/tankbatt.c...1030Compiling src/vidhrdw/galaxian_vidhrdw.c...1031Compiling src/sndhrdw/galaxian_sndhrdw.c...1032Compiling src/drivers/galaxian.c...1033Compiling src/vidhrdw/rallyx_vidhrdw.c...1034src/sndhrdw/galaxian_sndhrdw.c: In function 'galaxian_sh_start':1035src/sndhrdw/galaxian_sndhrdw.c:198:26: warning: variable 'charge' set but not used [-Wunused-but-set-variable=]1036 198 | int i, j, sweep, charge, countdown, generator, bit1, bit2;1037 | ^~~~~~1038src/sndhrdw/galaxian_sndhrdw.c:198:19: warning: variable 'sweep' set but not used [-Wunused-but-set-variable=]1039 198 | int i, j, sweep, charge, countdown, generator, bit1, bit2;1040 | ^~~~~1041src/sndhrdw/galaxian_sndhrdw.c:198:16: warning: variable 'j' set but not used [-Wunused-but-set-variable=]1042 198 | int i, j, sweep, charge, countdown, generator, bit1, bit2;1043 | ^1044Compiling src/drivers/rallyx.c...1045Compiling src/drivers/locomotn.c...1046In file included from src/mame2003/mame2003.h:9,1047 from src/fileio.h:13,1048 from src/mame.h:20,1049 from src/mamedbg.h:4,1050 from src/driver.h:65,1051 from src/drivers/rallyx.c:56:1052src/inptport.h:189:43: warning: 'input_ports_nrallyv' defined but not used [-Wunused-const-variable=]1053 189 | static const struct InputPortTiny input_ports_##name[] = {1054 | ^~~~~~~~~~~~1055src/drivers/rallyx.c:237:1: note: in expansion of macro 'INPUT_PORTS_START'1056 237 | INPUT_PORTS_START( nrallyv )1057 | ^~~~~~~~~~~~~~~~~1058Compiling src/vidhrdw/bosco_vidhrdw.c...1059Compiling src/vidhrdw/galaga_vidhrdw.c...1060Compiling src/drivers/galaga.c...1061Compiling src/vidhrdw/digdug_vidhrdw.c...1062Compiling src/vidhrdw/xevious_vidhrdw.c...1063Compiling src/machine/xevious_machine.c...1064Compiling src/vidhrdw/mappy_vidhrdw.c...1065Compiling src/drivers/mappy.c...1066Compiling src/machine/gaplus_machine.c...1067Compiling src/vidhrdw/gaplus_vidhrdw.c...1068Compiling src/drivers/gaplus.c...1069Compiling src/vidhrdw/toypop_vidhrdw.c...1070Compiling src/drivers/toypop.c...1071Compiling src/drivers/polepos.c...1072In file included from src/driver.h:64,1073 from src/drivers/toypop.c:32:1074src/drivers/toypop.c:228:23: warning: 'toypop_68k_irq_trigger_w' defined but not used [-Wunused-function]1075 228 | static WRITE_HANDLER( toypop_68k_irq_trigger_w )1076 | ^~~~~~~~~~~~~~~~~~~~~~~~1077src/memory.h:128:42: note: in definition of macro 'WRITE_HANDLER'1078 128 | #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data)1079 | ^~~~1080Compiling src/vidhrdw/polepos_vidhrdw.c...1081Compiling src/sndhrdw/polepos_sndhrdw.c...1082Compiling src/vidhrdw/pacland_vidhrdw.c...1083In file included from src/driver.h:68,1084 from src/drivers/polepos.c:213:1085src/common.h:329:111: warning: 'rom_grally' defined but not used [-Wunused-const-variable=]1086 329 | #define ROM_START(name) static const struct RomModule rom_##name[] = {1087 | ^~~~1088src/drivers/polepos.c:2238:1: note: in expansion of macro 'ROM_START'1089 2238 | ROM_START( grally )1090 | ^~~~~~~~~1091src/common.h:329:111: warning: 'rom_polepos2bs' defined but not used [-Wunused-const-variable=]1092 329 | #define ROM_START(name) static const struct RomModule rom_##name[] = {1093 | ^~~~1094src/drivers/polepos.c:2155:1: note: in expansion of macro 'ROM_START'1095 2155 | ROM_START( polepos2bs )1096 | ^~~~~~~~~1097src/common.h:329:111: warning: 'rom_polepos2bi' defined but not used [-Wunused-const-variable=]1098 329 | #define ROM_START(name) static const struct RomModule rom_##name[] = {1099 | ^~~~1100src/drivers/polepos.c:1974:1: note: in expansion of macro 'ROM_START'1101 1974 | ROM_START( polepos2bi )1102 | ^~~~~~~~~1103src/common.h:329:111: warning: 'rom_topracern' defined but not used [-Wunused-const-variable=]1104 329 | #define ROM_START(name) static const struct RomModule rom_##name[] = {1105 | ^~~~1106src/drivers/polepos.c:1642:1: note: in expansion of macro 'ROM_START'1107 1642 | ROM_START( topracern )1108 | ^~~~~~~~~1109Compiling src/drivers/pacland.c...1110Compiling src/vidhrdw/skykid_vidhrdw.c...1111Compiling src/drivers/skykid.c...1112Compiling src/vidhrdw/baraduke_vidhrdw.c...1113Compiling src/drivers/baraduke.c...1114Compiling src/vidhrdw/namcos86_vidhrdw.c...1115Compiling src/drivers/namcos86.c...1116Compiling src/vidhrdw/tceptor_vidhrdw.c...1117Compiling src/drivers/tceptor.c...1118Compiling src/machine/namcos1_machine.c...1119src/vidhrdw/tceptor_vidhrdw.c: In function 'palette_init_tceptor':1120src/vidhrdw/tceptor_vidhrdw.c:47:24: warning: variable 'totlookup' set but not used [-Wunused-but-set-variable=]1121 47 | int totcolors, totlookup;1122 | ^~~~~~~~~1123Compiling src/vidhrdw/namcos1_vidhrdw.c...1124Compiling src/drivers/namcos1.c...1125Compiling src/machine/namcos2_machine.c...1126Compiling src/vidhrdw/namcos2_vidhrdw.c...1127Compiling src/drivers/namcos2.c...1128Compiling src/drivers/namcoic.c...1129Compiling src/vidhrdw/namcona1_vidhrdw.c...1130Compiling src/drivers/namcona1.c...1131Compiling src/vidhrdw/namconb1_vidhrdw.c...1132Compiling src/drivers/namconb1.c...1133Compiling src/machine/namcond1_machine.c...1134In file included from src/mame2003/mame2003.h:9,1135 from src/fileio.h:13,1136 from src/mame.h:20,1137 from src/mamedbg.h:4,1138 from src/driver.h:65,1139 from src/drivers/namconb1.c:290:1140src/inptport.h:189:43: warning: 'input_ports_machbrkr' defined but not used [-Wunused-const-variable=]1141 189 | static const struct InputPortTiny input_ports_##name[] = {1142 | ^~~~~~~~~~~~1143src/drivers/namconb1.c:1141:1: note: in expansion of macro 'INPUT_PORTS_START'1144 1141 | INPUT_PORTS_START( machbrkr )1145 | ^~~~~~~~~~~~~~~~~1146Compiling src/vidhrdw/ygv608.c...1147Compiling src/drivers/namcond1.c...1148Compiling src/vidhrdw/psx_vidhrdw.c...1149Compiling src/machine/psx_machine.c...1150src/vidhrdw/psx_vidhrdw.c: In function 'MonochromeLine':1151src/vidhrdw/psx_vidhrdw.c:2106:15: warning: variable 'n_db' set but not used [-Wunused-but-set-variable=]1152 2106 | INT32 n_db;1153 | ^~~~1154src/vidhrdw/psx_vidhrdw.c:2105:15: warning: variable 'n_dg' set but not used [-Wunused-but-set-variable=]1155 2105 | INT32 n_dg;1156 | ^~~~1157src/vidhrdw/psx_vidhrdw.c:2104:15: warning: variable 'n_dr' set but not used [-Wunused-but-set-variable=]1158 2104 | INT32 n_dr;1159 | ^~~~1160Compiling src/drivers/namcos10.c...1161Compiling src/drivers/namcos11.c...1162Compiling src/drivers/namcos12.c...1163In file included from src/drivers/namcos11.c:144:1164src/driver.h:98:14: warning: 'construct_coh110' defined but not used [-Wunused-function]1165 98 | void construct_##game(struct InternalMachineDriver *machine) \1166 | ^~~~~~~~~~1167src/drivers/namcos11.c:797:8: note: in expansion of macro 'MACHINE_DRIVER_START'1168 797 | static MACHINE_DRIVER_START( coh110 )1169 | ^~~~~~~~~~~~~~~~~~~~1170Compiling src/vidhrdw/namcos3d.c...1171Compiling src/vidhrdw/namcos21_vidhrdw.c...1172Compiling src/drivers/namcos21.c...1173Compiling src/vidhrdw/namcos22_vidhrdw.c...1174Compiling src/drivers/namcos22.c...1175Compiling src/vidhrdw/cosmic_vidhrdw.c...1176In file included from src/driver.h:64,1177 from src/includes/namcos22.h:1,1178 from src/drivers/namcos22.c:552:1179src/drivers/namcos22.c:602:25: warning: 'namcos22_C139_SCI_w' defined but not used [-Wunused-function]1180 602 | static WRITE32_HANDLER( namcos22_C139_SCI_w )1181 | ^~~~~~~~~~~~~~~~~~~1182src/memory.h:132:42: note: in definition of macro 'WRITE32_HANDLER'1183 132 | #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask)1184 | ^~~~1185src/vidhrdw/cosmic_vidhrdw.c: In function 'cosmica_draw_starfield':1186src/vidhrdw/cosmic_vidhrdw.c:378:30: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]1187 378 | if ((!(hc & va) & (vb ^ hb_)) && /* right network */1188 | ^~~~~~~~~~1189src/vidhrdw/cosmic_vidhrdw.c: In function 'nomnlnd_draw_background':1190src/vidhrdw/cosmic_vidhrdw.c:536:30: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]1191 536 | if ((!vb_ & vc_ & !vd_) ^ (vb_ & !vc_ & vd_))1192 | ^~~~1193src/vidhrdw/cosmic_vidhrdw.c:539:37: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]1194 539 | if (!hd_ & hc_ & !hb_)1195 | ^~~~1196src/vidhrdw/cosmic_vidhrdw.c:570:50: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]1197 570 | (!plane1 & hd) << 2; /* B - see above*/1198 | ^~~~~~~1199Compiling src/drivers/cosmic.c...1200Compiling src/vidhrdw/redclash_vidhrdw.c...1201src/drivers/cosmic.c: In function 'panic_sound_output_w':1202src/drivers/cosmic.c:69:34: warning: this 'else' clause does not guard... [-Wmisleading-indentation]1203 69 | else1204 | ^~~~1205src/drivers/cosmic.c:71:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'1206 71 | break;1207 | ^~~~~1208src/drivers/cosmic.c: In function 'cosmica_sound_output_w':1209src/drivers/cosmic.c:223:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation]1210 223 | else1211 | ^~~~1212src/drivers/cosmic.c:224:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'1213 224 | sample_start(2, 3, 0); break;1214 | ^~~~~1215src/drivers/cosmic.c:234:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation]1216 234 | else1217 | ^~~~1218src/drivers/cosmic.c:235:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'1219 235 | sample_start(3, 4, 0); break;1220 | ^~~~~1221src/drivers/cosmic.c:244:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation]1222 244 | else1223 | ^~~~1224src/drivers/cosmic.c:245:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'1225 245 | sample_start(4, 5, 0); break;1226 | ^~~~~1227src/drivers/cosmic.c:254:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation]1228 254 | else1229 | ^~~~1230src/drivers/cosmic.c:255:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'1231 255 | sample_start(5, 6, 0); break;1232 | ^~~~~1233src/drivers/cosmic.c:264:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation]1234 264 | else1235 | ^~~~1236src/drivers/cosmic.c:265:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'1237 265 | sample_start(6, 7, 0); break;1238 | ^~~~~1239src/drivers/cosmic.c:274:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation]1240 274 | else1241 | ^~~~1242src/drivers/cosmic.c:275:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'1243 275 | sample_start(7, 8, 0); break;1244 | ^~~~~1245src/drivers/cosmic.c:321:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation]1246 321 | if (data) sample_start(11,12, 0); break; /*Insert Coin*/1247 | ^~1248src/drivers/cosmic.c:321:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'1249 321 | if (data) sample_start(11,12, 0); break; /*Insert Coin*/1250 | ^~~~~1251src/drivers/cosmic.c: In function 'panic_interrupt':1252src/drivers/cosmic.c:342:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]1253 342 | if ((input_port_3_r(0) & 0xc0) != 0xc0)1254 | ^~1255src/drivers/cosmic.c:345:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'1256 345 | cpu_set_irq_line_and_vector(0, 0, HOLD_LINE, 0xcf); /* RST 08h */1257 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~1258Compiling src/drivers/redclash.c...1259Compiling src/vidhrdw/ladybug_vidhrdw.c...1260src/drivers/redclash.c: In function 'zerohour_snd_play':1261src/drivers/redclash.c:65:49: warning: declaration of 'address' shadows a global declaration [-Wshadow]1262 65 | static void zerohour_snd_play(INT32 bank, INT32 address, UINT8 data)1263 | ~~~~~~^~~~~~~1264src/drivers/redclash.c:61:14: note: shadowed declaration is here1265 61 | static INT32 address;1266 | ^~~~~~~1267src/drivers/redclash.c:65:64: warning: declaration of 'data' shadows a global declaration [-Wshadow]1268 65 | static void zerohour_snd_play(INT32 bank, INT32 address, UINT8 data)1269 | ~~~~~~^~~~1270src/drivers/redclash.c:62:14: note: shadowed declaration is here1271 62 | static UINT8 data;1272 | ^~~~1273In file included from src/driver.h:64,1274 from src/drivers/redclash.c:23:1275src/drivers/redclash.c: At top level:1276src/memory.h:128:90: warning: declaration of 'data' shadows a global declaration [-Wshadow]1277 128 | #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data)1278 | ^1279src/drivers/redclash.c:171:1: note: in expansion of macro 'WRITE_HANDLER'1280 171 | WRITE_HANDLER( zerohour_sound_output0_w )1281 | ^~~~~~~~~~~~~1282src/drivers/redclash.c:62:14: note: shadowed declaration is here1283 62 | static UINT8 data;1284 | ^~~~1285src/memory.h:128:90: warning: declaration of 'data' shadows a global declaration [-Wshadow]1286 128 | #define WRITE_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data8_t data)1287 | ^1288src/drivers/redclash.c:178:1: note: in expansion of macro 'WRITE_HANDLER'1289 178 | WRITE_HANDLER( zerohour_sound_output1_w )1290 | ^~~~~~~~~~~~~1291src/drivers/redclash.c:62:14: note: shadowed declaration is here1292 62 | static UINT8 data;1293 | ^~~~1294src/drivers/redclash.c:62:14: warning: 'data' defined but not used [-Wunused-variable]1295src/drivers/redclash.c:61:14: warning: 'address' defined but not used [-Wunused-variable]1296 61 | static INT32 address;1297 | ^~~~~~~1298Compiling src/drivers/ladybug.c...1299Compiling src/vidhrdw/cheekyms_vidhrdw.c...1300Compiling src/drivers/cheekyms.c...1301Compiling src/vidhrdw/mrdo_vidhrdw.c...1302Compiling src/drivers/mrdo.c...1303Compiling src/machine/docastle_machine.c...1304Compiling src/vidhrdw/docastle_vidhrdw.c...1305Compiling src/drivers/docastle.c...1306Compiling src/vidhrdw/dkong_vidhrdw.c...1307src/drivers/docastle.c:902:114: warning: '/*' within comment [-Wcomment]1308 902 | /* ROM_LOAD( "09c.bin", 0x0000, 0x0200, CRC(066f52bc) SHA1(99f4f2d0181bcaf389c16f127cc3e632d62ee417) ) /* color prom */1309In file included from src/vidhrdw/dkong_vidhrdw.c:9:1310src/includes/dkong.h:49:13: warning: 'scanline_callback' declared 'static' but never defined [-Wunused-function]1311 49 | static void scanline_callback(int scanline);1312 | ^~~~~~~~~~~~~~~~~1313src/vidhrdw/dkong_vidhrdw.c:782:13: warning: 'draw_grid' defined but not used [-Wunused-function]1314 782 | static void draw_grid(struct mame_bitmap *bitmap)1315 | ^~~~~~~~~1316src/vidhrdw/dkong_vidhrdw.c:222:27: warning: 'radarscp1_net_info' defined but not used [-Wunused-const-variable=]1317 222 | static const res_net_info radarscp1_net_info =1318 | ^~~~~~~~~~~~~~~~~~1319Compiling src/sndhrdw/dkong_sndhrdw.c...1320Compiling src/drivers/dkong.c...1321Compiling src/machine/strtheat.c...1322In file included from src/drivers/dkong.c:138:1323src/includes/dkong.h:49:13: warning: 'scanline_callback' declared 'static' but never defined [-Wunused-function]1324 49 | static void scanline_callback(int scanline);1325 | ^~~~~~~~~~~~~~~~~1326Compiling src/vidhrdw/mario_vidhrdw.c...1327Compiling src/sndhrdw/mario_sndhrdw.c...1328Compiling src/drivers/mario.c...1329Compiling src/vidhrdw/popeye_vidhrdw.c...1330Compiling src/drivers/popeye.c...1331Compiling src/vidhrdw/punchout_vidhrdw.c...1332Compiling src/machine/rp5h01.c...1333Compiling src/drivers/punchout.c...1334Compiling src/vidhrdw/ppu2c03b.c...1335Compiling src/machine/playch10_machine.c...1336Compiling src/vidhrdw/playch10_vidhrdw.c...1337Compiling src/drivers/playch10.c...1338Compiling src/machine/vsnes_machine.c...1339Compiling src/vidhrdw/vsnes_vidhrdw.c...1340Compiling src/drivers/vsnes.c...1341Compiling src/machine/snes_machine.c...1342Compiling src/vidhrdw/snes_vidhrdw.c...1343src/vidhrdw/snes_vidhrdw.c: In function 'snes_update_line_8':1344src/vidhrdw/snes_vidhrdw.c:1131:34: warning: variable 'pal' set but not used [-Wunused-but-set-variable=]1345 1131 | UINT16 ii, vflip, hflip, pal;1346 | ^~~1347In file included from src/mame2003/mame2003.h:9,1348 from src/fileio.h:13,1349 from src/mame.h:20,1350 from src/mamedbg.h:4,1351 from src/driver.h:65,1352 from src/drivers/vsnes.c:128:1353src/inptport.h:189:43: warning: 'input_ports_vsnes' defined but not used [-Wunused-const-variable=]1354 189 | static const struct InputPortTiny input_ports_##name[] = {1355 | ^~~~~~~~~~~~1356src/drivers/vsnes.c:524:1: note: in expansion of macro 'INPUT_PORTS_START'1357 524 | INPUT_PORTS_START( vsnes )1358 | ^~~~~~~~~~~~~~~~~1359src/machine/snes_machine.c:1051:12: warning: 'snes_validate_infoblock' defined but not used [-Wunused-function]1360 1051 | static int snes_validate_infoblock( UINT8 *infoblock, UINT16 offset )1361 | ^~~~~~~~~~~~~~~~~~~~~~~1362Compiling src/sndhrdw/snes_sndhrdw.c...1363Compiling src/drivers/nss.c...1364src/sndhrdw/snes_sndhrdw.c: In function 'fakespc_port_r':1365src/sndhrdw/snes_sndhrdw.c:586:28: warning: array subscript 4 is above array bounds of 'UINT8[4]' {aka 'unsigned char[4]'} [-Warray-bounds=]1366 586 | return fakeapu_port[offset];1367 | ~~~~~~~~~~~~^~~~~~~~1368src/sndhrdw/snes_sndhrdw.c:66:7: note: while referencing 'fakeapu_port'1369 66 | UINT8 fakeapu_port[4] = { 0xaa, 0xbb, 0x00, 0x00 };1370 | ^~~~~~~~~~~~1371Compiling src/machine/8080bw.c...1372Compiling src/vidhrdw/8080bw_vidhrdw.c...1373Compiling src/sndhrdw/8080bw_sndhrdw.c...1374Compiling src/drivers/8080bw_drivers.c...1375src/sndhrdw/8080bw_sndhrdw.c: In function 'lupin3_sh_port5_w':1376src/sndhrdw/8080bw_sndhrdw.c:1306:65: warning: '/*' within comment [-Wcomment]1377 1306 | /*if (rising_bits & 0x10) sample_start(3, 9, 0); /* Dog barking */1378src/sndhrdw/8080bw_sndhrdw.c: In function 'galactic_sh_port3_w':1379src/sndhrdw/8080bw_sndhrdw.c:1542:49: warning: '/*' within comment [-Wcomment]1380 1542 | /*sample_start (1, 6, 0); /* Background continual? */1381Compiling src/vidhrdw/sspeedr_vidhrdw.c...1382In file included from src/driver.h:64,1383 from src/drivers/8080bw_drivers.c:87:1384src/drivers/8080bw_drivers.c:141:26: warning: 'writeport_2_3' defined but not used [-Wunused-const-variable=]1385 141 | static PORT_WRITE_START( writeport_2_3 )1386 | ^~~~~~~~~~~~~1387src/memory.h:553:56: note: in definition of macro 'MEMPORT_ARRAY_START'1388 553 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) },1389 | ^1390src/drivers/8080bw_drivers.c:141:8: note: in expansion of macro 'PORT_WRITE_START'1391 141 | static PORT_WRITE_START( writeport_2_3 )1392 | ^~~~~~~~~~~~~~~~1393Compiling src/drivers/sspeedr.c...1394Compiling src/vidhrdw/m79amb_vidhrdw.c...1395Compiling src/drivers/m79amb.c...1396Compiling src/drivers/rotaryf.c...1397Compiling src/drivers/lazercmd.c...1398Compiling src/vidhrdw/lazercmd_vidhrdw.c...1399Compiling src/drivers/meadows.c...1400Compiling src/sndhrdw/meadows_sndhrdw.c...1401Compiling src/vidhrdw/meadows_vidhrdw.c...1402Compiling src/drivers/cvs.c...1403Compiling src/vidhrdw/cvs_vidhrdw.c...1404Compiling src/vidhrdw/s2636_vidhrdw.c...1405Compiling src/machine/astrocde_machine.c...1406Compiling src/vidhrdw/astrocde_vidhrdw.c...1407Compiling src/drivers/astrocde.c...1408Compiling src/sndhrdw/astrocde_sndhrdw.c...1409Compiling src/sndhrdw/gorf.c...1410Compiling src/machine/mcr.c...1411Compiling src/sndhrdw/mcr_sndhrdw.c...1412Compiling src/vidhrdw/mcr12_vidhrdw.c...1413Compiling src/vidhrdw/mcr3_vidhrdw.c...1414Compiling src/drivers/mcr1.c...1415Compiling src/drivers/mcr2.c...1416Compiling src/drivers/mcr3.c...1417Compiling src/vidhrdw/mcr68_vidhrdw.c...1418Compiling src/drivers/mcr68.c...1419Compiling src/vidhrdw/balsente_vidhrdw.c...1420Compiling src/machine/balsente_machine.c...1421Compiling src/drivers/balsente.c...1422src/machine/balsente_machine.c: In function 'balsente_chip_select_w':1423src/machine/balsente_machine.c:1025:32: warning: variable 'temp' set but not used [-Wunused-but-set-variable=]1424 1025 | double temp = 0;1425 | ^~~~1426Compiling src/vidhrdw/gridlee_vidhrdw.c...1427Compiling src/sndhrdw/gridlee_sndhrdw.c...1428Compiling src/drivers/gridlee.c...1429Compiling src/drivers/seattle.c...1430Compiling src/vidhrdw/voodoo_vidhrdw.c...1431Compiling src/vidhrdw/exterm_vidhrdw.c...1432Compiling src/drivers/exterm.c...1433Compiling src/machine/midwayic.c...1434src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo2_regs_w':1435src/vidhrdw/voodoo_vidhrdw.c:1729:124: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1436 1729 | 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]);1437 | ^~~~~~~~~~~~~~1438src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo_regs_w':1439src/vidhrdw/voodoo_vidhrdw.c:1781:173: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1440 1781 | 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);1441 | ^~~~~~~~~~~~~~1442src/vidhrdw/voodoo_vidhrdw.c:1898:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1443 1898 | if (chips & 1) tri_va.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1444 | ^~~~~~~~~~~~~~1445src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1446 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1447 | ^1448src/vidhrdw/voodoo_vidhrdw.c:1901:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1449 1901 | if (chips & 1) tri_va.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1450 | ^~~~~~~~~~~~~~1451src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1452 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1453 | ^1454src/vidhrdw/voodoo_vidhrdw.c:1904:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1455 1904 | if (chips & 1) tri_vb.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1456 | ^~~~~~~~~~~~~~1457src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1458 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1459 | ^1460src/vidhrdw/voodoo_vidhrdw.c:1907:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1461 1907 | if (chips & 1) tri_vb.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1462 | ^~~~~~~~~~~~~~1463src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1464 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1465 | ^1466src/vidhrdw/voodoo_vidhrdw.c:1910:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1467 1910 | if (chips & 1) tri_vc.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1468 | ^~~~~~~~~~~~~~1469src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1470 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1471 | ^1472src/vidhrdw/voodoo_vidhrdw.c:1913:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1473 1913 | if (chips & 1) tri_vc.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1474 | ^~~~~~~~~~~~~~1475src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1476 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1477 | ^1478src/vidhrdw/voodoo_vidhrdw.c:1918:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1479 1918 | if (chips & 1) tri_startr = (INT32)(*(float *)&data * 65536.0);1480 | ^~~~~~~~~~~~~~1481src/vidhrdw/voodoo_vidhrdw.c:1921:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1482 1921 | if (chips & 1) tri_startg = (INT32)(*(float *)&data * 65536.0);1483 | ^~~~~~~~~~~~~~1484src/vidhrdw/voodoo_vidhrdw.c:1924:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1485 1924 | if (chips & 1) tri_startb = (INT32)(*(float *)&data * 65536.0);1486 | ^~~~~~~~~~~~~~1487src/vidhrdw/voodoo_vidhrdw.c:1927:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1488 1927 | if (chips & 1) tri_starta = (INT32)(*(float *)&data * 65536.0);1489 | ^~~~~~~~~~~~~~1490src/vidhrdw/voodoo_vidhrdw.c:1930:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1491 1930 | if (chips & 1) tri_startz = (INT32)(*(float *)&data * 4096.0);1492 | ^~~~~~~~~~~~~~1493src/vidhrdw/voodoo_vidhrdw.c:1933:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1494 1933 | if (chips & 1) tri_startw = *(float *)&data;1495 | ^~~~~~~~~~~~~~1496src/vidhrdw/voodoo_vidhrdw.c:1934:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1497 1934 | if (chips & 2) tri_startw0 = *(float *)&data;1498 | ^~~~~~~~~~~~~~1499src/vidhrdw/voodoo_vidhrdw.c:1935:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1500 1935 | if (chips & 4) tri_startw1 = *(float *)&data;1501 | ^~~~~~~~~~~~~~1502src/vidhrdw/voodoo_vidhrdw.c:1938:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1503 1938 | if (chips & 2) tri_starts0 = *(float *)&data;1504 | ^~~~~~~~~~~~~~1505src/vidhrdw/voodoo_vidhrdw.c:1939:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1506 1939 | if (chips & 4) tri_starts1 = *(float *)&data;1507 | ^~~~~~~~~~~~~~1508src/vidhrdw/voodoo_vidhrdw.c:1942:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1509 1942 | if (chips & 2) tri_startt0 = *(float *)&data;1510 | ^~~~~~~~~~~~~~1511src/vidhrdw/voodoo_vidhrdw.c:1943:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1512 1943 | if (chips & 4) tri_startt1 = *(float *)&data;1513 | ^~~~~~~~~~~~~~1514src/vidhrdw/voodoo_vidhrdw.c:1948:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1515 1948 | if (chips & 1) tri_drdx = (INT32)(*(float *)&data * 65536.0);1516 | ^~~~~~~~~~~~~~1517src/vidhrdw/voodoo_vidhrdw.c:1951:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1518 1951 | if (chips & 1) tri_dgdx = (INT32)(*(float *)&data * 65536.0);1519 | ^~~~~~~~~~~~~~1520src/vidhrdw/voodoo_vidhrdw.c:1954:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1521 1954 | if (chips & 1) tri_dbdx = (INT32)(*(float *)&data * 65536.0);1522 | ^~~~~~~~~~~~~~1523src/vidhrdw/voodoo_vidhrdw.c:1957:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1524 1957 | if (chips & 1) tri_dadx = (INT32)(*(float *)&data * 65536.0);1525 | ^~~~~~~~~~~~~~1526src/vidhrdw/voodoo_vidhrdw.c:1960:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1527 1960 | if (chips & 1) tri_dzdx = (INT32)(*(float *)&data * 4096.0);1528 | ^~~~~~~~~~~~~~1529src/vidhrdw/voodoo_vidhrdw.c:1963:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1530 1963 | if (chips & 1) tri_dwdx = *(float *)&data;1531 | ^~~~~~~~~~~~~~1532src/vidhrdw/voodoo_vidhrdw.c:1964:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1533 1964 | if (chips & 2) tri_dw0dx = *(float *)&data;1534 | ^~~~~~~~~~~~~~1535src/vidhrdw/voodoo_vidhrdw.c:1965:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1536 1965 | if (chips & 4) tri_dw1dx = *(float *)&data;1537 | ^~~~~~~~~~~~~~1538src/vidhrdw/voodoo_vidhrdw.c:1968:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1539 1968 | if (chips & 2) tri_ds0dx = *(float *)&data;1540 | ^~~~~~~~~~~~~~1541src/vidhrdw/voodoo_vidhrdw.c:1969:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1542 1969 | if (chips & 4) tri_ds1dx = *(float *)&data;1543 | ^~~~~~~~~~~~~~1544src/vidhrdw/voodoo_vidhrdw.c:1972:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1545 1972 | if (chips & 2) tri_dt0dx = *(float *)&data;1546 | ^~~~~~~~~~~~~~1547src/vidhrdw/voodoo_vidhrdw.c:1973:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1548 1973 | if (chips & 4) tri_dt1dx = *(float *)&data;1549 | ^~~~~~~~~~~~~~1550src/vidhrdw/voodoo_vidhrdw.c:1978:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1551 1978 | if (chips & 1) tri_drdy = (INT32)(*(float *)&data * 65536.0);1552 | ^~~~~~~~~~~~~~1553src/vidhrdw/voodoo_vidhrdw.c:1981:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1554 1981 | if (chips & 1) tri_dgdy = (INT32)(*(float *)&data * 65536.0);1555 | ^~~~~~~~~~~~~~1556src/vidhrdw/voodoo_vidhrdw.c:1984:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1557 1984 | if (chips & 1) tri_dbdy = (INT32)(*(float *)&data * 65536.0);1558 | ^~~~~~~~~~~~~~1559src/vidhrdw/voodoo_vidhrdw.c:1987:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1560 1987 | if (chips & 1) tri_dady = (INT32)(*(float *)&data * 65536.0);1561 | ^~~~~~~~~~~~~~1562src/vidhrdw/voodoo_vidhrdw.c:1990:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1563 1990 | if (chips & 1) tri_dzdy = (INT32)(*(float *)&data * 4096.0);1564 | ^~~~~~~~~~~~~~1565src/vidhrdw/voodoo_vidhrdw.c:1993:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1566 1993 | if (chips & 1) tri_dwdy = *(float *)&data;1567 | ^~~~~~~~~~~~~~1568src/vidhrdw/voodoo_vidhrdw.c:1994:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1569 1994 | if (chips & 2) tri_dw0dy = *(float *)&data;1570 | ^~~~~~~~~~~~~~1571src/vidhrdw/voodoo_vidhrdw.c:1995:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1572 1995 | if (chips & 4) tri_dw1dy = *(float *)&data;1573 | ^~~~~~~~~~~~~~1574src/vidhrdw/voodoo_vidhrdw.c:1998:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1575 1998 | if (chips & 2) tri_ds0dy = *(float *)&data;1576 | ^~~~~~~~~~~~~~1577src/vidhrdw/voodoo_vidhrdw.c:1999:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1578 1999 | if (chips & 4) tri_ds1dy = *(float *)&data;1579 | ^~~~~~~~~~~~~~1580src/vidhrdw/voodoo_vidhrdw.c:2002:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1581 2002 | if (chips & 2) tri_dt0dy = *(float *)&data;1582 | ^~~~~~~~~~~~~~1583src/vidhrdw/voodoo_vidhrdw.c:2003:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1584 2003 | if (chips & 4) tri_dt1dy = *(float *)&data;1585 | ^~~~~~~~~~~~~~1586src/vidhrdw/voodoo_vidhrdw.c:2008:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1587 2008 | setup_pending.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1588 | ^~~~~~~~~~~~~~1589src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1590 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1591 | ^1592src/vidhrdw/voodoo_vidhrdw.c:2011:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1593 2011 | setup_pending.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1594 | ^~~~~~~~~~~~~~1595src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1596 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1597 | ^1598src/vidhrdw/voodoo_vidhrdw.c:2020:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1599 2020 | setup_pending.wb = *(float *)&data;1600 | ^~~~~~~~~~~~~~1601src/vidhrdw/voodoo_vidhrdw.c:2023:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1602 2023 | setup_pending.w0 = *(float *)&data;1603 | ^~~~~~~~~~~~~~1604src/vidhrdw/voodoo_vidhrdw.c:2026:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1605 2026 | setup_pending.s0 = *(float *)&data;1606 | ^~~~~~~~~~~~~~1607src/vidhrdw/voodoo_vidhrdw.c:2029:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1608 2029 | setup_pending.t0 = *(float *)&data;1609 | ^~~~~~~~~~~~~~1610src/vidhrdw/voodoo_vidhrdw.c:2032:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1611 2032 | setup_pending.w1 = *(float *)&data;1612 | ^~~~~~~~~~~~~~1613src/vidhrdw/voodoo_vidhrdw.c:2035:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1614 2035 | setup_pending.s1 = *(float *)&data;1615 | ^~~~~~~~~~~~~~1616src/vidhrdw/voodoo_vidhrdw.c:2038:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1617 2038 | setup_pending.t1 = *(float *)&data;1618 | ^~~~~~~~~~~~~~1619src/vidhrdw/voodoo_vidhrdw.c:2041:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1620 2041 | setup_pending.a = *(float *)&data;1621 | ^~~~~~~~~~~~~~1622src/vidhrdw/voodoo_vidhrdw.c:2044:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1623 2044 | setup_pending.r = *(float *)&data;1624 | ^~~~~~~~~~~~~~1625src/vidhrdw/voodoo_vidhrdw.c:2047:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1626 2047 | setup_pending.g = *(float *)&data;1627 | ^~~~~~~~~~~~~~1628src/vidhrdw/voodoo_vidhrdw.c:2050:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1629 2050 | setup_pending.b = *(float *)&data;1630 | ^~~~~~~~~~~~~~1631src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo_textureram_w':1632src/vidhrdw/voodoo_vidhrdw.c:2969:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]1633 2969 | if (s == 0 && t == 0)1634 | ^~1635src/vidhrdw/voodoo_vidhrdw.c:2971:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'1636 2971 | while (lod != 0)1637 | ^~~~~1638Compiling src/sndhrdw/dcs.c...1639Compiling src/machine/midyunit_machine.c...1640Compiling src/vidhrdw/midyunit_vidhrdw.c...1641Compiling src/drivers/midyunit.c...1642Compiling src/drivers/midxunit.c...1643Compiling src/machine/midwunit_machine.c...1644Compiling src/drivers/midwunit.c...1645Compiling src/vidhrdw/midvunit_vidhrdw.c...1646src/vidhrdw/midvunit_vidhrdw.c: In function 'midvunit_dma_queue_w':1647src/vidhrdw/midvunit_vidhrdw.c:1027:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]1648 1027 | if (LOG_DMA && keyboard_pressed(KEYCODE_L))1649 | ^~1650src/vidhrdw/midvunit_vidhrdw.c:1029:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'1651 1029 | if (dma_data_index < 16)1652 | ^~1653Compiling src/drivers/midvunit.c...1654In file included from src/drivers/midvunit.c:21:1655src/driver.h:19:46: warning: 'init_crusnw13' defined but not used [-Wunused-function]1656 19 | #define DRIVER_INIT(name) void init_##name(void)1657 | ^~~~~1658src/drivers/midvunit.c:1396:8: note: in expansion of macro 'DRIVER_INIT'1659 1396 | static DRIVER_INIT( crusnw13 ) { init_crusnwld_common(0); }1660 | ^~~~~~~~~~~1661src/driver.h:19:46: warning: 'init_crusnw20' defined but not used [-Wunused-function]1662 19 | #define DRIVER_INIT(name) void init_##name(void)1663 | ^~~~~1664src/drivers/midvunit.c:1395:8: note: in expansion of macro 'DRIVER_INIT'1665 1395 | static DRIVER_INIT( crusnw20 ) { init_crusnwld_common(0xd49c); }1666 | ^~~~~~~~~~~1667In file included from src/driver.h:64:1668src/drivers/midvunit.c:324:25: warning: 'crusnwld_serial_data_w' defined but not used [-Wunused-function]1669 324 | static WRITE32_HANDLER( crusnwld_serial_data_w )1670 | ^~~~~~~~~~~~~~~~~~~~~~1671src/memory.h:132:42: note: in definition of macro 'WRITE32_HANDLER'1672 132 | #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask)1673 | ^~~~1674src/drivers/midvunit.c:318:24: warning: 'crusnwld_serial_data_r' defined but not used [-Wunused-function]1675 318 | static READ32_HANDLER( crusnwld_serial_data_r )1676 | ^~~~~~~~~~~~~~~~~~~~~~1677src/memory.h:131:42: note: in definition of macro 'READ32_HANDLER'1678 131 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask)1679 | ^~~~1680src/drivers/midvunit.c:311:24: warning: 'crusnwld_serial_status_r' defined but not used [-Wunused-function]1681 311 | static READ32_HANDLER( crusnwld_serial_status_r )1682 | ^~~~~~~~~~~~~~~~~~~~~~~~1683src/memory.h:131:42: note: in definition of macro 'READ32_HANDLER'1684 131 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask)1685 | ^~~~1686Compiling src/machine/midtunit_machine.c...1687Compiling src/vidhrdw/midtunit_vidhrdw.c...1688Compiling src/drivers/midtunit.c...1689src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0':1690src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1691 382 | int endskip = dma_state.endskip << 8; \1692 | ^~~~~~~1693src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1694 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1695 | ^~~~~~~~~~~~~~~~~~1696src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC'1697 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \1698 | ^~~~~~~~~~~~~1699src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1700 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1701 | ^~~~~~~~~~~~~~~~~~~1702src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p1':1703src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1704 382 | int endskip = dma_state.endskip << 8; \1705 | ^~~~~~~1706src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1707 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1708 | ^~~~~~~~~~~~~~~~~~1709src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC'1710 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \1711 | ^~~~~~~~~~~~~1712src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1713 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1714 | ^~~~~~~~~~~~~~~~~~~1715src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0':1716src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1717 382 | int endskip = dma_state.endskip << 8; \1718 | ^~~~~~~1719src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1720 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1721 | ^~~~~~~~~~~~~~~~~~1722src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC'1723 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \1724 | ^~~~~~~~~~~~~1725src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1726 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1727 | ^~~~~~~~~~~~~~~~~~~1728src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c1':1729src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1730 382 | int endskip = dma_state.endskip << 8; \1731 | ^~~~~~~1732src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1733 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1734 | ^~~~~~~~~~~~~~~~~~1735src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC'1736 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \1737 | ^~~~~~~~~~~~~1738src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1739 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1740 | ^~~~~~~~~~~~~~~~~~~1741src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0p1':1742src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1743 382 | int endskip = dma_state.endskip << 8; \1744 | ^~~~~~~1745src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1746 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1747 | ^~~~~~~~~~~~~~~~~~1748src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC'1749 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \1750 | ^~~~~~~~~~~~~1751src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1752 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1753 | ^~~~~~~~~~~~~~~~~~~1754src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0c1':1755src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1756 382 | int endskip = dma_state.endskip << 8; \1757 | ^~~~~~~1758src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1759 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1760 | ^~~~~~~~~~~~~~~~~~1761src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC'1762 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \1763 | ^~~~~~~~~~~~~1764src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1765 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1766 | ^~~~~~~~~~~~~~~~~~~1767src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0p1':1768src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1769 382 | int endskip = dma_state.endskip << 8; \1770 | ^~~~~~~1771src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1772 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1773 | ^~~~~~~~~~~~~~~~~~1774src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC'1775 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \1776 | ^~~~~~~~~~~~~1777src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1778 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1779 | ^~~~~~~~~~~~~~~~~~~1780src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0c1':1781src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1782 382 | int endskip = dma_state.endskip << 8; \1783 | ^~~~~~~1784src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1785 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1786 | ^~~~~~~~~~~~~~~~~~1787src/vidhrdw/midtunit_vidhrdw.c:558:1: note: in expansion of macro 'DMA_DRAW_FUNC'1788 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \1789 | ^~~~~~~~~~~~~1790src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1791 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1792 | ^~~~~~~~~~~~~~~~~~~1793src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0_xf':1794src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1795 382 | int endskip = dma_state.endskip << 8; \1796 | ^~~~~~~1797src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1798 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1799 | ^~~~~~~~~~~~~~~~~~1800src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC'1801 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \1802 | ^~~~~~~~~~~~~1803src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1804 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1805 | ^~~~~~~~~~~~~~~~~~~1806src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p1_xf':1807src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1808 382 | int endskip = dma_state.endskip << 8; \1809 | ^~~~~~~1810src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1811 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1812 | ^~~~~~~~~~~~~~~~~~1813src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC'1814 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \1815 | ^~~~~~~~~~~~~1816src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1817 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1818 | ^~~~~~~~~~~~~~~~~~~1819src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0_xf':1820src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1821 382 | int endskip = dma_state.endskip << 8; \1822 | ^~~~~~~1823src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1824 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1825 | ^~~~~~~~~~~~~~~~~~1826src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC'1827 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \1828 | ^~~~~~~~~~~~~1829src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1830 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1831 | ^~~~~~~~~~~~~~~~~~~1832src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c1_xf':1833src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1834 382 | int endskip = dma_state.endskip << 8; \1835 | ^~~~~~~1836src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1837 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1838 | ^~~~~~~~~~~~~~~~~~1839src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC'1840 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \1841 | ^~~~~~~~~~~~~1842src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1843 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1844 | ^~~~~~~~~~~~~~~~~~~1845src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0p1_xf':1846src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1847 382 | int endskip = dma_state.endskip << 8; \1848 | ^~~~~~~1849src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1850 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1851 | ^~~~~~~~~~~~~~~~~~1852src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC'1853 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \1854 | ^~~~~~~~~~~~~1855src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1856 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1857 | ^~~~~~~~~~~~~~~~~~~1858src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0c1_xf':1859src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1860 382 | int endskip = dma_state.endskip << 8; \1861 | ^~~~~~~1862src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1863 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1864 | ^~~~~~~~~~~~~~~~~~1865src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC'1866 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \1867 | ^~~~~~~~~~~~~1868src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1869 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1870 | ^~~~~~~~~~~~~~~~~~~1871src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0p1_xf':1872src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1873 382 | int endskip = dma_state.endskip << 8; \1874 | ^~~~~~~1875src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1876 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1877 | ^~~~~~~~~~~~~~~~~~1878src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC'1879 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \1880 | ^~~~~~~~~~~~~1881src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1882 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1883 | ^~~~~~~~~~~~~~~~~~~1884src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0c1_xf':1885src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1886 382 | int endskip = dma_state.endskip << 8; \1887 | ^~~~~~~1888src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1889 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1890 | ^~~~~~~~~~~~~~~~~~1891src/vidhrdw/midtunit_vidhrdw.c:567:1: note: in expansion of macro 'DMA_DRAW_FUNC'1892 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \1893 | ^~~~~~~~~~~~~1894src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1895 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1896 | ^~~~~~~~~~~~~~~~~~~1897src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p0':1898src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1899 382 | int endskip = dma_state.endskip << 8; \1900 | ^~~~~~~1901src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1902 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1903 | ^~~~~~~~~~~~~~~~~~1904src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC'1905 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \1906 | ^~~~~~~~~~~~~1907src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1908 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1909 | ^~~~~~~~~~~~~~~~~~~1910src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p1':1911src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1912 382 | int endskip = dma_state.endskip << 8; \1913 | ^~~~~~~1914src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1915 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1916 | ^~~~~~~~~~~~~~~~~~1917src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC'1918 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \1919 | ^~~~~~~~~~~~~1920src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1921 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1922 | ^~~~~~~~~~~~~~~~~~~1923src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c0':1924src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1925 382 | int endskip = dma_state.endskip << 8; \1926 | ^~~~~~~1927src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1928 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1929 | ^~~~~~~~~~~~~~~~~~1930src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC'1931 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \1932 | ^~~~~~~~~~~~~1933src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1934 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1935 | ^~~~~~~~~~~~~~~~~~~1936src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c1':1937src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1938 382 | int endskip = dma_state.endskip << 8; \1939 | ^~~~~~~1940src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1941 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1942 | ^~~~~~~~~~~~~~~~~~1943src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC'1944 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \1945 | ^~~~~~~~~~~~~1946src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1947 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1948 | ^~~~~~~~~~~~~~~~~~~1949src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p0p1':1950src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1951 382 | int endskip = dma_state.endskip << 8; \1952 | ^~~~~~~1953src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1954 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1955 | ^~~~~~~~~~~~~~~~~~1956src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC'1957 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \1958 | ^~~~~~~~~~~~~1959src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1960 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1961 | ^~~~~~~~~~~~~~~~~~~1962src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c0c1':1963src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1964 382 | int endskip = dma_state.endskip << 8; \1965 | ^~~~~~~1966src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1967 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1968 | ^~~~~~~~~~~~~~~~~~1969src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC'1970 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \1971 | ^~~~~~~~~~~~~1972src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1973 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1974 | ^~~~~~~~~~~~~~~~~~~1975src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c0p1':1976src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1977 382 | int endskip = dma_state.endskip << 8; \1978 | ^~~~~~~1979src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1980 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1981 | ^~~~~~~~~~~~~~~~~~1982src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC'1983 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \1984 | ^~~~~~~~~~~~~1985src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1986 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1987 | ^~~~~~~~~~~~~~~~~~~1988src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p0c1':1989src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1990 382 | int endskip = dma_state.endskip << 8; \1991 | ^~~~~~~1992src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1993 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1994 | ^~~~~~~~~~~~~~~~~~1995src/vidhrdw/midtunit_vidhrdw.c:558:1: note: in expansion of macro 'DMA_DRAW_FUNC'1996 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \1997 | ^~~~~~~~~~~~~1998src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1999 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)2000 | ^~~~~~~~~~~~~~~~~~~4580Compiling src/vidhrdw/cabal_vidhrdw.c...4581Compiling src/drivers/cabal.c...4582Compiling src/vidhrdw/toki_vidhrdw.c...4583Compiling src/drivers/toki.c...4584Compiling src/vidhrdw/bloodbro_vidhrdw.c...4585Compiling src/drivers/bloodbro.c...4586Compiling src/vidhrdw/legionna_vidhrdw.c...4587Compiling src/drivers/legionna.c...4588Compiling src/vidhrdw/goal92_vidhrdw.c...4589Compiling src/drivers/goal92.c...4590Compiling src/vidhrdw/exerion_vidhrdw.c...4591Compiling src/drivers/exerion.c...4592Compiling src/drivers/fcombat.c...4593Compiling src/vidhrdw/aeroboto_vidhrdw.c...4594Compiling src/drivers/aeroboto.c...4595Compiling src/vidhrdw/citycon_vidhrdw.c...4596Compiling src/drivers/citycon.c...4597Compiling src/vidhrdw/momoko_vidhrdw.c...4598Compiling src/drivers/momoko.c...4599Compiling src/vidhrdw/argus_vidhrdw.c...4600Compiling src/drivers/argus.c...4601Compiling src/vidhrdw/psychic5_vidhrdw.c...4602Compiling src/drivers/psychic5.c...4603Compiling src/vidhrdw/ginganin_vidhrdw.c...4604Compiling src/drivers/ginganin.c...4605Compiling src/vidhrdw/skyfox_vidhrdw.c...4606Compiling src/drivers/skyfox.c...4607Compiling src/vidhrdw/homerun_vidhrdw.c...4608Compiling src/drivers/homerun.c...4609Compiling src/vidhrdw/cischeat_vidhrdw.c...4610Compiling src/drivers/cischeat.c...4611Compiling src/vidhrdw/tetrisp2_vidhrdw.c...4612Compiling src/drivers/tetrisp2.c...4613src/drivers/tetrisp2.c:46:14: warning: 'rockn_timer_sub_l4' defined but not used [-Wunused-variable]4614 46 | static void *rockn_timer_sub_l4;4615 | ^~~~~~~~~~~~~~~~~~4616Compiling src/vidhrdw/megasys1_vidhrdw.c...4617Compiling src/drivers/megasys1.c...4618Compiling src/vidhrdw/ms32_vidhrdw.c...4619Compiling src/drivers/ms32.c...4620Compiling src/vidhrdw/bigstrkb_vidhrdw.c...4621Compiling src/drivers/bigstrkb.c...4622Compiling src/vidhrdw/rpunch_vidhrdw.c...4623Compiling src/drivers/rpunch.c...4624Compiling src/vidhrdw/tail2nos_vidhrdw.c...4625Compiling src/drivers/tail2nos.c...4626Compiling src/vidhrdw/ojankohs_vidhrdw.c...4627Compiling src/drivers/ojankohs.c...4628Compiling src/vidhrdw/fromance_vidhrdw.c...4629Compiling src/drivers/fromance.c...4630Compiling src/drivers/pipedrm.c...4631Compiling src/vidhrdw/aerofgt_vidhrdw.c...4632Compiling src/drivers/aerofgt.c...4633Compiling src/vidhrdw/welltris_vidhrdw.c...4634src/vidhrdw/aerofgt_vidhrdw.c: In function 'turbofrc_drawsprites':4635src/vidhrdw/aerofgt_vidhrdw.c:390:21: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]4636 390 | if (!chip_disabled_pri & (pri>>4)) continue;4637 | ^~~~~~~~~~~~~~~~~~4638src/vidhrdw/aerofgt_vidhrdw.c: In function 'spinlbrk_draw_sprites':4639src/vidhrdw/aerofgt_vidhrdw.c:466:21: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]4640 466 | if (!chip_disabled_pri & (pri>>4)) continue;4641 | ^~~~~~~~~~~~~~~~~~4642Compiling src/drivers/welltris.c...4643Compiling src/vidhrdw/f1gp_vidhrdw.c...4644Compiling src/drivers/f1gp.c...4645src/vidhrdw/f1gp_vidhrdw.c: In function 'f1gp_drawsprites':4646src/vidhrdw/f1gp_vidhrdw.c:205:73: warning: variable 'pri' set but not used [-Wunused-but-set-variable=]4647 205 | int ox,oy,x,y,xsize,ysize,zoomx,zoomy,flipx,flipy,color,pri;4648 | ^~~4649Compiling src/vidhrdw/taotaido_vidhrdw.c...4650Compiling src/drivers/taotaido.c...4651Compiling src/vidhrdw/crshrace_vidhrdw.c...4652Compiling src/drivers/crshrace.c...4653Compiling src/vidhrdw/gstriker_vidhrdw.c...4654src/vidhrdw/taotaido_vidhrdw.c: In function 'taotaido_tileregs_w':4655src/vidhrdw/taotaido_vidhrdw.c:160:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]4656 160 | if(ACCESSING_LSB)4657 | ^~4658src/vidhrdw/taotaido_vidhrdw.c:162:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'4659 162 | tilemap_mark_all_tiles_dirty(bg_tilemap);4660 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~4661Compiling src/drivers/gstriker.c...4662Compiling src/vidhrdw/suprslam_vidhrdw.c...4663Compiling src/drivers/suprslam.c...4664Compiling src/vidhrdw/fromanc2_vidhrdw.c...4665Compiling src/drivers/fromanc2.c...4666Compiling src/vidhrdw/inufuku_vidhrdw.c...4667Compiling src/drivers/inufuku.c...4668Compiling src/vidhrdw/psikyo_vidhrdw.c...4669Compiling src/drivers/psikyo.c...4670Compiling src/vidhrdw/psikyosh_vidhrdw.c...4671Compiling src/drivers/psikyosh.c...4672Compiling src/vidhrdw/psikyo4_vidhrdw.c...4673Compiling src/drivers/psikyo4.c...4674Compiling src/machine/8254pit.c...4675Compiling src/drivers/leland.c...4676Compiling src/vidhrdw/leland_vidhrdw.c...4677Compiling src/machine/leland_machine.c...4678Compiling src/sndhrdw/leland_sndhrdw.c...4679Compiling src/drivers/ataxx.c...4680src/sndhrdw/leland_sndhrdw.c: In function 'pit8254_r':4681src/sndhrdw/leland_sndhrdw.c:1561:31: warning: variable 'ctr' set but not used [-Wunused-but-set-variable=]4682 1561 | struct counter_state *ctr;4683 | ^~~4684Compiling src/vidhrdw/marineb_vidhrdw.c...4685Compiling src/drivers/marineb.c...4686Compiling src/vidhrdw/funkybee_vidhrdw.c...4687Compiling src/drivers/funkybee.c...4688Compiling src/vidhrdw/zodiack_vidhrdw.c...4689Compiling src/drivers/zodiack.c...4690In file included from src/drivers/zodiack.c:21:4691src/driver.h:98:14: warning: 'construct_moguchan' defined but not used [-Wunused-function]4692 98 | void construct_##game(struct InternalMachineDriver *machine) \4693 | ^~~~~~~~~~4694src/drivers/zodiack.c:542:8: note: in expansion of macro 'MACHINE_DRIVER_START'4695 542 | static MACHINE_DRIVER_START( moguchan )4696 | ^~~~~~~~~~~~~~~~~~~~4697Compiling src/vidhrdw/espial_vidhrdw.c...4698Compiling src/drivers/espial.c...4699Compiling src/vidhrdw/vastar_vidhrdw.c...4700Compiling src/drivers/vastar.c...4701Compiling src/vidhrdw/xorworld_vidhrdw.c...4702Compiling src/drivers/xorworld.c...4703Compiling src/vidhrdw/splash_vidhrdw.c...4704Compiling src/drivers/splash.c...4705Compiling src/vidhrdw/thoop2_vidhrdw.c...4706Compiling src/drivers/thoop2.c...4707Compiling src/vidhrdw/gaelco_vidhrdw.c...4708Compiling src/drivers/gaelco.c...4709Compiling src/machine/wrally_machine.c...4710Compiling src/vidhrdw/wrally_vidhrdw.c...4711Compiling src/drivers/wrally.c...4712Compiling src/vidhrdw/targeth_vidhrdw.c...4713Compiling src/drivers/targeth.c...4714Compiling src/machine/gaelco2_machine.c...4715Compiling src/vidhrdw/gaelco2_vidhrdw.c...4716Compiling src/drivers/gaelco2.c...4717Compiling src/vidhrdw/glass_vidhrdw.c...4718Compiling src/drivers/glass.c...4719Compiling src/vidhrdw/airbustr_vidhrdw.c...4720Compiling src/drivers/airbustr.c...4721Compiling src/vidhrdw/djboy_vidhrdw.c...4722Compiling src/drivers/djboy.c...4723Compiling src/vidhrdw/galpanic_vidhrdw.c...4724Compiling src/drivers/galpanic.c...4725Compiling src/vidhrdw/galpani2_vidhrdw.c...4726Compiling src/drivers/galpani2.c...4727Compiling src/drivers/jchan.c...4728Compiling src/vidhrdw/kaneko16_vidhrdw.c...4729Compiling src/drivers/kaneko16.c...4730Compiling src/vidhrdw/suprnova_vidhrdw.c...4731Compiling src/drivers/suprnova.c...4732src/vidhrdw/suprnova_vidhrdw.c: In function 'skns_drawsprites':4733src/vidhrdw/suprnova_vidhrdw.c:290:47: warning: variable 'pri' set but not used [-Wunused-but-set-variable=]4734 290 | int xsize,ysize, size, xpos=0,ypos=0, pri=0, romoffset, colour=0, xflip,yflip, joint;4735 | ^~~4736src/drivers/kaneko16.c: In function 'calc3_decompress_table':4737src/drivers/kaneko16.c:1270:56: warning: declaration of 'length' shadows a previous local [-Wshadow]4738 1270 | UINT32 length;/*, size;*/4739 | ^~~~~~4740src/drivers/kaneko16.c:1184:16: note: shadowed declaration is here4741 1184 | UINT16 length;4742 | ^~~~~~4743src/drivers/kaneko16.c:1273:88: warning: pointer targets in passing argument 1 of 'EEPROM_get_data_pointer' differ in signedness [-Wpointer-sign]4744 1273 | dat = (UINT8 *)EEPROM_get_data_pointer(&length);4745 | ^~~~~~~4746 | |4747 | UINT32 * {aka unsigned int *}4748In file included from src/drivers/kaneko16.c:65:4749src/machine/eeprom.h:30:39: note: expected 'int *' but argument is of type 'UINT32 *' {aka 'unsigned int *'}4750 30 | UINT8 * EEPROM_get_data_pointer(int * length);4751 | ~~~~~~^~~~~~4752src/drivers/kaneko16.c: In function 'calc3_scantables':4753src/drivers/kaneko16.c:1492:21: warning: variable 'length' set but not used [-Wunused-but-set-variable=]4754 1492 | int length;4755 | ^~~~~~4756src/drivers/kaneko16.c: In function 'calc3_mcu_run':4757src/drivers/kaneko16.c:1542:72: warning: pointer targets in passing argument 1 of 'EEPROM_get_data_pointer' differ in signedness [-Wpointer-sign]4758 1542 | dat = (UINT8 *)EEPROM_get_data_pointer(&length);4759 | ^~~~~~~4760 | |4761 | UINT32 * {aka unsigned int *}4762src/machine/eeprom.h:30:39: note: expected 'int *' but argument is of type 'UINT32 *' {aka 'unsigned int *'}4763 30 | UINT8 * EEPROM_get_data_pointer(int * length);4764 | ~~~~~~^~~~~~4765src/drivers/kaneko16.c:1556:29: warning: declaration of 'i' shadows a previous local [-Wshadow]4766 1556 | int i;4767 | ^4768src/drivers/kaneko16.c:1505:13: note: shadowed declaration is here4769 1505 | int i;4770 | ^4771src/drivers/kaneko16.c: In function 'toxboy_handle_04_subcommand':4772src/drivers/kaneko16.c:2008:59: warning: declaration of 'mcu_ram' shadows a global declaration [-Wshadow]4773 2008 | void toxboy_handle_04_subcommand(UINT8 mcu_subcmd, UINT16*mcu_ram)4774 | ~~~~~~~^~~~~~~4775src/drivers/kaneko16.c:72:18: note: shadowed declaration is here4776 72 | static data16_t *mcu_ram, gtmr_mcu_com[4], *kaneko16_mainram;4777 | ^~~~~~~4778src/drivers/kaneko16.c: In function 'gtmr_wheel_r':4779src/drivers/kaneko16.c:3406:42: warning: bitwise comparison always evaluates to false [-Wtautological-compare]4780 3406 | if ( (readinputport(4) & 0x1800) == 0x10) /* DSW setting*/4781 | ^~4782src/drivers/suprnova.c: In function 'palette_set_rgb_brightness':4783src/drivers/suprnova.c:784:34: warning: variable 'alpha' set but not used [-Wunused-but-set-variable=]4784 784 | int use_bright, r, g, b, alpha;4785 | ^~~~~4786src/drivers/suprnova.c: In function 'skns_palette_ram_w':4787src/drivers/suprnova.c:898:55: warning: variable 'alpha' set but not used [-Wunused-but-set-variable=]4788 898 | int brightness_r, brightness_g, brightness_b, alpha;4789 | ^~~~~4790Compiling src/machine/pd4990a.c...4791Compiling src/machine/neocrypt.c...4792Compiling src/machine/neogeo_machine.c...4793src/machine/neogeo_machine.c: In function 'init_neogeo':4794src/machine/neogeo_machine.c:109:19: warning: variable 'mem16' set but not used [-Wunused-but-set-variable=]4795 109 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1);4796 | ^~~~~4797Compiling src/vidhrdw/neogeo_vidhrdw.c...4798Compiling src/drivers/neogeo.c...4799In file included from /nix/store/2gh2kjj22acjw1354if79dgr6l73y3sl-glibc-2.44-57-dev/include/string.h:580,4800 from src/memory.h:14,4801 from src/driver.h:64,4802 from src/machine/neocrypt.c:59:4803In function 'memcpy',4804 inlined from 'kf2k2mp_decrypt' at src/machine/neocrypt.c:1172:2:4805/nix/store/2gh2kjj22acjw1354if79dgr6l73y3sl-glibc-2.44-57-dev/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' accessing 5242880 bytes at offsets 0 and 3145728 overlaps 2097152 bytes at offset 3145728 [-Wrestrict]4806 29 | return __builtin___memcpy_chk (__dest, __src, __len,4807 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4808 30 | __glibc_objsize0 (__dest));4809 | ~~~~~~~~~~~~~~~~~~~~~~~~~~4810src/drivers/neogeo.c:8352:1: warning: '/*' within comment [-Wcomment]4811 8352 | /* NG:DEV.TEAM */4812src/drivers/neogeo.c: In function 'mv0_bankswitch_r':4813src/drivers/neogeo.c:7784:53: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds=]4814 7784 | return mv0_bankswitch_offset[ offset ];4815 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~4816src/drivers/neogeo.c:7732:15: note: while referencing 'mv0_bankswitch_offset'4817 7732 | static UINT16 mv0_bankswitch_offset[ 2 ];4818 | ^~~~~~~~~~~~~~~~~~~~~4819src/drivers/neogeo.c:7774:53: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds=]4820 7774 | return mv0_bankswitch_offset[ offset ];4821 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~4822src/drivers/neogeo.c:7732:15: note: while referencing 'mv0_bankswitch_offset'4823 7732 | static UINT16 mv0_bankswitch_offset[ 2 ];4824 | ^~~~~~~~~~~~~~~~~~~~~4825In function 'memcpy',4826 inlined from 'kof98_decrypt_68k' at src/machine/neocrypt.c:2013:2:4827/nix/store/2gh2kjj22acjw1354if79dgr6l73y3sl-glibc-2.44-57-dev/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' accessing 4194304 bytes at offsets 1048576 and 2097152 overlaps 3145728 bytes at offset 2097152 [-Wrestrict]4828 29 | return __builtin___memcpy_chk (__dest, __src, __len,4829 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4830 30 | __glibc_objsize0 (__dest));4831 | ~~~~~~~~~~~~~~~~~~~~~~~~~~4832Compiling src/vidhrdw/hanaawas_vidhrdw.c...4833Compiling src/drivers/hanaawas.c...4834Compiling src/vidhrdw/speedatk_vidhrdw.c...4835Compiling src/drivers/speedatk.c...4836Compiling src/vidhrdw/srmp2_vidhrdw.c...4837Compiling src/drivers/srmp2.c...4838Compiling src/vidhrdw/seta_vidhrdw.c...4839src/drivers/srmp2.c: In function 'srmp3_input_1_w':4840src/drivers/srmp2.c:480:28: warning: variable 'qqqzz' set but not used [-Wunused-but-set-variable=]4841 480 | static int qqqzz = 0;4842 | ^~~~~4843src/drivers/srmp2.c:479:28: warning: variable 'qqq49' set but not used [-Wunused-but-set-variable=]4844 479 | static int qqq49 = 0;4845 | ^~~~~4846src/drivers/srmp2.c:478:28: warning: variable 'qqq02' set but not used [-Wunused-but-set-variable=]4847 478 | static int qqq02 = 0;4848 | ^~~~~4849src/drivers/srmp2.c:477:28: warning: variable 'qqq01' set but not used [-Wunused-but-set-variable=]4850 477 | static int qqq01 = 0;4851 | ^~~~~4852Compiling src/drivers/seta.c...4853Compiling src/vidhrdw/seta2_vidhrdw.c...4854Compiling src/drivers/seta2.c...4855Compiling src/vidhrdw/ssv_vidhrdw.c...4856Compiling src/drivers/ssv.c...4857Compiling src/vidhrdw/powerins_vidhrdw.c...4858Compiling src/drivers/powerins.c...4859Compiling src/vidhrdw/ohmygod_vidhrdw.c...4860Compiling src/drivers/ohmygod.c...4861Compiling src/vidhrdw/blmbycar_vidhrdw.c...4862Compiling src/drivers/blmbycar.c...4863Compiling src/vidhrdw/route16_vidhrdw.c...4864Compiling src/drivers/route16.c...4865Compiling src/vidhrdw/ttmahjng_vidhrdw.c...4866Compiling src/drivers/ttmahjng.c...4867src/vidhrdw/route16_vidhrdw.c: In function 'route16_out0_w':4868src/vidhrdw/route16_vidhrdw.c:77:42: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]4869 77 | video_disable_1 = ((data & 0x02) << 6) && route16_hardware;4870 | ~~~~~~~~~~~~~~~^~~~~4871src/vidhrdw/route16_vidhrdw.c: In function 'route16_out1_w':4872src/vidhrdw/route16_vidhrdw.c:96:42: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]4873 96 | video_disable_2 = ((data & 0x02) << 6 ) && route16_hardware;4874 | ~~~~~~~~~~~~~~~^~~~~~4875Compiling src/vidhrdw/kangaroo_vidhrdw.c...4876Compiling src/drivers/kangaroo.c...4877Compiling src/vidhrdw/arabian_vidhrdw.c...4878src/vidhrdw/arabian_vidhrdw.c: In function 'palette_init_arabian':4879src/vidhrdw/arabian_vidhrdw.c:96:38: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]4880 96 | int rlo = planea ? ((!arhf & az) ? 0 : ar) : enb ? br : 0;4881 | ^~~~~4882src/vidhrdw/arabian_vidhrdw.c:127:38: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]4883 127 | int glo = planea ? ((!aghf & az) ? 0 : ag) : enb ? bg : 0;4884 | ^~~~~4885src/vidhrdw/arabian_vidhrdw.c:148:30: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]4886 148 | int bbase = (!abhf & az) ? 0 : ab;4887 | ^~~~~4888Compiling src/drivers/arabian.c...4889Compiling src/vidhrdw/markham_vidhrdw.c...4890Compiling src/drivers/markham.c...4891Compiling src/vidhrdw/strnskil_vidhrdw.c...4892Compiling src/drivers/strnskil.c...4893Compiling src/vidhrdw/ikki_vidhrdw.c...4894Compiling src/drivers/ikki.c...4895Compiling src/drivers/shanghai.c...4896Compiling src/vidhrdw/shangha3_vidhrdw.c...4897Compiling src/drivers/shangha3.c...4898Compiling src/vidhrdw/goindol_vidhrdw.c...4899Compiling src/drivers/goindol.c...4900Compiling src/vidhrdw/suna8_vidhrdw.c...4901Compiling src/drivers/suna8.c...4902Compiling src/vidhrdw/suna16_vidhrdw.c...4903Compiling src/drivers/suna16.c...4904Compiling src/vidhrdw/gundealr_vidhrdw.c...4905Compiling src/drivers/gundealr.c...4906Compiling src/vidhrdw/dooyong_vidhrdw.c...4907Compiling src/drivers/dooyong.c...4908Compiling src/machine/leprechn_machine.c...4909Compiling src/vidhrdw/leprechn_vidhrdw.c...4910Compiling src/drivers/leprechn.c...4911Compiling src/machine/beezer_machine.c...4912Compiling src/vidhrdw/beezer_vidhrdw.c...4913Compiling src/drivers/beezer.c...4914Compiling src/vidhrdw/pushman_vidhrdw.c...4915Compiling src/drivers/pushman.c...4916Compiling src/vidhrdw/zerozone_vidhrdw.c...4917Compiling src/drivers/zerozone.c...4918Compiling src/vidhrdw/galspnbl_vidhrdw.c...4919Compiling src/drivers/galspnbl.c...4920Compiling src/vidhrdw/sslam_vidhrdw.c...4921Compiling src/drivers/sslam.c...4922Compiling src/vidhrdw/playmark_vidhrdw.c...4923Compiling src/drivers/playmark.c...4924Compiling src/vidhrdw/thief_vidhrdw.c...4925Compiling src/drivers/thief.c...4926In file included from src/driver.h:64,4927 from src/drivers/playmark.c:36:4928src/drivers/playmark.c:403:26: warning: 'hrdtimes_sound_writeport' defined but not used [-Wunused-const-variable=]4929 403 | static PORT_WRITE_START( hrdtimes_sound_writeport )4930 | ^~~~~~~~~~~~~~~~~~~~~~~~4931src/memory.h:553:56: note: in definition of macro 'MEMPORT_ARRAY_START'4932 553 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) },4933 | ^4934src/drivers/playmark.c:403:8: note: in expansion of macro 'PORT_WRITE_START'4935 403 | static PORT_WRITE_START( hrdtimes_sound_writeport )4936 | ^~~~~~~~~~~~~~~~4937src/drivers/playmark.c:396:25: warning: 'hrdtimes_sound_readport' defined but not used [-Wunused-const-variable=]4938 396 | static PORT_READ_START( hrdtimes_sound_readport )4939 | ^~~~~~~~~~~~~~~~~~~~~~~4940src/memory.h:553:56: note: in definition of macro 'MEMPORT_ARRAY_START'4941 553 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) },4942 | ^4943src/drivers/playmark.c:396:8: note: in expansion of macro 'PORT_READ_START'4944 396 | static PORT_READ_START( hrdtimes_sound_readport )4945 | ^~~~~~~~~~~~~~~4946Compiling src/vidhrdw/mrflea_vidhrdw.c...4947Compiling src/drivers/mrflea.c...4948Compiling src/vidhrdw/holeland_vidhrdw.c...4949Compiling src/drivers/holeland.c...4950Compiling src/vidhrdw/speedbal_vidhrdw.c...4951Compiling src/drivers/speedbal.c...4952Compiling src/vidhrdw/sauro_vidhrdw.c...4953Compiling src/drivers/sauro.c...4954Compiling src/vidhrdw/metro_vidhrdw.c...4955Compiling src/drivers/metro.c...4956Compiling src/vidhrdw/hyprduel_vidhrdw.c...4957src/drivers/metro.c: In function 'init_karatour':4958src/drivers/metro.c:4616:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]4959 4616 | for (i = 0;i < memory_region_length(REGION_USER1)/2;i++)4960 | ^~~4961src/drivers/metro.c:4619:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'4962 4619 | init_metro();4963 | ^~~~~~~~~~4964Compiling src/drivers/hyprduel.c...4965In file included from src/driver.h:64,4966 from src/drivers/metro.c:79:4967src/drivers/metro.c: At top level:4968src/drivers/metro.c:613:25: warning: 'mouja_m6295_data_msb_w' defined but not used [-Wunused-function]4969 613 | static WRITE16_HANDLER( mouja_m6295_data_msb_w )4970 | ^~~~~~~~~~~~~~~~~~~~~~4971src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'4972 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)4973 | ^~~~4974src/drivers/metro.c:598:24: warning: 'mouja_m6295_status_lsb_r' defined but not used [-Wunused-function]4975 598 | static READ16_HANDLER( mouja_m6295_status_lsb_r )4976 | ^~~~~~~~~~~~~~~~~~~~~~~~4977src/memory.h:129:42: note: in definition of macro 'READ16_HANDLER'4978 129 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask)4979 | ^~~~4980src/drivers/metro.c:592:25: warning: 'mouja_sound_rombank_w' defined but not used [-Wunused-function]4981 592 | static WRITE16_HANDLER( mouja_sound_rombank_w )4982 | ^~~~~~~~~~~~~~~~~~~~~4983src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'4984 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)4985 | ^~~~4986src/drivers/metro.c:273:25: warning: 'mouja_irq_timer_ctrl_w' defined but not used [-Wunused-function]4987 273 | static WRITE16_HANDLER( mouja_irq_timer_ctrl_w )4988 | ^~~~~~~~~~~~~~~~~~~~~~4989src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'4990 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)4991 | ^~~~4992Compiling src/vidhrdw/spcforce_vidhrdw.c...4993Compiling src/drivers/spcforce.c...4994Compiling src/drivers/looping.c...4995Compiling src/vidhrdw/paradise_vidhrdw.c...4996Compiling src/drivers/paradise.c...4997Compiling src/vidhrdw/yunsung8_vidhrdw.c...4998Compiling src/drivers/yunsung8.c...4999Compiling src/vidhrdw/yunsun16_vidhrdw.c...5000Compiling src/drivers/yunsun16.c...5001Compiling src/vidhrdw/blueprnt_vidhrdw.c...5002Compiling src/drivers/blueprnt.c...5003Compiling src/vidhrdw/fuukifg2_vidhrdw.c...5004Compiling src/drivers/fuukifg2.c...5005Compiling src/vidhrdw/fuukifg3_vidhrdw.c...5006Compiling src/drivers/fuukifg3.c...5007Compiling src/vidhrdw/drgnmst_vidhrdw.c...5008In file included from src/driver.h:64,5009 from src/drivers/fuukifg3.c:90:5010src/drivers/fuukifg3.c:168:24: warning: 'fuuki32_sound_command_r' defined but not used [-Wunused-function]5011 168 | static READ32_HANDLER( fuuki32_sound_command_r )5012 | ^~~~~~~~~~~~~~~~~~~~~~~5013src/memory.h:131:42: note: in definition of macro 'READ32_HANDLER'5014 131 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask)5015 | ^~~~5016src/drivers/fuukifg3.c:158:25: warning: 'fuuki32_sound_command_w' defined but not used [-Wunused-function]5017 158 | static WRITE32_HANDLER( fuuki32_sound_command_w )5018 | ^~~~~~~~~~~~~~~~~~~~~~~5019src/memory.h:132:42: note: in definition of macro 'WRITE32_HANDLER'5020 132 | #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask)5021 | ^~~~5022src/vidhrdw/fuukifg3_vidhrdw.c: In function 'video_start_fuuki32':5023src/vidhrdw/fuukifg3_vidhrdw.c:137:48: warning: '/*' within comment [-Wcomment]5024 137 | /* Machine->gfx[1]->color_granularity=16; /* 256 colour tiles with palette selectable on 16 colour boundaries */5025src/vidhrdw/fuukifg3_vidhrdw.c:138:44: warning: '/*' within comment [-Wcomment]5026 138 | /* Machine->gfx[2]->color_granularity=16; /* 256 colour tiles with palette selectable on 16 colour boundaries */5027Compiling src/drivers/drgnmst.c...5028Compiling src/vidhrdw/unico_vidhrdw.c...5029Compiling src/drivers/unico.c...5030Compiling src/vidhrdw/silkroad_vidhrdw.c...5031Compiling src/drivers/silkroad.c...5032Compiling src/vidhrdw/afega_vidhrdw.c...5033Compiling src/drivers/afega.c...5034Compiling src/vidhrdw/esd16_vidhrdw.c...5035Compiling src/drivers/esd16.c...5036Compiling src/drivers/royalmah.c...5037Compiling src/vidhrdw/hnayayoi_vidhrdw.c...5038Compiling src/drivers/hnayayoi.c...5039src/vidhrdw/hnayayoi_vidhrdw.c: In function 'draw_layer_interleaved':5040src/vidhrdw/hnayayoi_vidhrdw.c:222:31: warning: variable 'offs' set but not used [-Wunused-but-set-variable=]5041 222 | int county,countx,pen,offs;5042 | ^~~~5043Compiling src/vidhrdw/dynax_vidhrdw.c...5044src/vidhrdw/dynax_vidhrdw.c: In function 'hanamai_copylayer':5045src/vidhrdw/dynax_vidhrdw.c:623:35: warning: variable 'offs' set but not used [-Wunused-but-set-variable=]5046 623 | int dy,length,pen,offs;5047 | ^~~~5048src/vidhrdw/dynax_vidhrdw.c: In function 'mjdialq2_copylayer':5049src/vidhrdw/dynax_vidhrdw.c:680:35: warning: variable 'offs' set but not used [-Wunused-but-set-variable=]5050 680 | int dy,length,pen,offs;5051 | ^~~~5052Compiling src/drivers/dynax.c...5053In file included from src/driver.h:64,5054 from src/drivers/dynax.c:71:5055src/drivers/dynax.c:795:30: warning: 'roldfrog_writemem' defined but not used [-Wunused-const-variable=]5056 795 | static MEMORY_WRITE16_START( roldfrog_writemem )5057 | ^~~~~~~~~~~~~~~~~5058src/memory.h:553:56: note: in definition of macro 'MEMPORT_ARRAY_START'5059 553 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) },5060 | ^5061src/drivers/dynax.c:795:8: note: in expansion of macro 'MEMORY_WRITE16_START'5062 795 | static MEMORY_WRITE16_START( roldfrog_writemem )5063 | ^~~~~~~~~~~~~~~~~~~~5064src/drivers/dynax.c:785:29: warning: 'roldfrog_readmem' defined but not used [-Wunused-const-variable=]5065 785 | static MEMORY_READ16_START( roldfrog_readmem )5066 | ^~~~~~~~~~~~~~~~5067src/memory.h:553:56: note: in definition of macro 'MEMPORT_ARRAY_START'5068 553 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) },5069 | ^5070src/drivers/dynax.c:785:8: note: in expansion of macro 'MEMORY_READ16_START'5071 785 | static MEMORY_READ16_START( roldfrog_readmem )5072 | ^~~~~~~~~~~~~~~~~~~5073Compiling src/drivers/ddenlovr.c...5074Compiling src/drivers/realbrk.c...5075In file included from src/drivers/ddenlovr.c:79:5076src/drivers/ddenlovr.c:2090:23: warning: 'rtc_irq' defined but not used [-Wunused-function]5077 2090 | static INTERRUPT_GEN( rtc_irq )5078 | ^~~~~~~5079src/driver.h:21:46: note: in definition of macro 'INTERRUPT_GEN'5080 21 | #define INTERRUPT_GEN(func) void func(void)5081 | ^~~~5082Compiling src/vidhrdw/realbrk_vidhrdw.c...5083Compiling src/vidhrdw/crtc6845.c...5084Compiling src/vidhrdw/nyny_vidhrdw.c...5085Compiling src/drivers/nyny.c...5086Compiling src/drivers/r2dtank.c...5087Compiling src/machine/spiders_machine.c...5088Compiling src/vidhrdw/spiders_vidhrdw.c...5089Compiling src/drivers/spiders.c...5090Compiling src/vidhrdw/iqblock_vidhrdw.c...5091Compiling src/drivers/iqblock.c...5092Compiling src/drivers/chindrag.c...5093Compiling src/drivers/grtwall.c...5094Compiling src/vidhrdw/pgm_vidhrdw.c...5095In file included from src/drivers/chindrag.c:4:5096src/driver.h:19:46: warning: 'init_chindrag' defined but not used [-Wunused-function]5097 19 | #define DRIVER_INIT(name) void init_##name(void)5098 | ^~~~~5099src/drivers/chindrag.c:1702:8: note: in expansion of macro 'DRIVER_INIT'5100 1702 | static DRIVER_INIT( chindrag )5101 | ^~~~~~~~~~~5102src/drivers/chindrag.c:1625:13: warning: 'sound_irq' defined but not used [-Wunused-function]5103 1625 | static void sound_irq(int state)5104 | ^~~~~~~~~5105In file included from src/driver.h:64:5106src/drivers/chindrag.c:1060:25: warning: 'vbowl_unk_w' defined but not used [-Wunused-function]5107 1060 | static WRITE16_HANDLER( vbowl_unk_w )5108 | ^~~~~~~~~~~5109src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5110 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5111 | ^~~~5112src/drivers/chindrag.c:960:24: warning: 'xymg_magic_r' defined but not used [-Wunused-function]5113 960 | static READ16_HANDLER( xymg_magic_r )5114 | ^~~~~~~~~~~~5115src/memory.h:129:42: note: in definition of macro 'READ16_HANDLER'5116 129 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask)5117 | ^~~~5118src/drivers/chindrag.c:932:25: warning: 'xymg_magic_w' defined but not used [-Wunused-function]5119 932 | static WRITE16_HANDLER( xymg_magic_w )5120 | ^~~~~~~~~~~~5121src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5122 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5123 | ^~~~5124src/drivers/chindrag.c:847:24: warning: 'lhb_input2_r' defined but not used [-Wunused-function]5125 847 | static READ16_HANDLER( lhb_input2_r )5126 | ^~~~~~~~~~~~5127src/memory.h:129:42: note: in definition of macro 'READ16_HANDLER'5128 129 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask)5129 | ^~~~5130src/drivers/chindrag.c:830:25: warning: 'lhb_input2_w' defined but not used [-Wunused-function]5131 830 | static WRITE16_HANDLER( lhb_input2_w )5132 | ^~~~~~~~~~~~5133src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5134 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5135 | ^~~~5136src/drivers/chindrag.c:818:25: warning: 'lhb_okibank_w' defined but not used [-Wunused-function]5137 818 | static WRITE16_HANDLER( lhb_okibank_w )5138 | ^~~~~~~~~~~~~5139src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5140 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5141 | ^~~~5142src/drivers/chindrag.c:781:24: warning: 'grtwall_magic_r' defined but not used [-Wunused-function]5143 781 | static READ16_HANDLER( grtwall_magic_r )5144 | ^~~~~~~~~~~~~~~5145src/memory.h:129:42: note: in definition of macro 'READ16_HANDLER'5146 129 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask)5147 | ^~~~5148src/drivers/chindrag.c:754:25: warning: 'grtwall_magic_w' defined but not used [-Wunused-function]5149 754 | static WRITE16_HANDLER( grtwall_magic_w )5150 | ^~~~~~~~~~~~~~~5151src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5152 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5153 | ^~~~5154src/drivers/chindrag.c:641:24: warning: 'chmplst2_magic_r' defined but not used [-Wunused-function]5155 641 | static READ16_HANDLER( chmplst2_magic_r )5156 | ^~~~~~~~~~~~~~~~5157src/memory.h:129:42: note: in definition of macro 'READ16_HANDLER'5158 129 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask)5159 | ^~~~5160src/drivers/chindrag.c:600:25: warning: 'chmplst2_magic_w' defined but not used [-Wunused-function]5161 600 | static WRITE16_HANDLER( chmplst2_magic_w )5162 | ^~~~~~~~~~~~~~~~5163src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5164 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5165 | ^~~~5166src/drivers/chindrag.c:278:24: warning: 'igs_5_input_r' defined but not used [-Wunused-function]5167 278 | static READ16_HANDLER( igs_##NUM##_input_r ) \5168 | ^~~~5169src/memory.h:129:42: note: in definition of macro 'READ16_HANDLER'5170 129 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask)5171 | ^~~~5172src/drivers/chindrag.c:293:1: note: in expansion of macro 'IGS_INPUT_RW'5173 293 | IGS_INPUT_RW( 5 )5174 | ^~~~~~~~~~~~5175src/drivers/chindrag.c:270:25: warning: 'igs_5_input_w' defined but not used [-Wunused-function]5176 270 | static WRITE16_HANDLER( igs_##NUM##_input_w ) \5177 | ^~~~5178src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5179 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5180 | ^~~~5181src/drivers/chindrag.c:293:1: note: in expansion of macro 'IGS_INPUT_RW'5182 293 | IGS_INPUT_RW( 5 )5183 | ^~~~~~~~~~~~5184Compiling src/drivers/pgm.c...5185src/drivers/pgm.c: In function 'init_killbld':5186src/drivers/pgm.c:1939:9: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]5187 1939 | memset(kb_regs, 0, 0x10);5188 | ^~~~~~5189src/drivers/pgm.c: In function 'puzzli2_take_leveldata_value':5190src/drivers/pgm.c:2662:7: warning: declaration of 'num_mask_bits' shadows a global declaration [-Wshadow]5191 2662 | int num_mask_bits;5192 | ^~~~~~~~~~~~~5193src/drivers/pgm.c:2596:12: note: shadowed declaration is here5194 2596 | static int num_mask_bits;5195 | ^~~~~~~~~~~~~5196src/drivers/pgm.c:2663:7: warning: declaration of 'desired_mask' shadows a global declaration [-Wshadow]5197 2663 | int desired_mask;5198 | ^~~~~~~~~~~~5199src/drivers/pgm.c:2598:12: note: shadowed declaration is here5200 2598 | static int desired_mask;5201 | ^~~~~~~~~~~~5202src/drivers/pgm.c:2664:7: warning: declaration of 'realrow' shadows a global declaration [-Wshadow]5203 2664 | int realrow;5204 | ^~~~~~~5205src/drivers/pgm.c:2601:12: note: shadowed declaration is here5206 2601 | static int realrow;5207 | ^~~~~~~5208src/drivers/pgm.c: In function 'puzzli2_asic_w':5209src/drivers/pgm.c:2898:13: warning: declaration of 'columns' shadows a global declaration [-Wshadow]5210 2898 | int columns = 0;5211 | ^~~~~~~5212src/drivers/pgm.c:2597:12: note: shadowed declaration is here5213 2597 | static int columns;5214 | ^~~~~~~5215src/drivers/pgm.c:2899:13: warning: declaration of 'rows' shadows a global declaration [-Wshadow]5216 2899 | int rows = 0;5217 | ^~~~5218src/drivers/pgm.c:2600:12: note: shadowed declaration is here5219 2600 | static int rows;5220 | ^~~~5221src/drivers/pgm.c:2986:33: warning: declaration of 'leveldata' shadows a global declaration [-Wshadow]5222 2986 | UINT16* leveldata = &level_structure[0][0];5223 | ^~~~~~~~~5224src/drivers/pgm.c:2599:12: note: shadowed declaration is here5225 2599 | static int leveldata;5226 | ^~~~~~~~~5227src/drivers/pgm.c: At top level:5228src/drivers/pgm.c:2601:12: warning: 'realrow' defined but not used [-Wunused-variable]5229 2601 | static int realrow;5230 | ^~~~~~~5231src/drivers/pgm.c:2600:12: warning: 'rows' defined but not used [-Wunused-variable]5232 2600 | static int rows;5233 | ^~~~5234src/drivers/pgm.c:2599:12: warning: 'leveldata' defined but not used [-Wunused-variable]5235 2599 | static int leveldata;5236 | ^~~~~~~~~5237src/drivers/pgm.c:2598:12: warning: 'desired_mask' defined but not used [-Wunused-variable]5238 2598 | static int desired_mask;5239 | ^~~~~~~~~~~~5240src/drivers/pgm.c:2597:12: warning: 'columns' defined but not used [-Wunused-variable]5241 2597 | static int columns;5242 | ^~~~~~~5243src/drivers/pgm.c:2596:12: warning: 'num_mask_bits' defined but not used [-Wunused-variable]5244 2596 | static int num_mask_bits;5245 | ^~~~~~~~~~~~~5246Compiling src/machine/pgmprot_machine.c...5247Compiling src/machine/pgmcrypt.c...5248Compiling src/machine/pgmy2ks.c...5249Compiling src/vidhrdw/hitme_vidhrdw.c...5250Compiling src/drivers/hitme.c...5251Compiling src/vidhrdw/starcrus_vidhrdw.c...5252Compiling src/drivers/starcrus.c...5253Compiling src/vidhrdw/battlex_vidhrdw.c...5254Compiling src/drivers/battlex.c...5255In file included from src/vidhrdw/battlex_vidhrdw.c:3:5256src/includes/battlex.h:10:16: warning: 'battlex_in0_b4' defined but not used [-Wunused-variable]5257 10 | static uint8_t battlex_in0_b4;5258 | ^~~~~~~~~~~~~~5259Compiling src/vidhrdw/carjmbre_vidhrdw.c...5260Compiling src/drivers/carjmbre.c...5261Compiling src/vidhrdw/popper_vidhrdw.c...5262Compiling src/drivers/popper.c...5263Compiling src/vidhrdw/speedspn_vidhrdw.c...5264Compiling src/drivers/speedspn.c...5265Compiling src/vidhrdw/kickgoal_vidhrdw.c...5266Compiling src/drivers/kickgoal.c...5267Compiling src/vidhrdw/usgames_vidhrdw.c...5268Compiling src/drivers/usgames.c...5269src/drivers/kickgoal.c:238:34: warning: '/*' within comment [-Wcomment]5270 238 | /* { 0x800006, 0x800007, }, /* accessed in service menu, wheel maybe? */5271Compiling src/vidhrdw/mermaid_vidhrdw.c...5272Compiling src/drivers/mermaid.c...5273Compiling src/vidhrdw/drmicro_vidhrdw.c...5274Compiling src/drivers/drmicro.c...5275Compiling src/vidhrdw/appoooh_vidhrdw.c...5276Compiling src/drivers/appoooh.c...5277Compiling src/vidhrdw/bankp_vidhrdw.c...5278Compiling src/drivers/bankp.c...5279Compiling src/vidhrdw/mjkjidai_vidhrdw.c...5280Compiling src/drivers/mjkjidai.c...5281Compiling src/vidhrdw/mayumi_vidhrdw.c...5282Compiling src/drivers/mayumi.c...5283Compiling src/vidhrdw/btoads_vidhrdw.c...5284Compiling src/drivers/btoads.c...5285Compiling src/vidhrdw/kinst_vidhrdw.c...5286Compiling src/drivers/kinst.c...5287Compiling src/vidhrdw/freekick_vidhrdw.c...5288Compiling src/drivers/freekick.c...5289Compiling src/drivers/rmhaihai.c...5290Compiling src/drivers/hanaroku.c...5291Compiling src/drivers/yumefuda.c...5292Compiling src/vidhrdw/homedata_vidhrdw.c...5293Compiling src/drivers/homedata.c...5294Compiling src/vidhrdw/artmagic_vidhrdw.c...5295Compiling src/drivers/artmagic.c...5296Compiling src/vidhrdw/shangkid_vidhrdw.c...5297Compiling src/drivers/shangkid.c...5298Compiling src/vidhrdw/astinvad_vidhrdw.c...5299Compiling src/sndhrdw/astinvad_sndhrdw.c...5300Compiling src/drivers/astinvad.c...5301Compiling src/vidhrdw/spacefb_vidhrdw.c...5302Compiling src/drivers/spacefb.c...5303Compiling src/drivers/omegrace.c...5304src/drivers/spacefb.c: In function 'spacefb_port_1_w':5305src/drivers/spacefb.c:166:20: warning: variable 'explosion_playing' set but not used [-Wunused-but-set-variable=]5306 166 | static int explosion_playing = 0;5307 | ^~~~~~~~~~~~~~~~~5308Compiling src/vidhrdw/dday_vidhrdw.c...5309Compiling src/drivers/dday.c...5310Compiling src/vidhrdw/hexa_vidhrdw.c...5311Compiling src/drivers/hexa.c...5312Compiling src/vidhrdw/redalert_vidhrdw.c...5313Compiling src/sndhrdw/redalert_sndhrdw.c...5314Compiling src/drivers/redalert.c...5315Compiling src/machine/stactics_machine.c...5316Compiling src/vidhrdw/stactics_vidhrdw.c...5317Compiling src/drivers/stactics.c...5318Compiling src/vidhrdw/kingobox_vidhrdw.c...5319Compiling src/drivers/kingobox.c...5320Compiling src/vidhrdw/ambush_vidhrdw.c...5321Compiling src/drivers/ambush.c...5322Compiling src/drivers/dlair.c...5323Compiling src/vidhrdw/aztarac_vidhrdw.c...5324Compiling src/sndhrdw/aztarac_sndhrdw.c...5325Compiling src/drivers/aztarac.c...5326Compiling src/vidhrdw/mole_vidhrdw.c...5327Compiling src/drivers/mole.c...5328Compiling src/vidhrdw/gotya_vidhrdw.c...5329Compiling src/sndhrdw/gotya_sndhrdw.c...5330Compiling src/drivers/gotya.c...5331Compiling src/vidhrdw/mrjong_vidhrdw.c...5332Compiling src/drivers/mrjong.c...5333Compiling src/vidhrdw/polyplay_vidhrdw.c...5334Compiling src/sndhrdw/polyplay_sndhrdw.c...5335Compiling src/drivers/polyplay.c...5336Compiling src/vidhrdw/amspdwy_vidhrdw.c...5337Compiling src/drivers/amspdwy.c...5338Compiling src/vidhrdw/othldrby_vidhrdw.c...5339Compiling src/drivers/othldrby.c...5340Compiling src/vidhrdw/mosaic_vidhrdw.c...5341Compiling src/drivers/mosaic.c...5342Compiling src/drivers/spdbuggy.c...5343Compiling src/vidhrdw/sprcros2_vidhrdw.c...5344Compiling src/drivers/sprcros2.c...5345Compiling src/vidhrdw/mugsmash_vidhrdw.c...5346Compiling src/drivers/mugsmash.c...5347Compiling src/vidhrdw/stlforce_vidhrdw.c...5348Compiling src/drivers/stlforce.c...5349src/vidhrdw/stlforce_vidhrdw.c:196:13: warning: 'draw_sprites_old' defined but not used [-Wunused-function]5350 196 | static void draw_sprites_old( struct mame_bitmap *bitmap, const struct rectangle *cliprect )5351 | ^~~~~~~~~~~~~~~~5352Compiling src/vidhrdw/gcpinbal_vidhrdw.c...5353Compiling src/drivers/gcpinbal.c...5354Compiling src/vidhrdw/aquarium_vidhrdw.c...5355Compiling src/drivers/aquarium.c...5356Compiling src/vidhrdw/policetr_vidhrdw.c...5357Compiling src/drivers/policetr.c...5358Compiling src/vidhrdw/pass_vidhrdw.c...5359Compiling src/drivers/pass.c...5360Compiling src/vidhrdw/news_vidhrdw.c...5361Compiling src/drivers/news.c...5362Compiling src/vidhrdw/taxidrvr_vidhrdw.c...5363Compiling src/drivers/taxidrvr.c...5364Compiling src/vidhrdw/xyonix_vidhrdw.c...5365Compiling src/drivers/xyonix.c...5366Compiling src/drivers/findout.c...5367Compiling src/vidhrdw/dribling_vidhrdw.c...5368Compiling src/drivers/dribling.c...5369Compiling src/drivers/ace.c...5370Compiling src/vidhrdw/clayshoo_vidhrdw.c...5371Compiling src/machine/clayshoo_machine.c...5372Compiling src/drivers/clayshoo.c...5373Compiling src/vidhrdw/pirates_vidhrdw.c...5374Compiling src/drivers/pirates.c...5375Compiling src/vidhrdw/fitfight_vidhrdw.c...5376Compiling src/drivers/fitfight.c...5377Compiling src/vidhrdw/flower_vidhrdw.c...5378Compiling src/sndhrdw/flower_sndhrdw.c...5379Compiling src/drivers/flower.c...5380Compiling src/vidhrdw/diverboy_vidhrdw.c...5381Compiling src/drivers/diverboy.c...5382Compiling src/vidhrdw/beaminv_vidhrdw.c...5383Compiling src/drivers/beaminv.c...5384Compiling src/vidhrdw/mcatadv_vidhrdw.c...5385Compiling src/drivers/mcatadv.c...5386Compiling src/vidhrdw/4enraya_vidhrdw.c...5387In file included from src/driver.h:64,5388 from src/drivers/mcatadv.c:60:5389src/drivers/mcatadv.c:89:25: warning: 'mcat_coin_w' defined but not used [-Wunused-function]5390 89 | static WRITE16_HANDLER( mcat_coin_w )5391 | ^~~~~~~~~~~5392src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5393 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5394 | ^~~~5395Compiling src/drivers/4enraya.c...5396Compiling src/vidhrdw/oneshot_vidhrdw.c...5397Compiling src/drivers/oneshot.c...5398Compiling src/drivers/tugboat.c...5399Compiling src/vidhrdw/gotcha_vidhrdw.c...5400Compiling src/drivers/gotcha.c...5401Compiling src/drivers/coolpool.c...5402Compiling src/vidhrdw/gumbo_vidhrdw.c...5403Compiling src/drivers/gumbo.c...5404Compiling src/drivers/statriv2.c...5405Compiling src/vidhrdw/tickee_vidhrdw.c...5406Compiling src/drivers/tickee.c...5407Compiling src/vidhrdw/crgolf_vidhrdw.c...5408Compiling src/drivers/crgolf.c...5409Compiling src/vidhrdw/truco_vidhrdw.c...5410Compiling src/drivers/truco.c...5411Compiling src/vidhrdw/thedeep_vidhrdw.c...5412Compiling src/drivers/thedeep.c...5413Compiling src/vidhrdw/fantland_vidhrdw.c...5414Compiling src/drivers/fantland.c...5415Compiling src/drivers/wallc.c...5416Compiling src/drivers/skyarmy.c...5417src/drivers/fantland.c:965:1: warning: missing braces around initializer [-Wmissing-braces]5418 965 | {5419 | ^5420......5421 969 | wheelrun_ym3526_irqhandler5422 | {5423 970 | };5424 | }5425In file included from src/drivers/fantland.c:36:5426src/drivers/fantland.c: In function 'construct_wheelrun':5427src/driver.h:247:57: warning: passing argument 4 of 'machine_add_sound' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5428 247 | machine_add_sound(machine, (tag), SOUND_##type, &(interface)); \5429 | ^~~~~~~~~~~~5430src/driver.h:250:9: note: in expansion of macro 'MDRV_SOUND_ADD_TAG'5431 250 | MDRV_SOUND_ADD_TAG(NULL, type, interface) \5432 | ^~~~~~~~~~~~~~~~~~5433src/drivers/fantland.c:1005:9: note: in expansion of macro 'MDRV_SOUND_ADD'5434 1005 | MDRV_SOUND_ADD(YM3526, wheelrun_ym3526_interface )5435 | ^~~~~~~~~~~~~~5436src/driver.h:270:112: note: expected 'void *' but argument is of type 'const struct YM3812interface *'5437 270 | struct MachineSound *machine_add_sound(struct InternalMachineDriver *machine, const char *tag, int type, void *sndintf);5438 | ~~~~~~^~~~~~~5439Compiling src/vidhrdw/lethalj_vidhrdw.c...5440Compiling src/drivers/lethalj.c...5441Compiling src/vidhrdw/sbugger_vidhrdw.c...5442Compiling src/drivers/sbugger.c...5443Compiling src/vidhrdw/portrait_vidhrdw.c...5444Compiling src/drivers/portrait.c...5445Compiling src/drivers/enigma2.c...5446Compiling src/drivers/ltcasino.c...5447Compiling src/drivers/vamphalf.c...5448Compiling src/drivers/strvmstr.c...5449Compiling src/vidhrdw/dorachan_vidhrdw.c...5450Compiling src/drivers/dorachan.c...5451Compiling src/vidhrdw/ladyfrog_vidhrdw.c...5452Compiling src/drivers/ladyfrog.c...5453Compiling src/drivers/rabbit.c...5454Compiling src/drivers/malzak.c...5455Compiling src/vidhrdw/malzak_vidhrdw.c...5456src/drivers/rabbit.c: In function 'rabbit_rombank_w':5457src/drivers/rabbit.c:488:13: warning: variable 'bank' set but not used [-Wunused-but-set-variable=]5458 488 | int bank;5459 | ^~~~5460Compiling src/drivers/supertnk.c...5461In file included from src/drivers/malzak.c:26:5462src/drivers/malzak.c:335:23: warning: 'malzak_interrupt' defined but not used [-Wunused-function]5463 335 | static INTERRUPT_GEN( malzak_interrupt )5464 | ^~~~~~~~~~~~~~~~5465src/driver.h:21:46: note: in definition of macro 'INTERRUPT_GEN'5466 21 | #define INTERRUPT_GEN(func) void func(void)5467 | ^~~~5468Compiling src/vidhrdw/crospang_vidhrdw.c...5469src/vidhrdw/crospang_vidhrdw.c: In function 'draw_sprites':5470src/vidhrdw/crospang_vidhrdw.c:87:41: warning: variable 'attr' set but not used [-Wunused-but-set-variable=]5471 87 | int offs,fx,fy,x,y,color,sprite,attr,dy,ay,flag;5472 | ^~~~5473Compiling src/drivers/crospang.c...5474Compiling src/drivers/funybubl.c...5475Compiling src/drivers/dreamwld.c...5476Compiling src/machine/seicop.c...5477In file included from src/driver.h:64,5478 from src/drivers/funybubl.c:17:5479src/drivers/funybubl.c:64:23: warning: 'unk_port_r' defined but not used [-Wunused-function]5480 64 | static READ_HANDLER ( unk_port_r )5481 | ^~~~~~~~~~5482src/memory.h:127:50: note: in definition of macro 'READ_HANDLER'5483 127 | #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset)5484 | ^~~~5485Compiling src/vidhrdw/denjinmk.c...5486Compiling src/drivers/driver_denjinmk.c...5487src/vidhrdw/denjinmk.c:106:13: warning: 'get_fore_tile_info' defined but not used [-Wunused-function]5488 106 | static void get_fore_tile_info(int tile_index) /* this is giving bad tiles... */5489 | ^~~~~~~~~~~~~~~~~~5490src/vidhrdw/denjinmk.c:82:13: warning: 'get_mid_tile_info' defined but not used [-Wunused-function]5491 82 | static void get_mid_tile_info(int tile_index)5492 | ^~~~~~~~~~~~~~~~~5493Compiling src/drivers/simpl156.c...5494Compiling src/drivers/boogwing.c...5495src/drivers/simpl156.c: In function 'nvram_handler_prtytime':5496src/drivers/simpl156.c:730:49: warning: passing argument 1 of 'EEPROM_set_data' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5497 730 | EEPROM_set_data(simpl156_default_eeprom,0x100);5498 | ^~~~~~~~~~~~~~~~~~~~~~~5499In file included from src/drivers/simpl156.c:93:5500src/machine/eeprom.h:29:29: note: expected 'UINT8 *' {aka 'unsigned char *'} but argument is of type 'const UINT8 *' {aka 'const unsigned char *'}5501 29 | void EEPROM_set_data(UINT8 *data, int length);5502 | ~~~~~~~^~~~5503Compiling src/drivers/dietgo.c...5504src/drivers/simpl156.c: At top level:5505src/drivers/simpl156.c:101:21: warning: 'prtytime_default_eeprom' defined but not used [-Wunused-variable]5506 101 | static const UINT8 *prtytime_default_eeprom = NULL;5507 | ^~~~~~~~~~~~~~~~~~~~~~~5508Compiling src/drivers/pktgaldx.c...5509Compiling src/drivers/dblewing.c...5510Compiling src/drivers/mwarr.c...5511Compiling src/drivers/backfire.c...5512Compiling src/drivers/pturn.c...5513Compiling src/vidhrdw/suprridr_vidhrdw.c...5514Compiling src/drivers/suprridr.c...5515Compiling src/drivers/vmetal.c...5516Compiling src/drivers/deco156.c...5517Compiling src/drivers/1945kiii.c...5518Compiling src/drivers/madalien.c...5519Compiling src/drivers/n8080.c...5520Compiling src/drivers/mirax.c...5521Compiling src/machine/model1_machine.c...5522Compiling src/vidhrdw/model1_vidhrdw.c...5523src/machine/model1_machine.c: In function 'track_read_info':5524src/machine/model1_machine.c:870:13: warning: variable 'offd' set but not used [-Wunused-but-set-variable=]5525 870 | int offd;5526 | ^~~~5527src/machine/model1_machine.c: In function 'track_lookup':5528src/machine/model1_machine.c:1039:39: warning: declaration of 'd' shadows a previous local [-Wshadow]5529 1039 | float d = (a-z)*(a-z);5530 | ^5531src/machine/model1_machine.c:1005:15: note: shadowed declaration is here5532 1005 | float d = fifoin_pop_f();5533 | ^5534src/machine/model1_machine.c:1009:22: warning: variable 'behaviour' set but not used [-Wunused-but-set-variable=]5535 1009 | unsigned int behaviour, entry;5536 | ^~~~~~~~~5537src/machine/model1_machine.c: In function 'groundbox_test':5538src/machine/model1_machine.c:1376:18: warning: variable 'y' set but not used [-Wunused-but-set-variable=]5539 1376 | float x, y, z;5540 | ^5541Compiling src/drivers/model1.c...5542Compiling src/drivers/calorie.c...5543src/vidhrdw/model1_vidhrdw.c: In function 'push_object':5544src/vidhrdw/model1_vidhrdw.c:737:13: warning: variable 'dump' set but not used [-Wunused-but-set-variable=]5545 737 | int dump;5546 | ^~~~5547src/vidhrdw/model1_vidhrdw.c: In function 'push_direct':5548src/vidhrdw/model1_vidhrdw.c:941:34: warning: variable 'v2' set but not used [-Wunused-but-set-variable=]5549 941 | UINT32 tex_adr, lum, v1, v2;5550 | ^~5551src/vidhrdw/model1_vidhrdw.c:941:30: warning: variable 'v1' set but not used [-Wunused-but-set-variable=]5552 941 | UINT32 tex_adr, lum, v1, v2;5553 | ^~5554src/vidhrdw/model1_vidhrdw.c: At top level:5555src/vidhrdw/model1_vidhrdw.c:703:28: warning: 'times' defined but not used [-Wunused-const-variable=]5556 703 | static const unsigned char times[]={1,1,1,1,2,2,2,3};5557 | ^~~~~5558src/vidhrdw/model1_vidhrdw.c:482:15: warning: 'scale_color' defined but not used [-Wunused-function]5559 482 | static UINT16 scale_color(UINT16 color, float level)5560 | ^~~~~~~~~~~5561src/vidhrdw/model1_vidhrdw.c:83:15: warning: 'f2u' defined but not used [-Wunused-function]5562 83 | static UINT32 f2u(float f)5563 | ^~~5564Compiling src/machine/mc8123.c...5565Compiling src/machine/namcoio_machine.c...5566Compiling src/drivers/tatsumi.c...5567Compiling src/vidhrdw/tatsumi.c...5568src/vidhrdw/tatsumi.c: In function 'draw_bg':5569src/vidhrdw/tatsumi.c:964:67: warning: passing argument 1 of 'tilemap_get_pixmap' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5570 964 | const struct mame_bitmap *src_bitmap = tilemap_get_pixmap(src);5571 | ^~~5572In file included from src/driver.h:79,5573 from src/vidhrdw/tatsumi.c:1:5574src/tilemap.h:149:58: note: expected 'struct tilemap *' but argument is of type 'const struct tilemap *'5575 149 | struct mame_bitmap *tilemap_get_pixmap( struct tilemap * tilemap );5576 | ~~~~~~~~~~~~~~~~~^~~~~~~5577Compiling src/machine/tatsumi.c...5578Compiling src/cpu/z80/z80.c...5579Compiling src/cpu/adsp2100/adsp2100.c...5580Compiling src/cpu/z180/z180.c...5581src/cpu/z180/z180.c: In function 'z180_set_irq_callback':5582src/cpu/z180/z180.c:2439:97: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]5583 2439 | log_cb(RETRO_LOG_DEBUG, LOGPRE "Z180 #%d set_irq_callback $%08x\n",cpu_getactivecpu() , (int)callback);5584 | ^5585Compiling src/cpu/i8085/i8085.c...5586src/cpu/i8085/i8085.c:172:14: warning: 'illegal' defined but not used [-Wunused-function]5587 172 | static void illegal(void)5588 | ^~~~~~~5589Compiling src/cpu/m6502/m6502.c...5590In file included from src/cpu/m6502/m6502.c:143:5591src/cpu/m6502/t65c02.c: In function 'm65c02_1a':5592src/cpu/m6502/opsc02.h:187:11: warning: operation on 'm6502.a' may be undefined [-Wsequence-point]5593 187 | A = (UINT8)++A; \5594src/cpu/m6502/t65c02.c:223:58: note: in expansion of macro 'INA'5595 223 | OP(1a) { m6502_ICount -= 2; INA; } /* 2 INA */5596 | ^~~5597src/cpu/m6502/t65c02.c: In function 'm65c02_3a':5598src/cpu/m6502/opsc02.h:180:11: warning: operation on 'm6502.a' may be undefined [-Wsequence-point]5599 180 | A = (UINT8)--A; \5600src/cpu/m6502/t65c02.c:224:58: note: in expansion of macro 'DEA'5601 224 | OP(3a) { m6502_ICount -= 2; DEA; } /* 2 DEA */5602 | ^~~5603In file included from src/cpu/m6502/m6502.c:154:5604src/cpu/m6502/tdeco16.c: In function 'deco16_67':5605src/cpu/m6502/tdeco16.c:185:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable=]5606 185 | int tmp; m6502_ICount -= 2; RD_IMM;5607 | ^~~5608In file included from src/cpu/z180/z180.c:763:5609src/cpu/z180/z180op.c: In function 'take_interrupt.part.0':5610src/cpu/z180/z180op.c:516:46: warning: array subscript 78 is above array bounds of 'UINT8[64]' {aka 'unsigned char[64]'} [-Warray-bounds=]5611 516 | irq_vector = (Z180.io[Z180_IL] & Z180_IL_IL) + irq * 2;5612 | ~~~~~~~^~~~~~~~~5613src/cpu/z180/z180.c:73:25: note: while referencing 'io'5614 73 | /* 40 */ UINT8 io[64]; /* 64 internal 8 bit registers */5615 | ^~5616Compiling src/cpu/h6280/h6280.c...5617In file included from src/cpu/h6280/h6280.c:133:5618src/cpu/h6280/tblh6280.c: In function 'h6280_088':5619src/cpu/h6280/h6280ops.h:587:11: warning: operation on 'h6280.y' may be undefined [-Wsequence-point]5620 587 | Y = (UINT8)--Y; \5621 | ^5622src/cpu/h6280/tblh6280.c:171:59: note: in expansion of macro 'DEY'5623 171 | OP(_088) { h6280_ICount -= 2; DEY; } /* 2 DEY*/5624 | ^~~5625src/cpu/h6280/tblh6280.c: In function 'h6280_0c8':5626src/cpu/h6280/h6280ops.h:629:11: warning: operation on 'h6280.y' may be undefined [-Wsequence-point]5627 629 | Y = (UINT8)++Y; \5628 | ^5629src/cpu/h6280/tblh6280.c:173:59: note: in expansion of macro 'INY'5630 173 | OP(_0c8) { h6280_ICount -= 2; INY; } /* 2 INY*/5631 | ^~~5632src/cpu/h6280/tblh6280.c: In function 'h6280_0e8':5633src/cpu/h6280/h6280ops.h:622:11: warning: operation on 'h6280.x' may be undefined [-Wsequence-point]5634 622 | X = (UINT8)++X; \5635 | ^5636src/cpu/h6280/tblh6280.c:174:59: note: in expansion of macro 'INX'5637 174 | OP(_0e8) { h6280_ICount -= 2; INX; } /* 2 INX*/5638 | ^~~5639src/cpu/h6280/tblh6280.c: In function 'h6280_0ca':5640src/cpu/h6280/h6280ops.h:580:11: warning: operation on 'h6280.x' may be undefined [-Wsequence-point]5641 580 | X = (UINT8)--X; \5642 | ^5643src/cpu/h6280/tblh6280.c:209:59: note: in expansion of macro 'DEX'5644 209 | OP(_0ca) { h6280_ICount -= 2; DEX; } /* 2 DEX*/5645 | ^~~5646src/cpu/h6280/tblh6280.c: In function 'h6280_01a':5647src/cpu/h6280/h6280ops.h:608:11: warning: operation on 'h6280.a' may be undefined [-Wsequence-point]5648 608 | A = (UINT8)++A; \5649 | ^5650src/cpu/h6280/tblh6280.c:212:59: note: in expansion of macro 'INA'5651 212 | OP(_01a) { h6280_ICount -= 2; INA; } /* 2 INC A*/5652 | ^~~5653src/cpu/h6280/tblh6280.c: In function 'h6280_03a':5654src/cpu/h6280/h6280ops.h:566:11: warning: operation on 'h6280.a' may be undefined [-Wsequence-point]5655 566 | A = (UINT8)--A; \5656 | ^5657src/cpu/h6280/tblh6280.c:213:59: note: in expansion of macro 'DEA'5658 213 | OP(_03a) { h6280_ICount -= 2; DEA; } /* 2 DEC A*/5659 | ^~~5660Compiling src/cpu/i86/i86.c...5661In file included from src/cpu/i86/i86.c:98:5662src/cpu/i86/instr86.c: In function 'i86_aas':5663src/cpu/i86/instr86.c:1162:15: warning: variable 'ALcarry' set but not used [-Wunused-but-set-variable=]5664 1162 | UINT8 ALcarry=1;5665 | ^~~~~~~5666In file included from src/cpu/i86/i86.c:16:5667src/cpu/i86/i86.c: In function 'i86_get_reg':5668src/cpu/i86/i86.h:102:25: warning: statement with no effect [-Wunused-value]5669 102 | #define CompressFlags() (WORD)(CF | (PF << 2) | (AF << 4) | (ZF << 6) \5670 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~5671 103 | | (SF << 7) | (I.TF << 8) | (I.IF << 9) \5672 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~5673 104 | | (DF << 10) | (OF << 11))5674 | ~~~~~~~~~~~~~~~~~~~~~~~~~~5675src/cpu/i86/i86.c:203:41: note: in expansion of macro 'CompressFlags'5676 203 | case I86_FLAGS: CompressFlags(); return I.flags;5677 | ^~~~~~~~~~~~~5678In file included from src/cpu/i86/i86.c:452:5679src/cpu/i86/instr186.c: In function 'i186_popa':5680src/cpu/i86/instr186.c:36:19: warning: variable 'tmp' set but not used [-Wunused-but-set-variable=]5681 36 | unsigned tmp;5682 | ^~~5683Compiling src/cpu/nec/nec.c...5684src/cpu/nec/nec.c: In function 'i_popa':5685src/cpu/nec/nec.c:392:14: warning: variable 'tmp' set but not used [-Wunused-but-set-variable=]5686 392 | unsigned tmp;5687 | ^~~5688src/cpu/nec/nec.c: In function 'i_aam':5689src/cpu/nec/nec.c:765:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable=]5690 765 | 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); }5691 | ^~~~5692src/cpu/nec/nec.c: In function 'i_aad':5693src/cpu/nec/nec.c:766:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable=]5694 766 | 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); }5695 | ^~~~5696src/cpu/nec/nec.c: In function 'v30_info':5697src/cpu/nec/nec.c:1223:15: warning: variable 'r' set but not used [-Wunused-but-set-variable=]5698 1223 | nec_Regs *r = context;5699 | ^5700src/cpu/nec/nec.c:1221:17: warning: variable 'buffer' set but not used [-Wunused-but-set-variable=]5701 1221 | static char buffer[32][63+1];5702 | ^~~~~~5703src/cpu/nec/nec.c: In function 'v33_info':5704src/cpu/nec/nec.c:1275:15: warning: variable 'r' set but not used [-Wunused-but-set-variable=]5705 1275 | nec_Regs *r = context;5706 | ^5707src/cpu/nec/nec.c:1273:17: warning: variable 'buffer' set but not used [-Wunused-but-set-variable=]5708 1273 | static char buffer[32][63+1];5709 | ^~~~~~5710src/cpu/nec/nec.c: At top level:5711src/cpu/nec/nec.c:135:13: warning: 'I' is static but used in inline function 'fetchop' which is not static5712 135 | if (I.MF == 1)5713 | ^5714src/cpu/nec/nec.c:133:49: warning: 'I' is static but used in inline function 'fetchop' which is not static5715 133 | UINT8 ret = cpu_readop((I.sregs[CS]<<4)+I.ip++);5716 | ^5717src/cpu/nec/nec.c:133:33: warning: 'I' is static but used in inline function 'fetchop' which is not static5718 133 | UINT8 ret = cpu_readop((I.sregs[CS]<<4)+I.ip++);5719 | ^5720src/cpu/nec/nec.c:133:21: warning: 'cpu_readop' is static but used in inline function 'fetchop' which is not static5721 133 | UINT8 ret = cpu_readop((I.sregs[CS]<<4)+I.ip++);5722 | ^~~~~~~~~~5723Compiling src/cpu/v60/v60.c...5724In file included from src/cpu/v60/v60.c:329:5725src/cpu/v60/op2.c:71:14: warning: 'truncf_c89' defined but not used [-Wunused-function]5726 71 | static float truncf_c89(float x)5727 | ^~~~~~~~~~5728Compiling src/cpu/v60/v60d.c...5729Compiling src/cpu/i8039/i8039.c...5730Compiling src/cpu/i8x41/i8x41.c...5731Compiling src/cpu/m6800/m6800.c...5732In file included from src/cpu/m6800/m6800.c:540:5733src/cpu/m6800/6800ops.c: In function 'brn':5734src/cpu/m6800/6800ops.c:251:15: warning: variable 't' set but not used [-Wunused-but-set-variable=]5735 251 | UINT8 t;5736 | ^5737src/cpu/m6800/m6800.c: In function 'm6800_set_irq_line':5738src/cpu/m6800/m6800.c:697:21: warning: variable 'eddge' set but not used [-Wunused-but-set-variable=]5739 697 | int eddge;5740 | ^~~~~5741Compiling src/cpu/m6805/m6805.c...5742In file included from src/cpu/m6805/m6805.c:531:5743src/cpu/m6805/6805ops.c: In function 'brn':5744src/cpu/m6805/6805ops.c:111:15: warning: variable 't' set but not used [-Wunused-but-set-variable=]5745 111 | UINT8 t;5746 | ^5747Compiling src/cpu/hd6309/hd6309.c...5748In file included from src/cpu/hd6309/hd6309.c:761:5749src/cpu/hd6309/6309ops.c: In function 'brn':5750src/cpu/hd6309/6309ops.c:500:15: warning: variable 't' set but not used [-Wunused-but-set-variable=]5751 500 | UINT8 t;5752 | ^5753Compiling src/cpu/m6809/m6809.c...5754Compiling src/cpu/konami/konami.c...5755In file included from src/cpu/m6809/m6809.c:666:5756src/cpu/m6809/6809ops.c: In function 'brn':5757src/cpu/m6809/6809ops.c:410:15: warning: variable 't' set but not used [-Wunused-but-set-variable=]5758 410 | UINT8 t;5759 | ^5760In file included from src/cpu/konami/konami.c:673:5761src/cpu/konami/konamops.c: In function 'brn':5762src/cpu/konami/konamops.c:328:15: warning: variable 't' set but not used [-Wunused-but-set-variable=]5763 328 | UINT8 t;5764 | ^5765Compiling src/cpu/m68000/m68kops.c...5766Compiling src/cpu/m68000/m68kopac.c...5767Compiling src/cpu/m68000/m68kopdm.c...5768Compiling src/cpu/m68000/m68kopnz.c...5769Compiling src/cpu/m68000/m68kcpu.c...5770src/cpu/m68000/m68kcpu.c:56:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5771 56 | "Invalid CPU",5772 | ^~~~~~~~~~~~~5773src/cpu/m68000/m68kcpu.c:57:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5774 57 | "M68000",5775 | ^~~~~~~~5776src/cpu/m68000/m68kcpu.c:58:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5777 58 | "M68010",5778 | ^~~~~~~~5779src/cpu/m68000/m68kcpu.c:59:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5780 59 | "Invalid CPU",5781 | ^~~~~~~~~~~~~5782src/cpu/m68000/m68kcpu.c:60:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5783 60 | "M68EC020"5784 | ^~~~~~~~~~5785src/cpu/m68000/m68kcpu.c:62:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5786 62 | "Invalid CPU",5787 | ^~~~~~~~~~~~~5788src/cpu/m68000/m68kcpu.c:63:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5789 63 | "Invalid CPU",5790 | ^~~~~~~~~~~~~5791src/cpu/m68000/m68kcpu.c:64:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5792 64 | "M68020"5793 | ^~~~~~~~5794Compiling src/cpu/m68000/m68kmame.c...5795Compiling src/cpu/t11/t11.c...5796Compiling src/cpu/s2650/s2650.c...5797Compiling src/cpu/tms34010/tms34010.c...5798Compiling src/cpu/tms34010/34010fld.c...5799Compiling src/cpu/tms9900/tms9980a.c...5800Compiling src/cpu/tms9900/tms9995.c...5801Compiling src/cpu/tms9900/tms9900.c...5802Compiling src/cpu/z8000/z8000.c...5803Compiling src/cpu/tms32010/tms32010.c...5804Compiling src/cpu/tms32025/tms32025.c...5805Compiling src/cpu/tms32031/tms32031.c...5806src/cpu/tms32031/tms32031.c: In function 'tms32031_get_reg':5807src/cpu/tms32031/tms32031.c:498:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5808 498 | case TMS32031_R0F: temp = dsp_to_double(&tms32031.r[TMR_R0]); return *(UINT32 *)&temp;5809 | ^~~~~~~~~~~~~~~5810src/cpu/tms32031/tms32031.c:499:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5811 499 | case TMS32031_R1F: temp = dsp_to_double(&tms32031.r[TMR_R1]); return *(UINT32 *)&temp;5812 | ^~~~~~~~~~~~~~~5813src/cpu/tms32031/tms32031.c:500:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5814 500 | case TMS32031_R2F: temp = dsp_to_double(&tms32031.r[TMR_R2]); return *(UINT32 *)&temp;5815 | ^~~~~~~~~~~~~~~5816src/cpu/tms32031/tms32031.c:501:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5817 501 | case TMS32031_R3F: temp = dsp_to_double(&tms32031.r[TMR_R3]); return *(UINT32 *)&temp;5818 | ^~~~~~~~~~~~~~~5819src/cpu/tms32031/tms32031.c:502:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5820 502 | case TMS32031_R4F: temp = dsp_to_double(&tms32031.r[TMR_R4]); return *(UINT32 *)&temp;5821 | ^~~~~~~~~~~~~~~5822src/cpu/tms32031/tms32031.c:503:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5823 503 | case TMS32031_R5F: temp = dsp_to_double(&tms32031.r[TMR_R5]); return *(UINT32 *)&temp;5824 | ^~~~~~~~~~~~~~~5825src/cpu/tms32031/tms32031.c:504:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5826 504 | case TMS32031_R6F: temp = dsp_to_double(&tms32031.r[TMR_R6]); return *(UINT32 *)&temp;5827 | ^~~~~~~~~~~~~~~5828src/cpu/tms32031/tms32031.c:505:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5829 505 | case TMS32031_R7F: temp = dsp_to_double(&tms32031.r[TMR_R7]); return *(UINT32 *)&temp;5830 | ^~~~~~~~~~~~~~~5831src/cpu/tms32031/tms32031.c: In function 'tms32031_set_reg':5832src/cpu/tms32031/tms32031.c:559:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5833 559 | case TMS32031_R0F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R0]); break;5834 | ^~~~~~~~~~~~~5835src/cpu/tms32031/tms32031.c:560:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5836 560 | case TMS32031_R1F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R1]); break;5837 | ^~~~~~~~~~~~~5838src/cpu/tms32031/tms32031.c:561:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5839 561 | case TMS32031_R2F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R2]); break;5840 | ^~~~~~~~~~~~~5841src/cpu/tms32031/tms32031.c:562:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5842 562 | case TMS32031_R3F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R3]); break;5843 | ^~~~~~~~~~~~~5844src/cpu/tms32031/tms32031.c:563:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5845 563 | case TMS32031_R4F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R4]); break;5846 | ^~~~~~~~~~~~~5847src/cpu/tms32031/tms32031.c:564:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5848 564 | case TMS32031_R5F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R5]); break;5849 | ^~~~~~~~~~~~~5850src/cpu/tms32031/tms32031.c:565:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5851 565 | case TMS32031_R6F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R6]); break;5852 | ^~~~~~~~~~~~~5853src/cpu/tms32031/tms32031.c:566:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5854 566 | case TMS32031_R7F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R7]); break;5855 | ^~~~~~~~~~~~~5856src/cpu/tms32031/tms32031.c: In function 'boot_loader':5857src/cpu/tms32031/tms32031.c:748:22: warning: variable 'control' set but not used [-Wunused-but-set-variable=]5858 748 | UINT32 bits, control, advance;5859 | ^~~~~~~5860Compiling src/cpu/ccpu/ccpu.c...5861src/cpu/ccpu/ccpu.c: In function 'opJEI_A_A':5862src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5863 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25864 | ^~~~~~~~~~~5865src/cpu/ccpu/ccpu.c:1664:25: note: in expansion of macro 'JMP'5866 1664 | JMP();5867 | ^~~5868src/cpu/ccpu/ccpu.c:1663:17: note: some parts of macro expansion are not guarded by this 'if' clause5869 1663 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKY) - (CINESWORD)FromX) < 0x800)5870 | ^~5871src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5872 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25873 | ^~~~~~~~~~~5874src/cpu/ccpu/ccpu.c:1669:25: note: in expansion of macro 'JMP'5875 1669 | JMP();5876 | ^~~5877src/cpu/ccpu/ccpu.c:1668:17: note: some parts of macro expansion are not guarded by this 'if' clause5878 1668 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800)5879 | ^~5880src/cpu/ccpu/ccpu.c: In function 'opJEI_B_BB':5881src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5882 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25883 | ^~~~~~~~~~~5884src/cpu/ccpu/ccpu.c:1682:25: note: in expansion of macro 'JMP'5885 1682 | JMP();5886 | ^~~5887src/cpu/ccpu/ccpu.c:1681:17: note: some parts of macro expansion are not guarded by this 'if' clause5888 1681 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKY) - (CINESWORD)FromX) < 0x800)5889 | ^~5890src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5891 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25892 | ^~~~~~~~~~~5893src/cpu/ccpu/ccpu.c:1687:25: note: in expansion of macro 'JMP'5894 1687 | JMP();5895 | ^~~5896src/cpu/ccpu/ccpu.c:1686:17: note: some parts of macro expansion are not guarded by this 'if' clause5897 1686 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800)5898 | ^~5899src/cpu/ccpu/ccpu.c: In function 'opJEI_A_B':5900src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5901 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25902 | ^~~~~~~~~~~5903src/cpu/ccpu/ccpu.c:1700:25: note: in expansion of macro 'JMP'5904 1700 | JMP();5905 | ^~~5906src/cpu/ccpu/ccpu.c:1699:17: note: some parts of macro expansion are not guarded by this 'if' clause5907 1699 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKY) - (CINESWORD)FromX) < 0x800)5908 | ^~5909src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5910 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25911 | ^~~~~~~~~~~5912src/cpu/ccpu/ccpu.c:1705:25: note: in expansion of macro 'JMP'5913 1705 | JMP();5914 | ^~~5915src/cpu/ccpu/ccpu.c:1704:17: note: some parts of macro expansion are not guarded by this 'if' clause5916 1704 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800)5917 | ^~5918src/cpu/ccpu/ccpu.c: In function 'opJMI_A_A':5919src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5920 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25921 | ^~~~~~~~~~~5922src/cpu/ccpu/ccpu.c:1721:17: note: in expansion of macro 'JMP'5923 1721 | JMP(); /* yes -- do jump */5924 | ^~~5925src/cpu/ccpu/ccpu.c:1720:9: note: some parts of macro expansion are not guarded by this 'if' clause5926 1720 | if (register_A & 0x800)5927 | ^~5928src/cpu/ccpu/ccpu.c: In function 'opJMI_AA_A':5929src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5930 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25931 | ^~~~~~~~~~~5932src/cpu/ccpu/ccpu.c:1730:17: note: in expansion of macro 'JMP'5933 1730 | JMP();5934 | ^~~5935src/cpu/ccpu/ccpu.c:1729:9: note: some parts of macro expansion are not guarded by this 'if' clause5936 1729 | if (cmp_old & 0x800)5937 | ^~5938src/cpu/ccpu/ccpu.c: In function 'opJMI_BB_A':5939src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5940 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25941 | ^~~~~~~~~~~5942src/cpu/ccpu/ccpu.c:1738:17: note: in expansion of macro 'JMP'5943 1738 | JMP();5944 | ^~~5945src/cpu/ccpu/ccpu.c:1737:9: note: some parts of macro expansion are not guarded by this 'if' clause5946 1737 | if (register_B & 0x800)5947 | ^~5948src/cpu/ccpu/ccpu.c: In function 'opJMI_B_BB':5949src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5950 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25951 | ^~~~~~~~~~~5952src/cpu/ccpu/ccpu.c:1746:17: note: in expansion of macro 'JMP'5953 1746 | JMP();5954 | ^~~5955src/cpu/ccpu/ccpu.c:1745:9: note: some parts of macro expansion are not guarded by this 'if' clause5956 1745 | if (register_A & 0x800)5957 | ^~5958src/cpu/ccpu/ccpu.c: In function 'opJLT_A_A':5959src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5960 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25961 | ^~~~~~~~~~~5962src/cpu/ccpu/ccpu.c:1756:17: note: in expansion of macro 'JMP'5963 1756 | JMP();5964 | ^~~5965src/cpu/ccpu/ccpu.c:1755:9: note: some parts of macro expansion are not guarded by this 'if' clause5966 1755 | if (cmp_new < cmp_old)5967 | ^~5968src/cpu/ccpu/ccpu.c: In function 'opJLT_B_BB':5969src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5970 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25971 | ^~~~~~~~~~~5972src/cpu/ccpu/ccpu.c:1764:17: note: in expansion of macro 'JMP'5973 1764 | JMP();5974 | ^~~5975src/cpu/ccpu/ccpu.c:1763:9: note: some parts of macro expansion are not guarded by this 'if' clause5976 1763 | if (cmp_new < cmp_old)5977 | ^~5978src/cpu/ccpu/ccpu.c: In function 'opJEQ_A_A':5979src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5980 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25981 | ^~~~~~~~~~~5982src/cpu/ccpu/ccpu.c:1774:17: note: in expansion of macro 'JMP'5983 1774 | JMP();5984 | ^~~5985src/cpu/ccpu/ccpu.c:1773:9: note: some parts of macro expansion are not guarded by this 'if' clause5986 1773 | if (cmp_new == cmp_old)5987 | ^~5988src/cpu/ccpu/ccpu.c: In function 'opJEQ_B_BB':5989src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5990 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25991 | ^~~~~~~~~~~5992src/cpu/ccpu/ccpu.c:1782:17: note: in expansion of macro 'JMP'5993 1782 | JMP();5994 | ^~~5995src/cpu/ccpu/ccpu.c:1781:9: note: some parts of macro expansion are not guarded by this 'if' clause5996 1781 | if (cmp_new == cmp_old)5997 | ^~5998src/cpu/ccpu/ccpu.c: In function 'opJA0_A_A':5999src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6000 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26001 | ^~~~~~~~~~~6002src/cpu/ccpu/ccpu.c:1790:17: note: in expansion of macro 'JMP'6003 1790 | JMP();6004 | ^~~6005src/cpu/ccpu/ccpu.c:1789:9: note: some parts of macro expansion are not guarded by this 'if' clause6006 1789 | if (acc_a0 & 0x01)6007 | ^~6008src/cpu/ccpu/ccpu.c: In function 'opJA0_B_BB':6009src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6010 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26011 | ^~~~~~~~~~~6012src/cpu/ccpu/ccpu.c:1798:17: note: in expansion of macro 'JMP'6013 1798 | JMP();6014 | ^~~6015src/cpu/ccpu/ccpu.c:1797:9: note: some parts of macro expansion are not guarded by this 'if' clause6016 1797 | if (acc_a0 & 0x01)6017 | ^~6018src/cpu/ccpu/ccpu.c: In function 'opJNC_A_A':6019src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6020 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26021 | ^~~~~~~~~~~6022src/cpu/ccpu/ccpu.c:1806:17: note: in expansion of macro 'JMP'6023 1806 | JMP(); /* no carry, so jump */6024 | ^~~6025src/cpu/ccpu/ccpu.c:1805:9: note: some parts of macro expansion are not guarded by this 'if' clause6026 1805 | if (!(GETFC() & 0xF0))6027 | ^~6028src/cpu/ccpu/ccpu.c: In function 'opJNC_B_BB':6029src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6030 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26031 | ^~~~~~~~~~~6032src/cpu/ccpu/ccpu.c:1814:17: note: in expansion of macro 'JMP'6033 1814 | JMP(); /* no carry, so jump */6034 | ^~~6035src/cpu/ccpu/ccpu.c:1813:9: note: some parts of macro expansion are not guarded by this 'if' clause6036 1813 | if (!(GETFC() & 0xF0))6037 | ^~6038src/cpu/ccpu/ccpu.c: In function 'opJMI_A_B':6039src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6040 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26041 | ^~~~~~~~~~~6042src/cpu/ccpu/ccpu.c:1921:17: note: in expansion of macro 'JMP'6043 1921 | JMP();6044 | ^~~6045src/cpu/ccpu/ccpu.c:1920:9: note: some parts of macro expansion are not guarded by this 'if' clause6046 1920 | if (register_A & 0x800)6047 | ^~6048src/cpu/ccpu/ccpu.c: In function 'opJLT_A_B':6049src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6050 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26051 | ^~~~~~~~~~~6052src/cpu/ccpu/ccpu.c:1941:17: note: in expansion of macro 'JMP'6053 1941 | JMP();6054 | ^~~6055src/cpu/ccpu/ccpu.c:1940:9: note: some parts of macro expansion are not guarded by this 'if' clause6056 1940 | if (cmp_new < cmp_old)6057 | ^~6058src/cpu/ccpu/ccpu.c: In function 'opJEQ_A_B':6059src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6060 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26061 | ^~~~~~~~~~~6062src/cpu/ccpu/ccpu.c:1949:17: note: in expansion of macro 'JMP'6063 1949 | JMP();6064 | ^~~6065src/cpu/ccpu/ccpu.c:1948:9: note: some parts of macro expansion are not guarded by this 'if' clause6066 1948 | if (cmp_new == cmp_old)6067 | ^~6068src/cpu/ccpu/ccpu.c: In function 'opJA0_A_B':6069src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6070 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26071 | ^~~~~~~~~~~6072src/cpu/ccpu/ccpu.c:1957:17: note: in expansion of macro 'JMP'6073 1957 | JMP();6074 | ^~~6075src/cpu/ccpu/ccpu.c:1956:9: note: some parts of macro expansion are not guarded by this 'if' clause6076 1956 | if (GETA0() & 0x01)6077 | ^~6078src/cpu/ccpu/ccpu.c: In function 'opJNC_A_B':6079src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6080 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26081 | ^~~~~~~~~~~6082src/cpu/ccpu/ccpu.c:1965:17: note: in expansion of macro 'JMP'6083 1965 | JMP(); /* if no carry, jump */6084 | ^~~6085src/cpu/ccpu/ccpu.c:1964:9: note: some parts of macro expansion are not guarded by this 'if' clause6086 1964 | if (!(GETFC() & 0x0F0))6087 | ^~6088Compiling src/vidhrdw/cinemat_vidhrdw.c...6089src/vidhrdw/cinemat_vidhrdw.c: In function 'CinemaVectorData':6090src/vidhrdw/cinemat_vidhrdw.c:32:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]6091 32 | else6092 | ^~~~6093src/vidhrdw/cinemat_vidhrdw.c:35:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'6094 35 | lastx = tox;6095 | ^~~~~6096Compiling src/cpu/mips/psx_cpu.c...6097Compiling src/cpu/asap/asap.c...6098Compiling src/cpu/upd7810/upd7810.c...6099Compiling src/cpu/arm/arm.c...6100Compiling src/cpu/jaguar/jaguar.c...6101Compiling src/cpu/mips/r3000.c...6102Compiling src/cpu/mips/mips3.c...6103src/cpu/mips/mips3.c: In function 'handle_cop1':6104src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6105 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6106 | ^6107src/cpu/mips/mips3.c:796:49: note: in expansion of macro 'FDVALS'6108 796 | FDVALS = FSVALS + FTVALS;6109 | ^~~~~~6110src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6111 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6112 | ^6113src/cpu/mips/mips3.c:796:58: note: in expansion of macro 'FSVALS'6114 796 | FDVALS = FSVALS + FTVALS;6115 | ^~~~~~6116src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6117 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6118 | ^6119src/cpu/mips/mips3.c:796:67: note: in expansion of macro 'FTVALS'6120 796 | FDVALS = FSVALS + FTVALS;6121 | ^~~~~~6122src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6123 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6124 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6125src/cpu/mips/mips3.c:798:49: note: in expansion of macro 'FDVALD'6126 798 | FDVALD = FSVALD + FTVALD;6127 | ^~~~~~6128src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6129 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6130 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6131src/cpu/mips/mips3.c:798:58: note: in expansion of macro 'FSVALD'6132 798 | FDVALD = FSVALD + FTVALD;6133 | ^~~~~~6134src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6135 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6136 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6137src/cpu/mips/mips3.c:798:67: note: in expansion of macro 'FTVALD'6138 798 | FDVALD = FSVALD + FTVALD;6139 | ^~~~~~6140src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6141 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6142 | ^6143src/cpu/mips/mips3.c:803:49: note: in expansion of macro 'FDVALS'6144 803 | FDVALS = FSVALS - FTVALS;6145 | ^~~~~~6146src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6147 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6148 | ^6149src/cpu/mips/mips3.c:803:58: note: in expansion of macro 'FSVALS'6150 803 | FDVALS = FSVALS - FTVALS;6151 | ^~~~~~6152src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6153 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6154 | ^6155src/cpu/mips/mips3.c:803:67: note: in expansion of macro 'FTVALS'6156 803 | FDVALS = FSVALS - FTVALS;6157 | ^~~~~~6158src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6159 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6160 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6161src/cpu/mips/mips3.c:805:49: note: in expansion of macro 'FDVALD'6162 805 | FDVALD = FSVALD - FTVALD;6163 | ^~~~~~6164src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6165 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6166 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6167src/cpu/mips/mips3.c:805:58: note: in expansion of macro 'FSVALD'6168 805 | FDVALD = FSVALD - FTVALD;6169 | ^~~~~~6170src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6171 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6172 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6173src/cpu/mips/mips3.c:805:67: note: in expansion of macro 'FTVALD'6174 805 | FDVALD = FSVALD - FTVALD;6175 | ^~~~~~6176src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6177 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6178 | ^6179src/cpu/mips/mips3.c:810:49: note: in expansion of macro 'FDVALS'6180 810 | FDVALS = FSVALS * FTVALS;6181 | ^~~~~~6182src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6183 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6184 | ^6185src/cpu/mips/mips3.c:810:58: note: in expansion of macro 'FSVALS'6186 810 | FDVALS = FSVALS * FTVALS;6187 | ^~~~~~6188src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6189 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6190 | ^6191src/cpu/mips/mips3.c:810:67: note: in expansion of macro 'FTVALS'6192 810 | FDVALS = FSVALS * FTVALS;6193 | ^~~~~~6194src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6195 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6196 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6197src/cpu/mips/mips3.c:812:49: note: in expansion of macro 'FDVALD'6198 812 | FDVALD = FSVALD * FTVALD;6199 | ^~~~~~6200src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6201 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6202 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6203src/cpu/mips/mips3.c:812:58: note: in expansion of macro 'FSVALD'6204 812 | FDVALD = FSVALD * FTVALD;6205 | ^~~~~~6206src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6207 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6208 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6209src/cpu/mips/mips3.c:812:67: note: in expansion of macro 'FTVALD'6210 812 | FDVALD = FSVALD * FTVALD;6211 | ^~~~~~6212src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6213 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6214 | ^6215src/cpu/mips/mips3.c:817:49: note: in expansion of macro 'FDVALS'6216 817 | FDVALS = FSVALS / FTVALS;6217 | ^~~~~~6218src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6219 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6220 | ^6221src/cpu/mips/mips3.c:817:58: note: in expansion of macro 'FSVALS'6222 817 | FDVALS = FSVALS / FTVALS;6223 | ^~~~~~6224src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6225 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6226 | ^6227src/cpu/mips/mips3.c:817:67: note: in expansion of macro 'FTVALS'6228 817 | FDVALS = FSVALS / FTVALS;6229 | ^~~~~~6230src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6231 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6232 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6233src/cpu/mips/mips3.c:819:49: note: in expansion of macro 'FDVALD'6234 819 | FDVALD = FSVALD / FTVALD;6235 | ^~~~~~6236src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6237 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6238 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6239src/cpu/mips/mips3.c:819:58: note: in expansion of macro 'FSVALD'6240 819 | FDVALD = FSVALD / FTVALD;6241 | ^~~~~~6242src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6243 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6244 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6245src/cpu/mips/mips3.c:819:67: note: in expansion of macro 'FTVALD'6246 819 | FDVALD = FSVALD / FTVALD;6247 | ^~~~~~6248src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6249 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6250 | ^6251src/cpu/mips/mips3.c:824:49: note: in expansion of macro 'FDVALS'6252 824 | FDVALS = sqrt(FSVALS);6253 | ^~~~~~6254src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6255 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6256 | ^6257src/cpu/mips/mips3.c:824:63: note: in expansion of macro 'FSVALS'6258 824 | FDVALS = sqrt(FSVALS);6259 | ^~~~~~6260src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6261 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6262 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6263src/cpu/mips/mips3.c:826:49: note: in expansion of macro 'FDVALD'6264 826 | FDVALD = sqrt(FSVALD);6265 | ^~~~~~6266src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6267 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6268 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6269src/cpu/mips/mips3.c:826:63: note: in expansion of macro 'FSVALD'6270 826 | FDVALD = sqrt(FSVALD);6271 | ^~~~~~6272src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6273 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6274 | ^6275src/cpu/mips/mips3.c:831:49: note: in expansion of macro 'FDVALS'6276 831 | FDVALS = fabs(FSVALS);6277 | ^~~~~~6278src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6279 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6280 | ^6281src/cpu/mips/mips3.c:831:63: note: in expansion of macro 'FSVALS'6282 831 | FDVALS = fabs(FSVALS);6283 | ^~~~~~6284src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6285 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6286 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6287src/cpu/mips/mips3.c:833:49: note: in expansion of macro 'FDVALD'6288 833 | FDVALD = fabs(FSVALD);6289 | ^~~~~~6290src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6291 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6292 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6293src/cpu/mips/mips3.c:833:63: note: in expansion of macro 'FSVALD'6294 833 | FDVALD = fabs(FSVALD);6295 | ^~~~~~6296src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6297 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6298 | ^6299src/cpu/mips/mips3.c:838:49: note: in expansion of macro 'FDVALS'6300 838 | FDVALS = FSVALS;6301 | ^~~~~~6302src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6303 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6304 | ^6305src/cpu/mips/mips3.c:838:58: note: in expansion of macro 'FSVALS'6306 838 | FDVALS = FSVALS;6307 | ^~~~~~6308src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6309 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6310 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6311src/cpu/mips/mips3.c:840:49: note: in expansion of macro 'FDVALD'6312 840 | FDVALD = FSVALD;6313 | ^~~~~~6314src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6315 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6316 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6317src/cpu/mips/mips3.c:840:58: note: in expansion of macro 'FSVALD'6318 840 | FDVALD = FSVALD;6319 | ^~~~~~6320src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6321 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6322 | ^6323src/cpu/mips/mips3.c:845:49: note: in expansion of macro 'FDVALS'6324 845 | FDVALS = -FSVALS;6325 | ^~~~~~6326src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6327 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6328 | ^6329src/cpu/mips/mips3.c:845:59: note: in expansion of macro 'FSVALS'6330 845 | FDVALS = -FSVALS;6331 | ^~~~~~6332src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6333 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6334 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6335src/cpu/mips/mips3.c:847:49: note: in expansion of macro 'FDVALD'6336 847 | FDVALD = -FSVALD;6337 | ^~~~~~6338src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6339 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6340 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6341src/cpu/mips/mips3.c:847:59: note: in expansion of macro 'FSVALD'6342 847 | FDVALD = -FSVALD;6343 | ^~~~~~6344src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6345 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6346 | ^6347src/cpu/mips/mips3.c:853:63: note: in expansion of macro 'FSVALS'6348 853 | double temp = FSVALS;6349 | ^~~~~~6350src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6351 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6352 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6353src/cpu/mips/mips3.c:862:63: note: in expansion of macro 'FSVALD'6354 862 | double temp = FSVALD;6355 | ^~~~~~6356src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6357 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6358 | ^6359src/cpu/mips/mips3.c:874:63: note: in expansion of macro 'FSVALS'6360 874 | double temp = FSVALS;6361 | ^~~~~~6362src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6363 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6364 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6365src/cpu/mips/mips3.c:883:63: note: in expansion of macro 'FSVALD'6366 883 | double temp = FSVALD;6367 | ^~~~~~6368src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6369 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6370 | ^6371src/cpu/mips/mips3.c:894:62: note: in expansion of macro 'FSVALS'6372 894 | dtemp = ceil(FSVALS);6373 | ^~~~~~6374src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6375 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6376 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6377src/cpu/mips/mips3.c:896:62: note: in expansion of macro 'FSVALD'6378 896 | dtemp = ceil(FSVALD);6379 | ^~~~~~6380src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6381 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6382 | ^6383src/cpu/mips/mips3.c:902:63: note: in expansion of macro 'FSVALS'6384 902 | dtemp = floor(FSVALS);6385 | ^~~~~~6386src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6387 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6388 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6389src/cpu/mips/mips3.c:904:63: note: in expansion of macro 'FSVALD'6390 904 | dtemp = floor(FSVALD);6391 | ^~~~~~6392src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6393 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6394 | ^6395src/cpu/mips/mips3.c:911:57: note: in expansion of macro 'FSVALS'6396 911 | dtemp = FSVALS;6397 | ^~~~~~6398src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6399 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6400 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6401src/cpu/mips/mips3.c:920:57: note: in expansion of macro 'FSVALD'6402 920 | dtemp = FSVALD;6403 | ^~~~~~6404src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6405 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6406 | ^6407src/cpu/mips/mips3.c:932:57: note: in expansion of macro 'FSVALS'6408 932 | dtemp = FSVALS;6409 | ^~~~~~6410src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6411 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6412 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6413src/cpu/mips/mips3.c:941:57: note: in expansion of macro 'FSVALD'6414 941 | dtemp = FSVALD;6415 | ^~~~~~6416src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6417 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6418 | ^6419src/cpu/mips/mips3.c:952:62: note: in expansion of macro 'FSVALS'6420 952 | dtemp = ceil(FSVALS);6421 | ^~~~~~6422src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6423 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6424 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6425src/cpu/mips/mips3.c:954:62: note: in expansion of macro 'FSVALD'6426 954 | dtemp = ceil(FSVALD);6427 | ^~~~~~6428src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6429 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6430 | ^6431src/cpu/mips/mips3.c:960:63: note: in expansion of macro 'FSVALS'6432 960 | dtemp = floor(FSVALS);6433 | ^~~~~~6434src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6435 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6436 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6437src/cpu/mips/mips3.c:962:63: note: in expansion of macro 'FSVALD'6438 962 | dtemp = floor(FSVALD);6439 | ^~~~~~6440src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6441 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6442 | ^6443src/cpu/mips/mips3.c:970:57: note: in expansion of macro 'FDVALS'6444 970 | FDVALS = FSVALS;6445 | ^~~~~~6446src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6447 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6448 | ^6449src/cpu/mips/mips3.c:970:66: note: in expansion of macro 'FSVALS'6450 970 | FDVALS = FSVALS;6451 | ^~~~~~6452src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6453 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6454 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6455src/cpu/mips/mips3.c:972:57: note: in expansion of macro 'FDVALD'6456 972 | FDVALD = FSVALD;6457 | ^~~~~~6458src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6459 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6460 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6461src/cpu/mips/mips3.c:972:66: note: in expansion of macro 'FSVALD'6462 972 | FDVALD = FSVALD;6463 | ^~~~~~6464src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6465 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6466 | ^6467src/cpu/mips/mips3.c:980:57: note: in expansion of macro 'FDVALS'6468 980 | FDVALS = FSVALS;6469 | ^~~~~~6470src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6471 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6472 | ^6473src/cpu/mips/mips3.c:980:66: note: in expansion of macro 'FSVALS'6474 980 | FDVALS = FSVALS;6475 | ^~~~~~6476src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6477 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6478 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6479src/cpu/mips/mips3.c:982:57: note: in expansion of macro 'FDVALD'6480 982 | FDVALD = FSVALD;6481 | ^~~~~~6482src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6483 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6484 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6485src/cpu/mips/mips3.c:982:66: note: in expansion of macro 'FSVALD'6486 982 | FDVALD = FSVALD;6487 | ^~~~~~6488src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6489 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6490 | ^6491src/cpu/mips/mips3.c:990:57: note: in expansion of macro 'FDVALS'6492 990 | FDVALS = FSVALS;6493 | ^~~~~~6494src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6495 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6496 | ^6497src/cpu/mips/mips3.c:990:66: note: in expansion of macro 'FSVALS'6498 990 | FDVALS = FSVALS;6499 | ^~~~~~6500src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6501 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6502 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6503src/cpu/mips/mips3.c:992:57: note: in expansion of macro 'FDVALD'6504 992 | FDVALD = FSVALD;6505 | ^~~~~~6506src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6507 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6508 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6509src/cpu/mips/mips3.c:992:66: note: in expansion of macro 'FSVALD'6510 992 | FDVALD = FSVALD;6511 | ^~~~~~6512src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6513 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6514 | ^6515src/cpu/mips/mips3.c:998:49: note: in expansion of macro 'FDVALS'6516 998 | FDVALS = 1.0 / FSVALS;6517 | ^~~~~~6518src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6519 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6520 | ^6521src/cpu/mips/mips3.c:998:64: note: in expansion of macro 'FSVALS'6522 998 | FDVALS = 1.0 / FSVALS;6523 | ^~~~~~6524src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6525 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6526 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6527src/cpu/mips/mips3.c:1000:49: note: in expansion of macro 'FDVALD'6528 1000 | FDVALD = 1.0 / FSVALD;6529 | ^~~~~~6530src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6531 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6532 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6533src/cpu/mips/mips3.c:1000:64: note: in expansion of macro 'FSVALD'6534 1000 | FDVALD = 1.0 / FSVALD;6535 | ^~~~~~6536src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6537 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6538 | ^6539src/cpu/mips/mips3.c:1005:49: note: in expansion of macro 'FDVALS'6540 1005 | FDVALS = 1.0 / sqrt(FSVALS);6541 | ^~~~~~6542src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6543 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6544 | ^6545src/cpu/mips/mips3.c:1005:69: note: in expansion of macro 'FSVALS'6546 1005 | FDVALS = 1.0 / sqrt(FSVALS);6547 | ^~~~~~6548src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6549 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6550 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6551src/cpu/mips/mips3.c:1007:49: note: in expansion of macro 'FDVALD'6552 1007 | FDVALD = 1.0 / sqrt(FSVALD);6553 | ^~~~~~6554src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6555 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6556 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6557src/cpu/mips/mips3.c:1007:69: note: in expansion of macro 'FSVALD'6558 1007 | FDVALD = 1.0 / sqrt(FSVALD);6559 | ^~~~~~6560src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6561 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6562 | ^6563src/cpu/mips/mips3.c:1014:57: note: in expansion of macro 'FDVALS'6564 1014 | FDVALS = (INT32)mips3.cpr[1][FSREG];6565 | ^~~~~~6566src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6567 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6568 | ^6569src/cpu/mips/mips3.c:1016:57: note: in expansion of macro 'FDVALS'6570 1016 | FDVALS = (INT64)mips3.cpr[1][FSREG];6571 | ^~~~~~6572src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6573 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6574 | ^6575src/cpu/mips/mips3.c:1019:49: note: in expansion of macro 'FDVALS'6576 1019 | FDVALS = FSVALD;6577 | ^~~~~~6578src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6579 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6580 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6581src/cpu/mips/mips3.c:1019:58: note: in expansion of macro 'FSVALD'6582 1019 | FDVALS = FSVALD;6583 | ^~~~~~6584src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6585 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6586 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6587src/cpu/mips/mips3.c:1026:57: note: in expansion of macro 'FDVALD'6588 1026 | FDVALD = (INT32)mips3.cpr[1][FSREG];6589 | ^~~~~~6590src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6591 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6592 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6593src/cpu/mips/mips3.c:1028:57: note: in expansion of macro 'FDVALD'6594 1028 | FDVALD = (INT64)mips3.cpr[1][FSREG];6595 | ^~~~~~6596src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6597 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6598 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6599src/cpu/mips/mips3.c:1031:49: note: in expansion of macro 'FDVALD'6600 1031 | FDVALD = FSVALS;6601 | ^~~~~~6602src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6603 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6604 | ^6605src/cpu/mips/mips3.c:1031:58: note: in expansion of macro 'FSVALS'6606 1031 | FDVALD = FSVALS;6607 | ^~~~~~6608src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6609 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6610 | ^6611src/cpu/mips/mips3.c:1036:78: note: in expansion of macro 'FSVALS'6612 1036 | mips3.cpr[1][FDREG] = (INT32)FSVALS;6613 | ^~~~~~6614src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6615 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6616 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6617src/cpu/mips/mips3.c:1038:78: note: in expansion of macro 'FSVALD'6618 1038 | mips3.cpr[1][FDREG] = (INT32)FSVALD;6619 | ^~~~~~6620src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6621 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6622 | ^6623src/cpu/mips/mips3.c:1043:78: note: in expansion of macro 'FSVALS'6624 1043 | mips3.cpr[1][FDREG] = (INT64)FSVALS;6625 | ^~~~~~6626src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6627 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6628 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6629src/cpu/mips/mips3.c:1045:78: note: in expansion of macro 'FSVALD'6630 1045 | mips3.cpr[1][FDREG] = (INT64)FSVALD;6631 | ^~~~~~6632src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6633 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6634 | ^6635src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6636 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6637 | ^6638src/cpu/mips/mips3.c:1067:73: note: in expansion of macro 'FSVALS'6639 1067 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS));6640 | ^~~~~~6641src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6642 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6643 | ^6644src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6645 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6646 | ^6647src/cpu/mips/mips3.c:1067:83: note: in expansion of macro 'FTVALS'6648 1067 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS));6649 | ^~~~~~6650src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6651 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6652 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6653src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6654 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6655 | ^6656src/cpu/mips/mips3.c:1069:73: note: in expansion of macro 'FSVALD'6657 1069 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD));6658 | ^~~~~~6659src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6660 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6661 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6662src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6663 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6664 | ^6665src/cpu/mips/mips3.c:1069:83: note: in expansion of macro 'FTVALD'6666 1069 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD));6667 | ^~~~~~6668src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6669 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6670 | ^6671src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6672 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6673 | ^6674src/cpu/mips/mips3.c:1075:73: note: in expansion of macro 'FSVALS'6675 1075 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS));6676 | ^~~~~~6677src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6678 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6679 | ^6680src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6681 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6682 | ^6683src/cpu/mips/mips3.c:1075:83: note: in expansion of macro 'FTVALS'6684 1075 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS));6685 | ^~~~~~6686src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6687 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6688 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6689src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6690 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6691 | ^6692src/cpu/mips/mips3.c:1077:73: note: in expansion of macro 'FSVALD'6693 1077 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD));6694 | ^~~~~~6695src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6696 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6697 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6698src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6699 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6700 | ^6701src/cpu/mips/mips3.c:1077:83: note: in expansion of macro 'FTVALD'6702 1077 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD));6703 | ^~~~~~6704src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6705 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6706 | ^6707src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6708 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6709 | ^6710src/cpu/mips/mips3.c:1083:73: note: in expansion of macro 'FSVALS'6711 1083 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS));6712 | ^~~~~~6713src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6714 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6715 | ^6716src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6717 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6718 | ^6719src/cpu/mips/mips3.c:1083:82: note: in expansion of macro 'FTVALS'6720 1083 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS));6721 | ^~~~~~6722src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6723 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6724 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6725src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6726 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6727 | ^6728src/cpu/mips/mips3.c:1085:73: note: in expansion of macro 'FSVALD'6729 1085 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD));6730 | ^~~~~~6731src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6732 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6733 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6734src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6735 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6736 | ^6737src/cpu/mips/mips3.c:1085:82: note: in expansion of macro 'FTVALD'6738 1085 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD));6739 | ^~~~~~6740src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6741 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6742 | ^6743src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6744 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6745 | ^6746src/cpu/mips/mips3.c:1091:73: note: in expansion of macro 'FSVALS'6747 1091 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS));6748 | ^~~~~~6749src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6750 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6751 | ^6752src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6753 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6754 | ^6755src/cpu/mips/mips3.c:1091:82: note: in expansion of macro 'FTVALS'6756 1091 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS));6757 | ^~~~~~6758src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6759 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6760 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6761src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6762 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6763 | ^6764src/cpu/mips/mips3.c:1093:73: note: in expansion of macro 'FSVALD'6765 1093 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD));6766 | ^~~~~~6767src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6768 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6769 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6770src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6771 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6772 | ^6773src/cpu/mips/mips3.c:1093:82: note: in expansion of macro 'FTVALD'6774 1093 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD));6775 | ^~~~~~6776src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6777 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6778 | ^6779src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6780 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6781 | ^6782src/cpu/mips/mips3.c:1099:73: note: in expansion of macro 'FSVALS'6783 1099 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS));6784 | ^~~~~~6785src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6786 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6787 | ^6788src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6789 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6790 | ^6791src/cpu/mips/mips3.c:1099:83: note: in expansion of macro 'FTVALS'6792 1099 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS));6793 | ^~~~~~6794src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6795 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6796 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6797src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6798 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6799 | ^6800src/cpu/mips/mips3.c:1101:73: note: in expansion of macro 'FSVALD'6801 1101 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD));6802 | ^~~~~~6803src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6804 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6805 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6806src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6807 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6808 | ^6809src/cpu/mips/mips3.c:1101:83: note: in expansion of macro 'FTVALD'6810 1101 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD));6811 | ^~~~~~6812src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6813 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6814 | ^6815src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6816 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6817 | ^6818src/cpu/mips/mips3.c:1107:73: note: in expansion of macro 'FSVALS'6819 1107 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS));6820 | ^~~~~~6821src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6822 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6823 | ^6824src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6825 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6826 | ^6827src/cpu/mips/mips3.c:1107:83: note: in expansion of macro 'FTVALS'6828 1107 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS));6829 | ^~~~~~6830src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6831 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6832 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6833src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6834 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6835 | ^6836src/cpu/mips/mips3.c:1109:73: note: in expansion of macro 'FSVALD'6837 1109 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD));6838 | ^~~~~~6839src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6840 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6841 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6842src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6843 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6844 | ^6845src/cpu/mips/mips3.c:1109:83: note: in expansion of macro 'FTVALD'6846 1109 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD));6847 | ^~~~~~6848src/cpu/mips/mips3.c: In function 'handle_cop1x':6849src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6850 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6851 | ^6852src/cpu/mips/mips3.c:1134:25: note: in expansion of macro 'FDVALS'6853 1134 | FDVALS = RLONG(RSVAL32 + RTVAL32);6854 | ^~~~~~6855src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6856 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6857 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6858src/cpu/mips/mips3.c:1138:25: note: in expansion of macro 'FDVALD'6859 1138 | FDVALD = RDOUBLE(RSVAL32 + RTVAL32);6860 | ^~~~~~6861src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6862 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6863 | ^6864src/cpu/mips/mips3.c:154:52: note: in definition of macro 'WDOUBLE'6865 154 | #define WDOUBLE(x,v) (*mips3.memory.writedouble)(x,v)6866 | ^6867src/cpu/mips/mips3.c:1142:52: note: in expansion of macro 'FSVALS'6868 1142 | WDOUBLE(RSVAL32 + RTVAL32, FSVALS);6869 | ^~~~~~6870src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6871 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6872 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6873src/cpu/mips/mips3.c:154:52: note: in definition of macro 'WDOUBLE'6874 154 | #define WDOUBLE(x,v) (*mips3.memory.writedouble)(x,v)6875 | ^6876src/cpu/mips/mips3.c:1146:52: note: in expansion of macro 'FSVALD'6877 1146 | WDOUBLE(RSVAL32 + RTVAL32, FSVALD);6878 | ^~~~~~6879src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6880 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6881 | ^6882src/cpu/mips/mips3.c:1153:25: note: in expansion of macro 'FDVALS'6883 1153 | FDVALS = FSVALS * FTVALS + FRVALS;6884 | ^~~~~~6885src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6886 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6887 | ^6888src/cpu/mips/mips3.c:1153:34: note: in expansion of macro 'FSVALS'6889 1153 | FDVALS = FSVALS * FTVALS + FRVALS;6890 | ^~~~~~6891src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6892 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6893 | ^6894src/cpu/mips/mips3.c:1153:43: note: in expansion of macro 'FTVALS'6895 1153 | FDVALS = FSVALS * FTVALS + FRVALS;6896 | ^~~~~~6897src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6898 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)])6899 | ^6900src/cpu/mips/mips3.c:1153:52: note: in expansion of macro 'FRVALS'6901 1153 | FDVALS = FSVALS * FTVALS + FRVALS;6902 | ^~~~~~6903src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6904 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6905 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6906src/cpu/mips/mips3.c:1157:25: note: in expansion of macro 'FDVALD'6907 1157 | FDVALD = FSVALD * FTVALD + FRVALD;6908 | ^~~~~~6909src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6910 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6911 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6912src/cpu/mips/mips3.c:1157:34: note: in expansion of macro 'FSVALD'6913 1157 | FDVALD = FSVALD * FTVALD + FRVALD;6914 | ^~~~~~6915src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6916 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6917 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6918src/cpu/mips/mips3.c:1157:43: note: in expansion of macro 'FTVALD'6919 1157 | FDVALD = FSVALD * FTVALD + FRVALD;6920 | ^~~~~~6921src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6922 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG])6923 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6924src/cpu/mips/mips3.c:1157:52: note: in expansion of macro 'FRVALD'6925 1157 | FDVALD = FSVALD * FTVALD + FRVALD;6926 | ^~~~~~6927src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6928 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6929 | ^6930src/cpu/mips/mips3.c:1161:25: note: in expansion of macro 'FDVALS'6931 1161 | FDVALS = FSVALS * FTVALS - FRVALS;6932 | ^~~~~~6933src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6934 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6935 | ^6936src/cpu/mips/mips3.c:1161:34: note: in expansion of macro 'FSVALS'6937 1161 | FDVALS = FSVALS * FTVALS - FRVALS;6938 | ^~~~~~6939src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6940 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6941 | ^6942src/cpu/mips/mips3.c:1161:43: note: in expansion of macro 'FTVALS'6943 1161 | FDVALS = FSVALS * FTVALS - FRVALS;6944 | ^~~~~~6945src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6946 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)])6947 | ^6948src/cpu/mips/mips3.c:1161:52: note: in expansion of macro 'FRVALS'6949 1161 | FDVALS = FSVALS * FTVALS - FRVALS;6950 | ^~~~~~6951src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6952 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6953 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6954src/cpu/mips/mips3.c:1165:25: note: in expansion of macro 'FDVALD'6955 1165 | FDVALD = FSVALD * FTVALD - FRVALD;6956 | ^~~~~~6957src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6958 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6959 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6960src/cpu/mips/mips3.c:1165:34: note: in expansion of macro 'FSVALD'6961 1165 | FDVALD = FSVALD * FTVALD - FRVALD;6962 | ^~~~~~6963src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6964 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6965 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6966src/cpu/mips/mips3.c:1165:43: note: in expansion of macro 'FTVALD'6967 1165 | FDVALD = FSVALD * FTVALD - FRVALD;6968 | ^~~~~~6969src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6970 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG])6971 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6972src/cpu/mips/mips3.c:1165:52: note: in expansion of macro 'FRVALD'6973 1165 | FDVALD = FSVALD * FTVALD - FRVALD;6974 | ^~~~~~6975src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6976 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6977 | ^6978src/cpu/mips/mips3.c:1169:25: note: in expansion of macro 'FDVALS'6979 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS);6980 | ^~~~~~6981src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6982 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6983 | ^6984src/cpu/mips/mips3.c:1169:36: note: in expansion of macro 'FSVALS'6985 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS);6986 | ^~~~~~6987src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6988 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6989 | ^6990src/cpu/mips/mips3.c:1169:45: note: in expansion of macro 'FTVALS'6991 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS);6992 | ^~~~~~6993src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6994 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)])6995 | ^6996src/cpu/mips/mips3.c:1169:54: note: in expansion of macro 'FRVALS'6997 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS);6998 | ^~~~~~6999src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7000 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])7001 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7002src/cpu/mips/mips3.c:1173:25: note: in expansion of macro 'FDVALD'7003 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD);7004 | ^~~~~~7005src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7006 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])7007 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7008src/cpu/mips/mips3.c:1173:36: note: in expansion of macro 'FSVALD'7009 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD);7010 | ^~~~~~7011src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7012 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])7013 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7014src/cpu/mips/mips3.c:1173:45: note: in expansion of macro 'FTVALD'7015 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD);7016 | ^~~~~~7017src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7018 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG])7019 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7020src/cpu/mips/mips3.c:1173:54: note: in expansion of macro 'FRVALD'7021 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD);7022 | ^~~~~~7023src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7024 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])7025 | ^7026src/cpu/mips/mips3.c:1177:25: note: in expansion of macro 'FDVALS'7027 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS);7028 | ^~~~~~7029src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7030 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])7031 | ^7032src/cpu/mips/mips3.c:1177:36: note: in expansion of macro 'FSVALS'7033 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS);7034 | ^~~~~~7035src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7036 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])7037 | ^7038src/cpu/mips/mips3.c:1177:45: note: in expansion of macro 'FTVALS'7039 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS);7040 | ^~~~~~7041src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7042 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)])7043 | ^7044src/cpu/mips/mips3.c:1177:54: note: in expansion of macro 'FRVALS'7045 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS);7046 | ^~~~~~7047src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7048 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])7049 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7050src/cpu/mips/mips3.c:1181:25: note: in expansion of macro 'FDVALD'7051 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD);7052 | ^~~~~~7053src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7054 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])7055 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7056src/cpu/mips/mips3.c:1181:36: note: in expansion of macro 'FSVALD'7057 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD);7058 | ^~~~~~7059src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7060 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])7061 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7062src/cpu/mips/mips3.c:1181:45: note: in expansion of macro 'FTVALD'7063 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD);7064 | ^~~~~~7065src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7066 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG])7067 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7068src/cpu/mips/mips3.c:1181:54: note: in expansion of macro 'FRVALD'7069 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD);7070 | ^~~~~~7071Compiling src/cpu/sh2/sh2.c...7072Compiling src/cpu/dsp32/dsp32.c...7073src/cpu/dsp32/dsp32.c: In function 'dsp32c_info':7074src/cpu/dsp32/dsp32.c:654:21: warning: variable 'r' set but not used [-Wunused-but-set-variable=]7075 654 | dsp32_regs *r = context;7076 | ^7077Compiling src/cpu/pic16c5x/pic16c5x.c...7078src/cpu/pic16c5x/pic16c5x.c: In function 'tris':7079src/cpu/pic16c5x/pic16c5x.c:593:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation]7080 593 | else R.TRISA = R.W; P_OUT(0,R.PORTA & (~R.TRISA) & 0xf); break;7081 | ^~~~7082In file included from src/cpu/pic16c5x/pic16c5x.c:66:7083src/cpu/pic16c5x/pic16c5x.h:91:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'7084 91 | #define PIC16C5x_Out(Port,Value) (cpu_writeport16((Port),Value))7085 | ^7086src/cpu/pic16c5x/pic16c5x.c:77:33: note: in expansion of macro 'PIC16C5x_Out'7087 77 | #define P_OUT(A,V) PIC16C5x_Out(A,V)7088 | ^~~~~~~~~~~~7089src/cpu/pic16c5x/pic16c5x.c:593:61: note: in expansion of macro 'P_OUT'7090 593 | else R.TRISA = R.W; P_OUT(0,R.PORTA & (~R.TRISA) & 0xf); break;7091 | ^~~~~7092src/cpu/pic16c5x/pic16c5x.c:595:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation]7093 595 | else R.TRISB = R.W; P_OUT(1,R.PORTB & (~R.TRISB)); break;7094 | ^~~~7095src/cpu/pic16c5x/pic16c5x.h:91:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'7096 91 | #define PIC16C5x_Out(Port,Value) (cpu_writeport16((Port),Value))7097 | ^7098src/cpu/pic16c5x/pic16c5x.c:77:33: note: in expansion of macro 'PIC16C5x_Out'7099 77 | #define P_OUT(A,V) PIC16C5x_Out(A,V)7100 | ^~~~~~~~~~~~7101src/cpu/pic16c5x/pic16c5x.c:595:61: note: in expansion of macro 'P_OUT'7102 595 | else R.TRISB = R.W; P_OUT(1,R.PORTB & (~R.TRISB)); break;7103 | ^~~~~7104src/cpu/pic16c5x/pic16c5x.c:597:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation]7105 597 | else R.TRISC = R.W; P_OUT(2,R.PORTC & (~R.TRISC)); break;7106 | ^~~~7107src/cpu/pic16c5x/pic16c5x.h:91:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'7108 91 | #define PIC16C5x_Out(Port,Value) (cpu_writeport16((Port),Value))7109 | ^7110src/cpu/pic16c5x/pic16c5x.c:77:33: note: in expansion of macro 'PIC16C5x_Out'7111 77 | #define P_OUT(A,V) PIC16C5x_Out(A,V)7112 | ^~~~~~~~~~~~7113src/cpu/pic16c5x/pic16c5x.c:597:61: note: in expansion of macro 'P_OUT'7114 597 | else R.TRISC = R.W; P_OUT(2,R.PORTC & (~R.TRISC)); break;7115 | ^~~~~7116Compiling src/cpu/g65816/g65816.c...7117Compiling src/cpu/g65816/g65816o0.c...7118Compiling src/cpu/g65816/g65816o1.c...7119Compiling src/cpu/g65816/g65816o2.c...7120Compiling src/cpu/g65816/g65816o3.c...7121Compiling src/cpu/g65816/g65816o4.c...7122Compiling src/cpu/g65816/g65816ds.c...7123Compiling src/cpu/spc700/spc700.c...7124Compiling src/cpu/spc700/spc700ds.c...7125Compiling src/cpu/e132xs/e132xs.c...7126Compiling src/sound/samples.c...7127Compiling src/sound/dac.c...7128Compiling src/sound/discrete.c...7129src/sound/discrete.c: In function 'discrete_sh_stop':7130src/sound/discrete.c:330:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]7131 330 | if (disclogfile)7132 | ^~7133src/sound/discrete.c:332:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'7134 332 | disclogfile = NULL;7135 | ^~~~~~~~~~~7136Compiling src/sound/2203intf.c...7137Compiling src/sound/2151intf.c...7138Compiling src/sound/ym2151.c...7139Compiling src/sound/2608intf.c...7140Compiling src/sound/2610intf.c...7141Compiling src/sound/2612intf.c...7142Compiling src/sound/ay8910.c...7143Compiling src/sound/fm.c...7144src/sound/fm.c: In function 'advance_lfo':7145src/sound/fm.c:1180:15: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable=]7146 1180 | UINT8 prev_pos;7147 | ^~~~~~~~7148Compiling src/sound/2413intf.c...7149Compiling src/sound/ym2413.c...7150src/sound/ym2413.c: In function 'OPLLWriteReg':7151src/sound/ym2413.c:1664:56: warning: bitwise comparison always evaluates to false [-Wtautological-compare]7152 1664 | if ((chip->rhythm&0x20)==1)7153 | ^~7154Compiling src/sound/ymz280b.c...7155Compiling src/sound/3812intf.c...7156Compiling src/sound/fmopl.c...7157Compiling src/sound/ymdeltat.c...7158Compiling src/sound/sn76477.c...7159Compiling src/sound/sn76496.c...7160Compiling src/sound/pokey.c...7161Compiling src/sound/tiasound.c...7162Compiling src/sound/tiaintf.c...7163Compiling src/sound/nes_apu.c...7164Compiling src/sound/astrocde_snd.c...7165src/sound/tiaintf.c: In function 'tia_sh_start':7166src/sound/tiaintf.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]7167 12 | if (Machine->sample_rate == 0)7168 | ^~7169src/sound/tiaintf.c:15:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'7170 15 | channel = stream_init("TIA", intf->volume, Machine->sample_rate, 0, tia_process);7171 | ^~~~~~~7172Compiling src/sound/namco.c...7173Compiling src/sound/namco52.c...7174Compiling src/sound/namco54.c...7175Compiling src/sound/namcona.c...7176Compiling src/sound/tms36xx.c...7177Compiling src/sound/tms5110.c...7178src/sound/tms5110.c: In function 'parse_frame':7179src/sound/tms5110.c:496:19: warning: variable 'old_count' set but not used [-Wunused-but-set-variable=]7180 496 | int old_head, old_count;7181 | ^~~~~~~~~7182src/sound/tms5110.c:496:9: warning: variable 'old_head' set but not used [-Wunused-but-set-variable=]7183 496 | int old_head, old_count;7184 | ^~~~~~~~7185Compiling src/sound/5110intf.c...7186Compiling src/sound/tms5220.c...7187Compiling src/sound/5220intf.c...7188Compiling src/sound/vlm5030.c...7189Compiling src/sound/adpcm.c...7190Compiling src/sound/msm5205.c...7191Compiling src/sound/msm5232.c...7192Compiling src/sound/upd7759.c...7193Compiling src/sound/hc55516.c...7194Compiling src/sound/k005289.c...7195Compiling src/sound/k007232.c...7196Compiling src/sound/k051649.c...7197Compiling src/sound/k053260.c...7198Compiling src/sound/k054539.c...7199Compiling src/sound/segapcm.c...7200Compiling src/sound/rf5c68.c...7201Compiling src/sound/cem3394.c...7202Compiling src/sound/c140.c...7203Compiling src/sound/qsound.c...7204Compiling src/sound/saa1099.c...7205Compiling src/sound/iremga20.c...7206Compiling src/sound/es5506.c...7207Compiling src/sound/bsmt2000.c...7208Compiling src/sound/ymf262.c...7209Compiling src/sound/262intf.c...7210src/sound/ymf262.c: In function 'OPL3WriteReg':7211src/sound/ymf262.c:2085:74: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]7212 2085 | UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0);7213 | ~~~~~~~~~~~~~~~~~~~~^~~~7214src/sound/ymf262.c:2085:106: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]7215 2085 | UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0);7216 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~7217src/sound/ymf262.c:2137:78: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]7218 2137 | UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0);7219 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~7220src/sound/ymf262.c:2137:106: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]7221 2137 | UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0);7222 | ~~~~~~~~~~~~~~~~~~~~^~~~7223Compiling src/sound/ymf278b.c...7224Compiling src/sound/gaelco_snd.c...7225Compiling src/sound/x1_010.c...7226Compiling src/sound/multipcm.c...7227Compiling src/sound/c6280.c...7228src/sound/multipcm.c: In function 'MultiPCM_reg_w':7229src/sound/multipcm.c:460:50: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast]7230 460 | pt_abs = (double)abs(pitch);7231 | ^7232Compiling src/sound/sp0250.c...7233Compiling src/sound/scsp.c...7234Compiling src/sound/psx.c...7235src/sound/scsp.c: In function 'SCSP_Init':7236src/sound/scsp.c:385:37: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]7237 385 | memset(SCSP,0,sizeof(SCSP));7238 | ^7239src/sound/scsp.c: In function 'SCSP_Update0000':7240src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7241 753 | signed int fpart;\7242 | ^~~~~7243src/sound/scsp.c:809:1: note: in expansion of macro 'SCSPTMPL'7244 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3)7245 | ^~~~~~~~7246src/sound/scsp.c: In function 'SCSP_Update0001':7247src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7248 753 | signed int fpart;\7249 | ^~~~~7250src/sound/scsp.c:809:19: note: in expansion of macro 'SCSPTMPL'7251 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3)7252 | ^~~~~~~~7253src/sound/scsp.c: In function 'SCSP_Update0002':7254src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7255 753 | signed int fpart;\7256 | ^~~~~7257src/sound/scsp.c:809:37: note: in expansion of macro 'SCSPTMPL'7258 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3)7259 | ^~~~~~~~7260src/sound/scsp.c: In function 'SCSP_Update0003':7261src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7262 753 | signed int fpart;\7263 | ^~~~~7264src/sound/scsp.c:809:55: note: in expansion of macro 'SCSPTMPL'7265 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3)7266 | ^~~~~~~~7267src/sound/scsp.c: In function 'SCSP_Update0010':7268src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7269 753 | signed int fpart;\7270 | ^~~~~7271src/sound/scsp.c:810:1: note: in expansion of macro 'SCSPTMPL'7272 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3)7273 | ^~~~~~~~7274src/sound/scsp.c: In function 'SCSP_Update0011':7275src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7276 753 | signed int fpart;\7277 | ^~~~~7278src/sound/scsp.c:810:19: note: in expansion of macro 'SCSPTMPL'7279 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3)7280 | ^~~~~~~~7281src/sound/scsp.c: In function 'SCSP_Update0012':7282src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7283 753 | signed int fpart;\7284 | ^~~~~7285src/sound/scsp.c:810:37: note: in expansion of macro 'SCSPTMPL'7286 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3)7287 | ^~~~~~~~7288src/sound/scsp.c: In function 'SCSP_Update0013':7289src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7290 753 | signed int fpart;\7291 | ^~~~~7292src/sound/scsp.c:810:55: note: in expansion of macro 'SCSPTMPL'7293 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3)7294 | ^~~~~~~~7295src/sound/scsp.c: In function 'SCSP_Update0100':7296src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7297 753 | signed int fpart;\7298 | ^~~~~7299src/sound/scsp.c:811:1: note: in expansion of macro 'SCSPTMPL'7300 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3)7301 | ^~~~~~~~7302src/sound/scsp.c: In function 'SCSP_Update0101':7303src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7304 753 | signed int fpart;\7305 | ^~~~~7306src/sound/scsp.c:811:19: note: in expansion of macro 'SCSPTMPL'7307 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3)7308 | ^~~~~~~~7309src/sound/scsp.c: In function 'SCSP_Update0102':7310src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7311 753 | signed int fpart;\7312 | ^~~~~7313src/sound/scsp.c:811:37: note: in expansion of macro 'SCSPTMPL'7314 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3)7315 | ^~~~~~~~7316src/sound/scsp.c: In function 'SCSP_Update0103':7317src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7318 753 | signed int fpart;\7319 | ^~~~~7320src/sound/scsp.c:811:55: note: in expansion of macro 'SCSPTMPL'7321 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3)7322 | ^~~~~~~~7323src/sound/scsp.c: In function 'SCSP_Update0110':7324src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7325 753 | signed int fpart;\7326 | ^~~~~7327src/sound/scsp.c:812:1: note: in expansion of macro 'SCSPTMPL'7328 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3)7329 | ^~~~~~~~7330src/sound/scsp.c: In function 'SCSP_Update0111':7331src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7332 753 | signed int fpart;\7333 | ^~~~~7334src/sound/scsp.c:812:19: note: in expansion of macro 'SCSPTMPL'7335 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3)7336 | ^~~~~~~~7337src/sound/scsp.c: In function 'SCSP_Update0112':7338src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7339 753 | signed int fpart;\7340 | ^~~~~7341src/sound/scsp.c:812:37: note: in expansion of macro 'SCSPTMPL'7342 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3)7343 | ^~~~~~~~7344src/sound/scsp.c: In function 'SCSP_Update0113':7345src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7346 753 | signed int fpart;\7347 | ^~~~~7348src/sound/scsp.c:812:55: note: in expansion of macro 'SCSPTMPL'7349 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3)7350 | ^~~~~~~~7351src/sound/scsp.c: In function 'SCSP_Update1000':7352src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7353 753 | signed int fpart;\7354 | ^~~~~7355src/sound/scsp.c:813:1: note: in expansion of macro 'SCSPTMPL'7356 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3)7357 | ^~~~~~~~7358src/sound/scsp.c: In function 'SCSP_Update1001':7359src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7360 753 | signed int fpart;\7361 | ^~~~~7362src/sound/scsp.c:813:19: note: in expansion of macro 'SCSPTMPL'7363 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3)7364 | ^~~~~~~~7365src/sound/scsp.c: In function 'SCSP_Update1002':7366src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7367 753 | signed int fpart;\7368 | ^~~~~7369src/sound/scsp.c:813:37: note: in expansion of macro 'SCSPTMPL'7370 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3)7371 | ^~~~~~~~7372src/sound/scsp.c: In function 'SCSP_Update1003':7373src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7374 753 | signed int fpart;\7375 | ^~~~~7376src/sound/scsp.c:813:55: note: in expansion of macro 'SCSPTMPL'7377 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3)7378 | ^~~~~~~~7379src/sound/scsp.c: In function 'SCSP_Update1010':7380src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7381 753 | signed int fpart;\7382 | ^~~~~7383src/sound/scsp.c:814:1: note: in expansion of macro 'SCSPTMPL'7384 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3)7385 | ^~~~~~~~7386src/sound/scsp.c: In function 'SCSP_Update1011':7387src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7388 753 | signed int fpart;\7389 | ^~~~~7390src/sound/scsp.c:814:19: note: in expansion of macro 'SCSPTMPL'7391 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3)7392 | ^~~~~~~~7393src/sound/scsp.c: In function 'SCSP_Update1012':7394src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7395 753 | signed int fpart;\7396 | ^~~~~7397src/sound/scsp.c:814:37: note: in expansion of macro 'SCSPTMPL'7398 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3)7399 | ^~~~~~~~7400src/sound/scsp.c: In function 'SCSP_Update1013':7401src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7402 753 | signed int fpart;\7403 | ^~~~~7404src/sound/scsp.c:814:55: note: in expansion of macro 'SCSPTMPL'7405 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3)7406 | ^~~~~~~~7407src/sound/scsp.c: In function 'SCSP_Update1100':7408src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7409 753 | signed int fpart;\7410 | ^~~~~7411src/sound/scsp.c:815:1: note: in expansion of macro 'SCSPTMPL'7412 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3)7413 | ^~~~~~~~7414src/sound/scsp.c: In function 'SCSP_Update1101':7415src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7416 753 | signed int fpart;\7417 | ^~~~~7418src/sound/scsp.c:815:19: note: in expansion of macro 'SCSPTMPL'7419 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3)7420 | ^~~~~~~~7421src/sound/scsp.c: In function 'SCSP_Update1102':7422src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7423 753 | signed int fpart;\7424 | ^~~~~7425src/sound/scsp.c:815:37: note: in expansion of macro 'SCSPTMPL'7426 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3)7427 | ^~~~~~~~7428src/sound/scsp.c: In function 'SCSP_Update1103':7429src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7430 753 | signed int fpart;\7431 | ^~~~~7432src/sound/scsp.c:815:55: note: in expansion of macro 'SCSPTMPL'7433 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3)7434 | ^~~~~~~~7435src/sound/scsp.c: In function 'SCSP_Update1110':7436src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7437 753 | signed int fpart;\7438 | ^~~~~7439src/sound/scsp.c:816:1: note: in expansion of macro 'SCSPTMPL'7440 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3)7441 | ^~~~~~~~7442src/sound/scsp.c: In function 'SCSP_Update1111':7443src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7444 753 | signed int fpart;\7445 | ^~~~~7446src/sound/scsp.c:816:19: note: in expansion of macro 'SCSPTMPL'7447 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3)7448 | ^~~~~~~~7449src/sound/scsp.c: In function 'SCSP_Update1112':7450src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7451 753 | signed int fpart;\7452 | ^~~~~7453src/sound/scsp.c:816:37: note: in expansion of macro 'SCSPTMPL'7454 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3)7455 | ^~~~~~~~7456src/sound/scsp.c: In function 'SCSP_Update1113':7457src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7458 753 | signed int fpart;\7459 | ^~~~~7460src/sound/scsp.c:816:55: note: in expansion of macro 'SCSPTMPL'7461 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3)7462 | ^~~~~~~~7463Compiling src/sound/ymf271.c...7464Compiling src/sound/ics2115.c...7465Compiling src/lib/mame-chd/chd.c...7466Compiling src/lib/mame-chd/mame_sha1.c...7467Compiling src/libretro-deps/libFLAC/bitreader.c...7468In function 'dma_scsp',7469 inlined from 'SCSP_0_w' at src/sound/scsp.c:1047:4:7470src/sound/scsp.c:912:24: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds=]7471 912 | tmp_dma[2] = scsp_regs[0x416/2];7472 | ~~~~~~~^~~7473src/sound/scsp.c: In function 'SCSP_0_w':7474src/sound/scsp.c:898:23: note: while referencing 'tmp_dma'7475 898 | static UINT16 tmp_dma[2], *scsp_regs;7476 | ^~~~~~~7477In function 'dma_scsp',7478 inlined from 'SCSP_0_w' at src/sound/scsp.c:1047:4:7479src/sound/scsp.c:939:45: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds=]7480 939 | scsp_regs[0x416/2] = tmp_dma[2];7481 | ~~~~~~~^~~7482src/sound/scsp.c: In function 'SCSP_0_w':7483src/sound/scsp.c:898:23: note: while referencing 'tmp_dma'7484 898 | static UINT16 tmp_dma[2], *scsp_regs;7485 | ^~~~~~~7486Compiling src/libretro-deps/libFLAC/cpu.c...7487Compiling src/libretro-deps/libFLAC/crc.c...7488src/libretro-deps/libFLAC/cpu.c:102:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE42' defined but not used [-Wunused-const-variable=]7489 102 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE42 = 0x00100000;7490 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7491src/libretro-deps/libFLAC/cpu.c:101:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE41' defined but not used [-Wunused-const-variable=]7492 101 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE41 = 0x00080000;7493 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7494src/libretro-deps/libFLAC/cpu.c:100:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSSE3' defined but not used [-Wunused-const-variable=]7495 100 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSSE3 = 0x00000200;7496 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7497src/libretro-deps/libFLAC/cpu.c:99:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE3' defined but not used [-Wunused-const-variable=]7498 99 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001;7499 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~7500Compiling src/libretro-deps/libFLAC/fixed.c...7501Compiling src/libretro-deps/libFLAC/float.c...7502Compiling src/libretro-deps/libFLAC/format.c...7503Compiling src/libretro-deps/libFLAC/lpc.c...7504Compiling src/libretro-deps/libFLAC/md5.c...7505Compiling src/libretro-deps/libFLAC/memory.c...7506Compiling src/libretro-deps/libFLAC/stream_decoder.c...7507Compiling src/libretro-deps/libFLAC/window.c...7508Compiling src/lib/zlib/adler32.c...7509Compiling src/lib/zlib/crc32.c...7510Compiling src/lib/zlib/deflate.c...7511Compiling src/lib/zlib/inffast.c...7512src/lib/zlib/deflate.c: In function 'deflateInit2_':7513src/lib/zlib/deflate.c:296:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]7514 296 | strm->msg = ERR_MSG(Z_MEM_ERROR);7515 | ^7516In file included from src/lib/zlib/deflate.h:16,7517 from src/lib/zlib/deflate.c:52:7518src/lib/zlib/deflate.c: In function 'deflate':7519src/lib/zlib/zutil.h:53:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]7520 53 | return (strm->msg = ERR_MSG(err), (err))7521 | ^7522src/lib/zlib/deflate.c:644:7: note: in expansion of macro 'ERR_RETURN'7523 644 | ERR_RETURN(strm, Z_STREAM_ERROR);7524 | ^~~~~~~~~~7525src/lib/zlib/zutil.h:53:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]7526 53 | return (strm->msg = ERR_MSG(err), (err))7527 | ^7528src/lib/zlib/deflate.c:646:30: note: in expansion of macro 'ERR_RETURN'7529 646 | if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);7530 | ^~~~~~~~~~7531src/lib/zlib/zutil.h:53:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]7532 53 | return (strm->msg = ERR_MSG(err), (err))7533 | ^7534src/lib/zlib/deflate.c:852:7: note: in expansion of macro 'ERR_RETURN'7535 852 | ERR_RETURN(strm, Z_BUF_ERROR);7536 | ^~~~~~~~~~7537src/lib/zlib/zutil.h:53:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]7538 53 | return (strm->msg = ERR_MSG(err), (err))7539 | ^7540src/lib/zlib/deflate.c:857:7: note: in expansion of macro 'ERR_RETURN'7541 857 | ERR_RETURN(strm, Z_BUF_ERROR);7542 | ^~~~~~~~~~7543Compiling src/lib/zlib/inflate.c...7544Compiling src/lib/zlib/inftrees.c...7545Compiling src/lib/zlib/ioapi.c...7546Compiling src/lib/zlib/trees.c...7547Compiling src/lib/zlib/uncompr.c...7548Compiling src/lib/zlib/unzip.c...7549Compiling src/lib/zlib/zutil.c...7550Compiling src/libretro-common/compat/compat_posix_string.c...7551Compiling src/libretro-common/compat/compat_snprintf.c...7552Compiling src/libretro-common/compat/compat_strcasestr.c...7553Compiling src/libretro-common/compat/compat_strl.c...7554Compiling src/libretro-common/compat/fopen_utf8.c...7555Compiling src/libretro-common/encodings/encoding_crc32.c...7556Compiling src/libretro-common/encodings/encoding_utf.c...7557Compiling src/libretro-common/file/file_path.c...7558Compiling src/libretro-common/file/file_path_io.c...7559Compiling src/libretro-common/streams/file_stream.c...7560Compiling src/libretro-common/streams/file_stream_transforms.c...7561Compiling src/libretro-common/streams/interface_stream.c...7562Compiling src/libretro-common/streams/memory_stream.c...7563Compiling src/libretro-common/streams/rzip_stream.c...7564Compiling src/libretro-common/streams/stdin_stream.c...7565Compiling src/libretro-common/streams/trans_stream.c...7566Compiling src/libretro-common/streams/trans_stream_pipe.c...7567Compiling src/libretro-common/streams/trans_stream_zlib.c...7568Compiling src/libretro-common/string/stdstring.c...7569Compiling src/libretro-common/utils/md5.c...7570Compiling src/libretro-common/vfs/vfs_implementation.c...7571Compiling src/libretro-common/time/rtime.c...7572Linking mame2003_plus_libretro.so...7573platform7574buildPhase completed in 2 minutes 19 seconds
fixupPhase
7575shrinking RPATHs of ELF executables and libraries in /nix/store/j69krm9d9idf5ys8l309mvn6vjrrdax2-libretro-mame2003-plus-0-unstable-2026-10-157576shrinking /nix/store/j69krm9d9idf5ys8l309mvn6vjrrdax2-libretro-mame2003-plus-0-unstable-2026-10-15/lib/retroarch/cores/mame2003_plus_libretro.so7577checking for references to /build/ in /nix/store/j69krm9d9idf5ys8l309mvn6vjrrdax2-libretro-mame2003-plus-0-unstable-2026-10-15...7578patching script interpreter paths in /nix/store/j69krm9d9idf5ys8l309mvn6vjrrdax2-libretro-mame2003-plus-0-unstable-2026-10-157579stripping (with command strip and flags -S -p) in /nix/store/j69krm9d9idf5ys8l309mvn6vjrrdax2-libretro-mame2003-plus-0-unstable-2026-10-15/lib /nix/store/j69krm9d9idf5ys8l309mvn6vjrrdax2-libretro-mame2003-plus-0-unstable-2026-10-15/bin