nixbot

builds

succeeded libretro-mame2003-plus-0-unstable-2026-09-19 checks.aarch64-linux.nixos-rg28xx · build #21 · raw

unpackPhase
1unpacking source archive /nix/store/5p61b31f57rq6rs4kbmhj8424i90ian9-source2source root is source
configurePhase
3no configure script, doing nothing
buildPhase
4build flags: -j4 SHELL=/nix/store/mwhkh9l5j5z6mkk83k22rjhx6lxgqh85-bash-5.3p15/bin/bash platform=unix ARCH=arm645/nix/store/mwhkh9l5j5z6mkk83k22rjhx6lxgqh85-bash-5.3p15/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...32src/cheat.c: In function 'UIPressedRepeatThrottle':33src/cheat.c:1453:33: warning: variable 'pressed' set but not used [-Wunused-but-set-variable=]34 1453 | int pressed = 0;35 | ^~~~~~~36src/cheat.c: In function 'DoSearchMenu':37src/cheat.c:4876:25: warning: variable 'submenuChoice' set but not used [-Wunused-but-set-variable=]38 4876 | static INT32 submenuChoice = 0;39 | ^~~~~~~~~~~~~40Compiling src/common.c...41Compiling src/config.c...42src/common.c: In function 'readsample':43src/common.c:473:28: warning: unused variable 'SampleFile' [-Wunused-variable]44 473 | struct GameSample *SampleFile;45 | ^~~~~~~~~~46src/common.c: In function 'readsamples':47src/common.c:507:8: warning: variable 'missing_sample' set but not used [-Wunused-but-set-variable=]48 507 | bool missing_sample = false;49 | ^~~~~~~~~~~~~~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...73Compiling src/fileio.c...74src/drawgfx.c: In function 'draw_crosshair':75src/drawgfx.c:3521:29: warning: variable 'black' set but not used [-Wunused-but-set-variable=]76 3521 | unsigned long color,black,white;77 | ^~~~~78Compiling src/harddisk.c...79src/fileio.c: In function 'osd_get_path_info':80src/fileio.c:273:45: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]81 273 | snprintf(buffer, PATH_MAX_LENGTH, "%s%c%s", currDir, PATH_DEFAULT_SLASH_C(), filename);82 | ^83In file included from /nix/store/7cymsp67cnp84xwa7nigdd1hrnqmh0cy-glibc-2.44-25-dev/include/stdio.h:974,84 from src/libretro-common/include/streams/file_stream.h:26,85 from src/fileio.c:11:86In function 'snprintf',87 inlined from 'osd_get_path_info' at src/fileio.c:273:4:88/nix/store/7cymsp67cnp84xwa7nigdd1hrnqmh0cy-glibc-2.44-25-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 409689 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,90 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~91 69 | __glibc_objsize (__s), __fmt,92 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~93 70 | __va_arg_pack ());94 | ~~~~~~~~~~~~~~~~~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...102src/info.c: In function 'print_game_rom':103src/info.c:395:80: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]104 395 | default: fprintf(out, " region=\"0x%x\"", ROMREGION_GETTYPE(region));105 | ~^106 | |107 | unsigned int108 | %lx109src/info.c: At top level:110src/info.c:646:13: warning: 'print_game_history' defined but not used [-Wunused-function]111 646 | static void print_game_history(FILE* out, const struct GameDriver* game)112 | ^~~~~~~~~~~~~~~~~~113Compiling src/inptport.c...114Compiling src/input.c...115src/inptport.c:575:13: warning: 'writeint' defined but not used [-Wunused-function]116 575 | static void writeint(mame_file *f,UINT32 num)117 | ^~~~~~~~118src/inptport.c:556:12: warning: 'readint' defined but not used [-Wunused-function]119 556 | static int readint(mame_file *f,UINT32 *num)120 | ^~~~~~~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...167src/state.c: In function 'ss_register_func':168src/state.c:302:118: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]169 302 | log_cb(RETRO_LOG_DEBUG, LOGPRE "Duplicate save state function (%d, 0x%x)\n", ss_current_tag, (int)func);170 | ^171Compiling src/tilemap.c...172Compiling src/timer.c...173Compiling src/ui_text.c...174Compiling src/usrintrf.c...175src/usrintrf.c: In function 'ui_drawchar':176src/usrintrf.c:491:56: warning: declaration of 'color' shadows a global declaration [-Wshadow]177 491 | void ui_drawchar(struct mame_bitmap *dest, int ch, int color, int sx, int sy)178 | ~~~~^~~~~179src/usrintrf.c:81:22: note: shadowed declaration is here180 81 | static int mode,bank,color,firstdrawn;181 | ^~~~~182src/usrintrf.c: In function 'ui_text_ex':183src/usrintrf.c:515:114: warning: declaration of 'color' shadows a global declaration [-Wshadow]184 515 | static void ui_text_ex(struct mame_bitmap *bitmap, const char *buf_begin, const char *buf_end, int x, int y, int color)185 | ~~~~^~~~~186src/usrintrf.c:81:22: note: shadowed declaration is here187 81 | static int mode,bank,color,firstdrawn;188 | ^~~~~189src/usrintrf.c: In function 'ui_multitext_ex':190src/usrintrf.c:668:130: warning: declaration of 'color' shadows a global declaration [-Wshadow]191 668 | static void ui_multitext_ex(struct mame_bitmap *bitmap, const char *begin, const char *end, unsigned maxchars, int x, int y, int color)192 | ~~~~^~~~~193src/usrintrf.c:81:22: note: shadowed declaration is here194 81 | static int mode,bank,color,firstdrawn;195 | ^~~~~196src/usrintrf.c: In function 'ui_multitextbox_ex':197src/usrintrf.c:687:149: warning: declaration of 'color' shadows a global declaration [-Wshadow]198 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)199 | ~~~~^~~~~200src/usrintrf.c:81:22: note: shadowed declaration is here201 81 | static int mode,bank,color,firstdrawn;202 | ^~~~~203Compiling src/window.c...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...966src/vidhrdw/tubep_vidhrdw.c: In function 'palette_init_tubep':967src/vidhrdw/tubep_vidhrdw.c:339:29: warning: variable 'active_b' set but not used [-Wunused-but-set-variable=]968 339 | int active_b = 2*6;969 | ^~~~~~~~970src/vidhrdw/tubep_vidhrdw.c:338:29: warning: variable 'active_g' set but not used [-Wunused-but-set-variable=]971 338 | int active_g = 3*6;972 | ^~~~~~~~973src/vidhrdw/tubep_vidhrdw.c:337:29: warning: variable 'active_r' set but not used [-Wunused-but-set-variable=]974 337 | int active_r = 3*6;975 | ^~~~~~~~976src/vidhrdw/tubep_vidhrdw.c:235:16: warning: variable 'output_scaler' set but not used [-Wunused-but-set-variable=]977 235 | double output_scaler;978 | ^~~~~~~~~~~~~979Compiling src/drivers/tubep.c...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...990In file included from src/driver.h:64,991 from src/drivers/armedf.c:146:992src/drivers/armedf.c:228:25: warning: 'legion_command_c' defined but not used [-Wunused-function]993 228 | static WRITE16_HANDLER( legion_command_c )994 | ^~~~~~~~~~~~~~~~995src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'996 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)997 | ^~~~998Compiling src/machine/nb1413m3.c...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/vidhrdw/naughtyb_vidhrdw.c...1020Compiling src/drivers/naughtyb.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...1045In file included from src/mame2003/mame2003.h:9,1046 from src/fileio.h:13,1047 from src/mame.h:20,1048 from src/mamedbg.h:4,1049 from src/driver.h:65,1050 from src/drivers/rallyx.c:56:1051src/inptport.h:189:43: warning: 'input_ports_nrallyv' defined but not used [-Wunused-const-variable=]1052 189 | static const struct InputPortTiny input_ports_##name[] = {1053 | ^~~~~~~~~~~~1054src/drivers/rallyx.c:237:1: note: in expansion of macro 'INPUT_PORTS_START'1055 237 | INPUT_PORTS_START( nrallyv )1056 | ^~~~~~~~~~~~~~~~~1057Compiling src/drivers/locomotn.c...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...1082In file included from src/driver.h:68,1083 from src/drivers/polepos.c:213:1084src/common.h:329:111: warning: 'rom_grally' defined but not used [-Wunused-const-variable=]1085 329 | #define ROM_START(name) static const struct RomModule rom_##name[] = {1086 | ^~~~1087src/drivers/polepos.c:2238:1: note: in expansion of macro 'ROM_START'1088 2238 | ROM_START( grally )1089 | ^~~~~~~~~1090src/common.h:329:111: warning: 'rom_polepos2bs' defined but not used [-Wunused-const-variable=]1091 329 | #define ROM_START(name) static const struct RomModule rom_##name[] = {1092 | ^~~~1093src/drivers/polepos.c:2155:1: note: in expansion of macro 'ROM_START'1094 2155 | ROM_START( polepos2bs )1095 | ^~~~~~~~~1096src/common.h:329:111: warning: 'rom_polepos2bi' defined but not used [-Wunused-const-variable=]1097 329 | #define ROM_START(name) static const struct RomModule rom_##name[] = {1098 | ^~~~1099src/drivers/polepos.c:1974:1: note: in expansion of macro 'ROM_START'1100 1974 | ROM_START( polepos2bi )1101 | ^~~~~~~~~1102src/common.h:329:111: warning: 'rom_topracern' defined but not used [-Wunused-const-variable=]1103 329 | #define ROM_START(name) static const struct RomModule rom_##name[] = {1104 | ^~~~1105src/drivers/polepos.c:1642:1: note: in expansion of macro 'ROM_START'1106 1642 | ROM_START( topracern )1107 | ^~~~~~~~~1108Compiling src/vidhrdw/pacland_vidhrdw.c...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...1117src/vidhrdw/tceptor_vidhrdw.c: In function 'palette_init_tceptor':1118src/vidhrdw/tceptor_vidhrdw.c:47:24: warning: variable 'totlookup' set but not used [-Wunused-but-set-variable=]1119 47 | int totcolors, totlookup;1120 | ^~~~~~~~~1121Compiling src/drivers/tceptor.c...1122Compiling src/machine/namcos1_machine.c...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...1150Compiling src/drivers/namcos10.c...1151src/vidhrdw/psx_vidhrdw.c: In function 'MonochromeLine':1152src/vidhrdw/psx_vidhrdw.c:2106:15: warning: variable 'n_db' set but not used [-Wunused-but-set-variable=]1153 2106 | INT32 n_db;1154 | ^~~~1155src/vidhrdw/psx_vidhrdw.c:2105:15: warning: variable 'n_dg' set but not used [-Wunused-but-set-variable=]1156 2105 | INT32 n_dg;1157 | ^~~~1158src/vidhrdw/psx_vidhrdw.c:2104:15: warning: variable 'n_dr' set but not used [-Wunused-but-set-variable=]1159 2104 | INT32 n_dr;1160 | ^~~~1161Compiling src/drivers/namcos11.c...1162In file included from src/drivers/namcos11.c:144:1163src/driver.h:98:14: warning: 'construct_coh110' defined but not used [-Wunused-function]1164 98 | void construct_##game(struct InternalMachineDriver *machine) \1165 | ^~~~~~~~~~1166src/drivers/namcos11.c:797:8: note: in expansion of macro 'MACHINE_DRIVER_START'1167 797 | static MACHINE_DRIVER_START( coh110 )1168 | ^~~~~~~~~~~~~~~~~~~~1169Compiling src/drivers/namcos12.c...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...1307Compiling src/sndhrdw/dkong_sndhrdw.c...1308In file included from src/vidhrdw/dkong_vidhrdw.c:9:1309src/includes/dkong.h:49:13: warning: 'scanline_callback' declared 'static' but never defined [-Wunused-function]1310 49 | static void scanline_callback(int scanline);1311 | ^~~~~~~~~~~~~~~~~1312src/vidhrdw/dkong_vidhrdw.c:782:13: warning: 'draw_grid' defined but not used [-Wunused-function]1313 782 | static void draw_grid(struct mame_bitmap *bitmap)1314 | ^~~~~~~~~1315src/vidhrdw/dkong_vidhrdw.c:222:27: warning: 'radarscp1_net_info' defined but not used [-Wunused-const-variable=]1316 222 | static const res_net_info radarscp1_net_info =1317 | ^~~~~~~~~~~~~~~~~~1318src/drivers/docastle.c:902:114: warning: '/*' within comment [-Wcomment]1319 902 | /* ROM_LOAD( "09c.bin", 0x0000, 0x0200, CRC(066f52bc) SHA1(99f4f2d0181bcaf389c16f127cc3e632d62ee417) ) /* color prom */1320Compiling src/drivers/dkong.c...1321Compiling src/machine/strtheat.c...1322Compiling src/vidhrdw/mario_vidhrdw.c...1323In file included from src/drivers/dkong.c:138:1324src/includes/dkong.h:49:13: warning: 'scanline_callback' declared 'static' but never defined [-Wunused-function]1325 49 | static void scanline_callback(int scanline);1326 | ^~~~~~~~~~~~~~~~~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/drivers/punchout.c...1333Compiling src/machine/rp5h01.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...1342In file included from src/mame2003/mame2003.h:9,1343 from src/fileio.h:13,1344 from src/mame.h:20,1345 from src/mamedbg.h:4,1346 from src/driver.h:65,1347 from src/drivers/vsnes.c:128:1348src/inptport.h:189:43: warning: 'input_ports_vsnes' defined but not used [-Wunused-const-variable=]1349 189 | static const struct InputPortTiny input_ports_##name[] = {1350 | ^~~~~~~~~~~~1351src/drivers/vsnes.c:524:1: note: in expansion of macro 'INPUT_PORTS_START'1352 524 | INPUT_PORTS_START( vsnes )1353 | ^~~~~~~~~~~~~~~~~1354src/machine/snes_machine.c:1051:12: warning: 'snes_validate_infoblock' defined but not used [-Wunused-function]1355 1051 | static int snes_validate_infoblock( UINT8 *infoblock, UINT16 offset )1356 | ^~~~~~~~~~~~~~~~~~~~~~~1357Compiling src/vidhrdw/snes_vidhrdw.c...1358Compiling src/sndhrdw/snes_sndhrdw.c...1359src/vidhrdw/snes_vidhrdw.c: In function 'snes_update_line_8':1360src/vidhrdw/snes_vidhrdw.c:1131:34: warning: variable 'pal' set but not used [-Wunused-but-set-variable=]1361 1131 | UINT16 ii, vflip, hflip, pal;1362 | ^~~1363Compiling src/drivers/nss.c...1364Compiling src/machine/8080bw.c...1365src/sndhrdw/snes_sndhrdw.c: In function 'fakespc_port_r':1366src/sndhrdw/snes_sndhrdw.c:586:28: warning: array subscript 4 is above array bounds of 'UINT8[4]' {aka 'unsigned char[4]'} [-Warray-bounds=]1367 586 | return fakeapu_port[offset];1368 | ~~~~~~~~~~~~^~~~~~~~1369src/sndhrdw/snes_sndhrdw.c:66:7: note: while referencing 'fakeapu_port'1370 66 | UINT8 fakeapu_port[4] = { 0xaa, 0xbb, 0x00, 0x00 };1371 | ^~~~~~~~~~~~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/s2636_vidhrdw.c...1404Compiling src/vidhrdw/cvs_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...1422Compiling src/vidhrdw/gridlee_vidhrdw.c...1423src/machine/balsente_machine.c: In function 'balsente_chip_select_w':1424src/machine/balsente_machine.c:1025:32: warning: variable 'temp' set but not used [-Wunused-but-set-variable=]1425 1025 | double temp = 0;1426 | ^~~~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...1433src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo2_regs_w':1434src/vidhrdw/voodoo_vidhrdw.c:1729:124: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1435 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]);1436 | ^~~~~~~~~~~~~~1437src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo_regs_w':1438src/vidhrdw/voodoo_vidhrdw.c:1781:173: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1439 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);1440 | ^~~~~~~~~~~~~~1441src/vidhrdw/voodoo_vidhrdw.c:1898:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1442 1898 | if (chips & 1) tri_va.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1443 | ^~~~~~~~~~~~~~1444src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1445 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1446 | ^1447src/vidhrdw/voodoo_vidhrdw.c:1901:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1448 1901 | if (chips & 1) tri_va.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1449 | ^~~~~~~~~~~~~~1450src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1451 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1452 | ^1453src/vidhrdw/voodoo_vidhrdw.c:1904:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1454 1904 | if (chips & 1) tri_vb.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1455 | ^~~~~~~~~~~~~~1456src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1457 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1458 | ^1459src/vidhrdw/voodoo_vidhrdw.c:1907:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1460 1907 | if (chips & 1) tri_vb.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1461 | ^~~~~~~~~~~~~~1462src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1463 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1464 | ^1465src/vidhrdw/voodoo_vidhrdw.c:1910:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1466 1910 | if (chips & 1) tri_vc.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1467 | ^~~~~~~~~~~~~~1468src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1469 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1470 | ^1471src/vidhrdw/voodoo_vidhrdw.c:1913:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1472 1913 | if (chips & 1) tri_vc.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1473 | ^~~~~~~~~~~~~~1474src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1475 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1476 | ^1477src/vidhrdw/voodoo_vidhrdw.c:1918:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1478 1918 | if (chips & 1) tri_startr = (INT32)(*(float *)&data * 65536.0);1479 | ^~~~~~~~~~~~~~1480src/vidhrdw/voodoo_vidhrdw.c:1921:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1481 1921 | if (chips & 1) tri_startg = (INT32)(*(float *)&data * 65536.0);1482 | ^~~~~~~~~~~~~~1483src/vidhrdw/voodoo_vidhrdw.c:1924:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1484 1924 | if (chips & 1) tri_startb = (INT32)(*(float *)&data * 65536.0);1485 | ^~~~~~~~~~~~~~1486src/vidhrdw/voodoo_vidhrdw.c:1927:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1487 1927 | if (chips & 1) tri_starta = (INT32)(*(float *)&data * 65536.0);1488 | ^~~~~~~~~~~~~~1489src/vidhrdw/voodoo_vidhrdw.c:1930:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1490 1930 | if (chips & 1) tri_startz = (INT32)(*(float *)&data * 4096.0);1491 | ^~~~~~~~~~~~~~1492src/vidhrdw/voodoo_vidhrdw.c:1933:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1493 1933 | if (chips & 1) tri_startw = *(float *)&data;1494 | ^~~~~~~~~~~~~~1495src/vidhrdw/voodoo_vidhrdw.c:1934:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1496 1934 | if (chips & 2) tri_startw0 = *(float *)&data;1497 | ^~~~~~~~~~~~~~1498src/vidhrdw/voodoo_vidhrdw.c:1935:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1499 1935 | if (chips & 4) tri_startw1 = *(float *)&data;1500 | ^~~~~~~~~~~~~~1501src/vidhrdw/voodoo_vidhrdw.c:1938:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1502 1938 | if (chips & 2) tri_starts0 = *(float *)&data;1503 | ^~~~~~~~~~~~~~1504src/vidhrdw/voodoo_vidhrdw.c:1939:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1505 1939 | if (chips & 4) tri_starts1 = *(float *)&data;1506 | ^~~~~~~~~~~~~~1507src/vidhrdw/voodoo_vidhrdw.c:1942:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1508 1942 | if (chips & 2) tri_startt0 = *(float *)&data;1509 | ^~~~~~~~~~~~~~1510src/vidhrdw/voodoo_vidhrdw.c:1943:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1511 1943 | if (chips & 4) tri_startt1 = *(float *)&data;1512 | ^~~~~~~~~~~~~~1513src/vidhrdw/voodoo_vidhrdw.c:1948:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1514 1948 | if (chips & 1) tri_drdx = (INT32)(*(float *)&data * 65536.0);1515 | ^~~~~~~~~~~~~~1516src/vidhrdw/voodoo_vidhrdw.c:1951:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1517 1951 | if (chips & 1) tri_dgdx = (INT32)(*(float *)&data * 65536.0);1518 | ^~~~~~~~~~~~~~1519src/vidhrdw/voodoo_vidhrdw.c:1954:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1520 1954 | if (chips & 1) tri_dbdx = (INT32)(*(float *)&data * 65536.0);1521 | ^~~~~~~~~~~~~~1522src/vidhrdw/voodoo_vidhrdw.c:1957:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1523 1957 | if (chips & 1) tri_dadx = (INT32)(*(float *)&data * 65536.0);1524 | ^~~~~~~~~~~~~~1525src/vidhrdw/voodoo_vidhrdw.c:1960:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1526 1960 | if (chips & 1) tri_dzdx = (INT32)(*(float *)&data * 4096.0);1527 | ^~~~~~~~~~~~~~1528src/vidhrdw/voodoo_vidhrdw.c:1963:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1529 1963 | if (chips & 1) tri_dwdx = *(float *)&data;1530 | ^~~~~~~~~~~~~~1531src/vidhrdw/voodoo_vidhrdw.c:1964:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1532 1964 | if (chips & 2) tri_dw0dx = *(float *)&data;1533 | ^~~~~~~~~~~~~~1534src/vidhrdw/voodoo_vidhrdw.c:1965:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1535 1965 | if (chips & 4) tri_dw1dx = *(float *)&data;1536 | ^~~~~~~~~~~~~~1537src/vidhrdw/voodoo_vidhrdw.c:1968:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1538 1968 | if (chips & 2) tri_ds0dx = *(float *)&data;1539 | ^~~~~~~~~~~~~~1540src/vidhrdw/voodoo_vidhrdw.c:1969:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1541 1969 | if (chips & 4) tri_ds1dx = *(float *)&data;1542 | ^~~~~~~~~~~~~~1543src/vidhrdw/voodoo_vidhrdw.c:1972:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1544 1972 | if (chips & 2) tri_dt0dx = *(float *)&data;1545 | ^~~~~~~~~~~~~~1546src/vidhrdw/voodoo_vidhrdw.c:1973:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1547 1973 | if (chips & 4) tri_dt1dx = *(float *)&data;1548 | ^~~~~~~~~~~~~~1549src/vidhrdw/voodoo_vidhrdw.c:1978:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1550 1978 | if (chips & 1) tri_drdy = (INT32)(*(float *)&data * 65536.0);1551 | ^~~~~~~~~~~~~~1552src/vidhrdw/voodoo_vidhrdw.c:1981:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1553 1981 | if (chips & 1) tri_dgdy = (INT32)(*(float *)&data * 65536.0);1554 | ^~~~~~~~~~~~~~1555src/vidhrdw/voodoo_vidhrdw.c:1984:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1556 1984 | if (chips & 1) tri_dbdy = (INT32)(*(float *)&data * 65536.0);1557 | ^~~~~~~~~~~~~~1558src/vidhrdw/voodoo_vidhrdw.c:1987:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1559 1987 | if (chips & 1) tri_dady = (INT32)(*(float *)&data * 65536.0);1560 | ^~~~~~~~~~~~~~1561src/vidhrdw/voodoo_vidhrdw.c:1990:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1562 1990 | if (chips & 1) tri_dzdy = (INT32)(*(float *)&data * 4096.0);1563 | ^~~~~~~~~~~~~~1564src/vidhrdw/voodoo_vidhrdw.c:1993:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1565 1993 | if (chips & 1) tri_dwdy = *(float *)&data;1566 | ^~~~~~~~~~~~~~1567src/vidhrdw/voodoo_vidhrdw.c:1994:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1568 1994 | if (chips & 2) tri_dw0dy = *(float *)&data;1569 | ^~~~~~~~~~~~~~1570src/vidhrdw/voodoo_vidhrdw.c:1995:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1571 1995 | if (chips & 4) tri_dw1dy = *(float *)&data;1572 | ^~~~~~~~~~~~~~1573src/vidhrdw/voodoo_vidhrdw.c:1998:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1574 1998 | if (chips & 2) tri_ds0dy = *(float *)&data;1575 | ^~~~~~~~~~~~~~1576src/vidhrdw/voodoo_vidhrdw.c:1999:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1577 1999 | if (chips & 4) tri_ds1dy = *(float *)&data;1578 | ^~~~~~~~~~~~~~1579src/vidhrdw/voodoo_vidhrdw.c:2002:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1580 2002 | if (chips & 2) tri_dt0dy = *(float *)&data;1581 | ^~~~~~~~~~~~~~1582src/vidhrdw/voodoo_vidhrdw.c:2003:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1583 2003 | if (chips & 4) tri_dt1dy = *(float *)&data;1584 | ^~~~~~~~~~~~~~1585src/vidhrdw/voodoo_vidhrdw.c:2008:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1586 2008 | setup_pending.x = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1587 | ^~~~~~~~~~~~~~1588src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1589 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1590 | ^1591src/vidhrdw/voodoo_vidhrdw.c:2011:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1592 2011 | setup_pending.y = TRUNC_TO_INT(*(float *)&data * 16. + 0.5) * (1. / 16.);1593 | ^~~~~~~~~~~~~~1594src/vidhrdw/voodoo_vidhrdw.c:19:40: note: in definition of macro 'TRUNC_TO_INT'1595 19 | #define TRUNC_TO_INT(f) (float) (floor(f))1596 | ^1597src/vidhrdw/voodoo_vidhrdw.c:2020:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1598 2020 | setup_pending.wb = *(float *)&data;1599 | ^~~~~~~~~~~~~~1600src/vidhrdw/voodoo_vidhrdw.c:2023:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1601 2023 | setup_pending.w0 = *(float *)&data;1602 | ^~~~~~~~~~~~~~1603src/vidhrdw/voodoo_vidhrdw.c:2026:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1604 2026 | setup_pending.s0 = *(float *)&data;1605 | ^~~~~~~~~~~~~~1606src/vidhrdw/voodoo_vidhrdw.c:2029:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1607 2029 | setup_pending.t0 = *(float *)&data;1608 | ^~~~~~~~~~~~~~1609src/vidhrdw/voodoo_vidhrdw.c:2032:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1610 2032 | setup_pending.w1 = *(float *)&data;1611 | ^~~~~~~~~~~~~~1612src/vidhrdw/voodoo_vidhrdw.c:2035:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1613 2035 | setup_pending.s1 = *(float *)&data;1614 | ^~~~~~~~~~~~~~1615src/vidhrdw/voodoo_vidhrdw.c:2038:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1616 2038 | setup_pending.t1 = *(float *)&data;1617 | ^~~~~~~~~~~~~~1618src/vidhrdw/voodoo_vidhrdw.c:2041:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1619 2041 | setup_pending.a = *(float *)&data;1620 | ^~~~~~~~~~~~~~1621src/vidhrdw/voodoo_vidhrdw.c:2044:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1622 2044 | setup_pending.r = *(float *)&data;1623 | ^~~~~~~~~~~~~~1624src/vidhrdw/voodoo_vidhrdw.c:2047:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1625 2047 | setup_pending.g = *(float *)&data;1626 | ^~~~~~~~~~~~~~1627src/vidhrdw/voodoo_vidhrdw.c:2050:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]1628 2050 | setup_pending.b = *(float *)&data;1629 | ^~~~~~~~~~~~~~1630src/vidhrdw/voodoo_vidhrdw.c: In function 'voodoo_textureram_w':1631src/vidhrdw/voodoo_vidhrdw.c:2969:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]1632 2969 | if (s == 0 && t == 0)1633 | ^~1634src/vidhrdw/voodoo_vidhrdw.c:2971:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'1635 2971 | while (lod != 0)1636 | ^~~~~1637Compiling src/machine/midwayic.c...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...1646Compiling src/drivers/midvunit.c...1647src/vidhrdw/midvunit_vidhrdw.c: In function 'midvunit_dma_queue_w':1648src/vidhrdw/midvunit_vidhrdw.c:1027:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]1649 1027 | if (LOG_DMA && keyboard_pressed(KEYCODE_L))1650 | ^~1651src/vidhrdw/midvunit_vidhrdw.c:1029:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'1652 1029 | if (dma_data_index < 16)1653 | ^~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...1688src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0':1689src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1690 382 | int endskip = dma_state.endskip << 8; \1691 | ^~~~~~~1692src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1693 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1694 | ^~~~~~~~~~~~~~~~~~1695src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC'1696 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \1697 | ^~~~~~~~~~~~~1698src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1699 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1700 | ^~~~~~~~~~~~~~~~~~~1701src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p1':1702src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1703 382 | int endskip = dma_state.endskip << 8; \1704 | ^~~~~~~1705src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1706 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1707 | ^~~~~~~~~~~~~~~~~~1708src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC'1709 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \1710 | ^~~~~~~~~~~~~1711src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1712 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1713 | ^~~~~~~~~~~~~~~~~~~1714src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0':1715src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1716 382 | int endskip = dma_state.endskip << 8; \1717 | ^~~~~~~1718src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1719 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1720 | ^~~~~~~~~~~~~~~~~~1721src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC'1722 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \1723 | ^~~~~~~~~~~~~1724src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1725 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1726 | ^~~~~~~~~~~~~~~~~~~1727src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c1':1728src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1729 382 | int endskip = dma_state.endskip << 8; \1730 | ^~~~~~~1731src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1732 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1733 | ^~~~~~~~~~~~~~~~~~1734src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC'1735 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \1736 | ^~~~~~~~~~~~~1737src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1738 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1739 | ^~~~~~~~~~~~~~~~~~~1740src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0p1':1741src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1742 382 | int endskip = dma_state.endskip << 8; \1743 | ^~~~~~~1744src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1745 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1746 | ^~~~~~~~~~~~~~~~~~1747src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC'1748 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \1749 | ^~~~~~~~~~~~~1750src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1751 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1752 | ^~~~~~~~~~~~~~~~~~~1753src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0c1':1754src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1755 382 | int endskip = dma_state.endskip << 8; \1756 | ^~~~~~~1757src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1758 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1759 | ^~~~~~~~~~~~~~~~~~1760src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC'1761 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \1762 | ^~~~~~~~~~~~~1763src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1764 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1765 | ^~~~~~~~~~~~~~~~~~~1766src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0p1':1767src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1768 382 | int endskip = dma_state.endskip << 8; \1769 | ^~~~~~~1770src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1771 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1772 | ^~~~~~~~~~~~~~~~~~1773src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC'1774 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \1775 | ^~~~~~~~~~~~~1776src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1777 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1778 | ^~~~~~~~~~~~~~~~~~~1779src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0c1':1780src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1781 382 | int endskip = dma_state.endskip << 8; \1782 | ^~~~~~~1783src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1784 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1785 | ^~~~~~~~~~~~~~~~~~1786src/vidhrdw/midtunit_vidhrdw.c:558:1: note: in expansion of macro 'DMA_DRAW_FUNC'1787 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \1788 | ^~~~~~~~~~~~~1789src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1790 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1791 | ^~~~~~~~~~~~~~~~~~~1792src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0_xf':1793src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1794 382 | int endskip = dma_state.endskip << 8; \1795 | ^~~~~~~1796src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1797 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1798 | ^~~~~~~~~~~~~~~~~~1799src/vidhrdw/midtunit_vidhrdw.c:560:1: note: in expansion of macro 'DMA_DRAW_FUNC'1800 560 | DMA_DRAW_FUNC(prefix##_p0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_SKIP) \1801 | ^~~~~~~~~~~~~1802src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1803 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1804 | ^~~~~~~~~~~~~~~~~~~1805src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p1_xf':1806src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1807 382 | int endskip = dma_state.endskip << 8; \1808 | ^~~~~~~1809src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1810 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1811 | ^~~~~~~~~~~~~~~~~~1812src/vidhrdw/midtunit_vidhrdw.c:561:1: note: in expansion of macro 'DMA_DRAW_FUNC'1813 561 | DMA_DRAW_FUNC(prefix##_p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COPY) \1814 | ^~~~~~~~~~~~~1815src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1816 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1817 | ^~~~~~~~~~~~~~~~~~~1818src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0_xf':1819src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1820 382 | int endskip = dma_state.endskip << 8; \1821 | ^~~~~~~1822src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1823 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1824 | ^~~~~~~~~~~~~~~~~~1825src/vidhrdw/midtunit_vidhrdw.c:562:1: note: in expansion of macro 'DMA_DRAW_FUNC'1826 562 | DMA_DRAW_FUNC(prefix##_c0_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \1827 | ^~~~~~~~~~~~~1828src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1829 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1830 | ^~~~~~~~~~~~~~~~~~~1831src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c1_xf':1832src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1833 382 | int endskip = dma_state.endskip << 8; \1834 | ^~~~~~~1835src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1836 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1837 | ^~~~~~~~~~~~~~~~~~1838src/vidhrdw/midtunit_vidhrdw.c:563:1: note: in expansion of macro 'DMA_DRAW_FUNC'1839 563 | DMA_DRAW_FUNC(prefix##_c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \1840 | ^~~~~~~~~~~~~1841src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1842 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1843 | ^~~~~~~~~~~~~~~~~~~1844src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0p1_xf':1845src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1846 382 | int endskip = dma_state.endskip << 8; \1847 | ^~~~~~~1848src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1849 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1850 | ^~~~~~~~~~~~~~~~~~1851src/vidhrdw/midtunit_vidhrdw.c:564:1: note: in expansion of macro 'DMA_DRAW_FUNC'1852 564 | DMA_DRAW_FUNC(prefix##_p0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COPY) \1853 | ^~~~~~~~~~~~~1854src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1855 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1856 | ^~~~~~~~~~~~~~~~~~~1857src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0c1_xf':1858src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1859 382 | int endskip = dma_state.endskip << 8; \1860 | ^~~~~~~1861src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1862 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1863 | ^~~~~~~~~~~~~~~~~~1864src/vidhrdw/midtunit_vidhrdw.c:565:1: note: in expansion of macro 'DMA_DRAW_FUNC'1865 565 | DMA_DRAW_FUNC(prefix##_c0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \1866 | ^~~~~~~~~~~~~1867src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1868 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1869 | ^~~~~~~~~~~~~~~~~~~1870src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_c0p1_xf':1871src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1872 382 | int endskip = dma_state.endskip << 8; \1873 | ^~~~~~~1874src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1875 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1876 | ^~~~~~~~~~~~~~~~~~1877src/vidhrdw/midtunit_vidhrdw.c:566:1: note: in expansion of macro 'DMA_DRAW_FUNC'1878 566 | DMA_DRAW_FUNC(prefix##_c0p1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COLOR, PIXEL_COPY) \1879 | ^~~~~~~~~~~~~1880src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1881 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1882 | ^~~~~~~~~~~~~~~~~~~1883src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_skip_scale_p0c1_xf':1884src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1885 382 | int endskip = dma_state.endskip << 8; \1886 | ^~~~~~~1887src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1888 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1889 | ^~~~~~~~~~~~~~~~~~1890src/vidhrdw/midtunit_vidhrdw.c:567:1: note: in expansion of macro 'DMA_DRAW_FUNC'1891 567 | DMA_DRAW_FUNC(prefix##_p0c1_xf, bpp, extract, XFLIP_YES, skip, scale, PIXEL_COPY, PIXEL_COLOR) \1892 | ^~~~~~~~~~~~~1893src/vidhrdw/midtunit_vidhrdw.c:591:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1894 591 | DECLARE_BLITTER_SET(dma_draw_skip_scale, dma_state.bpp, EXTRACTGEN, SKIP_YES, SCALE_YES)1895 | ^~~~~~~~~~~~~~~~~~~1896src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p0':1897src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1898 382 | int endskip = dma_state.endskip << 8; \1899 | ^~~~~~~1900src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1901 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1902 | ^~~~~~~~~~~~~~~~~~1903src/vidhrdw/midtunit_vidhrdw.c:551:1: note: in expansion of macro 'DMA_DRAW_FUNC'1904 551 | DMA_DRAW_FUNC(prefix##_p0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_SKIP) \1905 | ^~~~~~~~~~~~~1906src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1907 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1908 | ^~~~~~~~~~~~~~~~~~~1909src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p1':1910src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1911 382 | int endskip = dma_state.endskip << 8; \1912 | ^~~~~~~1913src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1914 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1915 | ^~~~~~~~~~~~~~~~~~1916src/vidhrdw/midtunit_vidhrdw.c:552:1: note: in expansion of macro 'DMA_DRAW_FUNC'1917 552 | DMA_DRAW_FUNC(prefix##_p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COPY) \1918 | ^~~~~~~~~~~~~1919src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1920 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1921 | ^~~~~~~~~~~~~~~~~~~1922src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c0':1923src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1924 382 | int endskip = dma_state.endskip << 8; \1925 | ^~~~~~~1926src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1927 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1928 | ^~~~~~~~~~~~~~~~~~1929src/vidhrdw/midtunit_vidhrdw.c:553:1: note: in expansion of macro 'DMA_DRAW_FUNC'1930 553 | DMA_DRAW_FUNC(prefix##_c0, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_SKIP) \1931 | ^~~~~~~~~~~~~1932src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1933 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1934 | ^~~~~~~~~~~~~~~~~~~1935src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c1':1936src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1937 382 | int endskip = dma_state.endskip << 8; \1938 | ^~~~~~~1939src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1940 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1941 | ^~~~~~~~~~~~~~~~~~1942src/vidhrdw/midtunit_vidhrdw.c:554:1: note: in expansion of macro 'DMA_DRAW_FUNC'1943 554 | DMA_DRAW_FUNC(prefix##_c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_SKIP, PIXEL_COLOR) \1944 | ^~~~~~~~~~~~~1945src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1946 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1947 | ^~~~~~~~~~~~~~~~~~~1948src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p0p1':1949src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1950 382 | int endskip = dma_state.endskip << 8; \1951 | ^~~~~~~1952src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1953 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1954 | ^~~~~~~~~~~~~~~~~~1955src/vidhrdw/midtunit_vidhrdw.c:555:1: note: in expansion of macro 'DMA_DRAW_FUNC'1956 555 | DMA_DRAW_FUNC(prefix##_p0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COPY) \1957 | ^~~~~~~~~~~~~1958src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1959 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1960 | ^~~~~~~~~~~~~~~~~~~1961src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c0c1':1962src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1963 382 | int endskip = dma_state.endskip << 8; \1964 | ^~~~~~~1965src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1966 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1967 | ^~~~~~~~~~~~~~~~~~1968src/vidhrdw/midtunit_vidhrdw.c:556:1: note: in expansion of macro 'DMA_DRAW_FUNC'1969 556 | DMA_DRAW_FUNC(prefix##_c0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COLOR) \1970 | ^~~~~~~~~~~~~1971src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1972 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1973 | ^~~~~~~~~~~~~~~~~~~1974src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_c0p1':1975src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1976 382 | int endskip = dma_state.endskip << 8; \1977 | ^~~~~~~1978src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1979 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1980 | ^~~~~~~~~~~~~~~~~~1981src/vidhrdw/midtunit_vidhrdw.c:557:1: note: in expansion of macro 'DMA_DRAW_FUNC'1982 557 | DMA_DRAW_FUNC(prefix##_c0p1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COLOR, PIXEL_COPY) \1983 | ^~~~~~~~~~~~~1984src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1985 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1986 | ^~~~~~~~~~~~~~~~~~~1987src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p0c1':1988src/vidhrdw/midtunit_vidhrdw.c:382:21: warning: variable 'endskip' set but not used [-Wunused-but-set-variable=]1989 382 | int endskip = dma_state.endskip << 8; \1990 | ^~~~~~~1991src/vidhrdw/midtunit_vidhrdw.c:541:9: note: in expansion of macro 'DMA_DRAW_FUNC_BODY'1992 541 | DMA_DRAW_FUNC_BODY(name, bpp, extract, xflip, skip, scale, zero, nonzero) \1993 | ^~~~~~~~~~~~~~~~~~1994src/vidhrdw/midtunit_vidhrdw.c:558:1: note: in expansion of macro 'DMA_DRAW_FUNC'1995 558 | DMA_DRAW_FUNC(prefix##_p0c1, bpp, extract, XFLIP_NO, skip, scale, PIXEL_COPY, PIXEL_COLOR) \1996 | ^~~~~~~~~~~~~1997src/vidhrdw/midtunit_vidhrdw.c:592:1: note: in expansion of macro 'DECLARE_BLITTER_SET'1998 592 | DECLARE_BLITTER_SET(dma_draw_noskip_scale, dma_state.bpp, EXTRACTGEN, SKIP_NO, SCALE_YES)1999 | ^~~~~~~~~~~~~~~~~~~2000src/vidhrdw/midtunit_vidhrdw.c: In function 'dma_draw_noskip_scale_p0_xf':4561Compiling src/vidhrdw/cabal_vidhrdw.c...4562Compiling src/drivers/cabal.c...4563Compiling src/vidhrdw/toki_vidhrdw.c...4564Compiling src/drivers/toki.c...4565Compiling src/vidhrdw/bloodbro_vidhrdw.c...4566Compiling src/drivers/bloodbro.c...4567Compiling src/vidhrdw/legionna_vidhrdw.c...4568Compiling src/drivers/legionna.c...4569Compiling src/vidhrdw/goal92_vidhrdw.c...4570Compiling src/drivers/goal92.c...4571Compiling src/vidhrdw/exerion_vidhrdw.c...4572Compiling src/drivers/exerion.c...4573Compiling src/drivers/fcombat.c...4574Compiling src/vidhrdw/aeroboto_vidhrdw.c...4575Compiling src/drivers/aeroboto.c...4576Compiling src/vidhrdw/citycon_vidhrdw.c...4577Compiling src/drivers/citycon.c...4578Compiling src/vidhrdw/momoko_vidhrdw.c...4579Compiling src/drivers/momoko.c...4580Compiling src/vidhrdw/argus_vidhrdw.c...4581Compiling src/drivers/argus.c...4582Compiling src/vidhrdw/psychic5_vidhrdw.c...4583Compiling src/drivers/psychic5.c...4584Compiling src/vidhrdw/ginganin_vidhrdw.c...4585Compiling src/drivers/ginganin.c...4586Compiling src/vidhrdw/skyfox_vidhrdw.c...4587Compiling src/drivers/skyfox.c...4588Compiling src/vidhrdw/homerun_vidhrdw.c...4589Compiling src/drivers/homerun.c...4590Compiling src/vidhrdw/cischeat_vidhrdw.c...4591Compiling src/drivers/cischeat.c...4592Compiling src/vidhrdw/tetrisp2_vidhrdw.c...4593Compiling src/drivers/tetrisp2.c...4594src/drivers/tetrisp2.c:46:14: warning: 'rockn_timer_sub_l4' defined but not used [-Wunused-variable]4595 46 | static void *rockn_timer_sub_l4;4596 | ^~~~~~~~~~~~~~~~~~4597Compiling src/vidhrdw/megasys1_vidhrdw.c...4598Compiling src/drivers/megasys1.c...4599Compiling src/vidhrdw/ms32_vidhrdw.c...4600Compiling src/drivers/ms32.c...4601Compiling src/vidhrdw/bigstrkb_vidhrdw.c...4602Compiling src/drivers/bigstrkb.c...4603Compiling src/vidhrdw/rpunch_vidhrdw.c...4604Compiling src/drivers/rpunch.c...4605Compiling src/vidhrdw/tail2nos_vidhrdw.c...4606Compiling src/drivers/tail2nos.c...4607Compiling src/vidhrdw/ojankohs_vidhrdw.c...4608Compiling src/drivers/ojankohs.c...4609Compiling src/vidhrdw/fromance_vidhrdw.c...4610Compiling src/drivers/fromance.c...4611Compiling src/drivers/pipedrm.c...4612Compiling src/vidhrdw/aerofgt_vidhrdw.c...4613Compiling src/drivers/aerofgt.c...4614Compiling src/vidhrdw/welltris_vidhrdw.c...4615src/vidhrdw/aerofgt_vidhrdw.c: In function 'turbofrc_drawsprites':4616src/vidhrdw/aerofgt_vidhrdw.c:390:21: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]4617 390 | if (!chip_disabled_pri & (pri>>4)) continue;4618 | ^~~~~~~~~~~~~~~~~~4619src/vidhrdw/aerofgt_vidhrdw.c: In function 'spinlbrk_draw_sprites':4620src/vidhrdw/aerofgt_vidhrdw.c:466:21: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]4621 466 | if (!chip_disabled_pri & (pri>>4)) continue;4622 | ^~~~~~~~~~~~~~~~~~4623Compiling src/drivers/welltris.c...4624Compiling src/vidhrdw/f1gp_vidhrdw.c...4625src/vidhrdw/f1gp_vidhrdw.c: In function 'f1gp_drawsprites':4626src/vidhrdw/f1gp_vidhrdw.c:205:73: warning: variable 'pri' set but not used [-Wunused-but-set-variable=]4627 205 | int ox,oy,x,y,xsize,ysize,zoomx,zoomy,flipx,flipy,color,pri;4628 | ^~~4629Compiling src/drivers/f1gp.c...4630Compiling src/vidhrdw/taotaido_vidhrdw.c...4631src/vidhrdw/taotaido_vidhrdw.c: In function 'taotaido_tileregs_w':4632src/vidhrdw/taotaido_vidhrdw.c:160:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]4633 160 | if(ACCESSING_LSB)4634 | ^~4635src/vidhrdw/taotaido_vidhrdw.c:162:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'4636 162 | tilemap_mark_all_tiles_dirty(bg_tilemap);4637 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~4638Compiling src/drivers/taotaido.c...4639Compiling src/vidhrdw/crshrace_vidhrdw.c...4640Compiling src/drivers/crshrace.c...4641Compiling src/vidhrdw/gstriker_vidhrdw.c...4642Compiling src/drivers/gstriker.c...4643Compiling src/vidhrdw/suprslam_vidhrdw.c...4644Compiling src/drivers/suprslam.c...4645Compiling src/vidhrdw/fromanc2_vidhrdw.c...4646Compiling src/drivers/fromanc2.c...4647Compiling src/vidhrdw/inufuku_vidhrdw.c...4648Compiling src/drivers/inufuku.c...4649Compiling src/vidhrdw/psikyo_vidhrdw.c...4650Compiling src/drivers/psikyo.c...4651Compiling src/vidhrdw/psikyosh_vidhrdw.c...4652Compiling src/drivers/psikyosh.c...4653Compiling src/vidhrdw/psikyo4_vidhrdw.c...4654Compiling src/drivers/psikyo4.c...4655Compiling src/machine/8254pit.c...4656Compiling src/drivers/leland.c...4657Compiling src/vidhrdw/leland_vidhrdw.c...4658Compiling src/machine/leland_machine.c...4659Compiling src/sndhrdw/leland_sndhrdw.c...4660Compiling src/drivers/ataxx.c...4661src/sndhrdw/leland_sndhrdw.c: In function 'pit8254_r':4662src/sndhrdw/leland_sndhrdw.c:1561:31: warning: variable 'ctr' set but not used [-Wunused-but-set-variable=]4663 1561 | struct counter_state *ctr;4664 | ^~~4665Compiling src/vidhrdw/marineb_vidhrdw.c...4666Compiling src/drivers/marineb.c...4667Compiling src/vidhrdw/funkybee_vidhrdw.c...4668Compiling src/drivers/funkybee.c...4669Compiling src/vidhrdw/zodiack_vidhrdw.c...4670Compiling src/drivers/zodiack.c...4671Compiling src/vidhrdw/espial_vidhrdw.c...4672In file included from src/drivers/zodiack.c:21:4673src/driver.h:98:14: warning: 'construct_moguchan' defined but not used [-Wunused-function]4674 98 | void construct_##game(struct InternalMachineDriver *machine) \4675 | ^~~~~~~~~~4676src/drivers/zodiack.c:542:8: note: in expansion of macro 'MACHINE_DRIVER_START'4677 542 | static MACHINE_DRIVER_START( moguchan )4678 | ^~~~~~~~~~~~~~~~~~~~4679Compiling src/drivers/espial.c...4680Compiling src/vidhrdw/vastar_vidhrdw.c...4681Compiling src/drivers/vastar.c...4682Compiling src/vidhrdw/xorworld_vidhrdw.c...4683Compiling src/drivers/xorworld.c...4684Compiling src/vidhrdw/splash_vidhrdw.c...4685Compiling src/drivers/splash.c...4686Compiling src/vidhrdw/thoop2_vidhrdw.c...4687Compiling src/drivers/thoop2.c...4688Compiling src/vidhrdw/gaelco_vidhrdw.c...4689Compiling src/drivers/gaelco.c...4690Compiling src/machine/wrally_machine.c...4691Compiling src/vidhrdw/wrally_vidhrdw.c...4692Compiling src/drivers/wrally.c...4693Compiling src/vidhrdw/targeth_vidhrdw.c...4694Compiling src/drivers/targeth.c...4695Compiling src/machine/gaelco2_machine.c...4696Compiling src/vidhrdw/gaelco2_vidhrdw.c...4697Compiling src/drivers/gaelco2.c...4698Compiling src/vidhrdw/glass_vidhrdw.c...4699Compiling src/drivers/glass.c...4700Compiling src/vidhrdw/airbustr_vidhrdw.c...4701Compiling src/drivers/airbustr.c...4702Compiling src/vidhrdw/djboy_vidhrdw.c...4703Compiling src/drivers/djboy.c...4704Compiling src/vidhrdw/galpanic_vidhrdw.c...4705Compiling src/drivers/galpanic.c...4706Compiling src/vidhrdw/galpani2_vidhrdw.c...4707Compiling src/drivers/galpani2.c...4708Compiling src/drivers/jchan.c...4709Compiling src/vidhrdw/kaneko16_vidhrdw.c...4710Compiling src/drivers/kaneko16.c...4711Compiling src/vidhrdw/suprnova_vidhrdw.c...4712Compiling src/drivers/suprnova.c...4713src/drivers/kaneko16.c: In function 'calc3_decompress_table':4714src/drivers/kaneko16.c:1270:56: warning: declaration of 'length' shadows a previous local [-Wshadow]4715 1270 | UINT32 length;/*, size;*/4716 | ^~~~~~4717src/drivers/kaneko16.c:1184:16: note: shadowed declaration is here4718 1184 | UINT16 length;4719 | ^~~~~~4720src/drivers/kaneko16.c:1273:88: warning: pointer targets in passing argument 1 of 'EEPROM_get_data_pointer' differ in signedness [-Wpointer-sign]4721 1273 | dat = (UINT8 *)EEPROM_get_data_pointer(&length);4722 | ^~~~~~~4723 | |4724 | UINT32 * {aka unsigned int *}4725In file included from src/drivers/kaneko16.c:65:4726src/machine/eeprom.h:30:39: note: expected 'int *' but argument is of type 'UINT32 *' {aka 'unsigned int *'}4727 30 | UINT8 * EEPROM_get_data_pointer(int * length);4728 | ~~~~~~^~~~~~4729src/drivers/kaneko16.c: In function 'calc3_scantables':4730src/drivers/kaneko16.c:1492:21: warning: variable 'length' set but not used [-Wunused-but-set-variable=]4731 1492 | int length;4732 | ^~~~~~4733src/drivers/kaneko16.c: In function 'calc3_mcu_run':4734src/drivers/kaneko16.c:1542:72: warning: pointer targets in passing argument 1 of 'EEPROM_get_data_pointer' differ in signedness [-Wpointer-sign]4735 1542 | dat = (UINT8 *)EEPROM_get_data_pointer(&length);4736 | ^~~~~~~4737 | |4738 | UINT32 * {aka unsigned int *}4739src/machine/eeprom.h:30:39: note: expected 'int *' but argument is of type 'UINT32 *' {aka 'unsigned int *'}4740 30 | UINT8 * EEPROM_get_data_pointer(int * length);4741 | ~~~~~~^~~~~~4742src/drivers/kaneko16.c:1556:29: warning: declaration of 'i' shadows a previous local [-Wshadow]4743 1556 | int i;4744 | ^4745src/drivers/kaneko16.c:1505:13: note: shadowed declaration is here4746 1505 | int i;4747 | ^4748src/drivers/kaneko16.c: In function 'toxboy_handle_04_subcommand':4749src/drivers/kaneko16.c:2008:59: warning: declaration of 'mcu_ram' shadows a global declaration [-Wshadow]4750 2008 | void toxboy_handle_04_subcommand(UINT8 mcu_subcmd, UINT16*mcu_ram)4751 | ~~~~~~~^~~~~~~4752src/drivers/kaneko16.c:72:18: note: shadowed declaration is here4753 72 | static data16_t *mcu_ram, gtmr_mcu_com[4], *kaneko16_mainram;4754 | ^~~~~~~4755src/drivers/kaneko16.c: In function 'gtmr_wheel_r':4756src/drivers/kaneko16.c:3406:42: warning: bitwise comparison always evaluates to false [-Wtautological-compare]4757 3406 | if ( (readinputport(4) & 0x1800) == 0x10) /* DSW setting*/4758 | ^~4759src/vidhrdw/suprnova_vidhrdw.c: In function 'skns_drawsprites':4760src/vidhrdw/suprnova_vidhrdw.c:290:47: warning: variable 'pri' set but not used [-Wunused-but-set-variable=]4761 290 | int xsize,ysize, size, xpos=0,ypos=0, pri=0, romoffset, colour=0, xflip,yflip, joint;4762 | ^~~4763src/drivers/suprnova.c: In function 'palette_set_rgb_brightness':4764src/drivers/suprnova.c:784:34: warning: variable 'alpha' set but not used [-Wunused-but-set-variable=]4765 784 | int use_bright, r, g, b, alpha;4766 | ^~~~~4767src/drivers/suprnova.c: In function 'skns_palette_ram_w':4768src/drivers/suprnova.c:898:55: warning: variable 'alpha' set but not used [-Wunused-but-set-variable=]4769 898 | int brightness_r, brightness_g, brightness_b, alpha;4770 | ^~~~~4771Compiling src/machine/pd4990a.c...4772Compiling src/machine/neocrypt.c...4773Compiling src/machine/neogeo_machine.c...4774Compiling src/vidhrdw/neogeo_vidhrdw.c...4775Compiling src/drivers/neogeo.c...4776src/machine/neogeo_machine.c: In function 'init_neogeo':4777src/machine/neogeo_machine.c:109:19: warning: variable 'mem16' set but not used [-Wunused-but-set-variable=]4778 109 | data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1);4779 | ^~~~~4780src/drivers/neogeo.c:8352:1: warning: '/*' within comment [-Wcomment]4781 8352 | /* NG:DEV.TEAM */4782src/drivers/neogeo.c: In function 'mv0_bankswitch_r':4783src/drivers/neogeo.c:7784:53: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds=]4784 7784 | return mv0_bankswitch_offset[ offset ];4785 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~4786src/drivers/neogeo.c:7732:15: note: while referencing 'mv0_bankswitch_offset'4787 7732 | static UINT16 mv0_bankswitch_offset[ 2 ];4788 | ^~~~~~~~~~~~~~~~~~~~~4789src/drivers/neogeo.c:7774:53: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds=]4790 7774 | return mv0_bankswitch_offset[ offset ];4791 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~4792src/drivers/neogeo.c:7732:15: note: while referencing 'mv0_bankswitch_offset'4793 7732 | static UINT16 mv0_bankswitch_offset[ 2 ];4794 | ^~~~~~~~~~~~~~~~~~~~~4795Compiling src/vidhrdw/hanaawas_vidhrdw.c...4796Compiling src/drivers/hanaawas.c...4797In file included from /nix/store/7cymsp67cnp84xwa7nigdd1hrnqmh0cy-glibc-2.44-25-dev/include/string.h:580,4798 from src/memory.h:14,4799 from src/driver.h:64,4800 from src/machine/neocrypt.c:59:4801In function 'memcpy',4802 inlined from 'kf2k2mp_decrypt' at src/machine/neocrypt.c:1172:2:4803/nix/store/7cymsp67cnp84xwa7nigdd1hrnqmh0cy-glibc-2.44-25-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]4804 29 | return __builtin___memcpy_chk (__dest, __src, __len,4805 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4806 30 | __glibc_objsize0 (__dest));4807 | ~~~~~~~~~~~~~~~~~~~~~~~~~~4808Compiling src/vidhrdw/speedatk_vidhrdw.c...4809Compiling src/drivers/speedatk.c...4810Compiling src/vidhrdw/srmp2_vidhrdw.c...4811Compiling src/drivers/srmp2.c...4812Compiling src/vidhrdw/seta_vidhrdw.c...4813src/drivers/srmp2.c: In function 'srmp3_input_1_w':4814src/drivers/srmp2.c:480:28: warning: variable 'qqqzz' set but not used [-Wunused-but-set-variable=]4815 480 | static int qqqzz = 0;4816 | ^~~~~4817src/drivers/srmp2.c:479:28: warning: variable 'qqq49' set but not used [-Wunused-but-set-variable=]4818 479 | static int qqq49 = 0;4819 | ^~~~~4820src/drivers/srmp2.c:478:28: warning: variable 'qqq02' set but not used [-Wunused-but-set-variable=]4821 478 | static int qqq02 = 0;4822 | ^~~~~4823src/drivers/srmp2.c:477:28: warning: variable 'qqq01' set but not used [-Wunused-but-set-variable=]4824 477 | static int qqq01 = 0;4825 | ^~~~~4826In function 'memcpy',4827 inlined from 'kof98_decrypt_68k' at src/machine/neocrypt.c:2013:2:4828/nix/store/7cymsp67cnp84xwa7nigdd1hrnqmh0cy-glibc-2.44-25-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]4829 29 | return __builtin___memcpy_chk (__dest, __src, __len,4830 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4831 30 | __glibc_objsize0 (__dest));4832 | ~~~~~~~~~~~~~~~~~~~~~~~~~~4833Compiling src/drivers/seta.c...4834Compiling src/vidhrdw/seta2_vidhrdw.c...4835Compiling src/drivers/seta2.c...4836Compiling src/vidhrdw/ssv_vidhrdw.c...4837Compiling src/drivers/ssv.c...4838Compiling src/vidhrdw/powerins_vidhrdw.c...4839Compiling src/drivers/powerins.c...4840Compiling src/vidhrdw/ohmygod_vidhrdw.c...4841Compiling src/drivers/ohmygod.c...4842Compiling src/vidhrdw/blmbycar_vidhrdw.c...4843Compiling src/drivers/blmbycar.c...4844Compiling src/vidhrdw/route16_vidhrdw.c...4845Compiling src/drivers/route16.c...4846src/vidhrdw/route16_vidhrdw.c: In function 'route16_out0_w':4847src/vidhrdw/route16_vidhrdw.c:77:42: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]4848 77 | video_disable_1 = ((data & 0x02) << 6) && route16_hardware;4849 | ~~~~~~~~~~~~~~~^~~~~4850src/vidhrdw/route16_vidhrdw.c: In function 'route16_out1_w':4851src/vidhrdw/route16_vidhrdw.c:96:42: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]4852 96 | video_disable_2 = ((data & 0x02) << 6 ) && route16_hardware;4853 | ~~~~~~~~~~~~~~~^~~~~~4854Compiling src/vidhrdw/ttmahjng_vidhrdw.c...4855Compiling src/drivers/ttmahjng.c...4856Compiling src/vidhrdw/kangaroo_vidhrdw.c...4857Compiling src/drivers/kangaroo.c...4858Compiling src/vidhrdw/arabian_vidhrdw.c...4859Compiling src/drivers/arabian.c...4860Compiling src/vidhrdw/markham_vidhrdw.c...4861Compiling src/drivers/markham.c...4862src/vidhrdw/arabian_vidhrdw.c: In function 'palette_init_arabian':4863src/vidhrdw/arabian_vidhrdw.c:96:38: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]4864 96 | int rlo = planea ? ((!arhf & az) ? 0 : ar) : enb ? br : 0;4865 | ^~~~~4866src/vidhrdw/arabian_vidhrdw.c:127:38: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]4867 127 | int glo = planea ? ((!aghf & az) ? 0 : ag) : enb ? bg : 0;4868 | ^~~~~4869src/vidhrdw/arabian_vidhrdw.c:148:30: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]4870 148 | int bbase = (!abhf & az) ? 0 : ab;4871 | ^~~~~4872Compiling src/vidhrdw/strnskil_vidhrdw.c...4873Compiling src/drivers/strnskil.c...4874Compiling src/vidhrdw/ikki_vidhrdw.c...4875Compiling src/drivers/ikki.c...4876Compiling src/drivers/shanghai.c...4877Compiling src/vidhrdw/shangha3_vidhrdw.c...4878Compiling src/drivers/shangha3.c...4879Compiling src/vidhrdw/goindol_vidhrdw.c...4880Compiling src/drivers/goindol.c...4881Compiling src/vidhrdw/suna8_vidhrdw.c...4882Compiling src/drivers/suna8.c...4883Compiling src/vidhrdw/suna16_vidhrdw.c...4884Compiling src/drivers/suna16.c...4885Compiling src/drivers/gundealr.c...4886Compiling src/vidhrdw/gundealr_vidhrdw.c...4887Compiling src/vidhrdw/dooyong_vidhrdw.c...4888Compiling src/drivers/dooyong.c...4889Compiling src/machine/leprechn_machine.c...4890Compiling src/vidhrdw/leprechn_vidhrdw.c...4891Compiling src/drivers/leprechn.c...4892Compiling src/machine/beezer_machine.c...4893Compiling src/vidhrdw/beezer_vidhrdw.c...4894Compiling src/drivers/beezer.c...4895Compiling src/vidhrdw/pushman_vidhrdw.c...4896Compiling src/drivers/pushman.c...4897Compiling src/vidhrdw/zerozone_vidhrdw.c...4898Compiling src/drivers/zerozone.c...4899Compiling src/vidhrdw/galspnbl_vidhrdw.c...4900Compiling src/drivers/galspnbl.c...4901Compiling src/vidhrdw/sslam_vidhrdw.c...4902Compiling src/drivers/sslam.c...4903Compiling src/vidhrdw/playmark_vidhrdw.c...4904Compiling src/drivers/playmark.c...4905In file included from src/driver.h:64,4906 from src/drivers/playmark.c:36:4907src/drivers/playmark.c:403:26: warning: 'hrdtimes_sound_writeport' defined but not used [-Wunused-const-variable=]4908 403 | static PORT_WRITE_START( hrdtimes_sound_writeport )4909 | ^~~~~~~~~~~~~~~~~~~~~~~~4910src/memory.h:553:56: note: in definition of macro 'MEMPORT_ARRAY_START'4911 553 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) },4912 | ^4913src/drivers/playmark.c:403:8: note: in expansion of macro 'PORT_WRITE_START'4914 403 | static PORT_WRITE_START( hrdtimes_sound_writeport )4915 | ^~~~~~~~~~~~~~~~4916src/drivers/playmark.c:396:25: warning: 'hrdtimes_sound_readport' defined but not used [-Wunused-const-variable=]4917 396 | static PORT_READ_START( hrdtimes_sound_readport )4918 | ^~~~~~~~~~~~~~~~~~~~~~~4919src/memory.h:553:56: note: in definition of macro 'MEMPORT_ARRAY_START'4920 553 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) },4921 | ^4922src/drivers/playmark.c:396:8: note: in expansion of macro 'PORT_READ_START'4923 396 | static PORT_READ_START( hrdtimes_sound_readport )4924 | ^~~~~~~~~~~~~~~4925Compiling src/vidhrdw/thief_vidhrdw.c...4926Compiling src/drivers/thief.c...4927Compiling src/vidhrdw/mrflea_vidhrdw.c...4928Compiling src/drivers/mrflea.c...4929Compiling src/vidhrdw/holeland_vidhrdw.c...4930Compiling src/drivers/holeland.c...4931Compiling src/vidhrdw/speedbal_vidhrdw.c...4932Compiling src/drivers/speedbal.c...4933Compiling src/vidhrdw/sauro_vidhrdw.c...4934Compiling src/drivers/sauro.c...4935Compiling src/vidhrdw/metro_vidhrdw.c...4936Compiling src/drivers/metro.c...4937Compiling src/vidhrdw/hyprduel_vidhrdw.c...4938Compiling src/drivers/hyprduel.c...4939src/drivers/metro.c: In function 'init_karatour':4940src/drivers/metro.c:4616:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]4941 4616 | for (i = 0;i < memory_region_length(REGION_USER1)/2;i++)4942 | ^~~4943src/drivers/metro.c:4619:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'4944 4619 | init_metro();4945 | ^~~~~~~~~~4946In file included from src/driver.h:64,4947 from src/drivers/metro.c:79:4948src/drivers/metro.c: At top level:4949src/drivers/metro.c:613:25: warning: 'mouja_m6295_data_msb_w' defined but not used [-Wunused-function]4950 613 | static WRITE16_HANDLER( mouja_m6295_data_msb_w )4951 | ^~~~~~~~~~~~~~~~~~~~~~4952src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'4953 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)4954 | ^~~~4955src/drivers/metro.c:598:24: warning: 'mouja_m6295_status_lsb_r' defined but not used [-Wunused-function]4956 598 | static READ16_HANDLER( mouja_m6295_status_lsb_r )4957 | ^~~~~~~~~~~~~~~~~~~~~~~~4958src/memory.h:129:42: note: in definition of macro 'READ16_HANDLER'4959 129 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask)4960 | ^~~~4961src/drivers/metro.c:592:25: warning: 'mouja_sound_rombank_w' defined but not used [-Wunused-function]4962 592 | static WRITE16_HANDLER( mouja_sound_rombank_w )4963 | ^~~~~~~~~~~~~~~~~~~~~4964src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'4965 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)4966 | ^~~~4967src/drivers/metro.c:273:25: warning: 'mouja_irq_timer_ctrl_w' defined but not used [-Wunused-function]4968 273 | static WRITE16_HANDLER( mouja_irq_timer_ctrl_w )4969 | ^~~~~~~~~~~~~~~~~~~~~~4970src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'4971 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)4972 | ^~~~4973Compiling src/vidhrdw/spcforce_vidhrdw.c...4974Compiling src/drivers/spcforce.c...4975Compiling src/drivers/looping.c...4976Compiling src/vidhrdw/paradise_vidhrdw.c...4977Compiling src/drivers/paradise.c...4978Compiling src/vidhrdw/yunsung8_vidhrdw.c...4979Compiling src/drivers/yunsung8.c...4980Compiling src/vidhrdw/yunsun16_vidhrdw.c...4981Compiling src/drivers/yunsun16.c...4982Compiling src/vidhrdw/blueprnt_vidhrdw.c...4983Compiling src/drivers/blueprnt.c...4984Compiling src/vidhrdw/fuukifg2_vidhrdw.c...4985Compiling src/drivers/fuukifg2.c...4986Compiling src/vidhrdw/fuukifg3_vidhrdw.c...4987Compiling src/drivers/fuukifg3.c...4988Compiling src/vidhrdw/drgnmst_vidhrdw.c...4989In file included from src/driver.h:64,4990 from src/drivers/fuukifg3.c:90:4991src/drivers/fuukifg3.c:168:24: warning: 'fuuki32_sound_command_r' defined but not used [-Wunused-function]4992 168 | static READ32_HANDLER( fuuki32_sound_command_r )4993 | ^~~~~~~~~~~~~~~~~~~~~~~4994src/memory.h:131:42: note: in definition of macro 'READ32_HANDLER'4995 131 | #define READ32_HANDLER(name) data32_t name(UNUSEDARG offs_t offset, UNUSEDARG data32_t mem_mask)4996 | ^~~~4997src/drivers/fuukifg3.c:158:25: warning: 'fuuki32_sound_command_w' defined but not used [-Wunused-function]4998 158 | static WRITE32_HANDLER( fuuki32_sound_command_w )4999 | ^~~~~~~~~~~~~~~~~~~~~~~5000src/memory.h:132:42: note: in definition of macro 'WRITE32_HANDLER'5001 132 | #define WRITE32_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data32_t data, UNUSEDARG data32_t mem_mask)5002 | ^~~~5003src/vidhrdw/fuukifg3_vidhrdw.c: In function 'video_start_fuuki32':5004src/vidhrdw/fuukifg3_vidhrdw.c:137:48: warning: '/*' within comment [-Wcomment]5005 137 | /* Machine->gfx[1]->color_granularity=16; /* 256 colour tiles with palette selectable on 16 colour boundaries */5006src/vidhrdw/fuukifg3_vidhrdw.c:138:44: warning: '/*' within comment [-Wcomment]5007 138 | /* Machine->gfx[2]->color_granularity=16; /* 256 colour tiles with palette selectable on 16 colour boundaries */5008Compiling src/drivers/drgnmst.c...5009Compiling src/vidhrdw/unico_vidhrdw.c...5010Compiling src/drivers/unico.c...5011Compiling src/vidhrdw/silkroad_vidhrdw.c...5012Compiling src/drivers/silkroad.c...5013Compiling src/vidhrdw/afega_vidhrdw.c...5014Compiling src/drivers/afega.c...5015Compiling src/vidhrdw/esd16_vidhrdw.c...5016Compiling src/drivers/esd16.c...5017Compiling src/drivers/royalmah.c...5018Compiling src/vidhrdw/hnayayoi_vidhrdw.c...5019Compiling src/drivers/hnayayoi.c...5020Compiling src/vidhrdw/dynax_vidhrdw.c...5021src/vidhrdw/hnayayoi_vidhrdw.c: In function 'draw_layer_interleaved':5022src/vidhrdw/hnayayoi_vidhrdw.c:222:31: warning: variable 'offs' set but not used [-Wunused-but-set-variable=]5023 222 | int county,countx,pen,offs;5024 | ^~~~5025src/vidhrdw/dynax_vidhrdw.c: In function 'hanamai_copylayer':5026src/vidhrdw/dynax_vidhrdw.c:623:35: warning: variable 'offs' set but not used [-Wunused-but-set-variable=]5027 623 | int dy,length,pen,offs;5028 | ^~~~5029src/vidhrdw/dynax_vidhrdw.c: In function 'mjdialq2_copylayer':5030src/vidhrdw/dynax_vidhrdw.c:680:35: warning: variable 'offs' set but not used [-Wunused-but-set-variable=]5031 680 | int dy,length,pen,offs;5032 | ^~~~5033Compiling src/drivers/dynax.c...5034Compiling src/drivers/ddenlovr.c...5035Compiling src/drivers/realbrk.c...5036In file included from src/driver.h:64,5037 from src/drivers/dynax.c:71:5038src/drivers/dynax.c:795:30: warning: 'roldfrog_writemem' defined but not used [-Wunused-const-variable=]5039 795 | static MEMORY_WRITE16_START( roldfrog_writemem )5040 | ^~~~~~~~~~~~~~~~~5041src/memory.h:553:56: note: in definition of macro 'MEMPORT_ARRAY_START'5042 553 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) },5043 | ^5044src/drivers/dynax.c:795:8: note: in expansion of macro 'MEMORY_WRITE16_START'5045 795 | static MEMORY_WRITE16_START( roldfrog_writemem )5046 | ^~~~~~~~~~~~~~~~~~~~5047src/drivers/dynax.c:785:29: warning: 'roldfrog_readmem' defined but not used [-Wunused-const-variable=]5048 785 | static MEMORY_READ16_START( roldfrog_readmem )5049 | ^~~~~~~~~~~~~~~~5050src/memory.h:553:56: note: in definition of macro 'MEMPORT_ARRAY_START'5051 553 | #define MEMPORT_ARRAY_START(t,n,f) const struct t n[] = { { MEMPORT_MARKER, (f) },5052 | ^5053src/drivers/dynax.c:785:8: note: in expansion of macro 'MEMORY_READ16_START'5054 785 | static MEMORY_READ16_START( roldfrog_readmem )5055 | ^~~~~~~~~~~~~~~~~~~5056In file included from src/drivers/ddenlovr.c:79:5057src/drivers/ddenlovr.c:2090:23: warning: 'rtc_irq' defined but not used [-Wunused-function]5058 2090 | static INTERRUPT_GEN( rtc_irq )5059 | ^~~~~~~5060src/driver.h:21:46: note: in definition of macro 'INTERRUPT_GEN'5061 21 | #define INTERRUPT_GEN(func) void func(void)5062 | ^~~~5063Compiling src/vidhrdw/realbrk_vidhrdw.c...5064Compiling src/vidhrdw/crtc6845.c...5065Compiling src/vidhrdw/nyny_vidhrdw.c...5066Compiling src/drivers/nyny.c...5067Compiling src/drivers/r2dtank.c...5068Compiling src/machine/spiders_machine.c...5069Compiling src/vidhrdw/spiders_vidhrdw.c...5070Compiling src/drivers/spiders.c...5071Compiling src/vidhrdw/iqblock_vidhrdw.c...5072Compiling src/drivers/iqblock.c...5073Compiling src/drivers/chindrag.c...5074Compiling src/drivers/grtwall.c...5075Compiling src/vidhrdw/pgm_vidhrdw.c...5076Compiling src/drivers/pgm.c...5077In file included from src/drivers/chindrag.c:4:5078src/driver.h:19:46: warning: 'init_chindrag' defined but not used [-Wunused-function]5079 19 | #define DRIVER_INIT(name) void init_##name(void)5080 | ^~~~~5081src/drivers/chindrag.c:1702:8: note: in expansion of macro 'DRIVER_INIT'5082 1702 | static DRIVER_INIT( chindrag )5083 | ^~~~~~~~~~~5084src/drivers/chindrag.c:1625:13: warning: 'sound_irq' defined but not used [-Wunused-function]5085 1625 | static void sound_irq(int state)5086 | ^~~~~~~~~5087In file included from src/driver.h:64:5088src/drivers/chindrag.c:1060:25: warning: 'vbowl_unk_w' defined but not used [-Wunused-function]5089 1060 | static WRITE16_HANDLER( vbowl_unk_w )5090 | ^~~~~~~~~~~5091src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5092 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5093 | ^~~~5094src/drivers/chindrag.c:960:24: warning: 'xymg_magic_r' defined but not used [-Wunused-function]5095 960 | static READ16_HANDLER( xymg_magic_r )5096 | ^~~~~~~~~~~~5097src/memory.h:129:42: note: in definition of macro 'READ16_HANDLER'5098 129 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask)5099 | ^~~~5100src/drivers/chindrag.c:932:25: warning: 'xymg_magic_w' defined but not used [-Wunused-function]5101 932 | static WRITE16_HANDLER( xymg_magic_w )5102 | ^~~~~~~~~~~~5103src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5104 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5105 | ^~~~5106src/drivers/chindrag.c:847:24: warning: 'lhb_input2_r' defined but not used [-Wunused-function]5107 847 | static READ16_HANDLER( lhb_input2_r )5108 | ^~~~~~~~~~~~5109src/memory.h:129:42: note: in definition of macro 'READ16_HANDLER'5110 129 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask)5111 | ^~~~5112src/drivers/chindrag.c:830:25: warning: 'lhb_input2_w' defined but not used [-Wunused-function]5113 830 | static WRITE16_HANDLER( lhb_input2_w )5114 | ^~~~~~~~~~~~5115src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5116 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5117 | ^~~~5118src/drivers/chindrag.c:818:25: warning: 'lhb_okibank_w' defined but not used [-Wunused-function]5119 818 | static WRITE16_HANDLER( lhb_okibank_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:781:24: warning: 'grtwall_magic_r' defined but not used [-Wunused-function]5125 781 | static READ16_HANDLER( grtwall_magic_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:754:25: warning: 'grtwall_magic_w' defined but not used [-Wunused-function]5131 754 | static WRITE16_HANDLER( grtwall_magic_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:641:24: warning: 'chmplst2_magic_r' defined but not used [-Wunused-function]5137 641 | static READ16_HANDLER( chmplst2_magic_r )5138 | ^~~~~~~~~~~~~~~~5139src/memory.h:129:42: note: in definition of macro 'READ16_HANDLER'5140 129 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask)5141 | ^~~~5142src/drivers/chindrag.c:600:25: warning: 'chmplst2_magic_w' defined but not used [-Wunused-function]5143 600 | static WRITE16_HANDLER( chmplst2_magic_w )5144 | ^~~~~~~~~~~~~~~~5145src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5146 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5147 | ^~~~5148src/drivers/chindrag.c:278:24: warning: 'igs_5_input_r' defined but not used [-Wunused-function]5149 278 | static READ16_HANDLER( igs_##NUM##_input_r ) \5150 | ^~~~5151src/memory.h:129:42: note: in definition of macro 'READ16_HANDLER'5152 129 | #define READ16_HANDLER(name) data16_t name(UNUSEDARG offs_t offset, UNUSEDARG data16_t mem_mask)5153 | ^~~~5154src/drivers/chindrag.c:293:1: note: in expansion of macro 'IGS_INPUT_RW'5155 293 | IGS_INPUT_RW( 5 )5156 | ^~~~~~~~~~~~5157src/drivers/chindrag.c:270:25: warning: 'igs_5_input_w' defined but not used [-Wunused-function]5158 270 | static WRITE16_HANDLER( igs_##NUM##_input_w ) \5159 | ^~~~5160src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5161 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5162 | ^~~~5163src/drivers/chindrag.c:293:1: note: in expansion of macro 'IGS_INPUT_RW'5164 293 | IGS_INPUT_RW( 5 )5165 | ^~~~~~~~~~~~5166Compiling src/machine/pgmprot_machine.c...5167src/drivers/pgm.c: In function 'init_killbld':5168src/drivers/pgm.c:1939:9: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]5169 1939 | memset(kb_regs, 0, 0x10);5170 | ^~~~~~5171src/drivers/pgm.c: In function 'puzzli2_take_leveldata_value':5172src/drivers/pgm.c:2662:7: warning: declaration of 'num_mask_bits' shadows a global declaration [-Wshadow]5173 2662 | int num_mask_bits;5174 | ^~~~~~~~~~~~~5175src/drivers/pgm.c:2596:12: note: shadowed declaration is here5176 2596 | static int num_mask_bits;5177 | ^~~~~~~~~~~~~5178src/drivers/pgm.c:2663:7: warning: declaration of 'desired_mask' shadows a global declaration [-Wshadow]5179 2663 | int desired_mask;5180 | ^~~~~~~~~~~~5181src/drivers/pgm.c:2598:12: note: shadowed declaration is here5182 2598 | static int desired_mask;5183 | ^~~~~~~~~~~~5184src/drivers/pgm.c:2664:7: warning: declaration of 'realrow' shadows a global declaration [-Wshadow]5185 2664 | int realrow;5186 | ^~~~~~~5187src/drivers/pgm.c:2601:12: note: shadowed declaration is here5188 2601 | static int realrow;5189 | ^~~~~~~5190src/drivers/pgm.c: In function 'puzzli2_asic_w':5191src/drivers/pgm.c:2898:13: warning: declaration of 'columns' shadows a global declaration [-Wshadow]5192 2898 | int columns = 0;5193 | ^~~~~~~5194src/drivers/pgm.c:2597:12: note: shadowed declaration is here5195 2597 | static int columns;5196 | ^~~~~~~5197src/drivers/pgm.c:2899:13: warning: declaration of 'rows' shadows a global declaration [-Wshadow]5198 2899 | int rows = 0;5199 | ^~~~5200src/drivers/pgm.c:2600:12: note: shadowed declaration is here5201 2600 | static int rows;5202 | ^~~~5203src/drivers/pgm.c:2986:33: warning: declaration of 'leveldata' shadows a global declaration [-Wshadow]5204 2986 | UINT16* leveldata = &level_structure[0][0];5205 | ^~~~~~~~~5206src/drivers/pgm.c:2599:12: note: shadowed declaration is here5207 2599 | static int leveldata;5208 | ^~~~~~~~~5209src/drivers/pgm.c: At top level:5210src/drivers/pgm.c:2601:12: warning: 'realrow' defined but not used [-Wunused-variable]5211 2601 | static int realrow;5212 | ^~~~~~~5213src/drivers/pgm.c:2600:12: warning: 'rows' defined but not used [-Wunused-variable]5214 2600 | static int rows;5215 | ^~~~5216src/drivers/pgm.c:2599:12: warning: 'leveldata' defined but not used [-Wunused-variable]5217 2599 | static int leveldata;5218 | ^~~~~~~~~5219src/drivers/pgm.c:2598:12: warning: 'desired_mask' defined but not used [-Wunused-variable]5220 2598 | static int desired_mask;5221 | ^~~~~~~~~~~~5222src/drivers/pgm.c:2597:12: warning: 'columns' defined but not used [-Wunused-variable]5223 2597 | static int columns;5224 | ^~~~~~~5225src/drivers/pgm.c:2596:12: warning: 'num_mask_bits' defined but not used [-Wunused-variable]5226 2596 | static int num_mask_bits;5227 | ^~~~~~~~~~~~~5228Compiling src/machine/pgmcrypt.c...5229Compiling src/machine/pgmy2ks.c...5230Compiling src/vidhrdw/hitme_vidhrdw.c...5231Compiling src/drivers/hitme.c...5232Compiling src/drivers/starcrus.c...5233Compiling src/vidhrdw/starcrus_vidhrdw.c...5234Compiling src/vidhrdw/battlex_vidhrdw.c...5235In file included from src/vidhrdw/battlex_vidhrdw.c:3:5236src/includes/battlex.h:10:16: warning: 'battlex_in0_b4' defined but not used [-Wunused-variable]5237 10 | static uint8_t battlex_in0_b4;5238 | ^~~~~~~~~~~~~~5239Compiling src/drivers/battlex.c...5240Compiling src/vidhrdw/carjmbre_vidhrdw.c...5241Compiling src/drivers/carjmbre.c...5242Compiling src/vidhrdw/popper_vidhrdw.c...5243Compiling src/drivers/popper.c...5244Compiling src/vidhrdw/speedspn_vidhrdw.c...5245Compiling src/drivers/speedspn.c...5246Compiling src/vidhrdw/kickgoal_vidhrdw.c...5247Compiling src/drivers/kickgoal.c...5248Compiling src/vidhrdw/usgames_vidhrdw.c...5249Compiling src/drivers/usgames.c...5250Compiling src/vidhrdw/mermaid_vidhrdw.c...5251src/drivers/kickgoal.c:238:34: warning: '/*' within comment [-Wcomment]5252 238 | /* { 0x800006, 0x800007, }, /* accessed in service menu, wheel maybe? */5253Compiling src/drivers/mermaid.c...5254Compiling src/vidhrdw/drmicro_vidhrdw.c...5255Compiling src/drivers/drmicro.c...5256Compiling src/vidhrdw/appoooh_vidhrdw.c...5257Compiling src/drivers/appoooh.c...5258Compiling src/vidhrdw/bankp_vidhrdw.c...5259Compiling src/drivers/bankp.c...5260Compiling src/vidhrdw/mjkjidai_vidhrdw.c...5261Compiling src/drivers/mjkjidai.c...5262Compiling src/vidhrdw/mayumi_vidhrdw.c...5263Compiling src/drivers/mayumi.c...5264Compiling src/vidhrdw/btoads_vidhrdw.c...5265Compiling src/drivers/btoads.c...5266Compiling src/vidhrdw/kinst_vidhrdw.c...5267Compiling src/drivers/kinst.c...5268Compiling src/vidhrdw/freekick_vidhrdw.c...5269Compiling src/drivers/freekick.c...5270Compiling src/drivers/rmhaihai.c...5271Compiling src/drivers/hanaroku.c...5272Compiling src/drivers/yumefuda.c...5273Compiling src/vidhrdw/homedata_vidhrdw.c...5274Compiling src/drivers/homedata.c...5275Compiling src/vidhrdw/artmagic_vidhrdw.c...5276Compiling src/drivers/artmagic.c...5277Compiling src/vidhrdw/shangkid_vidhrdw.c...5278Compiling src/drivers/shangkid.c...5279Compiling src/vidhrdw/astinvad_vidhrdw.c...5280Compiling src/sndhrdw/astinvad_sndhrdw.c...5281Compiling src/drivers/astinvad.c...5282Compiling src/vidhrdw/spacefb_vidhrdw.c...5283Compiling src/drivers/spacefb.c...5284Compiling src/drivers/omegrace.c...5285Compiling src/vidhrdw/dday_vidhrdw.c...5286src/drivers/spacefb.c: In function 'spacefb_port_1_w':5287src/drivers/spacefb.c:166:20: warning: variable 'explosion_playing' set but not used [-Wunused-but-set-variable=]5288 166 | static int explosion_playing = 0;5289 | ^~~~~~~~~~~~~~~~~5290Compiling src/drivers/dday.c...5291Compiling src/vidhrdw/hexa_vidhrdw.c...5292Compiling src/drivers/hexa.c...5293Compiling src/vidhrdw/redalert_vidhrdw.c...5294Compiling src/sndhrdw/redalert_sndhrdw.c...5295Compiling src/drivers/redalert.c...5296Compiling src/machine/stactics_machine.c...5297Compiling src/vidhrdw/stactics_vidhrdw.c...5298Compiling src/drivers/stactics.c...5299Compiling src/vidhrdw/kingobox_vidhrdw.c...5300Compiling src/drivers/kingobox.c...5301Compiling src/vidhrdw/ambush_vidhrdw.c...5302Compiling src/drivers/ambush.c...5303Compiling src/drivers/dlair.c...5304Compiling src/vidhrdw/aztarac_vidhrdw.c...5305Compiling src/sndhrdw/aztarac_sndhrdw.c...5306Compiling src/drivers/aztarac.c...5307Compiling src/vidhrdw/mole_vidhrdw.c...5308Compiling src/drivers/mole.c...5309Compiling src/vidhrdw/gotya_vidhrdw.c...5310Compiling src/sndhrdw/gotya_sndhrdw.c...5311Compiling src/drivers/gotya.c...5312Compiling src/vidhrdw/mrjong_vidhrdw.c...5313Compiling src/drivers/mrjong.c...5314Compiling src/vidhrdw/polyplay_vidhrdw.c...5315Compiling src/sndhrdw/polyplay_sndhrdw.c...5316Compiling src/drivers/polyplay.c...5317Compiling src/vidhrdw/amspdwy_vidhrdw.c...5318Compiling src/drivers/amspdwy.c...5319Compiling src/vidhrdw/othldrby_vidhrdw.c...5320Compiling src/drivers/othldrby.c...5321Compiling src/vidhrdw/mosaic_vidhrdw.c...5322Compiling src/drivers/mosaic.c...5323Compiling src/drivers/spdbuggy.c...5324Compiling src/vidhrdw/sprcros2_vidhrdw.c...5325Compiling src/drivers/sprcros2.c...5326Compiling src/vidhrdw/mugsmash_vidhrdw.c...5327Compiling src/drivers/mugsmash.c...5328Compiling src/vidhrdw/stlforce_vidhrdw.c...5329Compiling src/drivers/stlforce.c...5330Compiling src/vidhrdw/gcpinbal_vidhrdw.c...5331src/vidhrdw/stlforce_vidhrdw.c:196:13: warning: 'draw_sprites_old' defined but not used [-Wunused-function]5332 196 | static void draw_sprites_old( struct mame_bitmap *bitmap, const struct rectangle *cliprect )5333 | ^~~~~~~~~~~~~~~~5334Compiling src/drivers/gcpinbal.c...5335Compiling src/vidhrdw/aquarium_vidhrdw.c...5336Compiling src/drivers/aquarium.c...5337Compiling src/vidhrdw/policetr_vidhrdw.c...5338Compiling src/drivers/policetr.c...5339Compiling src/vidhrdw/pass_vidhrdw.c...5340Compiling src/drivers/pass.c...5341Compiling src/vidhrdw/news_vidhrdw.c...5342Compiling src/drivers/news.c...5343Compiling src/vidhrdw/taxidrvr_vidhrdw.c...5344Compiling src/drivers/taxidrvr.c...5345Compiling src/vidhrdw/xyonix_vidhrdw.c...5346Compiling src/drivers/xyonix.c...5347Compiling src/drivers/findout.c...5348Compiling src/vidhrdw/dribling_vidhrdw.c...5349Compiling src/drivers/dribling.c...5350Compiling src/drivers/ace.c...5351Compiling src/vidhrdw/clayshoo_vidhrdw.c...5352Compiling src/machine/clayshoo_machine.c...5353Compiling src/drivers/clayshoo.c...5354Compiling src/vidhrdw/pirates_vidhrdw.c...5355Compiling src/drivers/pirates.c...5356Compiling src/vidhrdw/fitfight_vidhrdw.c...5357Compiling src/drivers/fitfight.c...5358Compiling src/vidhrdw/flower_vidhrdw.c...5359Compiling src/sndhrdw/flower_sndhrdw.c...5360Compiling src/drivers/flower.c...5361Compiling src/vidhrdw/diverboy_vidhrdw.c...5362Compiling src/drivers/diverboy.c...5363Compiling src/vidhrdw/beaminv_vidhrdw.c...5364Compiling src/drivers/beaminv.c...5365Compiling src/vidhrdw/mcatadv_vidhrdw.c...5366Compiling src/drivers/mcatadv.c...5367Compiling src/vidhrdw/4enraya_vidhrdw.c...5368Compiling src/drivers/4enraya.c...5369Compiling src/vidhrdw/oneshot_vidhrdw.c...5370In file included from src/driver.h:64,5371 from src/drivers/mcatadv.c:60:5372src/drivers/mcatadv.c:89:25: warning: 'mcat_coin_w' defined but not used [-Wunused-function]5373 89 | static WRITE16_HANDLER( mcat_coin_w )5374 | ^~~~~~~~~~~5375src/memory.h:130:42: note: in definition of macro 'WRITE16_HANDLER'5376 130 | #define WRITE16_HANDLER(name) void name(UNUSEDARG offs_t offset, UNUSEDARG data16_t data, UNUSEDARG data16_t mem_mask)5377 | ^~~~5378Compiling src/drivers/oneshot.c...5379Compiling src/drivers/tugboat.c...5380Compiling src/vidhrdw/gotcha_vidhrdw.c...5381Compiling src/drivers/gotcha.c...5382Compiling src/drivers/coolpool.c...5383Compiling src/vidhrdw/gumbo_vidhrdw.c...5384Compiling src/drivers/gumbo.c...5385Compiling src/drivers/statriv2.c...5386Compiling src/vidhrdw/tickee_vidhrdw.c...5387Compiling src/drivers/tickee.c...5388Compiling src/vidhrdw/crgolf_vidhrdw.c...5389Compiling src/drivers/crgolf.c...5390Compiling src/vidhrdw/truco_vidhrdw.c...5391Compiling src/drivers/truco.c...5392Compiling src/vidhrdw/thedeep_vidhrdw.c...5393Compiling src/drivers/thedeep.c...5394Compiling src/vidhrdw/fantland_vidhrdw.c...5395Compiling src/drivers/fantland.c...5396Compiling src/drivers/wallc.c...5397src/drivers/fantland.c:965:1: warning: missing braces around initializer [-Wmissing-braces]5398 965 | {5399 | ^5400......5401 969 | wheelrun_ym3526_irqhandler5402 | {5403 970 | };5404 | }5405In file included from src/drivers/fantland.c:36:5406src/drivers/fantland.c: In function 'construct_wheelrun':5407src/driver.h:247:57: warning: passing argument 4 of 'machine_add_sound' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5408 247 | machine_add_sound(machine, (tag), SOUND_##type, &(interface)); \5409 | ^~~~~~~~~~~~5410src/driver.h:250:9: note: in expansion of macro 'MDRV_SOUND_ADD_TAG'5411 250 | MDRV_SOUND_ADD_TAG(NULL, type, interface) \5412 | ^~~~~~~~~~~~~~~~~~5413src/drivers/fantland.c:1005:9: note: in expansion of macro 'MDRV_SOUND_ADD'5414 1005 | MDRV_SOUND_ADD(YM3526, wheelrun_ym3526_interface )5415 | ^~~~~~~~~~~~~~5416src/driver.h:270:112: note: expected 'void *' but argument is of type 'const struct YM3812interface *'5417 270 | struct MachineSound *machine_add_sound(struct InternalMachineDriver *machine, const char *tag, int type, void *sndintf);5418 | ~~~~~~^~~~~~~5419Compiling src/drivers/skyarmy.c...5420Compiling src/vidhrdw/lethalj_vidhrdw.c...5421Compiling src/drivers/lethalj.c...5422Compiling src/vidhrdw/sbugger_vidhrdw.c...5423Compiling src/drivers/sbugger.c...5424Compiling src/vidhrdw/portrait_vidhrdw.c...5425Compiling src/drivers/portrait.c...5426Compiling src/drivers/enigma2.c...5427Compiling src/drivers/ltcasino.c...5428Compiling src/drivers/vamphalf.c...5429Compiling src/drivers/strvmstr.c...5430Compiling src/vidhrdw/dorachan_vidhrdw.c...5431Compiling src/drivers/dorachan.c...5432Compiling src/vidhrdw/ladyfrog_vidhrdw.c...5433Compiling src/drivers/ladyfrog.c...5434Compiling src/drivers/rabbit.c...5435Compiling src/drivers/malzak.c...5436Compiling src/vidhrdw/malzak_vidhrdw.c...5437src/drivers/rabbit.c: In function 'rabbit_rombank_w':5438src/drivers/rabbit.c:488:13: warning: variable 'bank' set but not used [-Wunused-but-set-variable=]5439 488 | int bank;5440 | ^~~~5441Compiling src/drivers/supertnk.c...5442In file included from src/drivers/malzak.c:26:5443src/drivers/malzak.c:335:23: warning: 'malzak_interrupt' defined but not used [-Wunused-function]5444 335 | static INTERRUPT_GEN( malzak_interrupt )5445 | ^~~~~~~~~~~~~~~~5446src/driver.h:21:46: note: in definition of macro 'INTERRUPT_GEN'5447 21 | #define INTERRUPT_GEN(func) void func(void)5448 | ^~~~5449Compiling src/vidhrdw/crospang_vidhrdw.c...5450Compiling src/drivers/crospang.c...5451src/vidhrdw/crospang_vidhrdw.c: In function 'draw_sprites':5452src/vidhrdw/crospang_vidhrdw.c:87:41: warning: variable 'attr' set but not used [-Wunused-but-set-variable=]5453 87 | int offs,fx,fy,x,y,color,sprite,attr,dy,ay,flag;5454 | ^~~~5455Compiling src/drivers/funybubl.c...5456Compiling src/drivers/dreamwld.c...5457Compiling src/machine/seicop.c...5458In file included from src/driver.h:64,5459 from src/drivers/funybubl.c:17:5460src/drivers/funybubl.c:64:23: warning: 'unk_port_r' defined but not used [-Wunused-function]5461 64 | static READ_HANDLER ( unk_port_r )5462 | ^~~~~~~~~~5463src/memory.h:127:50: note: in definition of macro 'READ_HANDLER'5464 127 | #define READ_HANDLER(name) data8_t name(UNUSEDARG offs_t offset)5465 | ^~~~5466Compiling src/vidhrdw/denjinmk.c...5467Compiling src/drivers/driver_denjinmk.c...5468src/vidhrdw/denjinmk.c:106:13: warning: 'get_fore_tile_info' defined but not used [-Wunused-function]5469 106 | static void get_fore_tile_info(int tile_index) /* this is giving bad tiles... */5470 | ^~~~~~~~~~~~~~~~~~5471src/vidhrdw/denjinmk.c:82:13: warning: 'get_mid_tile_info' defined but not used [-Wunused-function]5472 82 | static void get_mid_tile_info(int tile_index)5473 | ^~~~~~~~~~~~~~~~~5474Compiling src/drivers/simpl156.c...5475Compiling src/drivers/boogwing.c...5476src/drivers/simpl156.c: In function 'nvram_handler_prtytime':5477src/drivers/simpl156.c:730:49: warning: passing argument 1 of 'EEPROM_set_data' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5478 730 | EEPROM_set_data(simpl156_default_eeprom,0x100);5479 | ^~~~~~~~~~~~~~~~~~~~~~~5480In file included from src/drivers/simpl156.c:93:5481src/machine/eeprom.h:29:29: note: expected 'UINT8 *' {aka 'unsigned char *'} but argument is of type 'const UINT8 *' {aka 'const unsigned char *'}5482 29 | void EEPROM_set_data(UINT8 *data, int length);5483 | ~~~~~~~^~~~5484src/drivers/simpl156.c: At top level:5485src/drivers/simpl156.c:101:21: warning: 'prtytime_default_eeprom' defined but not used [-Wunused-variable]5486 101 | static const UINT8 *prtytime_default_eeprom = NULL;5487 | ^~~~~~~~~~~~~~~~~~~~~~~5488Compiling src/drivers/dietgo.c...5489Compiling src/drivers/pktgaldx.c...5490Compiling src/drivers/dblewing.c...5491Compiling src/drivers/mwarr.c...5492Compiling src/drivers/backfire.c...5493Compiling src/drivers/pturn.c...5494Compiling src/vidhrdw/suprridr_vidhrdw.c...5495Compiling src/drivers/suprridr.c...5496Compiling src/drivers/vmetal.c...5497Compiling src/drivers/deco156.c...5498Compiling src/drivers/1945kiii.c...5499Compiling src/drivers/madalien.c...5500Compiling src/drivers/n8080.c...5501Compiling src/drivers/mirax.c...5502Compiling src/machine/model1_machine.c...5503Compiling src/vidhrdw/model1_vidhrdw.c...5504src/machine/model1_machine.c: In function 'track_read_info':5505src/machine/model1_machine.c:870:13: warning: variable 'offd' set but not used [-Wunused-but-set-variable=]5506 870 | int offd;5507 | ^~~~5508src/machine/model1_machine.c: In function 'track_lookup':5509src/machine/model1_machine.c:1039:39: warning: declaration of 'd' shadows a previous local [-Wshadow]5510 1039 | float d = (a-z)*(a-z);5511 | ^5512src/machine/model1_machine.c:1005:15: note: shadowed declaration is here5513 1005 | float d = fifoin_pop_f();5514 | ^5515src/machine/model1_machine.c:1009:22: warning: variable 'behaviour' set but not used [-Wunused-but-set-variable=]5516 1009 | unsigned int behaviour, entry;5517 | ^~~~~~~~~5518src/machine/model1_machine.c: In function 'groundbox_test':5519src/machine/model1_machine.c:1376:18: warning: variable 'y' set but not used [-Wunused-but-set-variable=]5520 1376 | float x, y, z;5521 | ^5522Compiling src/drivers/model1.c...5523src/vidhrdw/model1_vidhrdw.c: In function 'push_object':5524src/vidhrdw/model1_vidhrdw.c:737:13: warning: variable 'dump' set but not used [-Wunused-but-set-variable=]5525 737 | int dump;5526 | ^~~~5527src/vidhrdw/model1_vidhrdw.c: In function 'push_direct':5528src/vidhrdw/model1_vidhrdw.c:941:34: warning: variable 'v2' set but not used [-Wunused-but-set-variable=]5529 941 | UINT32 tex_adr, lum, v1, v2;5530 | ^~5531src/vidhrdw/model1_vidhrdw.c:941:30: warning: variable 'v1' set but not used [-Wunused-but-set-variable=]5532 941 | UINT32 tex_adr, lum, v1, v2;5533 | ^~5534Compiling src/drivers/calorie.c...5535src/vidhrdw/model1_vidhrdw.c: At top level:5536src/vidhrdw/model1_vidhrdw.c:703:28: warning: 'times' defined but not used [-Wunused-const-variable=]5537 703 | static const unsigned char times[]={1,1,1,1,2,2,2,3};5538 | ^~~~~5539src/vidhrdw/model1_vidhrdw.c:482:15: warning: 'scale_color' defined but not used [-Wunused-function]5540 482 | static UINT16 scale_color(UINT16 color, float level)5541 | ^~~~~~~~~~~5542src/vidhrdw/model1_vidhrdw.c:83:15: warning: 'f2u' defined but not used [-Wunused-function]5543 83 | static UINT32 f2u(float f)5544 | ^~~5545Compiling src/machine/mc8123.c...5546Compiling src/machine/namcoio_machine.c...5547Compiling src/drivers/tatsumi.c...5548Compiling src/vidhrdw/tatsumi.c...5549Compiling src/machine/tatsumi.c...5550src/vidhrdw/tatsumi.c: In function 'draw_bg':5551src/vidhrdw/tatsumi.c:964:67: warning: passing argument 1 of 'tilemap_get_pixmap' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5552 964 | const struct mame_bitmap *src_bitmap = tilemap_get_pixmap(src);5553 | ^~~5554In file included from src/driver.h:79,5555 from src/vidhrdw/tatsumi.c:1:5556src/tilemap.h:149:58: note: expected 'struct tilemap *' but argument is of type 'const struct tilemap *'5557 149 | struct mame_bitmap *tilemap_get_pixmap( struct tilemap * tilemap );5558 | ~~~~~~~~~~~~~~~~~^~~~~~~5559Compiling src/cpu/z80/z80.c...5560Compiling src/cpu/adsp2100/adsp2100.c...5561Compiling src/cpu/z180/z180.c...5562Compiling src/cpu/i8085/i8085.c...5563src/cpu/z180/z180.c: In function 'z180_set_irq_callback':5564src/cpu/z180/z180.c:2439:97: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]5565 2439 | log_cb(RETRO_LOG_DEBUG, LOGPRE "Z180 #%d set_irq_callback $%08x\n",cpu_getactivecpu() , (int)callback);5566 | ^5567src/cpu/i8085/i8085.c:172:14: warning: 'illegal' defined but not used [-Wunused-function]5568 172 | static void illegal(void)5569 | ^~~~~~~5570Compiling src/cpu/m6502/m6502.c...5571Compiling src/cpu/h6280/h6280.c...5572In file included from src/cpu/m6502/m6502.c:143:5573src/cpu/m6502/t65c02.c: In function 'm65c02_1a':5574src/cpu/m6502/opsc02.h:187:11: warning: operation on 'm6502.a' may be undefined [-Wsequence-point]5575 187 | A = (UINT8)++A; \5576src/cpu/m6502/t65c02.c:223:58: note: in expansion of macro 'INA'5577 223 | OP(1a) { m6502_ICount -= 2; INA; } /* 2 INA */5578 | ^~~5579src/cpu/m6502/t65c02.c: In function 'm65c02_3a':5580src/cpu/m6502/opsc02.h:180:11: warning: operation on 'm6502.a' may be undefined [-Wsequence-point]5581 180 | A = (UINT8)--A; \5582src/cpu/m6502/t65c02.c:224:58: note: in expansion of macro 'DEA'5583 224 | OP(3a) { m6502_ICount -= 2; DEA; } /* 2 DEA */5584 | ^~~5585In file included from src/cpu/m6502/m6502.c:154:5586src/cpu/m6502/tdeco16.c: In function 'deco16_67':5587src/cpu/m6502/tdeco16.c:185:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable=]5588 185 | int tmp; m6502_ICount -= 2; RD_IMM;5589 | ^~~5590In file included from src/cpu/h6280/h6280.c:133:5591src/cpu/h6280/tblh6280.c: In function 'h6280_088':5592src/cpu/h6280/h6280ops.h:587:11: warning: operation on 'h6280.y' may be undefined [-Wsequence-point]5593 587 | Y = (UINT8)--Y; \5594 | ^5595src/cpu/h6280/tblh6280.c:171:59: note: in expansion of macro 'DEY'5596 171 | OP(_088) { h6280_ICount -= 2; DEY; } /* 2 DEY*/5597 | ^~~5598src/cpu/h6280/tblh6280.c: In function 'h6280_0c8':5599src/cpu/h6280/h6280ops.h:629:11: warning: operation on 'h6280.y' may be undefined [-Wsequence-point]5600 629 | Y = (UINT8)++Y; \5601 | ^5602src/cpu/h6280/tblh6280.c:173:59: note: in expansion of macro 'INY'5603 173 | OP(_0c8) { h6280_ICount -= 2; INY; } /* 2 INY*/5604 | ^~~5605src/cpu/h6280/tblh6280.c: In function 'h6280_0e8':5606src/cpu/h6280/h6280ops.h:622:11: warning: operation on 'h6280.x' may be undefined [-Wsequence-point]5607 622 | X = (UINT8)++X; \5608 | ^5609src/cpu/h6280/tblh6280.c:174:59: note: in expansion of macro 'INX'5610 174 | OP(_0e8) { h6280_ICount -= 2; INX; } /* 2 INX*/5611 | ^~~5612src/cpu/h6280/tblh6280.c: In function 'h6280_0ca':5613src/cpu/h6280/h6280ops.h:580:11: warning: operation on 'h6280.x' may be undefined [-Wsequence-point]5614 580 | X = (UINT8)--X; \5615 | ^5616src/cpu/h6280/tblh6280.c:209:59: note: in expansion of macro 'DEX'5617 209 | OP(_0ca) { h6280_ICount -= 2; DEX; } /* 2 DEX*/5618 | ^~~5619src/cpu/h6280/tblh6280.c: In function 'h6280_01a':5620src/cpu/h6280/h6280ops.h:608:11: warning: operation on 'h6280.a' may be undefined [-Wsequence-point]5621 608 | A = (UINT8)++A; \5622 | ^5623src/cpu/h6280/tblh6280.c:212:59: note: in expansion of macro 'INA'5624 212 | OP(_01a) { h6280_ICount -= 2; INA; } /* 2 INC A*/5625 | ^~~5626src/cpu/h6280/tblh6280.c: In function 'h6280_03a':5627src/cpu/h6280/h6280ops.h:566:11: warning: operation on 'h6280.a' may be undefined [-Wsequence-point]5628 566 | A = (UINT8)--A; \5629 | ^5630src/cpu/h6280/tblh6280.c:213:59: note: in expansion of macro 'DEA'5631 213 | OP(_03a) { h6280_ICount -= 2; DEA; } /* 2 DEC A*/5632 | ^~~5633In file included from src/cpu/z180/z180.c:763:5634src/cpu/z180/z180op.c: In function 'take_interrupt.part.0':5635src/cpu/z180/z180op.c:516:46: warning: array subscript 78 is above array bounds of 'UINT8[64]' {aka 'unsigned char[64]'} [-Warray-bounds=]5636 516 | irq_vector = (Z180.io[Z180_IL] & Z180_IL_IL) + irq * 2;5637 | ~~~~~~~^~~~~~~~~5638src/cpu/z180/z180.c:73:25: note: while referencing 'io'5639 73 | /* 40 */ UINT8 io[64]; /* 64 internal 8 bit registers */5640 | ^~5641Compiling src/cpu/i86/i86.c...5642In file included from src/cpu/i86/i86.c:98:5643src/cpu/i86/instr86.c: In function 'i86_aas':5644src/cpu/i86/instr86.c:1162:15: warning: variable 'ALcarry' set but not used [-Wunused-but-set-variable=]5645 1162 | UINT8 ALcarry=1;5646 | ^~~~~~~5647In file included from src/cpu/i86/i86.c:16:5648src/cpu/i86/i86.c: In function 'i86_get_reg':5649src/cpu/i86/i86.h:102:25: warning: statement with no effect [-Wunused-value]5650 102 | #define CompressFlags() (WORD)(CF | (PF << 2) | (AF << 4) | (ZF << 6) \5651 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~5652 103 | | (SF << 7) | (I.TF << 8) | (I.IF << 9) \5653 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~5654 104 | | (DF << 10) | (OF << 11))5655 | ~~~~~~~~~~~~~~~~~~~~~~~~~~5656src/cpu/i86/i86.c:203:41: note: in expansion of macro 'CompressFlags'5657 203 | case I86_FLAGS: CompressFlags(); return I.flags;5658 | ^~~~~~~~~~~~~5659In file included from src/cpu/i86/i86.c:452:5660src/cpu/i86/instr186.c: In function 'i186_popa':5661src/cpu/i86/instr186.c:36:19: warning: variable 'tmp' set but not used [-Wunused-but-set-variable=]5662 36 | unsigned tmp;5663 | ^~~5664Compiling src/cpu/nec/nec.c...5665src/cpu/nec/nec.c: In function 'i_popa':5666src/cpu/nec/nec.c:392:14: warning: variable 'tmp' set but not used [-Wunused-but-set-variable=]5667 392 | unsigned tmp;5668 | ^~~5669src/cpu/nec/nec.c: In function 'i_aam':5670src/cpu/nec/nec.c:765:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable=]5671 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); }5672 | ^~~~5673src/cpu/nec/nec.c: In function 'i_aad':5674src/cpu/nec/nec.c:766:31: warning: variable 'mult' set but not used [-Wunused-but-set-variable=]5675 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); }5676 | ^~~~5677src/cpu/nec/nec.c: In function 'v30_info':5678src/cpu/nec/nec.c:1223:15: warning: variable 'r' set but not used [-Wunused-but-set-variable=]5679 1223 | nec_Regs *r = context;5680 | ^5681src/cpu/nec/nec.c:1221:17: warning: variable 'buffer' set but not used [-Wunused-but-set-variable=]5682 1221 | static char buffer[32][63+1];5683 | ^~~~~~5684src/cpu/nec/nec.c: In function 'v33_info':5685src/cpu/nec/nec.c:1275:15: warning: variable 'r' set but not used [-Wunused-but-set-variable=]5686 1275 | nec_Regs *r = context;5687 | ^5688src/cpu/nec/nec.c:1273:17: warning: variable 'buffer' set but not used [-Wunused-but-set-variable=]5689 1273 | static char buffer[32][63+1];5690 | ^~~~~~5691src/cpu/nec/nec.c: At top level:5692src/cpu/nec/nec.c:135:13: warning: 'I' is static but used in inline function 'fetchop' which is not static5693 135 | if (I.MF == 1)5694 | ^5695src/cpu/nec/nec.c:133:49: warning: 'I' is static but used in inline function 'fetchop' which is not static5696 133 | UINT8 ret = cpu_readop((I.sregs[CS]<<4)+I.ip++);5697 | ^5698src/cpu/nec/nec.c:133:33: warning: 'I' is static but used in inline function 'fetchop' which is not static5699 133 | UINT8 ret = cpu_readop((I.sregs[CS]<<4)+I.ip++);5700 | ^5701src/cpu/nec/nec.c:133:21: warning: 'cpu_readop' is static but used in inline function 'fetchop' which is not static5702 133 | UINT8 ret = cpu_readop((I.sregs[CS]<<4)+I.ip++);5703 | ^~~~~~~~~~5704Compiling src/cpu/v60/v60.c...5705Compiling src/cpu/v60/v60d.c...5706In file included from src/cpu/v60/v60.c:329:5707src/cpu/v60/op2.c:71:14: warning: 'truncf_c89' defined but not used [-Wunused-function]5708 71 | static float truncf_c89(float x)5709 | ^~~~~~~~~~5710Compiling src/cpu/i8039/i8039.c...5711Compiling src/cpu/i8x41/i8x41.c...5712Compiling src/cpu/m6800/m6800.c...5713In file included from src/cpu/m6800/m6800.c:540:5714src/cpu/m6800/6800ops.c: In function 'brn':5715src/cpu/m6800/6800ops.c:251:15: warning: variable 't' set but not used [-Wunused-but-set-variable=]5716 251 | UINT8 t;5717 | ^5718src/cpu/m6800/m6800.c: In function 'm6800_set_irq_line':5719src/cpu/m6800/m6800.c:697:21: warning: variable 'eddge' set but not used [-Wunused-but-set-variable=]5720 697 | int eddge;5721 | ^~~~~5722Compiling src/cpu/m6805/m6805.c...5723Compiling src/cpu/hd6309/hd6309.c...5724Compiling src/cpu/m6809/m6809.c...5725In file included from src/cpu/m6805/m6805.c:531:5726src/cpu/m6805/6805ops.c: In function 'brn':5727src/cpu/m6805/6805ops.c:111:15: warning: variable 't' set but not used [-Wunused-but-set-variable=]5728 111 | UINT8 t;5729 | ^5730In file included from src/cpu/hd6309/hd6309.c:761:5731src/cpu/hd6309/6309ops.c: In function 'brn':5732src/cpu/hd6309/6309ops.c:500:15: warning: variable 't' set but not used [-Wunused-but-set-variable=]5733 500 | UINT8 t;5734 | ^5735In file included from src/cpu/m6809/m6809.c:666:5736src/cpu/m6809/6809ops.c: In function 'brn':5737src/cpu/m6809/6809ops.c:410:15: warning: variable 't' set but not used [-Wunused-but-set-variable=]5738 410 | UINT8 t;5739 | ^5740Compiling src/cpu/konami/konami.c...5741In file included from src/cpu/konami/konami.c:660:5742src/cpu/konami/konamops.c: In function 'brn':5743src/cpu/konami/konamops.c:328:15: warning: variable 't' set but not used [-Wunused-but-set-variable=]5744 328 | UINT8 t;5745 | ^5746Compiling src/cpu/m68000/m68kops.c...5747Compiling src/cpu/m68000/m68kopac.c...5748Compiling src/cpu/m68000/m68kopdm.c...5749Compiling src/cpu/m68000/m68kopnz.c...5750Compiling src/cpu/m68000/m68kcpu.c...5751src/cpu/m68000/m68kcpu.c:56:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5752 56 | "Invalid CPU",5753 | ^~~~~~~~~~~~~5754src/cpu/m68000/m68kcpu.c:57:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5755 57 | "M68000",5756 | ^~~~~~~~5757src/cpu/m68000/m68kcpu.c:58:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5758 58 | "M68010",5759 | ^~~~~~~~5760src/cpu/m68000/m68kcpu.c:59:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5761 59 | "Invalid CPU",5762 | ^~~~~~~~~~~~~5763src/cpu/m68000/m68kcpu.c:60:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5764 60 | "M68EC020"5765 | ^~~~~~~~~~5766src/cpu/m68000/m68kcpu.c:62:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5767 62 | "Invalid CPU",5768 | ^~~~~~~~~~~~~5769src/cpu/m68000/m68kcpu.c:63:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5770 63 | "Invalid CPU",5771 | ^~~~~~~~~~~~~5772src/cpu/m68000/m68kcpu.c:64:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]5773 64 | "M68020"5774 | ^~~~~~~~5775Compiling src/cpu/m68000/m68kmame.c...5776Compiling src/cpu/t11/t11.c...5777Compiling src/cpu/s2650/s2650.c...5778Compiling src/cpu/tms34010/tms34010.c...5779Compiling src/cpu/tms34010/34010fld.c...5780Compiling src/cpu/tms9900/tms9980a.c...5781Compiling src/cpu/tms9900/tms9995.c...5782Compiling src/cpu/tms9900/tms9900.c...5783Compiling src/cpu/z8000/z8000.c...5784Compiling src/cpu/tms32010/tms32010.c...5785Compiling src/cpu/tms32025/tms32025.c...5786Compiling src/cpu/tms32031/tms32031.c...5787src/cpu/tms32031/tms32031.c: In function 'tms32031_get_reg':5788src/cpu/tms32031/tms32031.c:498:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5789 498 | case TMS32031_R0F: temp = dsp_to_double(&tms32031.r[TMR_R0]); return *(UINT32 *)&temp;5790 | ^~~~~~~~~~~~~~~5791src/cpu/tms32031/tms32031.c:499:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5792 499 | case TMS32031_R1F: temp = dsp_to_double(&tms32031.r[TMR_R1]); return *(UINT32 *)&temp;5793 | ^~~~~~~~~~~~~~~5794src/cpu/tms32031/tms32031.c:500:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5795 500 | case TMS32031_R2F: temp = dsp_to_double(&tms32031.r[TMR_R2]); return *(UINT32 *)&temp;5796 | ^~~~~~~~~~~~~~~5797src/cpu/tms32031/tms32031.c:501:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5798 501 | case TMS32031_R3F: temp = dsp_to_double(&tms32031.r[TMR_R3]); return *(UINT32 *)&temp;5799 | ^~~~~~~~~~~~~~~5800src/cpu/tms32031/tms32031.c:502:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5801 502 | case TMS32031_R4F: temp = dsp_to_double(&tms32031.r[TMR_R4]); return *(UINT32 *)&temp;5802 | ^~~~~~~~~~~~~~~5803src/cpu/tms32031/tms32031.c:503:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5804 503 | case TMS32031_R5F: temp = dsp_to_double(&tms32031.r[TMR_R5]); return *(UINT32 *)&temp;5805 | ^~~~~~~~~~~~~~~5806src/cpu/tms32031/tms32031.c:504:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5807 504 | case TMS32031_R6F: temp = dsp_to_double(&tms32031.r[TMR_R6]); return *(UINT32 *)&temp;5808 | ^~~~~~~~~~~~~~~5809src/cpu/tms32031/tms32031.c:505:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5810 505 | case TMS32031_R7F: temp = dsp_to_double(&tms32031.r[TMR_R7]); return *(UINT32 *)&temp;5811 | ^~~~~~~~~~~~~~~5812src/cpu/tms32031/tms32031.c: In function 'tms32031_set_reg':5813src/cpu/tms32031/tms32031.c:559:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5814 559 | case TMS32031_R0F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R0]); break;5815 | ^~~~~~~~~~~~~5816src/cpu/tms32031/tms32031.c:560:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5817 560 | case TMS32031_R1F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R1]); break;5818 | ^~~~~~~~~~~~~5819src/cpu/tms32031/tms32031.c:561:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5820 561 | case TMS32031_R2F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R2]); break;5821 | ^~~~~~~~~~~~~5822src/cpu/tms32031/tms32031.c:562:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5823 562 | case TMS32031_R3F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R3]); break;5824 | ^~~~~~~~~~~~~5825src/cpu/tms32031/tms32031.c:563:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5826 563 | case TMS32031_R4F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R4]); break;5827 | ^~~~~~~~~~~~~5828src/cpu/tms32031/tms32031.c:564:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5829 564 | case TMS32031_R5F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R5]); break;5830 | ^~~~~~~~~~~~~5831src/cpu/tms32031/tms32031.c:565:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5832 565 | case TMS32031_R6F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R6]); break;5833 | ^~~~~~~~~~~~~5834src/cpu/tms32031/tms32031.c:566:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]5835 566 | case TMS32031_R7F: double_to_dsp(*(float *)&val, &tms32031.r[TMR_R7]); break;5836 | ^~~~~~~~~~~~~5837src/cpu/tms32031/tms32031.c: In function 'boot_loader':5838src/cpu/tms32031/tms32031.c:748:22: warning: variable 'control' set but not used [-Wunused-but-set-variable=]5839 748 | UINT32 bits, control, advance;5840 | ^~~~~~~5841Compiling src/cpu/ccpu/ccpu.c...5842src/cpu/ccpu/ccpu.c: In function 'opJEI_A_A':5843src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5844 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25845 | ^~~~~~~~~~~5846src/cpu/ccpu/ccpu.c:1664:25: note: in expansion of macro 'JMP'5847 1664 | JMP();5848 | ^~~5849src/cpu/ccpu/ccpu.c:1663:17: note: some parts of macro expansion are not guarded by this 'if' clause5850 1663 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKY) - (CINESWORD)FromX) < 0x800)5851 | ^~5852src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5853 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25854 | ^~~~~~~~~~~5855src/cpu/ccpu/ccpu.c:1669:25: note: in expansion of macro 'JMP'5856 1669 | JMP();5857 | ^~~5858src/cpu/ccpu/ccpu.c:1668:17: note: some parts of macro expansion are not guarded by this 'if' clause5859 1668 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800)5860 | ^~5861src/cpu/ccpu/ccpu.c: In function 'opJEI_B_BB':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:1682:25: note: in expansion of macro 'JMP'5866 1682 | JMP();5867 | ^~~5868src/cpu/ccpu/ccpu.c:1681:17: note: some parts of macro expansion are not guarded by this 'if' clause5869 1681 | 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:1687:25: note: in expansion of macro 'JMP'5875 1687 | JMP();5876 | ^~~5877src/cpu/ccpu/ccpu.c:1686:17: note: some parts of macro expansion are not guarded by this 'if' clause5878 1686 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800)5879 | ^~5880src/cpu/ccpu/ccpu.c: In function 'opJEI_A_B':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:1700:25: note: in expansion of macro 'JMP'5885 1700 | JMP();5886 | ^~~5887src/cpu/ccpu/ccpu.c:1699:17: note: some parts of macro expansion are not guarded by this 'if' clause5888 1699 | 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:1705:25: note: in expansion of macro 'JMP'5894 1705 | JMP();5895 | ^~~5896src/cpu/ccpu/ccpu.c:1704:17: note: some parts of macro expansion are not guarded by this 'if' clause5897 1704 | if ((CCPU_READPORT (CCPU_PORT_IN_JOYSTICKX) - (CINESWORD)FromX) < 0x800)5898 | ^~5899src/cpu/ccpu/ccpu.c: In function 'opJMI_A_A':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:1721:17: note: in expansion of macro 'JMP'5904 1721 | JMP(); /* yes -- do jump */5905 | ^~~5906src/cpu/ccpu/ccpu.c:1720:9: note: some parts of macro expansion are not guarded by this 'if' clause5907 1720 | if (register_A & 0x800)5908 | ^~5909src/cpu/ccpu/ccpu.c: In function 'opJMI_AA_A':5910src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5911 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25912 | ^~~~~~~~~~~5913src/cpu/ccpu/ccpu.c:1730:17: note: in expansion of macro 'JMP'5914 1730 | JMP();5915 | ^~~5916src/cpu/ccpu/ccpu.c:1729:9: note: some parts of macro expansion are not guarded by this 'if' clause5917 1729 | if (cmp_old & 0x800)5918 | ^~5919src/cpu/ccpu/ccpu.c: In function 'opJMI_BB_A':5920src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5921 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25922 | ^~~~~~~~~~~5923src/cpu/ccpu/ccpu.c:1738:17: note: in expansion of macro 'JMP'5924 1738 | JMP();5925 | ^~~5926src/cpu/ccpu/ccpu.c:1737:9: note: some parts of macro expansion are not guarded by this 'if' clause5927 1737 | if (register_B & 0x800)5928 | ^~5929src/cpu/ccpu/ccpu.c: In function 'opJMI_B_BB':5930src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5931 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25932 | ^~~~~~~~~~~5933src/cpu/ccpu/ccpu.c:1746:17: note: in expansion of macro 'JMP'5934 1746 | JMP();5935 | ^~~5936src/cpu/ccpu/ccpu.c:1745:9: note: some parts of macro expansion are not guarded by this 'if' clause5937 1745 | if (register_A & 0x800)5938 | ^~5939src/cpu/ccpu/ccpu.c: In function 'opJLT_A_A':5940src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5941 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25942 | ^~~~~~~~~~~5943src/cpu/ccpu/ccpu.c:1756:17: note: in expansion of macro 'JMP'5944 1756 | JMP();5945 | ^~~5946src/cpu/ccpu/ccpu.c:1755:9: note: some parts of macro expansion are not guarded by this 'if' clause5947 1755 | if (cmp_new < cmp_old)5948 | ^~5949src/cpu/ccpu/ccpu.c: In function 'opJLT_B_BB':5950src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5951 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25952 | ^~~~~~~~~~~5953src/cpu/ccpu/ccpu.c:1764:17: note: in expansion of macro 'JMP'5954 1764 | JMP();5955 | ^~~5956src/cpu/ccpu/ccpu.c:1763:9: note: some parts of macro expansion are not guarded by this 'if' clause5957 1763 | if (cmp_new < cmp_old)5958 | ^~5959src/cpu/ccpu/ccpu.c: In function 'opJEQ_A_A':5960src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5961 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25962 | ^~~~~~~~~~~5963src/cpu/ccpu/ccpu.c:1774:17: note: in expansion of macro 'JMP'5964 1774 | JMP();5965 | ^~~5966src/cpu/ccpu/ccpu.c:1773:9: note: some parts of macro expansion are not guarded by this 'if' clause5967 1773 | if (cmp_new == cmp_old)5968 | ^~5969src/cpu/ccpu/ccpu.c: In function 'opJEQ_B_BB':5970src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5971 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25972 | ^~~~~~~~~~~5973src/cpu/ccpu/ccpu.c:1782:17: note: in expansion of macro 'JMP'5974 1782 | JMP();5975 | ^~~5976src/cpu/ccpu/ccpu.c:1781:9: note: some parts of macro expansion are not guarded by this 'if' clause5977 1781 | if (cmp_new == cmp_old)5978 | ^~5979src/cpu/ccpu/ccpu.c: In function 'opJA0_A_A':5980src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5981 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25982 | ^~~~~~~~~~~5983src/cpu/ccpu/ccpu.c:1790:17: note: in expansion of macro 'JMP'5984 1790 | JMP();5985 | ^~~5986src/cpu/ccpu/ccpu.c:1789:9: note: some parts of macro expansion are not guarded by this 'if' clause5987 1789 | if (acc_a0 & 0x01)5988 | ^~5989src/cpu/ccpu/ccpu.c: In function 'opJA0_B_BB':5990src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]5991 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 25992 | ^~~~~~~~~~~5993src/cpu/ccpu/ccpu.c:1798:17: note: in expansion of macro 'JMP'5994 1798 | JMP();5995 | ^~~5996src/cpu/ccpu/ccpu.c:1797:9: note: some parts of macro expansion are not guarded by this 'if' clause5997 1797 | if (acc_a0 & 0x01)5998 | ^~5999src/cpu/ccpu/ccpu.c: In function 'opJNC_A_A':6000src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6001 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26002 | ^~~~~~~~~~~6003src/cpu/ccpu/ccpu.c:1806:17: note: in expansion of macro 'JMP'6004 1806 | JMP(); /* no carry, so jump */6005 | ^~~6006src/cpu/ccpu/ccpu.c:1805:9: note: some parts of macro expansion are not guarded by this 'if' clause6007 1805 | if (!(GETFC() & 0xF0))6008 | ^~6009src/cpu/ccpu/ccpu.c: In function 'opJNC_B_BB':6010src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6011 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26012 | ^~~~~~~~~~~6013src/cpu/ccpu/ccpu.c:1814:17: note: in expansion of macro 'JMP'6014 1814 | JMP(); /* no carry, so jump */6015 | ^~~6016src/cpu/ccpu/ccpu.c:1813:9: note: some parts of macro expansion are not guarded by this 'if' clause6017 1813 | if (!(GETFC() & 0xF0))6018 | ^~6019src/cpu/ccpu/ccpu.c: In function 'opJMI_A_B':6020src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6021 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26022 | ^~~~~~~~~~~6023src/cpu/ccpu/ccpu.c:1921:17: note: in expansion of macro 'JMP'6024 1921 | JMP();6025 | ^~~6026src/cpu/ccpu/ccpu.c:1920:9: note: some parts of macro expansion are not guarded by this 'if' clause6027 1920 | if (register_A & 0x800)6028 | ^~6029src/cpu/ccpu/ccpu.c: In function 'opJLT_A_B':6030src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6031 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26032 | ^~~~~~~~~~~6033src/cpu/ccpu/ccpu.c:1941:17: note: in expansion of macro 'JMP'6034 1941 | JMP();6035 | ^~~6036src/cpu/ccpu/ccpu.c:1940:9: note: some parts of macro expansion are not guarded by this 'if' clause6037 1940 | if (cmp_new < cmp_old)6038 | ^~6039src/cpu/ccpu/ccpu.c: In function 'opJEQ_A_B':6040src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6041 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26042 | ^~~~~~~~~~~6043src/cpu/ccpu/ccpu.c:1949:17: note: in expansion of macro 'JMP'6044 1949 | JMP();6045 | ^~~6046src/cpu/ccpu/ccpu.c:1948:9: note: some parts of macro expansion are not guarded by this 'if' clause6047 1948 | if (cmp_new == cmp_old)6048 | ^~6049src/cpu/ccpu/ccpu.c: In function 'opJA0_A_B':6050src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6051 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26052 | ^~~~~~~~~~~6053src/cpu/ccpu/ccpu.c:1957:17: note: in expansion of macro 'JMP'6054 1957 | JMP();6055 | ^~~6056src/cpu/ccpu/ccpu.c:1956:9: note: some parts of macro expansion are not guarded by this 'if' clause6057 1956 | if (GETA0() & 0x01)6058 | ^~6059src/cpu/ccpu/ccpu.c: In function 'opJNC_A_B':6060src/cpu/ccpu/ccpu.c:431:15: warning: macro expands to multiple statements [-Wmultistatement-macros]6061 431 | #define JMP() register_PC = ((register_PC - 1) & 0xF000) + register_J; ccpu_icount -= 26062 | ^~~~~~~~~~~6063src/cpu/ccpu/ccpu.c:1965:17: note: in expansion of macro 'JMP'6064 1965 | JMP(); /* if no carry, jump */6065 | ^~~6066src/cpu/ccpu/ccpu.c:1964:9: note: some parts of macro expansion are not guarded by this 'if' clause6067 1964 | if (!(GETFC() & 0x0F0))6068 | ^~6069Compiling src/vidhrdw/cinemat_vidhrdw.c...6070src/vidhrdw/cinemat_vidhrdw.c: In function 'CinemaVectorData':6071src/vidhrdw/cinemat_vidhrdw.c:32:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]6072 32 | else6073 | ^~~~6074src/vidhrdw/cinemat_vidhrdw.c:35:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'6075 35 | lastx = tox;6076 | ^~~~~6077Compiling src/cpu/mips/psx_cpu.c...6078Compiling src/cpu/asap/asap.c...6079Compiling src/cpu/upd7810/upd7810.c...6080Compiling src/cpu/arm/arm.c...6081Compiling src/cpu/jaguar/jaguar.c...6082Compiling src/cpu/mips/r3000.c...6083Compiling src/cpu/mips/mips3.c...6084Compiling src/cpu/sh2/sh2.c...6085src/cpu/mips/mips3.c: In function 'handle_cop1':6086src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6087 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6088 | ^6089src/cpu/mips/mips3.c:796:49: note: in expansion of macro 'FDVALS'6090 796 | FDVALS = FSVALS + FTVALS;6091 | ^~~~~~6092src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6093 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6094 | ^6095src/cpu/mips/mips3.c:796:58: note: in expansion of macro 'FSVALS'6096 796 | FDVALS = FSVALS + FTVALS;6097 | ^~~~~~6098src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6099 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6100 | ^6101src/cpu/mips/mips3.c:796:67: note: in expansion of macro 'FTVALS'6102 796 | FDVALS = FSVALS + FTVALS;6103 | ^~~~~~6104src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6105 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6106 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6107src/cpu/mips/mips3.c:798:49: note: in expansion of macro 'FDVALD'6108 798 | FDVALD = FSVALD + FTVALD;6109 | ^~~~~~6110src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6111 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6112 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6113src/cpu/mips/mips3.c:798:58: note: in expansion of macro 'FSVALD'6114 798 | FDVALD = FSVALD + FTVALD;6115 | ^~~~~~6116src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6117 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6118 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6119src/cpu/mips/mips3.c:798:67: note: in expansion of macro 'FTVALD'6120 798 | FDVALD = FSVALD + FTVALD;6121 | ^~~~~~6122src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6123 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6124 | ^6125src/cpu/mips/mips3.c:803:49: note: in expansion of macro 'FDVALS'6126 803 | FDVALS = FSVALS - FTVALS;6127 | ^~~~~~6128src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6129 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6130 | ^6131src/cpu/mips/mips3.c:803:58: note: in expansion of macro 'FSVALS'6132 803 | FDVALS = FSVALS - FTVALS;6133 | ^~~~~~6134src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6135 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6136 | ^6137src/cpu/mips/mips3.c:803:67: note: in expansion of macro 'FTVALS'6138 803 | FDVALS = FSVALS - FTVALS;6139 | ^~~~~~6140src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6141 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6142 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6143src/cpu/mips/mips3.c:805:49: note: in expansion of macro 'FDVALD'6144 805 | FDVALD = FSVALD - FTVALD;6145 | ^~~~~~6146src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6147 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6148 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6149src/cpu/mips/mips3.c:805:58: note: in expansion of macro 'FSVALD'6150 805 | FDVALD = FSVALD - FTVALD;6151 | ^~~~~~6152src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6153 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6154 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6155src/cpu/mips/mips3.c:805:67: note: in expansion of macro 'FTVALD'6156 805 | FDVALD = FSVALD - FTVALD;6157 | ^~~~~~6158src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6159 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6160 | ^6161src/cpu/mips/mips3.c:810:49: note: in expansion of macro 'FDVALS'6162 810 | FDVALS = FSVALS * FTVALS;6163 | ^~~~~~6164src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6165 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6166 | ^6167src/cpu/mips/mips3.c:810:58: note: in expansion of macro 'FSVALS'6168 810 | FDVALS = FSVALS * FTVALS;6169 | ^~~~~~6170src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6171 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6172 | ^6173src/cpu/mips/mips3.c:810:67: note: in expansion of macro 'FTVALS'6174 810 | FDVALS = FSVALS * FTVALS;6175 | ^~~~~~6176src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6177 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6178 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6179src/cpu/mips/mips3.c:812:49: note: in expansion of macro 'FDVALD'6180 812 | FDVALD = FSVALD * FTVALD;6181 | ^~~~~~6182src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6183 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6184 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6185src/cpu/mips/mips3.c:812:58: note: in expansion of macro 'FSVALD'6186 812 | FDVALD = FSVALD * FTVALD;6187 | ^~~~~~6188src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6189 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6190 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6191src/cpu/mips/mips3.c:812:67: note: in expansion of macro 'FTVALD'6192 812 | FDVALD = FSVALD * FTVALD;6193 | ^~~~~~6194src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6195 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6196 | ^6197src/cpu/mips/mips3.c:817:49: note: in expansion of macro 'FDVALS'6198 817 | FDVALS = FSVALS / FTVALS;6199 | ^~~~~~6200src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6201 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6202 | ^6203src/cpu/mips/mips3.c:817:58: note: in expansion of macro 'FSVALS'6204 817 | FDVALS = FSVALS / FTVALS;6205 | ^~~~~~6206src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6207 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6208 | ^6209src/cpu/mips/mips3.c:817:67: note: in expansion of macro 'FTVALS'6210 817 | FDVALS = FSVALS / FTVALS;6211 | ^~~~~~6212src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6213 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6214 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6215src/cpu/mips/mips3.c:819:49: note: in expansion of macro 'FDVALD'6216 819 | FDVALD = FSVALD / FTVALD;6217 | ^~~~~~6218src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6219 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6220 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6221src/cpu/mips/mips3.c:819:58: note: in expansion of macro 'FSVALD'6222 819 | FDVALD = FSVALD / FTVALD;6223 | ^~~~~~6224src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6225 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6226 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6227src/cpu/mips/mips3.c:819:67: note: in expansion of macro 'FTVALD'6228 819 | FDVALD = FSVALD / FTVALD;6229 | ^~~~~~6230src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6231 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6232 | ^6233src/cpu/mips/mips3.c:824:49: note: in expansion of macro 'FDVALS'6234 824 | FDVALS = sqrt(FSVALS);6235 | ^~~~~~6236src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6237 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6238 | ^6239src/cpu/mips/mips3.c:824:63: note: in expansion of macro 'FSVALS'6240 824 | FDVALS = sqrt(FSVALS);6241 | ^~~~~~6242src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6243 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6244 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6245src/cpu/mips/mips3.c:826:49: note: in expansion of macro 'FDVALD'6246 826 | FDVALD = sqrt(FSVALD);6247 | ^~~~~~6248src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6249 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6250 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6251src/cpu/mips/mips3.c:826:63: note: in expansion of macro 'FSVALD'6252 826 | FDVALD = sqrt(FSVALD);6253 | ^~~~~~6254src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6255 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6256 | ^6257src/cpu/mips/mips3.c:831:49: note: in expansion of macro 'FDVALS'6258 831 | FDVALS = fabs(FSVALS);6259 | ^~~~~~6260src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6261 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6262 | ^6263src/cpu/mips/mips3.c:831:63: note: in expansion of macro 'FSVALS'6264 831 | FDVALS = fabs(FSVALS);6265 | ^~~~~~6266src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6267 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6268 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6269src/cpu/mips/mips3.c:833:49: note: in expansion of macro 'FDVALD'6270 833 | FDVALD = fabs(FSVALD);6271 | ^~~~~~6272src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6273 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6274 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6275src/cpu/mips/mips3.c:833:63: note: in expansion of macro 'FSVALD'6276 833 | FDVALD = fabs(FSVALD);6277 | ^~~~~~6278src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6279 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6280 | ^6281src/cpu/mips/mips3.c:838:49: note: in expansion of macro 'FDVALS'6282 838 | FDVALS = FSVALS;6283 | ^~~~~~6284src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6285 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6286 | ^6287src/cpu/mips/mips3.c:838:58: note: in expansion of macro 'FSVALS'6288 838 | FDVALS = FSVALS;6289 | ^~~~~~6290src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6291 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6292 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6293src/cpu/mips/mips3.c:840:49: note: in expansion of macro 'FDVALD'6294 840 | FDVALD = FSVALD;6295 | ^~~~~~6296src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6297 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6298 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6299src/cpu/mips/mips3.c:840:58: note: in expansion of macro 'FSVALD'6300 840 | FDVALD = FSVALD;6301 | ^~~~~~6302src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6303 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6304 | ^6305src/cpu/mips/mips3.c:845:49: note: in expansion of macro 'FDVALS'6306 845 | FDVALS = -FSVALS;6307 | ^~~~~~6308src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6309 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6310 | ^6311src/cpu/mips/mips3.c:845:59: note: in expansion of macro 'FSVALS'6312 845 | FDVALS = -FSVALS;6313 | ^~~~~~6314src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6315 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6316 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6317src/cpu/mips/mips3.c:847:49: note: in expansion of macro 'FDVALD'6318 847 | FDVALD = -FSVALD;6319 | ^~~~~~6320src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6321 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6322 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6323src/cpu/mips/mips3.c:847:59: note: in expansion of macro 'FSVALD'6324 847 | FDVALD = -FSVALD;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:853:63: note: in expansion of macro 'FSVALS'6330 853 | double temp = FSVALS;6331 | ^~~~~~6332src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6333 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6334 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6335src/cpu/mips/mips3.c:862:63: note: in expansion of macro 'FSVALD'6336 862 | double temp = FSVALD;6337 | ^~~~~~6338src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6339 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6340 | ^6341src/cpu/mips/mips3.c:874:63: note: in expansion of macro 'FSVALS'6342 874 | double temp = FSVALS;6343 | ^~~~~~6344src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6345 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6346 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6347src/cpu/mips/mips3.c:883:63: note: in expansion of macro 'FSVALD'6348 883 | double temp = FSVALD;6349 | ^~~~~~6350src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6351 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6352 | ^6353src/cpu/mips/mips3.c:894:62: note: in expansion of macro 'FSVALS'6354 894 | dtemp = ceil(FSVALS);6355 | ^~~~~~6356src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6357 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6358 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6359src/cpu/mips/mips3.c:896:62: note: in expansion of macro 'FSVALD'6360 896 | dtemp = ceil(FSVALD);6361 | ^~~~~~6362src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6363 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6364 | ^6365src/cpu/mips/mips3.c:902:63: note: in expansion of macro 'FSVALS'6366 902 | dtemp = floor(FSVALS);6367 | ^~~~~~6368src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6369 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6370 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6371src/cpu/mips/mips3.c:904:63: note: in expansion of macro 'FSVALD'6372 904 | dtemp = floor(FSVALD);6373 | ^~~~~~6374src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6375 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6376 | ^6377src/cpu/mips/mips3.c:911:57: note: in expansion of macro 'FSVALS'6378 911 | dtemp = FSVALS;6379 | ^~~~~~6380src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6381 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6382 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6383src/cpu/mips/mips3.c:920:57: note: in expansion of macro 'FSVALD'6384 920 | dtemp = FSVALD;6385 | ^~~~~~6386src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6387 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6388 | ^6389src/cpu/mips/mips3.c:932:57: note: in expansion of macro 'FSVALS'6390 932 | dtemp = FSVALS;6391 | ^~~~~~6392src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6393 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6394 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6395src/cpu/mips/mips3.c:941:57: note: in expansion of macro 'FSVALD'6396 941 | dtemp = FSVALD;6397 | ^~~~~~6398src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6399 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6400 | ^6401src/cpu/mips/mips3.c:952:62: note: in expansion of macro 'FSVALS'6402 952 | dtemp = ceil(FSVALS);6403 | ^~~~~~6404src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6405 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6406 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6407src/cpu/mips/mips3.c:954:62: note: in expansion of macro 'FSVALD'6408 954 | dtemp = ceil(FSVALD);6409 | ^~~~~~6410src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6411 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6412 | ^6413src/cpu/mips/mips3.c:960:63: note: in expansion of macro 'FSVALS'6414 960 | dtemp = floor(FSVALS);6415 | ^~~~~~6416src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6417 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6418 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6419src/cpu/mips/mips3.c:962:63: note: in expansion of macro 'FSVALD'6420 962 | dtemp = floor(FSVALD);6421 | ^~~~~~6422src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6423 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6424 | ^6425src/cpu/mips/mips3.c:970:57: note: in expansion of macro 'FDVALS'6426 970 | FDVALS = FSVALS;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:970:66: note: in expansion of macro 'FSVALS'6432 970 | FDVALS = FSVALS;6433 | ^~~~~~6434src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6435 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6436 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6437src/cpu/mips/mips3.c:972:57: note: in expansion of macro 'FDVALD'6438 972 | FDVALD = FSVALD;6439 | ^~~~~~6440src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6441 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6442 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6443src/cpu/mips/mips3.c:972:66: note: in expansion of macro 'FSVALD'6444 972 | FDVALD = FSVALD;6445 | ^~~~~~6446src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6447 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6448 | ^6449src/cpu/mips/mips3.c:980:57: note: in expansion of macro 'FDVALS'6450 980 | FDVALS = FSVALS;6451 | ^~~~~~6452src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6453 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6454 | ^6455src/cpu/mips/mips3.c:980:66: note: in expansion of macro 'FSVALS'6456 980 | FDVALS = FSVALS;6457 | ^~~~~~6458src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6459 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6460 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6461src/cpu/mips/mips3.c:982:57: note: in expansion of macro 'FDVALD'6462 982 | FDVALD = FSVALD;6463 | ^~~~~~6464src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6465 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6466 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6467src/cpu/mips/mips3.c:982:66: note: in expansion of macro 'FSVALD'6468 982 | FDVALD = FSVALD;6469 | ^~~~~~6470src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6471 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6472 | ^6473src/cpu/mips/mips3.c:990:57: note: in expansion of macro 'FDVALS'6474 990 | FDVALS = FSVALS;6475 | ^~~~~~6476src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6477 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6478 | ^6479src/cpu/mips/mips3.c:990:66: note: in expansion of macro 'FSVALS'6480 990 | FDVALS = FSVALS;6481 | ^~~~~~6482src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6483 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6484 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6485src/cpu/mips/mips3.c:992:57: note: in expansion of macro 'FDVALD'6486 992 | FDVALD = FSVALD;6487 | ^~~~~~6488src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6489 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6490 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6491src/cpu/mips/mips3.c:992:66: note: in expansion of macro 'FSVALD'6492 992 | FDVALD = FSVALD;6493 | ^~~~~~6494src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6495 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6496 | ^6497src/cpu/mips/mips3.c:998:49: note: in expansion of macro 'FDVALS'6498 998 | FDVALS = 1.0 / FSVALS;6499 | ^~~~~~6500src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6501 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6502 | ^6503src/cpu/mips/mips3.c:998:64: note: in expansion of macro 'FSVALS'6504 998 | FDVALS = 1.0 / FSVALS;6505 | ^~~~~~6506src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6507 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6508 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6509src/cpu/mips/mips3.c:1000:49: note: in expansion of macro 'FDVALD'6510 1000 | FDVALD = 1.0 / FSVALD;6511 | ^~~~~~6512src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6513 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6514 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6515src/cpu/mips/mips3.c:1000:64: note: in expansion of macro 'FSVALD'6516 1000 | FDVALD = 1.0 / FSVALD;6517 | ^~~~~~6518src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6519 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6520 | ^6521src/cpu/mips/mips3.c:1005:49: note: in expansion of macro 'FDVALS'6522 1005 | FDVALS = 1.0 / sqrt(FSVALS);6523 | ^~~~~~6524src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6525 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6526 | ^6527src/cpu/mips/mips3.c:1005:69: note: in expansion of macro 'FSVALS'6528 1005 | FDVALS = 1.0 / sqrt(FSVALS);6529 | ^~~~~~6530src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6531 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6532 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6533src/cpu/mips/mips3.c:1007:49: note: in expansion of macro 'FDVALD'6534 1007 | FDVALD = 1.0 / sqrt(FSVALD);6535 | ^~~~~~6536src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6537 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6538 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6539src/cpu/mips/mips3.c:1007:69: note: in expansion of macro 'FSVALD'6540 1007 | FDVALD = 1.0 / sqrt(FSVALD);6541 | ^~~~~~6542src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6543 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6544 | ^6545src/cpu/mips/mips3.c:1014:57: note: in expansion of macro 'FDVALS'6546 1014 | FDVALS = (INT32)mips3.cpr[1][FSREG];6547 | ^~~~~~6548src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6549 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6550 | ^6551src/cpu/mips/mips3.c:1016:57: note: in expansion of macro 'FDVALS'6552 1016 | FDVALS = (INT64)mips3.cpr[1][FSREG];6553 | ^~~~~~6554src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6555 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6556 | ^6557src/cpu/mips/mips3.c:1019:49: note: in expansion of macro 'FDVALS'6558 1019 | FDVALS = FSVALD;6559 | ^~~~~~6560src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6561 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6562 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6563src/cpu/mips/mips3.c:1019:58: note: in expansion of macro 'FSVALD'6564 1019 | FDVALS = FSVALD;6565 | ^~~~~~6566src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6567 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6568 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6569src/cpu/mips/mips3.c:1026:57: note: in expansion of macro 'FDVALD'6570 1026 | FDVALD = (INT32)mips3.cpr[1][FSREG];6571 | ^~~~~~6572src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6573 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6574 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6575src/cpu/mips/mips3.c:1028:57: note: in expansion of macro 'FDVALD'6576 1028 | FDVALD = (INT64)mips3.cpr[1][FSREG];6577 | ^~~~~~6578src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6579 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6580 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6581src/cpu/mips/mips3.c:1031:49: note: in expansion of macro 'FDVALD'6582 1031 | FDVALD = FSVALS;6583 | ^~~~~~6584src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6585 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6586 | ^6587src/cpu/mips/mips3.c:1031:58: note: in expansion of macro 'FSVALS'6588 1031 | FDVALD = FSVALS;6589 | ^~~~~~6590src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6591 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6592 | ^6593src/cpu/mips/mips3.c:1036:78: note: in expansion of macro 'FSVALS'6594 1036 | mips3.cpr[1][FDREG] = (INT32)FSVALS;6595 | ^~~~~~6596src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6597 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6598 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6599src/cpu/mips/mips3.c:1038:78: note: in expansion of macro 'FSVALD'6600 1038 | mips3.cpr[1][FDREG] = (INT32)FSVALD;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:1043:78: note: in expansion of macro 'FSVALS'6606 1043 | mips3.cpr[1][FDREG] = (INT64)FSVALS;6607 | ^~~~~~6608src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6609 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6610 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6611src/cpu/mips/mips3.c:1045:78: note: in expansion of macro 'FSVALD'6612 1045 | mips3.cpr[1][FDREG] = (INT64)FSVALD;6613 | ^~~~~~6614src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6615 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6616 | ^6617src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6618 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6619 | ^6620src/cpu/mips/mips3.c:1067:73: note: in expansion of macro 'FSVALS'6621 1067 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS));6622 | ^~~~~~6623src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6624 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6625 | ^6626src/cpu/mips/mips3.c:164:88: note: in definition of macro 'SET_FCC'6627 164 | #define SET_FCC(n,v) (mips3.ccr[1][31] = (mips3.ccr[1][31] & ~(1 << fcc_shift[n])) | ((v) << fcc_shift[n]))6628 | ^6629src/cpu/mips/mips3.c:1067:83: note: in expansion of macro 'FTVALS'6630 1067 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS));6631 | ^~~~~~6632src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6633 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])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:1069:73: note: in expansion of macro 'FSVALD'6639 1069 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD));6640 | ^~~~~~6641src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6642 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])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:1069:83: note: in expansion of macro 'FTVALD'6648 1069 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD));6649 | ^~~~~~6650src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6651 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])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:1075:73: note: in expansion of macro 'FSVALS'6657 1075 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS));6658 | ^~~~~~6659src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6660 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])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:1075:83: note: in expansion of macro 'FTVALS'6666 1075 | SET_FCC((op >> 8) & 7, (FSVALS == FTVALS));6667 | ^~~~~~6668src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6669 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])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:1077:73: note: in expansion of macro 'FSVALD'6675 1077 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD));6676 | ^~~~~~6677src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6678 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])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:1077:83: note: in expansion of macro 'FTVALD'6684 1077 | SET_FCC((op >> 8) & 7, (FSVALD == FTVALD));6685 | ^~~~~~6686src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6687 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])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:1083:73: note: in expansion of macro 'FSVALS'6693 1083 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS));6694 | ^~~~~~6695src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6696 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])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:1083:82: note: in expansion of macro 'FTVALS'6702 1083 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS));6703 | ^~~~~~6704src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6705 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])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:1085:73: note: in expansion of macro 'FSVALD'6711 1085 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD));6712 | ^~~~~~6713src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6714 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])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:1085:82: note: in expansion of macro 'FTVALD'6720 1085 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD));6721 | ^~~~~~6722src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6723 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])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:1091:73: note: in expansion of macro 'FSVALS'6729 1091 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS));6730 | ^~~~~~6731src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6732 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])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:1091:82: note: in expansion of macro 'FTVALS'6738 1091 | SET_FCC((op >> 8) & 7, (FSVALS < FTVALS));6739 | ^~~~~~6740src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6741 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])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:1093:73: note: in expansion of macro 'FSVALD'6747 1093 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD));6748 | ^~~~~~6749src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6750 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])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:1093:82: note: in expansion of macro 'FTVALD'6756 1093 | SET_FCC((op >> 8) & 7, (FSVALD < FTVALD));6757 | ^~~~~~6758src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6759 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])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:1099:73: note: in expansion of macro 'FSVALS'6765 1099 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS));6766 | ^~~~~~6767src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6768 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])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:1099:83: note: in expansion of macro 'FTVALS'6774 1099 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS));6775 | ^~~~~~6776src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6777 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])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:1101:73: note: in expansion of macro 'FSVALD'6783 1101 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD));6784 | ^~~~~~6785src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6786 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])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:1101:83: note: in expansion of macro 'FTVALD'6792 1101 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD));6793 | ^~~~~~6794src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6795 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])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:1107:73: note: in expansion of macro 'FSVALS'6801 1107 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS));6802 | ^~~~~~6803src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6804 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])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:1107:83: note: in expansion of macro 'FTVALS'6810 1107 | SET_FCC((op >> 8) & 7, (FSVALS <= FTVALS));6811 | ^~~~~~6812src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6813 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])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:1109:73: note: in expansion of macro 'FSVALD'6819 1109 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD));6820 | ^~~~~~6821src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6822 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])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:1109:83: note: in expansion of macro 'FTVALD'6828 1109 | SET_FCC((op >> 8) & 7, (FSVALD <= FTVALD));6829 | ^~~~~~6830src/cpu/mips/mips3.c: In function 'handle_cop1x':6831src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6832 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6833 | ^6834src/cpu/mips/mips3.c:1134:25: note: in expansion of macro 'FDVALS'6835 1134 | FDVALS = RLONG(RSVAL32 + RTVAL32);6836 | ^~~~~~6837src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6838 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6839 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6840src/cpu/mips/mips3.c:1138:25: note: in expansion of macro 'FDVALD'6841 1138 | FDVALD = RDOUBLE(RSVAL32 + RTVAL32);6842 | ^~~~~~6843src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6844 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6845 | ^6846src/cpu/mips/mips3.c:154:52: note: in definition of macro 'WDOUBLE'6847 154 | #define WDOUBLE(x,v) (*mips3.memory.writedouble)(x,v)6848 | ^6849src/cpu/mips/mips3.c:1142:52: note: in expansion of macro 'FSVALS'6850 1142 | WDOUBLE(RSVAL32 + RTVAL32, FSVALS);6851 | ^~~~~~6852src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6853 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6854 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6855src/cpu/mips/mips3.c:154:52: note: in definition of macro 'WDOUBLE'6856 154 | #define WDOUBLE(x,v) (*mips3.memory.writedouble)(x,v)6857 | ^6858src/cpu/mips/mips3.c:1146:52: note: in expansion of macro 'FSVALD'6859 1146 | WDOUBLE(RSVAL32 + RTVAL32, FSVALD);6860 | ^~~~~~6861src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6862 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6863 | ^6864src/cpu/mips/mips3.c:1153:25: note: in expansion of macro 'FDVALS'6865 1153 | FDVALS = FSVALS * FTVALS + FRVALS;6866 | ^~~~~~6867src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6868 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6869 | ^6870src/cpu/mips/mips3.c:1153:34: note: in expansion of macro 'FSVALS'6871 1153 | FDVALS = FSVALS * FTVALS + FRVALS;6872 | ^~~~~~6873src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6874 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6875 | ^6876src/cpu/mips/mips3.c:1153:43: note: in expansion of macro 'FTVALS'6877 1153 | FDVALS = FSVALS * FTVALS + FRVALS;6878 | ^~~~~~6879src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6880 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)])6881 | ^6882src/cpu/mips/mips3.c:1153:52: note: in expansion of macro 'FRVALS'6883 1153 | FDVALS = FSVALS * FTVALS + FRVALS;6884 | ^~~~~~6885src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6886 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6887 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6888src/cpu/mips/mips3.c:1157:25: note: in expansion of macro 'FDVALD'6889 1157 | FDVALD = FSVALD * FTVALD + FRVALD;6890 | ^~~~~~6891src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6892 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6893 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6894src/cpu/mips/mips3.c:1157:34: note: in expansion of macro 'FSVALD'6895 1157 | FDVALD = FSVALD * FTVALD + FRVALD;6896 | ^~~~~~6897src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6898 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6899 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6900src/cpu/mips/mips3.c:1157:43: note: in expansion of macro 'FTVALD'6901 1157 | FDVALD = FSVALD * FTVALD + FRVALD;6902 | ^~~~~~6903src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6904 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG])6905 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6906src/cpu/mips/mips3.c:1157:52: note: in expansion of macro 'FRVALD'6907 1157 | FDVALD = FSVALD * FTVALD + FRVALD;6908 | ^~~~~~6909src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6910 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6911 | ^6912src/cpu/mips/mips3.c:1161:25: note: in expansion of macro 'FDVALS'6913 1161 | FDVALS = FSVALS * FTVALS - FRVALS;6914 | ^~~~~~6915src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6916 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6917 | ^6918src/cpu/mips/mips3.c:1161:34: note: in expansion of macro 'FSVALS'6919 1161 | FDVALS = FSVALS * FTVALS - FRVALS;6920 | ^~~~~~6921src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6922 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6923 | ^6924src/cpu/mips/mips3.c:1161:43: note: in expansion of macro 'FTVALS'6925 1161 | FDVALS = FSVALS * FTVALS - FRVALS;6926 | ^~~~~~6927src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6928 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)])6929 | ^6930src/cpu/mips/mips3.c:1161:52: note: in expansion of macro 'FRVALS'6931 1161 | FDVALS = FSVALS * FTVALS - FRVALS;6932 | ^~~~~~6933src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6934 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6935 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6936src/cpu/mips/mips3.c:1165:25: note: in expansion of macro 'FDVALD'6937 1165 | FDVALD = FSVALD * FTVALD - FRVALD;6938 | ^~~~~~6939src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6940 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6941 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6942src/cpu/mips/mips3.c:1165:34: note: in expansion of macro 'FSVALD'6943 1165 | FDVALD = FSVALD * FTVALD - FRVALD;6944 | ^~~~~~6945src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6946 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6947 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6948src/cpu/mips/mips3.c:1165:43: note: in expansion of macro 'FTVALD'6949 1165 | FDVALD = FSVALD * FTVALD - FRVALD;6950 | ^~~~~~6951src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6952 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG])6953 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6954src/cpu/mips/mips3.c:1165:52: note: in expansion of macro 'FRVALD'6955 1165 | FDVALD = FSVALD * FTVALD - FRVALD;6956 | ^~~~~~6957src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6958 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])6959 | ^6960src/cpu/mips/mips3.c:1169:25: note: in expansion of macro 'FDVALS'6961 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS);6962 | ^~~~~~6963src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6964 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])6965 | ^6966src/cpu/mips/mips3.c:1169:36: note: in expansion of macro 'FSVALS'6967 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS);6968 | ^~~~~~6969src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6970 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])6971 | ^6972src/cpu/mips/mips3.c:1169:45: note: in expansion of macro 'FTVALS'6973 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS);6974 | ^~~~~~6975src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6976 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)])6977 | ^6978src/cpu/mips/mips3.c:1169:54: note: in expansion of macro 'FRVALS'6979 1169 | FDVALS = -(FSVALS * FTVALS + FRVALS);6980 | ^~~~~~6981src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6982 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])6983 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6984src/cpu/mips/mips3.c:1173:25: note: in expansion of macro 'FDVALD'6985 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD);6986 | ^~~~~~6987src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6988 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])6989 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6990src/cpu/mips/mips3.c:1173:36: note: in expansion of macro 'FSVALD'6991 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD);6992 | ^~~~~~6993src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]6994 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])6995 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~6996src/cpu/mips/mips3.c:1173:45: note: in expansion of macro 'FTVALD'6997 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD);6998 | ^~~~~~6999src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7000 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG])7001 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7002src/cpu/mips/mips3.c:1173:54: note: in expansion of macro 'FRVALD'7003 1173 | FDVALD = -(FSVALD * FTVALD + FRVALD);7004 | ^~~~~~7005src/cpu/mips/mips3.c:123:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7006 123 | #define FDVALS (((float *)&mips3.cpr[1][FDREG])[BYTE_XOR_LE(0)])7007 | ^7008src/cpu/mips/mips3.c:1177:25: note: in expansion of macro 'FDVALS'7009 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS);7010 | ^~~~~~7011src/cpu/mips/mips3.c:122:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7012 122 | #define FSVALS (((float *)&mips3.cpr[1][FSREG])[BYTE_XOR_LE(0)])7013 | ^7014src/cpu/mips/mips3.c:1177:36: note: in expansion of macro 'FSVALS'7015 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS);7016 | ^~~~~~7017src/cpu/mips/mips3.c:121:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7018 121 | #define FTVALS (((float *)&mips3.cpr[1][FTREG])[BYTE_XOR_LE(0)])7019 | ^7020src/cpu/mips/mips3.c:1177:45: note: in expansion of macro 'FTVALS'7021 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS);7022 | ^~~~~~7023src/cpu/mips/mips3.c:120:57: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7024 120 | #define FRVALS (((float *)&mips3.cpr[1][FRREG])[BYTE_XOR_LE(0)])7025 | ^7026src/cpu/mips/mips3.c:1177:54: note: in expansion of macro 'FRVALS'7027 1177 | FDVALS = -(FSVALS * FTVALS - FRVALS);7028 | ^~~~~~7029src/cpu/mips/mips3.c:128:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7030 128 | #define FDVALD (*(double *)&mips3.cpr[1][FDREG])7031 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7032src/cpu/mips/mips3.c:1181:25: note: in expansion of macro 'FDVALD'7033 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD);7034 | ^~~~~~7035src/cpu/mips/mips3.c:127:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7036 127 | #define FSVALD (*(double *)&mips3.cpr[1][FSREG])7037 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7038src/cpu/mips/mips3.c:1181:36: note: in expansion of macro 'FSVALD'7039 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD);7040 | ^~~~~~7041src/cpu/mips/mips3.c:126:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7042 126 | #define FTVALD (*(double *)&mips3.cpr[1][FTREG])7043 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7044src/cpu/mips/mips3.c:1181:45: note: in expansion of macro 'FTVALD'7045 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD);7046 | ^~~~~~7047src/cpu/mips/mips3.c:125:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]7048 125 | #define FRVALD (*(double *)&mips3.cpr[1][FRREG])7049 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7050src/cpu/mips/mips3.c:1181:54: note: in expansion of macro 'FRVALD'7051 1181 | FDVALD = -(FSVALD * FTVALD - FRVALD);7052 | ^~~~~~7053Compiling src/cpu/dsp32/dsp32.c...7054Compiling src/cpu/pic16c5x/pic16c5x.c...7055src/cpu/dsp32/dsp32.c: In function 'dsp32c_info':7056src/cpu/dsp32/dsp32.c:654:21: warning: variable 'r' set but not used [-Wunused-but-set-variable=]7057 654 | dsp32_regs *r = context;7058 | ^7059src/cpu/pic16c5x/pic16c5x.c: In function 'tris':7060src/cpu/pic16c5x/pic16c5x.c:593:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation]7061 593 | else R.TRISA = R.W; P_OUT(0,R.PORTA & (~R.TRISA) & 0xf); break;7062 | ^~~~7063In file included from src/cpu/pic16c5x/pic16c5x.c:66:7064src/cpu/pic16c5x/pic16c5x.h:91:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'7065 91 | #define PIC16C5x_Out(Port,Value) (cpu_writeport16((Port),Value))7066 | ^7067src/cpu/pic16c5x/pic16c5x.c:77:33: note: in expansion of macro 'PIC16C5x_Out'7068 77 | #define P_OUT(A,V) PIC16C5x_Out(A,V)7069 | ^~~~~~~~~~~~7070src/cpu/pic16c5x/pic16c5x.c:593:61: note: in expansion of macro 'P_OUT'7071 593 | else R.TRISA = R.W; P_OUT(0,R.PORTA & (~R.TRISA) & 0xf); break;7072 | ^~~~~7073src/cpu/pic16c5x/pic16c5x.c:595:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation]7074 595 | else R.TRISB = R.W; P_OUT(1,R.PORTB & (~R.TRISB)); break;7075 | ^~~~7076src/cpu/pic16c5x/pic16c5x.h:91:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'7077 91 | #define PIC16C5x_Out(Port,Value) (cpu_writeport16((Port),Value))7078 | ^7079src/cpu/pic16c5x/pic16c5x.c:77:33: note: in expansion of macro 'PIC16C5x_Out'7080 77 | #define P_OUT(A,V) PIC16C5x_Out(A,V)7081 | ^~~~~~~~~~~~7082src/cpu/pic16c5x/pic16c5x.c:595:61: note: in expansion of macro 'P_OUT'7083 595 | else R.TRISB = R.W; P_OUT(1,R.PORTB & (~R.TRISB)); break;7084 | ^~~~~7085src/cpu/pic16c5x/pic16c5x.c:597:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation]7086 597 | else R.TRISC = R.W; P_OUT(2,R.PORTC & (~R.TRISC)); break;7087 | ^~~~7088src/cpu/pic16c5x/pic16c5x.h:91:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'7089 91 | #define PIC16C5x_Out(Port,Value) (cpu_writeport16((Port),Value))7090 | ^7091src/cpu/pic16c5x/pic16c5x.c:77:33: note: in expansion of macro 'PIC16C5x_Out'7092 77 | #define P_OUT(A,V) PIC16C5x_Out(A,V)7093 | ^~~~~~~~~~~~7094src/cpu/pic16c5x/pic16c5x.c:597:61: note: in expansion of macro 'P_OUT'7095 597 | else R.TRISC = R.W; P_OUT(2,R.PORTC & (~R.TRISC)); break;7096 | ^~~~~7097Compiling src/cpu/g65816/g65816.c...7098Compiling src/cpu/g65816/g65816o0.c...7099Compiling src/cpu/g65816/g65816o1.c...7100Compiling src/cpu/g65816/g65816o2.c...7101Compiling src/cpu/g65816/g65816o3.c...7102Compiling src/cpu/g65816/g65816o4.c...7103Compiling src/cpu/g65816/g65816ds.c...7104Compiling src/cpu/spc700/spc700.c...7105Compiling src/cpu/spc700/spc700ds.c...7106Compiling src/cpu/e132xs/e132xs.c...7107Compiling src/sound/samples.c...7108Compiling src/sound/dac.c...7109Compiling src/sound/discrete.c...7110Compiling src/sound/2203intf.c...7111src/sound/discrete.c: In function 'discrete_sh_stop':7112src/sound/discrete.c:330:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]7113 330 | if (disclogfile)7114 | ^~7115src/sound/discrete.c:332:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'7116 332 | disclogfile = NULL;7117 | ^~~~~~~~~~~7118Compiling src/sound/2151intf.c...7119Compiling src/sound/ym2151.c...7120Compiling src/sound/2608intf.c...7121Compiling src/sound/2610intf.c...7122Compiling src/sound/2612intf.c...7123Compiling src/sound/ay8910.c...7124Compiling src/sound/fm.c...7125Compiling src/sound/2413intf.c...7126src/sound/fm.c: In function 'advance_lfo':7127src/sound/fm.c:1180:15: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable=]7128 1180 | UINT8 prev_pos;7129 | ^~~~~~~~7130Compiling src/sound/ym2413.c...7131Compiling src/sound/ymz280b.c...7132src/sound/ym2413.c: In function 'OPLLWriteReg':7133src/sound/ym2413.c:1664:56: warning: bitwise comparison always evaluates to false [-Wtautological-compare]7134 1664 | if ((chip->rhythm&0x20)==1)7135 | ^~7136Compiling src/sound/3812intf.c...7137Compiling src/sound/fmopl.c...7138Compiling src/sound/ymdeltat.c...7139Compiling src/sound/sn76477.c...7140Compiling src/sound/sn76496.c...7141Compiling src/sound/pokey.c...7142Compiling src/sound/tiasound.c...7143Compiling src/sound/tiaintf.c...7144Compiling src/sound/nes_apu.c...7145src/sound/tiaintf.c: In function 'tia_sh_start':7146src/sound/tiaintf.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]7147 12 | if (Machine->sample_rate == 0)7148 | ^~7149src/sound/tiaintf.c:15:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'7150 15 | channel = stream_init("TIA", intf->volume, Machine->sample_rate, 0, tia_process);7151 | ^~~~~~~7152Compiling src/sound/astrocde_snd.c...7153Compiling src/sound/namco.c...7154Compiling src/sound/namco52.c...7155Compiling src/sound/namco54.c...7156Compiling src/sound/namcona.c...7157Compiling src/sound/tms36xx.c...7158Compiling src/sound/tms5110.c...7159Compiling src/sound/5110intf.c...7160src/sound/tms5110.c: In function 'parse_frame':7161src/sound/tms5110.c:496:19: warning: variable 'old_count' set but not used [-Wunused-but-set-variable=]7162 496 | int old_head, old_count;7163 | ^~~~~~~~~7164src/sound/tms5110.c:496:9: warning: variable 'old_head' set but not used [-Wunused-but-set-variable=]7165 496 | int old_head, old_count;7166 | ^~~~~~~~7167Compiling src/sound/tms5220.c...7168Compiling src/sound/5220intf.c...7169Compiling src/sound/vlm5030.c...7170Compiling src/sound/adpcm.c...7171Compiling src/sound/msm5205.c...7172Compiling src/sound/msm5232.c...7173Compiling src/sound/upd7759.c...7174Compiling src/sound/hc55516.c...7175Compiling src/sound/k005289.c...7176Compiling src/sound/k007232.c...7177Compiling src/sound/k051649.c...7178Compiling src/sound/k053260.c...7179Compiling src/sound/k054539.c...7180Compiling src/sound/segapcm.c...7181Compiling src/sound/rf5c68.c...7182Compiling src/sound/cem3394.c...7183Compiling src/sound/c140.c...7184Compiling src/sound/qsound.c...7185Compiling src/sound/saa1099.c...7186Compiling src/sound/iremga20.c...7187Compiling src/sound/es5506.c...7188Compiling src/sound/bsmt2000.c...7189Compiling src/sound/ymf262.c...7190Compiling src/sound/262intf.c...7191src/sound/ymf262.c: In function 'OPL3WriteReg':7192src/sound/ymf262.c:2085:74: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]7193 2085 | UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0);7194 | ~~~~~~~~~~~~~~~~~~~~^~~~7195src/sound/ymf262.c:2085:106: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]7196 2085 | UINT8 conn = (CH->SLOT[SLOT1].CON<<1) || ((CH+3)->SLOT[SLOT1].CON<<0);7197 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~7198src/sound/ymf262.c:2137:78: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]7199 2137 | UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0);7200 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~7201src/sound/ymf262.c:2137:106: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]7202 2137 | UINT8 conn = ((CH-3)->SLOT[SLOT1].CON<<1) || (CH->SLOT[SLOT1].CON<<0);7203 | ~~~~~~~~~~~~~~~~~~~~^~~~7204Compiling src/sound/ymf278b.c...7205Compiling src/sound/gaelco_snd.c...7206Compiling src/sound/x1_010.c...7207Compiling src/sound/multipcm.c...7208Compiling src/sound/c6280.c...7209src/sound/multipcm.c: In function 'MultiPCM_reg_w':7210src/sound/multipcm.c:460:50: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast]7211 460 | pt_abs = (double)abs(pitch);7212 | ^7213Compiling src/sound/sp0250.c...7214Compiling src/sound/scsp.c...7215Compiling src/sound/psx.c...7216src/sound/scsp.c: In function 'SCSP_Init':7217src/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]7218 385 | memset(SCSP,0,sizeof(SCSP));7219 | ^7220src/sound/scsp.c: In function 'SCSP_Update0000':7221src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7222 753 | signed int fpart;\7223 | ^~~~~7224src/sound/scsp.c:809:1: note: in expansion of macro 'SCSPTMPL'7225 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3)7226 | ^~~~~~~~7227src/sound/scsp.c: In function 'SCSP_Update0001':7228src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7229 753 | signed int fpart;\7230 | ^~~~~7231src/sound/scsp.c:809:19: note: in expansion of macro 'SCSPTMPL'7232 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3)7233 | ^~~~~~~~7234src/sound/scsp.c: In function 'SCSP_Update0002':7235src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7236 753 | signed int fpart;\7237 | ^~~~~7238src/sound/scsp.c:809:37: note: in expansion of macro 'SCSPTMPL'7239 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3)7240 | ^~~~~~~~7241src/sound/scsp.c: In function 'SCSP_Update0003':7242src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7243 753 | signed int fpart;\7244 | ^~~~~7245src/sound/scsp.c:809:55: note: in expansion of macro 'SCSPTMPL'7246 809 | SCSPTMPL(0,0,0,0) SCSPTMPL(0,0,0,1) SCSPTMPL(0,0,0,2) SCSPTMPL(0,0,0,3)7247 | ^~~~~~~~7248src/sound/scsp.c: In function 'SCSP_Update0010':7249src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7250 753 | signed int fpart;\7251 | ^~~~~7252src/sound/scsp.c:810:1: note: in expansion of macro 'SCSPTMPL'7253 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3)7254 | ^~~~~~~~7255src/sound/scsp.c: In function 'SCSP_Update0011':7256src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7257 753 | signed int fpart;\7258 | ^~~~~7259src/sound/scsp.c:810:19: note: in expansion of macro 'SCSPTMPL'7260 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3)7261 | ^~~~~~~~7262src/sound/scsp.c: In function 'SCSP_Update0012':7263src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7264 753 | signed int fpart;\7265 | ^~~~~7266src/sound/scsp.c:810:37: note: in expansion of macro 'SCSPTMPL'7267 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3)7268 | ^~~~~~~~7269src/sound/scsp.c: In function 'SCSP_Update0013':7270src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7271 753 | signed int fpart;\7272 | ^~~~~7273src/sound/scsp.c:810:55: note: in expansion of macro 'SCSPTMPL'7274 810 | SCSPTMPL(0,0,1,0) SCSPTMPL(0,0,1,1) SCSPTMPL(0,0,1,2) SCSPTMPL(0,0,1,3)7275 | ^~~~~~~~7276src/sound/scsp.c: In function 'SCSP_Update0100':7277src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7278 753 | signed int fpart;\7279 | ^~~~~7280src/sound/scsp.c:811:1: note: in expansion of macro 'SCSPTMPL'7281 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3)7282 | ^~~~~~~~7283src/sound/scsp.c: In function 'SCSP_Update0101':7284src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7285 753 | signed int fpart;\7286 | ^~~~~7287src/sound/scsp.c:811:19: note: in expansion of macro 'SCSPTMPL'7288 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3)7289 | ^~~~~~~~7290src/sound/scsp.c: In function 'SCSP_Update0102':7291src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7292 753 | signed int fpart;\7293 | ^~~~~7294src/sound/scsp.c:811:37: note: in expansion of macro 'SCSPTMPL'7295 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3)7296 | ^~~~~~~~7297src/sound/scsp.c: In function 'SCSP_Update0103':7298src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7299 753 | signed int fpart;\7300 | ^~~~~7301src/sound/scsp.c:811:55: note: in expansion of macro 'SCSPTMPL'7302 811 | SCSPTMPL(0,1,0,0) SCSPTMPL(0,1,0,1) SCSPTMPL(0,1,0,2) SCSPTMPL(0,1,0,3)7303 | ^~~~~~~~7304src/sound/scsp.c: In function 'SCSP_Update0110':7305src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7306 753 | signed int fpart;\7307 | ^~~~~7308src/sound/scsp.c:812:1: note: in expansion of macro 'SCSPTMPL'7309 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3)7310 | ^~~~~~~~7311src/sound/scsp.c: In function 'SCSP_Update0111':7312src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7313 753 | signed int fpart;\7314 | ^~~~~7315src/sound/scsp.c:812:19: note: in expansion of macro 'SCSPTMPL'7316 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3)7317 | ^~~~~~~~7318src/sound/scsp.c: In function 'SCSP_Update0112':7319src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7320 753 | signed int fpart;\7321 | ^~~~~7322src/sound/scsp.c:812:37: note: in expansion of macro 'SCSPTMPL'7323 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3)7324 | ^~~~~~~~7325src/sound/scsp.c: In function 'SCSP_Update0113':7326src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7327 753 | signed int fpart;\7328 | ^~~~~7329src/sound/scsp.c:812:55: note: in expansion of macro 'SCSPTMPL'7330 812 | SCSPTMPL(0,1,1,0) SCSPTMPL(0,1,1,1) SCSPTMPL(0,1,1,2) SCSPTMPL(0,1,1,3)7331 | ^~~~~~~~7332src/sound/scsp.c: In function 'SCSP_Update1000':7333src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7334 753 | signed int fpart;\7335 | ^~~~~7336src/sound/scsp.c:813:1: note: in expansion of macro 'SCSPTMPL'7337 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3)7338 | ^~~~~~~~7339src/sound/scsp.c: In function 'SCSP_Update1001':7340src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7341 753 | signed int fpart;\7342 | ^~~~~7343src/sound/scsp.c:813:19: note: in expansion of macro 'SCSPTMPL'7344 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3)7345 | ^~~~~~~~7346src/sound/scsp.c: In function 'SCSP_Update1002':7347src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7348 753 | signed int fpart;\7349 | ^~~~~7350src/sound/scsp.c:813:37: note: in expansion of macro 'SCSPTMPL'7351 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3)7352 | ^~~~~~~~7353src/sound/scsp.c: In function 'SCSP_Update1003':7354src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7355 753 | signed int fpart;\7356 | ^~~~~7357src/sound/scsp.c:813:55: note: in expansion of macro 'SCSPTMPL'7358 813 | SCSPTMPL(1,0,0,0) SCSPTMPL(1,0,0,1) SCSPTMPL(1,0,0,2) SCSPTMPL(1,0,0,3)7359 | ^~~~~~~~7360src/sound/scsp.c: In function 'SCSP_Update1010':7361src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7362 753 | signed int fpart;\7363 | ^~~~~7364src/sound/scsp.c:814:1: note: in expansion of macro 'SCSPTMPL'7365 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3)7366 | ^~~~~~~~7367src/sound/scsp.c: In function 'SCSP_Update1011':7368src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7369 753 | signed int fpart;\7370 | ^~~~~7371src/sound/scsp.c:814:19: note: in expansion of macro 'SCSPTMPL'7372 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3)7373 | ^~~~~~~~7374src/sound/scsp.c: In function 'SCSP_Update1012':7375src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7376 753 | signed int fpart;\7377 | ^~~~~7378src/sound/scsp.c:814:37: note: in expansion of macro 'SCSPTMPL'7379 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3)7380 | ^~~~~~~~7381src/sound/scsp.c: In function 'SCSP_Update1013':7382src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7383 753 | signed int fpart;\7384 | ^~~~~7385src/sound/scsp.c:814:55: note: in expansion of macro 'SCSPTMPL'7386 814 | SCSPTMPL(1,0,1,0) SCSPTMPL(1,0,1,1) SCSPTMPL(1,0,1,2) SCSPTMPL(1,0,1,3)7387 | ^~~~~~~~7388src/sound/scsp.c: In function 'SCSP_Update1100':7389src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7390 753 | signed int fpart;\7391 | ^~~~~7392src/sound/scsp.c:815:1: note: in expansion of macro 'SCSPTMPL'7393 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3)7394 | ^~~~~~~~7395src/sound/scsp.c: In function 'SCSP_Update1101':7396src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7397 753 | signed int fpart;\7398 | ^~~~~7399src/sound/scsp.c:815:19: note: in expansion of macro 'SCSPTMPL'7400 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3)7401 | ^~~~~~~~7402src/sound/scsp.c: In function 'SCSP_Update1102':7403src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7404 753 | signed int fpart;\7405 | ^~~~~7406src/sound/scsp.c:815:37: note: in expansion of macro 'SCSPTMPL'7407 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3)7408 | ^~~~~~~~7409src/sound/scsp.c: In function 'SCSP_Update1103':7410src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7411 753 | signed int fpart;\7412 | ^~~~~7413src/sound/scsp.c:815:55: note: in expansion of macro 'SCSPTMPL'7414 815 | SCSPTMPL(1,1,0,0) SCSPTMPL(1,1,0,1) SCSPTMPL(1,1,0,2) SCSPTMPL(1,1,0,3)7415 | ^~~~~~~~7416src/sound/scsp.c: In function 'SCSP_Update1110':7417src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7418 753 | signed int fpart;\7419 | ^~~~~7420src/sound/scsp.c:816:1: note: in expansion of macro 'SCSPTMPL'7421 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3)7422 | ^~~~~~~~7423src/sound/scsp.c: In function 'SCSP_Update1111':7424src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7425 753 | signed int fpart;\7426 | ^~~~~7427src/sound/scsp.c:816:19: note: in expansion of macro 'SCSPTMPL'7428 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3)7429 | ^~~~~~~~7430src/sound/scsp.c: In function 'SCSP_Update1112':7431src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7432 753 | signed int fpart;\7433 | ^~~~~7434src/sound/scsp.c:816:37: note: in expansion of macro 'SCSPTMPL'7435 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3)7436 | ^~~~~~~~7437src/sound/scsp.c: In function 'SCSP_Update1113':7438src/sound/scsp.c:753:36: warning: variable 'fpart' set but not used [-Wunused-but-set-variable=]7439 753 | signed int fpart;\7440 | ^~~~~7441src/sound/scsp.c:816:55: note: in expansion of macro 'SCSPTMPL'7442 816 | SCSPTMPL(1,1,1,0) SCSPTMPL(1,1,1,1) SCSPTMPL(1,1,1,2) SCSPTMPL(1,1,1,3)7443 | ^~~~~~~~7444Compiling src/sound/ymf271.c...7445Compiling src/sound/ics2115.c...7446Compiling src/lib/mame-chd/chd.c...7447Compiling src/lib/mame-chd/mame_sha1.c...7448Compiling src/libretro-deps/libFLAC/bitreader.c...7449Compiling src/libretro-deps/libFLAC/cpu.c...7450src/libretro-deps/libFLAC/cpu.c:102:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE42' defined but not used [-Wunused-const-variable=]7451 102 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE42 = 0x00100000;7452 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7453src/libretro-deps/libFLAC/cpu.c:101:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE41' defined but not used [-Wunused-const-variable=]7454 101 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE41 = 0x00080000;7455 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7456src/libretro-deps/libFLAC/cpu.c:100:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSSE3' defined but not used [-Wunused-const-variable=]7457 100 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSSE3 = 0x00000200;7458 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7459src/libretro-deps/libFLAC/cpu.c:99:23: warning: 'FLAC__CPUINFO_IA32_CPUID_SSE3' defined but not used [-Wunused-const-variable=]7460 99 | static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001;7461 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~7462Compiling src/libretro-deps/libFLAC/crc.c...7463Compiling src/libretro-deps/libFLAC/fixed.c...7464In function 'dma_scsp',7465 inlined from 'SCSP_0_w' at src/sound/scsp.c:1047:4:7466src/sound/scsp.c:912:24: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds=]7467 912 | tmp_dma[2] = scsp_regs[0x416/2];7468 | ~~~~~~~^~~7469src/sound/scsp.c: In function 'SCSP_0_w':7470src/sound/scsp.c:898:23: note: while referencing 'tmp_dma'7471 898 | static UINT16 tmp_dma[2], *scsp_regs;7472 | ^~~~~~~7473In function 'dma_scsp',7474 inlined from 'SCSP_0_w' at src/sound/scsp.c:1047:4:7475src/sound/scsp.c:939:45: warning: array subscript 2 is above array bounds of 'UINT16[2]' {aka 'short unsigned int[2]'} [-Warray-bounds=]7476 939 | scsp_regs[0x416/2] = tmp_dma[2];7477 | ~~~~~~~^~~7478src/sound/scsp.c: In function 'SCSP_0_w':7479src/sound/scsp.c:898:23: note: while referencing 'tmp_dma'7480 898 | static UINT16 tmp_dma[2], *scsp_regs;7481 | ^~~~~~~7482Compiling src/libretro-deps/libFLAC/float.c...7483Compiling src/libretro-deps/libFLAC/format.c...7484Compiling src/libretro-deps/libFLAC/lpc.c...7485Compiling src/libretro-deps/libFLAC/md5.c...7486Compiling src/libretro-deps/libFLAC/memory.c...7487Compiling src/libretro-deps/libFLAC/stream_decoder.c...7488Compiling src/libretro-deps/libFLAC/window.c...7489Compiling src/lib/zlib/adler32.c...7490Compiling src/lib/zlib/crc32.c...7491Compiling src/lib/zlib/deflate.c...7492src/lib/zlib/deflate.c: In function 'deflateInit2_':7493src/lib/zlib/deflate.c:296:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]7494 296 | strm->msg = ERR_MSG(Z_MEM_ERROR);7495 | ^7496In file included from src/lib/zlib/deflate.h:16,7497 from src/lib/zlib/deflate.c:52:7498src/lib/zlib/deflate.c: In function 'deflate':7499src/lib/zlib/zutil.h:53:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]7500 53 | return (strm->msg = ERR_MSG(err), (err))7501 | ^7502src/lib/zlib/deflate.c:644:7: note: in expansion of macro 'ERR_RETURN'7503 644 | ERR_RETURN(strm, Z_STREAM_ERROR);7504 | ^~~~~~~~~~7505src/lib/zlib/zutil.h:53:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]7506 53 | return (strm->msg = ERR_MSG(err), (err))7507 | ^7508src/lib/zlib/deflate.c:646:30: note: in expansion of macro 'ERR_RETURN'7509 646 | if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);7510 | ^~~~~~~~~~7511src/lib/zlib/zutil.h:53:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]7512 53 | return (strm->msg = ERR_MSG(err), (err))7513 | ^7514src/lib/zlib/deflate.c:852:7: note: in expansion of macro 'ERR_RETURN'7515 852 | ERR_RETURN(strm, Z_BUF_ERROR);7516 | ^~~~~~~~~~7517src/lib/zlib/zutil.h:53:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]7518 53 | return (strm->msg = ERR_MSG(err), (err))7519 | ^7520src/lib/zlib/deflate.c:857:7: note: in expansion of macro 'ERR_RETURN'7521 857 | ERR_RETURN(strm, Z_BUF_ERROR);7522 | ^~~~~~~~~~7523Compiling src/lib/zlib/inffast.c...7524Compiling src/lib/zlib/inflate.c...7525Compiling src/lib/zlib/inftrees.c...7526Compiling src/lib/zlib/ioapi.c...7527Compiling src/lib/zlib/trees.c...7528Compiling src/lib/zlib/uncompr.c...7529Compiling src/lib/zlib/unzip.c...7530Compiling src/lib/zlib/zutil.c...7531Compiling src/libretro-common/compat/compat_posix_string.c...7532Compiling src/libretro-common/compat/compat_snprintf.c...7533Compiling src/libretro-common/compat/compat_strcasestr.c...7534Compiling src/libretro-common/compat/compat_strl.c...7535Compiling src/libretro-common/compat/fopen_utf8.c...7536Compiling src/libretro-common/encodings/encoding_crc32.c...7537Compiling src/libretro-common/encodings/encoding_utf.c...7538Compiling src/libretro-common/file/file_path.c...7539Compiling src/libretro-common/file/file_path_io.c...7540Compiling src/libretro-common/streams/file_stream.c...7541Compiling src/libretro-common/streams/file_stream_transforms.c...7542Compiling src/libretro-common/streams/interface_stream.c...7543Compiling src/libretro-common/streams/memory_stream.c...7544Compiling src/libretro-common/streams/rzip_stream.c...7545Compiling src/libretro-common/streams/stdin_stream.c...7546Compiling src/libretro-common/streams/trans_stream.c...7547Compiling src/libretro-common/streams/trans_stream_pipe.c...7548Compiling src/libretro-common/streams/trans_stream_zlib.c...7549Compiling src/libretro-common/string/stdstring.c...7550Compiling src/libretro-common/utils/md5.c...7551Compiling src/libretro-common/vfs/vfs_implementation.c...7552Compiling src/libretro-common/time/rtime.c...7553Linking mame2003_plus_libretro.so...7554platform7555buildPhase completed in 2 minutes 9 seconds
fixupPhase
7556shrinking RPATHs of ELF executables and libraries in /nix/store/kyck7l7mmj7wrinji8wdvfwpnyrrrnjy-libretro-mame2003-plus-0-unstable-2026-09-197557shrinking /nix/store/kyck7l7mmj7wrinji8wdvfwpnyrrrnjy-libretro-mame2003-plus-0-unstable-2026-09-19/lib/retroarch/cores/mame2003_plus_libretro.so7558checking for references to /build/ in /nix/store/kyck7l7mmj7wrinji8wdvfwpnyrrrnjy-libretro-mame2003-plus-0-unstable-2026-09-19...7559patching script interpreter paths in /nix/store/kyck7l7mmj7wrinji8wdvfwpnyrrrnjy-libretro-mame2003-plus-0-unstable-2026-09-197560stripping (with command strip and flags -S -p) in /nix/store/kyck7l7mmj7wrinji8wdvfwpnyrrrnjy-libretro-mame2003-plus-0-unstable-2026-09-19/lib /nix/store/kyck7l7mmj7wrinji8wdvfwpnyrrrnjy-libretro-mame2003-plus-0-unstable-2026-09-19/bin